/* =========================================================
   8×8 EIGHT × EIGHT CLUB SHONAN ティザーサイト
   スマホを基準に書き、1024px 以上（PC）と 1100px 以上で上書きする

   目次
   1. 変数・リセット・共通の部品
   2. ボタン
   3. KV（固定背景）
   4. ページ内ナビ
   5. セクションの共通（背景・見出し）
   6. CONCEPT
   7. ABOUT
   8. CAMPAIGN
   9. SCHEDULE（クラス説明のモーダルを含む）
   10. COACHES
   11. PLAN
   12. ACCESS
   13. スマホの申し込み帯
   14. 動き
   ========================================================= */

/* =========================================================
   1. 変数・リセット・共通の部品
   ========================================================= */
:root {
  --ink: #0b0b0b;
  --ink-3: #242424;
  --fg: #ffffff;
  --muted: #a3a3a3;
  --muted-dark: #5c5c5c;
  --paper: #f1f1ee;
  --line: #6a6a6a;                       /* 黒地の上の罫線 */
  --line-light: rgba(11, 11, 11, .14);   /* 白地の上の罫線 */
  --accent: #fff500;                     /* ロゴの指定色 R255 G245 B0 */

  --en: 'Archivo', 'Noto Sans JP', sans-serif;
  --ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;

  --gutter: 20px;
  --sec-y: 88px;
  --radius: 12px;
  --gnav-h: 60px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--ja);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b { font-weight: 900; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.sp-br { display: inline; }      /* スマホだけの改行 */
.nw { display: inline-block; }   /* この単位では折り返さない */
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* 英字の見出しと数字は Archivo の幅広（wdth 125）で */
.eyebrow, .kv__title, .kv__date, .kv__pre, .sec-title--en,
.feature__num, .feature__big, .kind__name, .week__title, .coach__name, .plan-card__name,
.plan-card__price b, .num {
  font-family: var(--en);
  font-stretch: 125%;
}
.num { font-weight: 900; letter-spacing: -.03em; }

/* 写真が届くまでの仮置き */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #2c2c2c, #1a1a1a);
  overflow: hidden;
}
.ph-label {
  position: absolute; left: 12px; bottom: 10px;
  font: 700 10px/1 var(--en); letter-spacing: .18em;
  color: rgba(255,255,255,.45);
}

@media (min-width: 1024px) {
  :root { --gutter: 40px; --sec-y: 128px; --gnav-h: 72px; }
  body { font-size: 16px; }
  .sp-br { display: none; }
}

