@charset "utf-8";

:root {
  --navy: #14325c;
  --navy-deep: #0c2142;
  --orange: #f28c28;        /* 装飾用（罫線・ドット・濃紺背景上の文字） */
  --orange-ink: #a65300;    /* 白・淡色背景上の文字用（コントラスト 4.5:1 以上） */
  --orange-btn: #b85a0a;    /* 白文字ボタンの背景 */
  --orange-soft: #fff3e6;
  --line-green: #06833b;    /* LINE ボタン（白文字でコントラスト確保のため濃いめ） */
  --ink: #1f2933;
  --muted: #5b6673;
  --line: #e3e7ec;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 12px;
  --max: 1040px;
  --header-h: 80px;
}
@media (max-width: 860px) { :root { --header-h: 64px; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange-ink); outline-offset: 2px; border-radius: 4px; }
footer :focus-visible { outline-color: var(--orange); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.mt-lg { margin-top: 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; }
@media (max-width: 860px) { .brand img { height: 46px; } }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 6px 10px; font: inherit; font-size: 14px; color: var(--navy); cursor: pointer;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 10px; border-radius: 8px;
  text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500;
}
.nav a:hover { background: var(--bg-alt); }
.nav a.cta { background: var(--orange-btn); color: #fff; }
.nav a.cta:hover { background: #9e4d08; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .nav a { padding: 12px 8px; font-size: 15px; }
}

/* ---------- Hero ---------- */
.hero { --hero-bg: #eef3fa; position: relative; overflow: hidden; isolation: isolate; background: var(--hero-bg); color: var(--ink); padding: 0; }
.hero-media { position: absolute; inset: 0 0 0 40%; z-index: -1; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 80% center;
  /* 写真そのものを左端に向けて透明にし、背景色に溶け込ませる */
  --fade: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 28%, #000 65%);
  -webkit-mask-image: var(--fade); mask-image: var(--fade);
}
.hero-inner { display: flex; align-items: center; min-height: 420px; padding: 64px 16px 72px; }
.hero-copy { max-width: 540px; }
.hero-logo { margin: 0 0 28px; line-height: 0; }
.hero-logo img { width: clamp(240px, 30vw, 340px); height: auto; }
.hero .hero-lead { margin: 0 0 10px; color: var(--navy-deep); font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; line-height: 1.5; }
.hero p { margin: 0 0 16px; }
.hero .addr { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 15px;
  text-decoration: none; border: 2px solid transparent;
}
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: #056a30; }
.btn-reserve { background: var(--orange-btn); color: #fff; font-size: 18px; padding: 14px 48px; }
.btn-reserve:hover { background: #9e4d08; }
@media (max-width: 760px) {
  .hero-media { inset: 0 0 auto 0; height: 240px; }
  .hero-media img { --fade: linear-gradient(180deg, #000 45%, transparent 100%); }
  .hero-inner { min-height: 0; padding: 236px 16px 40px; }
}

/* ---------- Sections ---------- */
section { padding: 56px 0; }
section.alt { background: var(--bg-alt); }
.sec-title { margin: 0 0 8px; font-size: clamp(22px, 3vw, 28px); font-weight: 900; color: var(--navy); }
.sec-lead { margin: 0 0 28px; color: var(--muted); }
h3 { color: var(--navy); font-size: 18px; margin: 32px 0 12px; }

/* Notice */
.notice {
  border-left: 4px solid var(--orange); background: var(--orange-soft);
  padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0;
}
.notice .date { font-size: 13px; font-weight: 700; color: var(--orange-ink); }
.notice p { margin: 8px 0 0; }
.notice ul { margin: 8px 0 0; padding-left: 20px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.feature-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px;
  border-radius: 12px; background: var(--orange-soft); color: var(--orange-ink);
}
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature strong { display: block; color: var(--navy); margin-bottom: 4px; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.gallery img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery img:last-child { grid-column: span 2; } }

/* Video */
.video { width: 100%; max-width: 720px; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); margin-top: 24px; display: block; background: #000; }

/* Pricing */
.fee-note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 14px;
}
.fee-note .label { font-size: 16px; font-weight: 700; color: var(--navy); }
.fee-note small { font-size: 12px; color: var(--muted); }
.fee-note b { font-size: 16px; color: var(--navy); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.price-card h3 { margin: 0 0 10px; font-size: 16px; }
.price-card .tag { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.price-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.price-row:first-of-type { border-top: none; }
.price-row .label { color: var(--ink); }
.price-row .val { text-align: right; white-space: nowrap; }
.price-row .val b { font-size: 16px; color: var(--navy); }
.price-row .val small { display: block; color: var(--muted); font-size: 12px; }
.price-card .note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.two-col h3 { margin-top: 0; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { position: relative; padding-left: 22px; margin-bottom: 6px; }
ul.check li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* Classes */
.class-list { display: grid; gap: 12px; }
.class-item { display: grid; grid-template-columns: 140px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.class-item .name { font-weight: 900; color: var(--navy); }
.class-item p { margin: 0; font-size: 15px; }
@media (max-width: 560px) { .class-item { grid-template-columns: 1fr; gap: 4px; } }

/* Schedule */
.schedule-box { background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.schedule-box p { margin: 0 0 8px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 20px; text-align: left; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: var(--bg-alt); }
.contact-card a.btn { margin-top: 8px; }
.tel-link { font-weight: 700; font-size: 18px; text-decoration: none; }
.small-note { font-size: 13px; color: var(--muted); }

/* Coaches */
.coaches { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; }
.coach { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
/* 写真全体を表示（左右は白背景の余白）。元画像が小さいため拡大しすぎない */
.coach img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; object-position: center bottom; padding-top: 12px; background: #fff; }
.coach-body { padding: 16px 18px 18px; }
.coach h3 { margin: 0; font-size: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.pill-shake { background: #e3edfa; color: var(--navy); }     /* グリップ：シェーク */
.pill-pen { background: #e1f3e8; color: #17613a; }           /* グリップ：ペン */
.pill-uraura { background: var(--orange-soft); color: var(--orange-ink); }  /* 戦型：裏裏 */
.pill-omoteura { background: #fce8ef; color: #a3214f; }                    /* 戦型：表裏 */
.coach ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink); }
.coach ul li { margin-bottom: 2px; }
.coach .sub { font-size: 13px; font-weight: 700; color: var(--muted); margin: 10px 0 4px; }

/* Shop */
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.shop img { border-radius: var(--radius); }
@media (max-width: 760px) { .shop { grid-template-columns: 1fr; } }

/* Access */
.map { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--radius); }
.access-list { display: grid; gap: 10px; margin: 0; }
.access-list div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.access-list dt { font-weight: 700; color: var(--navy); font-size: 14px; }
.access-list dd { margin: 0; }

/* Footer */
footer { background: var(--navy-deep); color: #c9d4e4; padding: 40px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.foot-name { color: #fff; font-size: 16px; }
.foot-lead { margin-bottom: 8px; }
footer a { color: #fff; }
.sns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sns a { display: inline-block; padding: 6px 12px; border: 1px solid #3a5583; border-radius: 999px; text-decoration: none; font-size: 13px; }
.sns a:hover { background: rgba(255,255,255,.08); }
.tour-banner { display: block; border-radius: 10px; overflow: hidden; max-width: 320px; }
.copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid #23406b; font-size: 12px; color: #8ea0bb; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mobile CTA bar（ヒーローを過ぎたら表示、お問い合わせ欄が見えている間は隠す） */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
    border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(12,33,66,.08);
    transform: translateY(110%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .mobile-cta.show { transform: none; visibility: visible; transition: transform .25s ease; }
  /* 文字幅を基準に余白を均等に配分（左右の空きが両ボタンでほぼ同じになる） */
  .mobile-cta .btn { flex: 1 1 auto; justify-content: center; padding: 10px 8px; font-size: 15px; white-space: nowrap; }
  footer { padding-bottom: 100px; }
}