/* =========================================================
   2. ボタン
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding: 0 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .06em; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.btn--lg { height: 60px; padding: 0 30px; }
.btn--xl { height: 68px; padding: 0 40px; font-size: 17px; width: 100%; max-width: 440px; }

/* 申し込みボタン：ロゴの黄色（単色）と見分けがつくよう、黄色系のグラデーションをゆっくり動かす */
.btn--accent, .float-cta__btn {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--ink);
  background-color: var(--accent);
  background-image:
    radial-gradient(at 18% 15%, #ffffff 0, transparent 38%),
    radial-gradient(at 92% 20%, #ff9a1f 0, transparent 42%),
    radial-gradient(at 60% 115%, #ff6a3d 0, transparent 40%),
    radial-gradient(at 0% 95%, #b8ff2e 0, transparent 45%),
    radial-gradient(at 75% 60%, #fff500 0, transparent 50%),
    linear-gradient(100deg, #f4ff3a, #fff500 45%, #ffd400);
  background-size: 220% 220%;
  animation: ctaMesh 7s ease-in-out infinite alternate;
  box-shadow: 0 6px 22px rgba(255, 170, 40, .35), inset 0 0 0 1px rgba(255,255,255,.35);
}
/* 光が横切る */
.btn--accent::after, .float-cta__btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: ctaShine 4.5s var(--ease) infinite;
}
@keyframes ctaMesh {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 40%; }
  100% { background-position: 40% 100%; }
}
@keyframes ctaShine {
  0%, 55% { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}
.btn--accent .ico { transition: transform .3s var(--ease); }
.btn--accent:hover { box-shadow: 0 8px 28px rgba(255, 150, 30, .5), inset 0 0 0 1px rgba(255,255,255,.5); }
.btn--accent:hover .ico { transform: translateX(4px); }
.btn--accent:active { transform: scale(.98); }

/* =========================================================
   3. KV（固定背景。最後にもう一度見せて締める）
   ========================================================= */
.kv {
  position: fixed; inset: 0; z-index: 0;
  height: 100vh; height: 100lvh;
  overflow: hidden;
  color: var(--fg);
}
.kv__media {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr; gap: 2px;
  background: var(--ink);
}
.kv__clip { position: relative; overflow: hidden; }
.kv__clip video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.kv__clip--2, .kv__clip--3 { display: none; } /* スマホは 1 本だけ */
.kv__dim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 35%, rgba(0,0,0,.7) 100%);
}

/* 文字は「見えている高さ（svh）」の中に置く。アドレスバーの下にボタンが隠れないように */
.kv__copy {
  position: absolute; top: 0; left: 0; right: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 18px;
  padding: calc(24px + env(safe-area-inset-top)) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  transition: opacity .5s var(--ease), visibility .5s;
}
.brand { line-height: 0; }
.brand img { width: auto; height: 34px; }
.kv__title {
  font-weight: 900;
  font-size: clamp(52px, 15.5vw, 136px);
  line-height: .9;
  letter-spacing: -.025em;
}
.kv__lead { font-size: 16px; font-weight: 700; letter-spacing: .08em; line-height: 1.6; }
.kv__lead-end { display: none; }

.kv__bar {
  display: flex; flex-direction: column; align-items: stretch; gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.35);
}
.kv__open { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.kv__date { font-weight: 800; font-size: 28px; letter-spacing: .01em; line-height: 1; }
.kv__pre { font-weight: 800; font-size: 14px; letter-spacing: .16em; color: var(--accent); }
.kv__badge {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  color: var(--accent); font-size: 12.5px; font-weight: 700; line-height: 1.4; letter-spacing: .02em;
}
.kv__badge-note { font-size: .8em; }
.kv__badge .nw { white-space: nowrap; }
.kv__badge .num { font-size: 1.35em; margin: 0 .05em; line-height: 1; }
.kv__act { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.kv__act .btn { width: 100%; }

/* 公式 Instagram */
.kv__ig { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }
.kv__ig .ico { width: 14px; height: 14px; }
.kv__ig-ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.kv__ig-ico .dot { fill: currentColor; stroke: none; }
.kv__ig--bar { justify-content: center; font-size: 12.5px; }

/* フッター（締めの KV でだけ出す） */
.kv__foot {
  display: none;
  flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px;
  font-size: 12.5px;
}
.kv__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 0 20px; color: #d0d0d0; }
.kv__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.kv__legal small { font: 500 10px/1 var(--en); letter-spacing: .1em; }

.kv__scroll {
  position: absolute; right: var(--gutter); top: 50%;
  display: none;
  writing-mode: vertical-rl;
  font: 700 10px/1 var(--en); letter-spacing: .3em;
}
.kv__scroll::after {
  content: ""; display: block; width: 1px; height: 56px; margin: 12px auto 0;
  background: linear-gradient(var(--fg), transparent);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* コンテンツが KV を覆っているあいだは文字を隠す（すりガラス越しに透けないように） */
.kv.is-covered .kv__copy, .kv.is-covered .kv__scroll { opacity: 0; visibility: hidden; }

/* 締め：コピーを差し替えてフッターを出す。Instagram は左下のフッター側だけにする */
.kv.is-end .kv__lead-start { display: none; }
.kv.is-end .kv__lead-end { display: inline; }
.kv.is-end .kv__foot { display: flex; }
.kv.is-end .kv__ig--bar { display: none; }
.kv.is-end .kv__scroll { display: none; }
.kv.is-end .kv__copy { pointer-events: auto; }

/* スマホ：ロゴは左上に（下側に情報が多いので上に逃がす） */
@media (max-width: 1023px) {
  .kv__copy > .brand { position: absolute; top: calc(22px + env(safe-area-inset-top)); left: var(--gutter); }
}

@media (min-width: 1024px) {
  .kv__media { grid-template-columns: repeat(3, 1fr); }
  .kv__clip--2, .kv__clip--3 { display: block; }
  .kv__copy { height: 100vh; padding: 120px var(--gutter) 44px; gap: 24px; }
  .brand img { height: 52px; }
  .kv__title { font-size: clamp(48px, 7.6vw, 136px); white-space: nowrap; }
  .kv__lead { font-size: 21px; }
  .kv__bar { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 24px; }
  .kv__date { font-size: 34px; }
  .kv__pre { font-size: 17px; }
  .kv__badge { font-size: 14px; padding: 6px 14px; }
  .kv__act { flex-direction: row; align-items: center; gap: 12px 20px; flex: none; }
  .kv__act .btn { width: auto; flex: none; }
  .kv__scroll { display: block; }
}
@media (min-width: 1100px) {
  .kv__copy { padding-left: 56px; padding-right: 56px; }
}

/* =========================================================
   4. ページ内ナビ（KV を過ぎたら上に出す）
   PC はロゴ・項目・申し込みボタン。1100px 未満はハンバーガー
   ========================================================= */
.gnav {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0;
  height: calc(var(--gnav-h) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--gutter) 0;
  display: flex; align-items: center; gap: 16px;
  pointer-events: none;
}
.gnav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(40,40,40,.6), rgba(11,11,11,.7));
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.12);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gnav__logo, .gnav__btn, .gnav__list {
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.gnav.is-show::before { opacity: 1; }
.gnav.is-show .gnav__logo, .gnav.is-show .gnav__btn,
.gnav.is-open .gnav__logo { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.gnav__logo { position: relative; z-index: 2; display: block; line-height: 0; }
.gnav__logo img { width: auto; height: 24px; }
.gnav__btn { position: relative; z-index: 2; margin-left: auto; height: 42px; padding: 0 20px; font-size: 13px; }

/* ハンバーガー：右上に常に出す（KV の上でも） */
.gnav__toggle {
  position: relative; z-index: 2; flex: none;
  width: 44px; height: 44px; border: 0; border-radius: 999px; padding: 0;
  background: rgba(11,11,11,.55); color: #fff; cursor: pointer; pointer-events: auto;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.gnav__toggle i { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.gnav__toggle i:first-child { top: 17px; }
.gnav__toggle i:last-child { top: 25px; }
.gnav.is-open .gnav__toggle i:first-child { transform: translateY(4px) rotate(45deg); }
.gnav.is-open .gnav__toggle i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* 開いたメニュー（全画面） */
.gnav__menu {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  padding: calc(var(--gnav-h) + env(safe-area-inset-top) + 16px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--ink); color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  pointer-events: auto; overflow-y: auto;
}
.gnav.is-open .gnav__menu { opacity: 1; visibility: visible; }
.gnav.is-open::before { opacity: 0; }
.gnav__menu .gnav__list { opacity: 1; visibility: inherit; transform: none; transition: none; }
.gnav__list { display: grid; gap: 4px; }
.gnav__list a { display: flex; align-items: center; min-height: 48px; font: 800 30px/1 var(--en); font-stretch: 112%; letter-spacing: .02em; transition: color .25s; }
.gnav__list a:hover { color: var(--accent); }
.gnav__ig { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 700; color: #d0d0d0; }
html.is-menu { overflow: hidden; }
html.is-modal .gnav { opacity: 0; pointer-events: none; }

@media (max-width: 1023px) {
  .gnav__btn { display: none; } /* スマホは下の申し込み帯がボタン */
  .gnav__toggle { margin-left: auto; }
}
@media (min-width: 1024px) {
  .gnav__logo img { height: 28px; }
  .gnav__menu { padding-left: 40px; padding-right: 40px; }
  .gnav__list a { font-size: 40px; min-height: 60px; }
}
@media (min-width: 1100px) {
  .gnav { padding-left: 40px; padding-right: 24px; gap: 32px; }
  .gnav__toggle { display: none; }
  .gnav__menu {
    position: static; display: block; margin-left: auto; padding: 0;
    background: none; opacity: 1; visibility: visible; overflow: visible; pointer-events: none;
  }
  .gnav__ig { display: none; }
  .gnav__menu .gnav__list { opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; }
  .gnav.is-show .gnav__menu .gnav__list { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
  .gnav__list { display: flex; gap: 4px; }
  .gnav__list a { min-height: 44px; padding: 0 12px; font-size: 13px; font-weight: 700; font-stretch: 100%; letter-spacing: .12em; }
  .gnav__btn { margin-left: 0; height: 46px; padding: 0 24px; font-size: 14px; }
}

/* =========================================================
   5. セクションの共通（KV の上を通るコンテンツ）
   ========================================================= */
.flow { position: relative; z-index: 1; pointer-events: none; }
.flow > section { pointer-events: auto; }
.flow__spacer, .flow__end { height: 100vh; height: 100svh; } /* KV を見せるための空き */

.sec { position: relative; padding: var(--sec-y) 0; }
.sec--glass { background: rgba(11, 11, 11, .8); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); } /* 暗転した KV の上 */
.sec--dark { background: var(--ink); }
.sec--light { background: #fff; color: var(--ink); }

.sec-head { margin-bottom: 40px; }

/* セクション名（英字の大見出し） */
.eyebrow {
  display: block;
  font-weight: 900;
  font-size: clamp(36px, 10.5vw, 88px);
  line-height: .92;
  letter-spacing: -.02em;
}
.eyebrow .nw { white-space: nowrap; }
.eyebrow .x { color: var(--accent); }
/* CONCEPT と ABOUT は日本語のコピーが主役なので、英字は小さなラベルに */
.eyebrow--sub { font-size: clamp(18px, 4.8vw, 26px); line-height: 1.1; letter-spacing: .02em; }

.sec-title { margin-top: 16px; font-weight: 900; }
.sec-title--en { line-height: 1.02; letter-spacing: -.01em; }

/* 大見出しが下からせり上がるときの切り抜き（js/main.js が中身を包む） */
.mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.mask__in { display: block; will-change: transform; }

@media (min-width: 1024px) {
  .sec-head { margin-bottom: 64px; }
}

/* =========================================================
   6. CONCEPT
   ========================================================= */
.concept { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.concept__title { margin-top: 16px; font-weight: 900; font-size: clamp(30px, 8.6vw, 64px); line-height: 1.35; }
.concept__body { margin-top: 32px; display: grid; gap: 1.4em; font-size: 15px; line-height: 2.1; color: #dcdcdc; }

@media (min-width: 1024px) {
  .concept__inner { display: grid; grid-template-columns: 5fr 6fr; gap: 0 64px; align-items: start; }
  .concept__inner .eyebrow { grid-column: 1 / -1; margin-bottom: 4px; }
  .concept__body { margin-top: 20px; font-size: 16px; }
}

/* =========================================================
   7. ABOUT
   ========================================================= */
.about .sec-title { font-size: clamp(28px, 7.8vw, 60px); line-height: 1.35; letter-spacing: .02em; }

.feature { display: grid; gap: 40px; }
.feature__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature__item:hover .feature__media img { transform: scale(1.04); }
.feature__cap { position: absolute; right: 10px; bottom: 8px; font: 700 9px/1 var(--en); letter-spacing: .2em; color: rgba(255,255,255,.55); }
.feature__text { padding-top: 20px; }
.feature__num { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.feature__num span { color: var(--accent); font-size: 13px; }
/* 290㎡ / 8種目 / 10名：数字を主役に */
.feature__big { margin-top: 10px; display: flex; align-items: baseline; gap: 4px; line-height: 1; }
.feature__big b { font-size: 80px; font-weight: 900; line-height: .86; letter-spacing: -.04em; }
.feature__big small { font-family: var(--ja); font-size: 20px; font-weight: 700; font-stretch: 100%; }
.feature__title { margin-top: 18px; font-size: 21px; font-weight: 900; line-height: 1.55; }
.feature__desc { margin-top: 12px; font-size: 14px; color: #c8c8c8; }

@media (min-width: 1024px) {
  .feature { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .feature__big b { font-size: clamp(88px, 7vw, 100px); }
  .feature__big small { font-size: 22px; }
  .feature__title { font-size: 22px; }
}

/* =========================================================
   8. CAMPAIGN
   受付中の弾は index.html の data-current で切り替える（js/main.js が --cur に入れる）
   ========================================================= */
.campaign { --cur: 1; }
.campaign .sec-title { margin-top: 18px; font-size: clamp(30px, 8.6vw, 64px); color: #fff; }
.camp-tag { display: inline-block; padding: 6px 14px; background: var(--accent); color: var(--ink); font: 900 15px/1.3 var(--ja); letter-spacing: .04em; }
.camp-top { display: grid; gap: 32px; }
.camp-lead { margin-top: 22px; font-size: 17px; font-weight: 900; line-height: 1.8; }
.camp-lead > span { display: block; }

/* 黄色のカード（第1弾） */
.camp-card { padding: 24px 20px; border-radius: var(--radius); background: var(--accent); color: var(--ink); }
.camp-card__label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 800 12px/1.3 var(--en); font-stretch: 100%; letter-spacing: .04em; }
.camp-card__no { padding: 4px 12px; background: var(--ink); color: #fff; font-family: var(--ja); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.camp-card__cap { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; line-height: 1; font-weight: 900; font-size: 28px; white-space: nowrap; }
.camp-card__cap .num { font-size: 76px; }
.camp-card__rows { margin-top: 18px; }
.camp-card__rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; border-top: 1px solid var(--ink); font-size: 14px; font-weight: 500; }
.camp-card__rows b { font-size: 16px; white-space: nowrap; }

/* 特典の表（第1弾〜第3弾） */
.camp-table { position: relative; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.camp-table__row { position: relative; display: grid; grid-template-columns: 34% repeat(3, 22%); align-items: center; min-height: 60px; border-top: 1px solid var(--line); }
.camp-table__row:first-of-type { border-top: 0; }
.camp-table__row > span { padding: 8px 10px; font-size: 11.5px; line-height: 1.5; font-weight: 700; }
.camp-table__row > b { text-align: center; font-size: min(14.5px, 3.7vw); font-weight: 700; white-space: nowrap; }
.camp-table__row > b small { display: block; font-size: 11px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.camp-table__row > b.is-none { color: #b8b8b8; }
.camp-table__row > b.is-long { white-space: normal; line-height: 1.35; }
.camp-table__row--head { min-height: 68px; }
.camp-table__row--head > span:first-child { color: #d0d0d0; }
.camp-table__row--head [data-phase] { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; font-size: 14px; font-weight: 900; }
.camp-table__row--head em { font-style: normal; padding: 2px 6px; border-radius: 999px; border: 1px solid #fff; font-size: 9.5px; font-weight: 700; line-height: 1.3; }
.camp-table__row--head [data-state="now"] em { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.camp-table__row--head [data-state="end"] em { border-color: var(--line); color: #b8b8b8; }
/* 受付中の弾の列を黄色の枠で囲む */
.camp-table__hl { position: absolute; top: 0; bottom: 0; left: calc(34% + 22% * (var(--cur) - 1)); width: 22%; background: rgba(255,230,0,.16); border: 2px solid var(--accent); pointer-events: none; }

.camp-cond { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-height: 56px; padding: 12px 18px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.camp-cond b { color: var(--accent); }
.camp-cond span { font-weight: 700; }
.camp-notes { margin-top: 12px; font-size: 12px; }
.camp-notes li { padding-left: 1em; text-indent: -1em; }
.camp-notes li::before { content: "※"; }
.campaign__cta { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 14px; }

/* 幅の狭い端末（360px など）：表とカードの文字を少し縮める */
@media (max-width: 370px) {
  .camp-card__cap { font-size: 24px; }
  .camp-card__cap .num { font-size: 64px; }
  .camp-table__row > b { font-size: 3.5vw; }
}

@media (min-width: 1024px) {
  .campaign .sec-title { font-size: clamp(40px, 4.4vw, 52px); }
  .camp-tag { padding: 7px 16px; font-size: 18px; }
  .camp-top { grid-template-columns: 6fr 5fr; gap: 48px; align-items: center; }
  .camp-lead { font-size: 18px; }
  .camp-card { padding: 32px; }
  .camp-card__cap { font-size: 36px; }
  .camp-card__cap .num { font-size: 88px; }
  .camp-card__rows li { min-height: 42px; font-size: 15px; }
  .camp-card__rows b { font-size: 19px; }
  .camp-table { margin-top: 48px; }
  .camp-table__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .camp-table__hl { left: calc(25% * var(--cur)); width: 25%; }
  .camp-table__row > span { padding: 0 24px; font-size: 15px; }
  .camp-table__row > b { font-size: 18px; }
  .camp-table__row--head { min-height: 72px; }
  .camp-table__row--head > span:first-child { font-size: 13px; }
  .camp-table__row--head [data-phase] { flex-direction: row; justify-content: center; gap: 10px; font-size: 18px; }
  .camp-table__row--head em { padding: 3px 9px; font-size: 11px; }
  .camp-cond { margin-top: 24px; padding: 12px 24px; font-size: 15px; }
  .camp-notes { font-size: 13px; }
  .campaign__cta { margin-top: 64px; }
  .campaign .btn--xl { height: 72px; max-width: 520px; font-size: 18px; }
}

/* =========================================================
   9. SCHEDULE
   スマホは曜日タブ＋リスト、PC は時間軸のグリッド。中身は js/schedule-data.js
   ========================================================= */
.kinds { display: grid; gap: 14px; }
.kind { padding: 22px 20px; border: 1px solid var(--ink); border-radius: var(--radius); background: #fff; }
.kind__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-weight: 800; font-size: 17px; letter-spacing: .04em; line-height: 1.3; }
.kind__name span { font-family: var(--ja); font-stretch: 100%; font-size: 12px; font-weight: 700; color: var(--muted-dark); }
.kind__dot { width: 12px; height: 12px; border-radius: 3px; align-self: center; }
.kind--group .kind__dot { background: var(--accent); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.kind--open .kind__dot { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.kind__desc { margin-top: 10px; font-size: 13.5px; color: #3a3a3a; }

.week { margin-top: 56px; }
.week__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.week__title { font-weight: 900; font-size: clamp(22px, 6vw, 36px); letter-spacing: -.01em; line-height: 1; }

.week__note { flex-basis: 100%; font-size: 12px; color: var(--muted-dark); }

/* スマホ：曜日タブ（押せるものなので角を落とす） */
.week__tabs { margin-top: 24px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.week__tab {
  appearance: none; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 0 9px;
  background: var(--paper); color: var(--ink);
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
  font: inherit;
  transition: background-color .25s, color .25s;
}
.week__tab b { font-size: 15px; line-height: 1.2; }
.week__tab small { font: 700 9px/1 var(--en); letter-spacing: .12em; color: var(--muted-dark); }
.week__tab[aria-selected="true"] { background: var(--ink); color: var(--accent); }
.week__tab[aria-selected="true"] small { color: var(--accent); }
.week__tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.week__count { margin-top: 16px; font-size: 12.5px; font-weight: 700; color: var(--muted-dark); }

/* スマホ：選んだ曜日のリスト。枠を押すとクラスの説明が開く */
.week__grid { display: none; }
.week__list { margin-top: 10px; display: grid; gap: 8px; }
.slot { display: grid; grid-template-columns: 62px 1fr; align-items: stretch; min-height: 58px; }
.slot__time { padding-top: 10px; font: 800 15px/1.1 var(--en); font-stretch: 110%; }
.slot__time small { display: block; margin-top: 4px; font-size: 11px; font-weight: 600; color: var(--muted-dark); }
.slot__card {
  display: block; width: 100%;
  padding: 8px 16px;
  border: 0;
  font: inherit; color: inherit; text-align: left;
  cursor: pointer;
}
.slot--group .slot__card { background: var(--accent); }
.slot--open .slot__card { background: var(--paper); }
.slot__name { display: block; font: 800 15px/1.2 var(--en); font-stretch: 115%; letter-spacing: .04em; }
.slot__meta { display: block; font-size: 11.5px; font-weight: 700; color: rgba(11,11,11,.62); line-height: 1.4; }
.slot__card:hover, .gslot:hover { filter: brightness(.96); box-shadow: 0 6px 18px rgba(0,0,0,.14); transform: translateY(-1px); z-index: 2; }
.slot__card:focus-visible, .gslot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

@media (min-width: 1024px) {
  .kinds { grid-template-columns: 1fr 1fr; gap: 24px; }
  .kind { padding: 28px; }

  /* PC：時間軸グリッド */
  .week__tabs, .week__count, .week__list { display: none; }
  .week__grid {
    --hour: 60px;
    display: grid; grid-template-columns: 56px repeat(7, 1fr);
    margin-top: 28px;
    border: 1px solid var(--line-light); border-radius: var(--radius);
    overflow: hidden;
  }
  .grid__corner, .grid__day {
    position: sticky; top: 0;
    padding: 14px 6px 12px; text-align: center;
    background: #fff;
    border-bottom: 1px solid var(--line-light);
  }
  .grid__day { border-left: 1px solid var(--line-light); }
  .grid__day b { display: block; font-size: 16px; line-height: 1.2; }
  .grid__day small { font: 700 10px/1 var(--en); letter-spacing: .14em; color: var(--muted-dark); }
  .grid__day.is-weekend small { color: #c08a00; }
  .grid__times { position: relative; }
  .grid__time {
    position: absolute; left: 0; right: 8px;
    transform: translateY(-50%);
    text-align: right; font: 600 11px/1 var(--en); color: var(--muted-dark);
  }
  .grid__time:first-child { transform: translateY(4px); }
  .grid__col {
    position: relative;
    border-left: 1px solid var(--line-light);
    background-image: repeating-linear-gradient(180deg, transparent 0 calc(var(--hour) - 1px), rgba(11,11,11,.07) calc(var(--hour) - 1px) var(--hour));
  }
  .gslot {
    position: absolute; left: 4px; right: 4px;
    display: flex; flex-direction: column; justify-content: flex-start; gap: 1px;
    margin: 0; padding: 6px 8px;
    border: 0;
    overflow: hidden;
    font: inherit; color: inherit; text-align: left;
    cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
  }
  .gslot--group { background: var(--accent); }
  .gslot--open { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(11,11,11,.12); }
  .gslot__time { font: 700 10.5px/1.2 var(--en); color: rgba(11,11,11,.6); }
  .gslot__name { font: 800 12px/1.2 var(--en); font-stretch: 105%; letter-spacing: .02em; }
  .gslot__coach { font-size: 10px; font-weight: 700; color: rgba(11,11,11,.55); }
}
@media (min-width: 1024px) and (max-width: 1099px) {
  .gslot { padding: 6px 5px; }
  .gslot__name { font-size: 11px; }
}
@media (min-width: 1100px) {
  .week__grid { --hour: 64px; }
  .gslot__name { font-size: 13px; }
}

/* ---------- クラス説明のモーダル ---------- */
.pm {
  padding: 0; border: 0; background: transparent; color: var(--ink);
  width: min(560px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 48px);
  margin: auto; overflow: visible;
}
.pm::backdrop { background: rgba(11,11,11,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pm[open] { animation: pmIn .32s var(--ease) both; }
.pm[open]::backdrop { animation: pmFade .32s ease both; }
.pm.is-closing { animation: pmOut .22s ease both; }
.pm.is-closing::backdrop { animation: pmFade .22s ease reverse both; }
@keyframes pmIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pmOut { to { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes pmFade { from { opacity: 0; } to { opacity: 1; } }
.pm__panel { position: relative; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.pm__scroll { max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 28px 24px 30px; }
.pm__close {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: rgba(11,11,11,.06); cursor: pointer; transition: background .2s;
}
.pm__close:hover { background: rgba(11,11,11,.12); }
.pm__close svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; fill: none; }
.pm__kind { display: inline-block; padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.pm__kind--group { background: var(--accent); }
.pm__kind--open { background: var(--paper); }
.pm__name { margin-top: 14px; font: 900 32px/1 var(--en); font-stretch: 115%; letter-spacing: -.01em; padding-right: 40px; }
.pm__catch { margin-top: 12px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.pm__when { margin-top: 10px; font-size: 13px; color: var(--muted-dark); font-weight: 700; }
.pm__coaches { margin: 18px 0 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 12px 20px; border-top: 1px solid rgba(11,11,11,.1); border-bottom: 1px solid rgba(11,11,11,.1); }
.pm__coaches li { display: flex; align-items: center; gap: 10px; font: 900 15px/1.1 var(--en); letter-spacing: .02em; }
.pm__coaches small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--muted-dark); margin-bottom: 3px; }
.pm__coaches img, .pm__noimg { display: block; width: 48px; height: 48px; border-radius: 999px; object-fit: cover; object-position: 50% 25%; background: var(--paper); filter: grayscale(1); }
.pm__target { margin: 18px 0 0; display: flex; gap: 12px; font-size: 13.5px; }
.pm__target dt { font-weight: 700; flex: none; padding: 1px 8px; background: var(--ink); color: #fff; font-size: 11.5px; line-height: 1.8; }
.pm__target dd { font-weight: 700; line-height: 1.8; }
.pm__desc { margin-top: 14px; font-size: 14px; line-height: 1.9; color: #333; }
.pm__for { margin-top: 20px; padding: 16px 18px; background: var(--paper); }
.pm__for p { font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.pm__for ul { margin: 8px 0 0; display: grid; gap: 4px; font-size: 13.5px; }
.pm__for li { position: relative; padding-left: 1.1em; }
.pm__for li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--ink); }
html.is-modal { overflow: hidden; }
@media (min-width: 1024px) {
  .pm__scroll { padding: 36px; }
  .pm__name { font-size: 40px; }
}

/* =========================================================
   10. COACHES
   ========================================================= */
.coach-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
.coach__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
/* 写真の撮り方がそろっていないので白黒にそろえ、触れたらカラーに */
.coach__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%;
  filter: grayscale(1) contrast(1.08) brightness(1.02);
  transition: filter .5s var(--ease), transform 1s var(--ease);
}
.coach:hover .coach__photo img { filter: none; transform: scale(1.03); }
.coach__photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.coach:hover .coach__photo::after { transform: none; }
@media (hover: none) {
  /* 触れて色を戻せない端末では、最初から少しだけ色を残す */
  .coach__photo img { filter: grayscale(.85) contrast(1.06); }
}
.coach__name { margin-top: 12px; display: flex; align-items: center; gap: 6px; font-weight: 900; font-size: 18px; line-height: 1; letter-spacing: .02em; }
.coach__ig { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -6px 0; color: #fff; transition: color .3s; }
.coach__ig:hover { color: var(--accent); }
.coach__ig svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.coach__ig svg .dot { fill: currentColor; stroke: none; }
.coach__role { margin-top: 6px; font-size: 11px; font-weight: 700; line-height: 1.5; color: var(--accent); }
.coach__desc { margin-top: 8px; font-size: 12px; color: #c4c4c4; line-height: 1.75; }

@media (min-width: 1024px) {
  .coach-list { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .coach__name { margin-top: 18px; gap: 10px; font-size: 26px; }
  .coach__ig { width: 32px; height: 32px; }
  .coach__ig svg { width: 20px; height: 20px; }
  .coach__role { margin-top: 10px; font-size: 12.5px; line-height: 1.8; }
  .coach__desc { margin-top: 12px; font-size: 13.5px; line-height: 1.8; }
}

/* =========================================================
   11. PLAN
   ========================================================= */
.plan-list { display: grid; gap: 12px; }
.plan-card { display: grid; gap: 14px; align-items: start; padding: 24px 20px; background: #fff; border: 1px solid var(--ink); border-radius: var(--radius); }
.plan-card__name { white-space: nowrap; font-weight: 900; font-size: 16px; letter-spacing: .02em; line-height: 1; }
.plan-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; line-height: 1; white-space: nowrap; }
.plan-card__price b { font-size: 44px; letter-spacing: -.02em; }
.plan-card__price span { font-size: 15px; font-weight: 700; }
.plan-card__for { font-size: 16px; font-weight: 900; line-height: 1.6; }
.plan-card__spec { font-size: 14px; }
.plan-card__spec li { display: flex; justify-content: space-between; align-items: center; gap: 2px; min-height: 46px; border-top: 1px solid var(--ink); }
.plan-card__spec li:last-child { border-bottom: 1px solid var(--ink); }
.plan-card__spec span { font: 700 13px/1.4 var(--en); letter-spacing: .02em; }
.plan-card__spec b { font-weight: 500; }

/* 都度利用 */
.single-list { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.single-list li { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius); background: var(--paper); }
.single-list span { font: 700 11px/1.2 var(--en); letter-spacing: .08em; color: var(--muted-dark); }
.single-list b { font: 900 22px/1 var(--en); font-stretch: 115%; }
.single-list small { margin-left: 4px; font-family: var(--ja); font-size: 11px; font-weight: 700; }

@media (min-width: 1024px) {
  .plan-list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .plan-card { padding: 32px; gap: 24px; }
  .plan-card__price b { font-size: 56px; }
  .plan-card__price span { font-size: 18px; }
  .plan-card__for { font-size: 17px; }
  .plan-card__spec li { min-height: 48px; }
  .single-list { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 16px; margin-top: 24px; }
  .single-list li { flex-direction: row; align-items: baseline; justify-content: space-between; padding: 18px 24px; }
}

/* =========================================================
   12. ACCESS
   ========================================================= */
.access__inner { display: grid; gap: 32px; }
.access__name { margin-top: 20px; font: 900 22px/1.2 var(--en); font-stretch: 115%; letter-spacing: .02em; }
.access__dl { margin-top: 20px; display: grid; border-top: 1px solid var(--line); }
.access__dl div { display: grid; grid-template-columns: 6.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.access__dl dt { font-weight: 700; }
/* Google マップの埋め込み。黒地になじむよう彩度を少し落とす（ピンの赤は残す） */
.access__map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #222; }
.access__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.45); }

@media (min-width: 1024px) {
  .access__inner { grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
}

/* =========================================================
   13. スマホの申し込み帯（KV を過ぎたら下に常に出す。PC はナビのボタンが代わり）
   ========================================================= */
.float-cta {
  position: fixed; z-index: 20; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(40,40,40,.55), rgba(11,11,11,.6)); color: #fff;
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 10px 30px rgba(0,0,0,.3);
  transform: translateY(140%);
  transition: transform .5s var(--ease);
}
.float-cta.is-show { transform: none; }
/* 幅の狭い端末では注記を折り返し、右のボタンを枠内に収める */
.float-cta__txt { min-width: 0; font-size: min(11.5px, 3vw); font-weight: 700; line-height: 1.35; }
.float-cta__txt b { display: block; color: var(--accent); }
.float-cta__btn { flex: none; padding: 12px min(14px, 3.4vw); border-radius: 999px; font-size: min(12.5px, 3.3vw); font-weight: 700; }
html.is-menu .float-cta, html.is-modal .float-cta { opacity: 0; pointer-events: none; }

@media (min-width: 1024px) {
  .float-cta { display: none; }
}

/* =========================================================
   14. 動き
   ========================================================= */
/* スクロールで出てくる要素（js/main.js が data-reveal を付けて GSAP で出す） */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }

/* 「視差効果を減らす」設定の端末では動きを止める */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
  .kv__scroll::after,
  .btn--accent, .float-cta__btn, .btn--accent::after, .float-cta__btn::after,
  .pm[open], .pm.is-closing, .pm[open]::backdrop, .pm.is-closing::backdrop { animation: none; }
}
