@charset "utf-8";
/* ==========================================================================
   BLUE CURRENT SPORTS ACADEMY
   Design System — "DEEP CURRENT"
   DESIGN.md §4 の唯一の実装。任意の値をここ以外に書かないこと。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* -- Base : 深部 ------------------------------------------------------- */
  --bc-abyss:      #060B14;
  --bc-deep:       #0B1B33;
  --bc-hull:       #14304F;

  /* -- Accent : 流れ（ロゴ由来） ----------------------------------------- */
  --bc-current:    #00C2E8;
  --bc-current-hi: #6FE9FF;
  /* 明背景上のリンク／AA確保用。#007D9A では foam 上で 4.47:1 と AA 未達だったため
     実測に基づき #006C87 へ補正（4.5:1 を満たす）。                          */
  --bc-current-dk: #006C87;

  /* -- Surface : 浮上 ---------------------------------------------------- */
  --bc-foam:       #F4F8FB;
  --bc-shell:      #FFFFFF;
  /* 補助テキスト。#64798F では foam 上 4.21〜4.49:1 と AA 未達だったため補正 */
  --bc-silt:       #55697E;
  --bc-ink:        #0A1420;

  /* -- Semantic : 受付状態 ----------------------------------------------- */
  --bc-open:       #00C2E8;
  --bc-few:        #FFB020;
  --bc-full:       #64798F;
  --bc-closed:     #3A4A5C;

  /* -- Typography -------------------------------------------------------- */
  --font-jp:      "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-display: "Archivo", "Zen Kaku Gothic New", sans-serif;
  --font-mono:    "Azeret Mono", ui-monospace, "SFMono-Regular", monospace;

  --fs-hero:    clamp(2.5rem, 8vw, 5.5rem);
  --fs-h2:      clamp(1.75rem, 4vw, 3rem);
  --fs-h3:      clamp(1.25rem, 2.5vw, 1.75rem);
  --fs-body:    clamp(0.95rem, 1.6vw, 1.0625rem);
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.75rem;

  /* -- Spacing ----------------------------------------------------------- */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px;  --sp-6: 32px;  --sp-7: 48px;  --sp-8: 64px;
  --sp-9: 96px;  --sp-10: 128px;

  /* -- Radius ------------------------------------------------------------ */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-full: 999px;

  /* -- Layout ------------------------------------------------------------ */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 64px;

  /* -- Motion ------------------------------------------------------------ */
  --t-micro:   180ms cubic-bezier(.4, 0, .2, 1);
  --t-std:     420ms cubic-bezier(.16, 1, .3, 1);
  --t-current: 900ms cubic-bezier(.65, 0, .35, 1);

  /* -- Elevation --------------------------------------------------------- */
  --shadow-sm: 0 1px 2px rgba(6, 11, 20, .06), 0 2px 8px rgba(6, 11, 20, .04);
  --shadow-md: 0 4px 12px rgba(6, 11, 20, .08), 0 12px 32px rgba(6, 11, 20, .06);
  --shadow-lg: 0 12px 32px rgba(6, 11, 20, .16), 0 32px 64px rgba(6, 11, 20, .12);
}

@media (min-width: 1024px) {
  :root { --gutter: 40px; --header-h: 76px; }
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--sp-4));
}

body {
  margin: 0;
  background: var(--bc-abyss);
  color: var(--bc-ink);
  font-family: var(--font-jp);
  font-size: var(--fs-body);
  line-height: 1.9;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  overflow-x: hidden;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

/* フォーカスリングは消さない（DESIGN.md §10.3） */
:focus-visible {
  outline: 2px solid var(--bc-current);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-light :focus-visible { outline-color: var(--bc-current-dk); }

::selection { background: var(--bc-current); color: var(--bc-abyss); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* 「〜を指導。」等、途中で改行させたくない語句に付ける */
.u-nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; top: -100px; left: var(--sp-4); z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--bc-current); color: var(--bc-abyss);
  font-weight: 700; border-radius: var(--r-sm);
  transition: top var(--t-micro);
}
.skip-link:focus { top: var(--sp-4); }

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--sp-9);
}
@media (min-width: 1024px) {
  .section { padding-block: var(--sp-10); }
}

/* 明暗の交互配置（DESIGN.md §4.3 潮流のリズム） */
.section--dark  { background: var(--bc-deep); color: var(--bc-foam); }
.section--abyss { background: var(--bc-abyss); color: var(--bc-foam); }
.section--light { background: var(--bc-foam); color: var(--bc-ink); }

.section--dark  .lede,
.section--abyss .lede { color: #A9BFD4; }
.section--light .lede { color: var(--bc-silt); }

.lede { max-width: 38em; }

/* --------------------------------------------------------------------------
   4. Section header + CurrentLine（シグネチャモーション）
   -------------------------------------------------------------------------- */
.current-line {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--bc-current), var(--bc-current-hi) 40%, transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-current);
}
.is-visible > .current-line { transform: scaleX(1); }

.sec-head { margin-bottom: var(--sp-7); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bc-current);
  margin-bottom: var(--sp-3);
}
.section--light .eyebrow { color: var(--bc-current-dk); }
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
}

.sec-title {
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.sec-sub {
  display: block;
  margin-top: var(--sp-2);
  font-family: var(--font-display);
  font-variation-settings: "wdth" 118;
  font-weight: 400;
  font-size: .8125rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bc-silt);
}
.section--dark .sec-sub, .section--abyss .sec-sub { color: #6E8AA6; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: var(--sp-3) var(--sp-6);
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: .04em;
  cursor: pointer;
  text-align: center;
  transition: background var(--t-micro), color var(--t-micro),
              border-color var(--t-micro), transform var(--t-micro),
              box-shadow var(--t-micro);
}
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* シアン塗りの上は必ず abyss 文字（白抜き不可） */
.btn--primary {
  background: var(--bc-current);
  color: var(--bc-abyss);
  box-shadow: 0 4px 16px rgba(0, 194, 232, .28);
}
.btn--primary:hover:not(:disabled) {
  background: var(--bc-current-hi);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 194, 232, .36);
}

.btn--ghost {
  background: transparent;
  color: var(--bc-foam);
  border-color: rgba(244, 248, 251, .3);
}
.btn--ghost:hover:not(:disabled) {
  border-color: var(--bc-current);
  color: var(--bc-current-hi);
}

.btn--outline {
  background: transparent;
  color: var(--bc-current-dk);
  border-color: rgba(0, 125, 154, .4);
}
.btn--outline:hover:not(:disabled) {
  background: rgba(0, 194, 232, .08);
  border-color: var(--bc-current-dk);
}

.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--t-std), border-color var(--t-std), backdrop-filter var(--t-std);
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(6, 11, 20, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(20, 48, 79, .9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
}
.brand { display: flex; align-items: center; gap: var(--sp-3); }
.brand__mark { width: 40px; height: 40px; border-radius: var(--r-full); }
.brand__text {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 112;
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .12em;
  line-height: 1.25;
  color: var(--bc-foam);
  text-transform: uppercase;
}
.brand__text small {
  display: block;
  font-size: .625rem;
  font-weight: 400;
  letter-spacing: .22em;
  color: var(--bc-current);
}

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: var(--sp-6); }
}
.nav a {
  position: relative;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(244, 248, 251, .82);
  transition: color var(--t-micro);
  padding-block: var(--sp-2);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--bc-current);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--t-micro);
}
.nav a:hover { color: var(--bc-current-hi); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left center; }

.header .btn { min-height: 44px; padding-inline: var(--sp-5); font-size: .8125rem; }
.brand { min-height: 44px; }
.coach__figure picture { display: block; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
/* 素材が 720×1280（9:16 縦型・Instagramリール）であることを前提に設計。
   SP  : 縦型のままフルブリード → トリミングゼロで完全に収まる
   PC  : 右カラムの縦型パネルとして配置 → 上下の切り落としを回避       */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + var(--sp-7));
  padding-bottom: var(--sp-8);
  background: var(--bc-abyss);
  overflow: hidden;
  color: var(--bc-foam);
}

.hero__amb {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(90% 60% at 78% 18%, rgba(0, 194, 232, .20), transparent 62%),
    radial-gradient(70% 50% at 8% 92%, rgba(0, 125, 154, .18), transparent 60%),
    var(--bc-abyss);
}

/* SPでは .hero__media を .hero 基準で全面に敷きたいので、
   .hero__grid は静的配置のままにする（position:relative にすると
   絶対配置の基準がこちらに移り、ヘッダー下 112px に背景が回らなくなる）。
   重ね順は .hero__content 側の z-index で確保する。                    */
.hero__grid { width: 100%; }
.hero__content { position: relative; z-index: 3; }

/* --- SP: フルブリード ------------------------------------------------- */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1400ms cubic-bezier(.65, 0, .35, 1);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide video,
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero__slide.is-active img { animation: kenburns 12s ease-out both; }
@keyframes kenburns {
  from { transform: scale(1.0) translate3d(0, 0, 0); }
  to   { transform: scale(1.07) translate3d(0, -1.2%, 0); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(6, 11, 20, .82) 0%,
      rgba(6, 11, 20, .38) 38%,
      rgba(6, 11, 20, .95) 100%),
    radial-gradient(120% 80% at 12% 30%, rgba(0, 194, 232, .14), transparent 60%);
}
/* 圧縮ノイズを馴染ませるグレイン */
.hero__grain {
  position: absolute; inset: 0; z-index: 2;
  opacity: .45; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'>\
<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/>\
<feColorMatrix type='saturate' values='0'/></filter>\
<rect width='140' height='140' filter='url(%23n)' opacity='.42'/></svg>");
}

/* --- PC: 2カラム／右に縦型パネル -------------------------------------- */
@media (min-width: 900px) {
  .hero { align-items: center; padding-block: calc(var(--header-h) + var(--sp-8)) var(--sp-8); }
  .hero__grid {
    position: relative;   /* PCでは media をこのグリッドの右カラムに収める */
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: var(--sp-8);
    align-items: center;
  }
  .hero__media {
    position: relative;
    inset: auto;
    aspect-ratio: 9 / 16;
    /* 高さを基準に幅を決める。max-height で高さだけ潰すと比率が壊れ、
       object-fit: cover により結局トリミングされてしまうため。       */
    height: min(74svh, 640px);
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 194, 232, .32);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .6), 0 0 80px rgba(0, 194, 232, .12);
  }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(6, 11, 20, .34) 0%, rgba(6, 11, 20, 0) 30%,
                              rgba(6, 11, 20, 0) 62%, rgba(6, 11, 20, .72) 100%);
  }
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.hero__title .accent {
  color: var(--bc-current);
  text-shadow: 0 0 40px rgba(0, 194, 232, .5);
}
.hero__kicker {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 122;
  font-weight: 700;
  font-size: clamp(.7rem, 1.6vw, .875rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bc-current);
  margin-bottom: var(--sp-4);
}
.hero__lead {
  margin-top: var(--sp-5);
  max-width: 30em;
  color: rgba(244, 248, 251, .82);
  font-size: clamp(.95rem, 1.8vw, 1.125rem);
}

/* ヒーローの導線（2026-08-10：次回開催カードを外し、理念と日程の2択にした） */
.hero__actions {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  margin-top: var(--sp-7);
}

/* 次回開催カード
   2026-08-10 の構成変更でヒーローから外した。schedule.js の renderNext() は
   要素が無ければ何もしないため、必要になれば HTML を戻すだけで復活する。 */
.next-card {
  margin-top: var(--sp-7);
  max-width: 620px;
  background: rgba(11, 27, 51, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(0, 194, 232, .32);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-lg);
}
.next-card__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap;
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(0, 194, 232, .2);
}
.next-card__label {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bc-current);
}
.next-card__date {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--bc-foam);
}
.next-card__place {
  margin-top: var(--sp-2);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--bc-foam);
}
.next-card__addr { font-size: var(--fs-small); color: #A9BFD4; }
.next-card__actions {
  display: flex; gap: var(--sp-3); flex-wrap: wrap;
  margin-top: var(--sp-5);
}
.next-card__actions .btn { flex: 1 1 160px; }

.hero__dots {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  bottom: var(--sp-4);
  display: flex;
  gap: var(--sp-2);
}
/* 視覚は 3px の細バーのまま、タップ判定は 44px 確保する */
.hero__dot {
  width: 40px; height: 44px;
  border: none; padding: 0; background: none;
  cursor: pointer;
  position: relative;
  display: grid; align-items: center;
}
.hero__dot::before {
  content: ""; display: block;
  height: 3px; border-radius: var(--r-full);
  background: rgba(244, 248, 251, .26);
}
.hero__dot span {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px;
  border-radius: var(--r-full); overflow: hidden;
  background: var(--bc-current);
  transform: scaleX(0);
  transform-origin: left center;
}
.hero__dot.is-active span { animation: dotfill 6s linear both; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --------------------------------------------------------------------------
   8. Schedule
   -------------------------------------------------------------------------- */
.sched__toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}
.toggle {
  display: inline-flex;
  padding: 4px;
  background: rgba(100, 121, 143, .12);
  border-radius: var(--r-full);
}
.toggle button {
  border: none; background: transparent; cursor: pointer;
  min-height: 44px; padding: 0 var(--sp-5);
  border-radius: var(--r-full);
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em;
  color: var(--bc-silt);
  transition: background var(--t-micro), color var(--t-micro);
}
.toggle button[aria-pressed="true"] {
  background: var(--bc-shell);
  color: var(--bc-ink);
  box-shadow: var(--shadow-sm);
}

.sched__grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .sched__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sched__grid { grid-template-columns: repeat(3, 1fr); } }

.session {
  display: flex;
  flex-direction: column;
  background: var(--bc-shell);
  border: 1px solid rgba(100, 121, 143, .18);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-std), box-shadow var(--t-std), border-color var(--t-std);
}
.session:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(0, 194, 232, .4); }
.session--past, .session--full { opacity: .82; }
.session--past:hover { transform: none; }

.session__status {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-3); flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px var(--sp-3);
  border-radius: var(--r-full);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--open   { background: rgba(0, 194, 232, .12);  color: var(--bc-current-dk); }
.badge--few    { background: rgba(255, 176, 32, .16); color: #9A6200; }
.badge--full   { background: rgba(100, 121, 143, .14); color: var(--bc-silt); }
.badge--closed { background: rgba(58, 74, 92, .12);   color: var(--bc-closed); }
.badge--past   { background: rgba(100, 121, 143, .10); color: var(--bc-silt); }

.capacity { min-width: 128px; }
.capacity__text {
  font-family: var(--font-mono);
  font-size: .75rem; font-weight: 600;
  text-align: right; color: var(--bc-silt);
  margin-bottom: 5px;
}
.capacity__text b { color: var(--bc-ink); font-size: .875rem; }
.capacity__bar {
  height: 4px; border-radius: var(--r-full);
  background: rgba(100, 121, 143, .18);
  overflow: hidden;
}
.capacity__fill { height: 100%; border-radius: var(--r-full); background: var(--bc-current); }
.capacity--few  .capacity__fill { background: var(--bc-few); }
.capacity--full .capacity__fill { background: var(--bc-full); }

.session__date {
  font-family: var(--font-mono);
  font-size: 1.875rem; font-weight: 600; line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--bc-ink);
}
.session__date .dow { font-size: .9375rem; margin-left: 6px; color: var(--bc-silt); }
.session__time {
  font-family: var(--font-mono);
  font-size: .9375rem; color: var(--bc-silt); margin-top: 2px;
}
.session__cat {
  display: inline-block;
  margin-top: var(--sp-3);
  padding: 3px var(--sp-3);
  border: 1px solid rgba(0, 194, 232, .35);
  border-radius: var(--r-sm);
  font-size: .75rem; font-weight: 700;
  color: var(--bc-current-dk);
}

.session__meta { margin-top: var(--sp-4); font-size: var(--fs-small); line-height: 1.75; }
.session__place { font-weight: 700; font-size: 1rem; color: var(--bc-ink); }
.session__addr  { color: var(--bc-silt); }
.session__facts {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px dashed rgba(100, 121, 143, .28);
  color: var(--bc-silt);
}
.session__facts b { color: var(--bc-ink); font-family: var(--font-mono); }
.session__note {
  margin-top: var(--sp-3);
  font-size: .8125rem;
  color: var(--bc-silt);
}
.session__actions { margin-top: auto; padding-top: var(--sp-5); display: grid; gap: var(--sp-2); }

/* 地図（クリックで初期化する遅延パターン） */
.map { margin-top: var(--sp-4); }
.map__ph {
  display: flex; align-items: center; gap: var(--sp-3);
  width: 100%; min-height: 64px;
  padding: var(--sp-3) var(--sp-4);
  background: linear-gradient(135deg, rgba(0, 194, 232, .07), rgba(100, 121, 143, .07));
  border: 1px dashed rgba(0, 194, 232, .4);
  border-radius: var(--r-sm);
  cursor: pointer; text-align: left;
  font-size: var(--fs-small); color: var(--bc-current-dk); font-weight: 700;
  transition: background var(--t-micro);
}
.map__ph:hover { background: rgba(0, 194, 232, .12); }
.map iframe { width: 100%; height: 220px; border: 0; border-radius: var(--r-sm); }

.sched__empty {
  padding: var(--sp-8) var(--sp-5);
  text-align: center;
  background: var(--bc-shell);
  border: 1px dashed rgba(100, 121, 143, .35);
  border-radius: var(--r-md);
}

/* スケルトン */
.skeleton {
  background: linear-gradient(90deg, rgba(100,121,143,.10) 25%, rgba(100,121,143,.18) 37%, rgba(100,121,143,.10) 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* カレンダー（月表示） */
.cal { background: var(--bc-shell); border: 1px solid rgba(100,121,143,.18); border-radius: var(--r-md); padding: var(--sp-5); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.cal__title { font-family: var(--font-mono); font-weight: 600; font-size: 1.125rem; }
.cal__nav { display: flex; gap: var(--sp-2); }
.cal__nav button {
  width: 40px; height: 40px; border-radius: var(--r-full);
  border: 1px solid rgba(100,121,143,.28); background: transparent;
  cursor: pointer; color: var(--bc-ink);
}
.cal__nav button:hover { border-color: var(--bc-current-dk); color: var(--bc-current-dk); }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow {
  text-align: center; font-size: .6875rem; font-weight: 700;
  color: var(--bc-silt); padding-bottom: var(--sp-2);
}
.cal__cell {
  position: relative; aspect-ratio: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; border-radius: var(--r-sm);
  font-family: var(--font-mono); font-size: .8125rem;
  border: 1px solid transparent; background: transparent;
  color: var(--bc-ink); cursor: default;
}
.cal__cell--out { color: rgba(100,121,143,.45); }
.cal__cell--has { cursor: pointer; background: rgba(0,194,232,.07); border-color: rgba(0,194,232,.28); font-weight: 600; }
.cal__cell--has:hover { background: rgba(0,194,232,.16); }
.cal__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bc-current); }
.cal__dot--full { background: var(--bc-full); }
.cal__dot--few  { background: var(--bc-few); }

/* --------------------------------------------------------------------------
   9. Program
   -------------------------------------------------------------------------- */
.prog__grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 768px) { .prog__grid { grid-template-columns: repeat(3, 1fr); } }

.prog__card {
  position: relative;
  padding: var(--sp-6) var(--sp-5);
  background: linear-gradient(160deg, rgba(20, 48, 79, .6), rgba(11, 27, 51, .3));
  border: 1px solid rgba(0, 194, 232, .18);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-std), transform var(--t-std);
}
.prog__card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(90% 60% at 100% 0%, rgba(0, 194, 232, .18), transparent 65%);
  opacity: 0; transition: opacity var(--t-std);
}
.prog__card:hover { border-color: rgba(0, 194, 232, .5); transform: translateY(-4px); }
.prog__card:hover::after { opacity: 1; }
.prog__num {
  font-family: var(--font-mono);
  font-size: .75rem; font-weight: 600; letter-spacing: .18em;
  color: var(--bc-current);
  margin-bottom: var(--sp-4);
}
.prog__title { font-size: var(--fs-h3); font-weight: 700; line-height: 1.45; margin-bottom: var(--sp-3); }
.prog__body { position: relative; z-index: 1; color: #A9BFD4; font-size: var(--fs-small); }
.prog__quote {
  margin-top: var(--sp-4); padding-left: var(--sp-4);
  border-left: 2px solid var(--bc-current);
  font-size: .8125rem; color: var(--bc-current-hi); line-height: 1.8;
}

/* --- PROGRAM を明背景へ移したことによる補正（2026-08-10 の構成変更）------
   カードは暗背景前提の配色だったため、明背景用の値で上書きする。       */
.section--light .prog__card {
  background: linear-gradient(160deg, var(--bc-shell), rgba(244, 248, 251, .6));
  border-color: rgba(0, 108, 135, .22);
  box-shadow: var(--shadow-sm);
}
.section--light .prog__card::after {
  background: radial-gradient(90% 60% at 100% 0%, rgba(0, 194, 232, .14), transparent 65%);
}
.section--light .prog__card:hover { border-color: rgba(0, 108, 135, .5); }
.section--light .prog__num   { color: var(--bc-current-dk); }
.section--light .prog__body  { color: var(--bc-silt); }
.section--light .prog__quote { color: var(--bc-current-dk); border-left-color: var(--bc-current-dk); }

/* --------------------------------------------------------------------------
   9-1. Safety — 怪我の予防（2026-08-17 新設）
   明背景の Program 内で唯一の暗色ブロックとして視線を集める。
   -------------------------------------------------------------------------- */
.safety {
  position: relative;
  display: grid; gap: var(--sp-6);
  grid-template-columns: 1fr;
  margin-bottom: var(--sp-7);
  padding: var(--sp-6) var(--sp-5);
  background: linear-gradient(150deg, var(--bc-deep), var(--bc-hull) 70%, #1B3E63);
  color: var(--bc-foam);
  border: 1px solid rgba(0, 194, 232, .28);
  border-left: 4px solid var(--bc-current);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.safety::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 80% at 100% 0%, rgba(0, 194, 232, .22), transparent 65%);
}
.safety > * { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .safety {
    grid-template-columns: 6fr 6fr;
    gap: var(--sp-8);
    padding: var(--sp-7) var(--sp-7);
    margin-bottom: var(--sp-8);
  }
}
.safety__label {
  font-family: var(--font-mono);
  font-size: .75rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bc-current-hi);
  margin-bottom: var(--sp-4);
}
.safety__title {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 900; line-height: 1.4; letter-spacing: -.01em;
  color: var(--bc-foam);
  margin-bottom: var(--sp-5);
}
.safety__lead { font-size: var(--fs-body); line-height: 1.95; color: #D6E4F0; }
.safety__lead strong { color: var(--bc-current-hi); font-weight: 700; }
.safety__note {
  margin-top: var(--sp-4);
  padding-left: var(--sp-4);
  border-left: 2px solid var(--bc-current);
  font-size: var(--fs-small); line-height: 1.9; color: #A9BFD4;
}
.safety__points { display: grid; gap: var(--sp-4); align-content: start; }
.safety__points li {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  padding: var(--sp-4) var(--sp-5);
  background: rgba(6, 11, 20, .32);
  border: 1px solid rgba(0, 194, 232, .16);
  border-radius: var(--r-sm);
}
.safety__num {
  flex: none;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; color: var(--bc-current);
  padding-top: 4px;
}
.safety__pt { font-size: 1rem; font-weight: 700; line-height: 1.5; color: var(--bc-foam); }
.safety__pd { margin-top: var(--sp-2); font-size: var(--fs-small); line-height: 1.85; color: #A9BFD4; }
.safety__pd a { color: var(--bc-current-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.safety__pd a:hover { color: var(--bc-foam); }

/* --------------------------------------------------------------------------
   9-3. Problem — こんな悩みを持つ子どもたちがいます（2026-08-12 新設）
   -------------------------------------------------------------------------- */
.pain__grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; list-style: none; }
@media (min-width: 860px) { .pain__grid { grid-template-columns: repeat(3, 1fr); } }

.pain__card {
  position: relative;
  padding: var(--sp-6) var(--sp-5);
  background: rgba(20, 48, 79, .42);
  border: 1px solid rgba(0, 194, 232, .16);
  border-radius: var(--r-md);
}
.pain__q {
  font-size: 1.125rem; font-weight: 800; line-height: 1.65;
  color: var(--bc-foam);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(0, 194, 232, .22);
}
.pain__a {
  margin-top: var(--sp-4);
  font-size: var(--fs-small); line-height: 1.95; color: #A9BFD4;
}
.pain__bridge {
  margin-top: var(--sp-7);
  text-align: center;
  font-size: var(--fs-h3); font-weight: 900; line-height: 1.6;
  color: var(--bc-current-hi);
}

/* --------------------------------------------------------------------------
   9-3b. Method — BCトータルバランスシステムの定義（2026-08-12 新設）
   「測る→整える→鍛える」。BCエクササイズが第3段階であることをここで一度示す。
   -------------------------------------------------------------------------- */
.method {
  margin-bottom: var(--sp-7);
  padding: var(--sp-6) var(--sp-5);
  background: var(--bc-shell);
  border: 1px solid rgba(0, 108, 135, .18);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.method__lead { font-size: var(--fs-small); line-height: 1.95; color: var(--bc-silt); }
.method__lead strong { color: var(--bc-ink); font-weight: 700; }

.method__steps {
  display: grid; gap: var(--sp-4);
  grid-template-columns: 1fr;
  margin-top: var(--sp-5);
  list-style: none; counter-reset: none;
}
@media (min-width: 860px) { .method__steps { grid-template-columns: repeat(3, 1fr); } }

.method__steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px var(--sp-4);
  align-items: baseline;
  padding: var(--sp-4) var(--sp-4) var(--sp-4) 0;
  border-top: 2px solid rgba(0, 194, 232, .38);
}
.method__num {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: .75rem; font-weight: 600; color: var(--bc-current-dk);
}
.method__word { font-size: 1.125rem; font-weight: 800; color: var(--bc-ink); }
.method__desc { grid-column: 2; font-size: .8125rem; line-height: 1.8; color: var(--bc-silt); }
.method__desc strong { color: var(--bc-current-dk); font-weight: 700; }

.method__note { margin-top: var(--sp-5); font-size: .8125rem; color: var(--bc-silt); }
.method__note a {
  color: var(--bc-current-dk); font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   9-4. Price — レッスン・料金（2026-08-12 新設。旧 #schedule の位置）
   -------------------------------------------------------------------------- */
/* 4枚（個人／オンライン／団体／無料体験）。中間幅では2×2に畳む */
.price__grid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 720px)  { .price__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .price__grid { grid-template-columns: repeat(4, 1fr); } }

.price__card {
  display: flex; flex-direction: column;
  padding: var(--sp-6) var(--sp-5);
  background: var(--bc-shell);
  border: 1px solid rgba(0, 108, 135, .18);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.price__card--main   { border-top: 3px solid var(--bc-current); }
.price__card--online { border-top: 3px solid var(--bc-current); }
.price__notes li strong { color: var(--bc-current-dk); font-weight: 700; }
.price__card--trial {
  border-top: 3px solid var(--bc-current-dk);
  background: linear-gradient(170deg, #FFFFFF, rgba(0, 194, 232, .07));
}
.price__label {
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em;
  color: var(--bc-current-dk);
}
.price__amount { margin-top: var(--sp-4); line-height: 1; }
.price__num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 900; letter-spacing: -.02em;
  color: var(--bc-ink);
}
.price__num--sm { font-size: clamp(1.5rem, 3.5vw, 2rem); }
.price__unit { margin-left: 4px; font-size: 1.125rem; font-weight: 700; color: var(--bc-ink); }
.price__per { margin-top: var(--sp-3); font-size: var(--fs-small); color: var(--bc-silt); }

.price__notes { margin-top: var(--sp-5); list-style: none; }
.price__notes li {
  position: relative;
  padding-left: var(--sp-5);
  font-size: .8125rem; line-height: 1.85; color: var(--bc-silt);
}
.price__notes li + li { margin-top: var(--sp-2); }
.price__notes li::before {
  content: "";
  position: absolute; left: 0; top: .72em;
  width: 10px; height: 1px; background: var(--bc-current-dk);
}

/* --------------------------------------------------------------------------
   9-2. About / MVV（2026-08-10 新設）
   -------------------------------------------------------------------------- */
.mvv { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 900px) { .mvv { grid-template-columns: repeat(3, 1fr); } }

.mvv__card {
  padding: var(--sp-6) var(--sp-5);
  background: var(--bc-shell);
  border: 1px solid rgba(0, 108, 135, .18);
  border-top: 3px solid var(--bc-current);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.mvv__label {
  font-family: var(--font-mono);
  font-size: .75rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bc-current-dk);
  margin-bottom: var(--sp-4);
}
.mvv__head {
  font-size: var(--fs-h3); font-weight: 800; line-height: 1.5;
  letter-spacing: -.01em;
  margin-bottom: var(--sp-4);
}
.mvv__body { font-size: var(--fs-small); color: var(--bc-silt); }

.mvv__list { list-style: none; }
.mvv__list li {
  display: flex; gap: var(--sp-4); align-items: baseline;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid rgba(0, 108, 135, .14);
  font-size: 1.0625rem; font-weight: 700; line-height: 1.6;
}
.mvv__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.mvv__list li span {
  flex: none;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  color: var(--bc-current-dk);
}

/* --------------------------------------------------------------------------
   10. Story（旧 Coach。2026-08-10 に暗背景の「想い」の章へ格上げ）
   -------------------------------------------------------------------------- */
/* 旧 #coach からのアンカー流入を受ける目印。ヘッダーぶんの余白は
   html の scroll-padding-top が担うため、ここでは位置だけ与える。 */
.anchor-alias { position: absolute; top: 0; width: 0; height: 0; }

.story { margin-top: var(--sp-6); max-width: 42em; }
.story p { font-size: var(--fs-small); line-height: 2; color: #A9BFD4; }
.story p + p { margin-top: var(--sp-4); }
.story__lead {
  font-size: 1.0625rem !important;
  font-weight: 700;
  color: var(--bc-foam) !important;
  margin-top: var(--sp-6) !important;
}
.story > .story__lead:first-child { margin-top: 0 !important; }
.story__turn {
  font-size: var(--fs-h3) !important;
  font-weight: 900; line-height: 1.6;
  color: var(--bc-current-hi) !important;
  margin-top: var(--sp-6) !important;
}
.story__close {
  margin-top: var(--sp-6) !important;
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(0, 194, 232, .28);
  font-size: 1.0625rem !important;
  font-weight: 700;
  color: var(--bc-foam) !important;
}

/* 暗背景へ移したことによる補正 */
.section--dark .coach__cap        { color: #6E8AA6; }
.section--dark .coach__name small { color: #6E8AA6; }
.section--dark .coach__role       { color: var(--bc-current-hi); background: rgba(0, 194, 232, .16); }
.section--dark .timeline          { border-left-color: rgba(0, 194, 232, .32); }
.section--dark .timeline li::before { background: var(--bc-deep); border-color: var(--bc-current); }
.section--dark .timeline .yr      { color: var(--bc-current-hi); }
.section--dark .timeline .txt     { color: #A9BFD4; }
.section--dark .pullquote {
  background: rgba(20, 48, 79, .55);
  box-shadow: none;
}
/* 背景が半透明の hull に乗るため #6E8AA6 では 4.25 と AA に届かない */
.section--dark .pullquote cite    { color: #93ABC4; }

/* --------------------------------------------------------------------------
   10-1. Coach（共通部）
   -------------------------------------------------------------------------- */
.coach__grid { display: grid; gap: var(--sp-7); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) {
  .coach__grid { grid-template-columns: 5fr 7fr; gap: var(--sp-8); }
}
.coach__figure { position: relative; }
.coach__figure::before {
  content: "";
  position: absolute;
  inset: var(--sp-5) calc(var(--sp-5) * -1) calc(var(--sp-5) * -1) var(--sp-5);
  background: linear-gradient(150deg, var(--bc-current), var(--bc-current-dk));
  border-radius: var(--r-md);
  opacity: .18;
}
.coach__figure img {
  position: relative;
  width: 100%;
  height: auto;
  /* 旧写真（900×1125 縦位置）は 4/5 に切り抜いていたが、
     現写真（矢田先生との横位置）は全体を見せたいので固定比を外した */
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.coach__cap {
  margin-top: var(--sp-3);
  font-size: .75rem;
  color: var(--bc-silt);
  font-family: var(--font-mono);
}
.coach__name { font-size: var(--fs-h2); font-weight: 900; letter-spacing: -.02em; line-height: 1.25; }
.coach__name small {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: "wdth" 116;
  font-size: .8125rem; font-weight: 400; letter-spacing: .2em;
  color: var(--bc-silt); text-transform: uppercase; margin-top: var(--sp-2);
}
.coach__role {
  display: inline-block; margin-top: var(--sp-3);
  padding: 4px var(--sp-4);
  background: rgba(0, 194, 232, .12);
  border-radius: var(--r-full);
  font-size: .8125rem; font-weight: 700; color: var(--bc-current-dk);
}

.timeline { margin-top: var(--sp-6); border-left: 1px solid rgba(0, 194, 232, .28); }
.timeline li { position: relative; padding: 0 0 var(--sp-5) var(--sp-6); }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: 12px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bc-foam); border: 2px solid var(--bc-current-dk);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline .yr {
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 600;
  color: var(--bc-current-dk); letter-spacing: .04em;
}
.timeline .txt { font-size: var(--fs-small); }
.timeline .txt strong { font-weight: 700; }

.pullquote {
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  background: var(--bc-shell);
  border-left: 3px solid var(--bc-current);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  box-shadow: var(--shadow-sm);
}
.pullquote p { font-size: 1.0625rem; font-weight: 500; line-height: 1.9; }
.pullquote cite { display: block; margin-top: var(--sp-3); font-size: .75rem; font-style: normal; color: var(--bc-silt); }

/* --------------------------------------------------------------------------
   11. Instagram
   -------------------------------------------------------------------------- */
.ig__grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px)  { .ig__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .ig__grid { grid-template-columns: repeat(5, 1fr); } }

.ig__item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bc-hull);
}
.ig__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-std); }
.ig__item:hover img { transform: scale(1.06); }
.ig__ov {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: var(--sp-3);
  background: linear-gradient(180deg, rgba(0, 194, 232, .0) 30%, rgba(6, 11, 20, .88));
  opacity: 0; transition: opacity var(--t-std);
}
.ig__item:hover .ig__ov, .ig__item:focus-visible .ig__ov { opacity: 1; }
.ig__cap {
  font-size: .6875rem; line-height: 1.6; color: var(--bc-foam);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ig__play {
  position: absolute; top: var(--sp-2); right: var(--sp-2);
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(6, 11, 20, .62); backdrop-filter: blur(4px);
  display: grid; place-items: center; color: var(--bc-foam);
}

/* --------------------------------------------------------------------------
   12. Sponsor（KINETIC LAB-Link）
   -------------------------------------------------------------------------- */
/* banner.js は Shadow DOM に 濃紺グラデーション・padding 60px の全幅ブロックを
   注入する。自前の背景と余白を持つため、コンテナで囲まず全幅で流し込む。   */
.sponsor {
  background: var(--bc-abyss);
  color: var(--bc-foam);
  padding-top: var(--sp-7);
}
.sponsor .eyebrow { color: var(--bc-current); }
.sponsor__slot {
  min-height: 180px;           /* 読み込み失敗時に穴が開かないよう CLS 対策 */
}

/* --------------------------------------------------------------------------
   13. Forms & Modal
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-5); }
.form__row { display: grid; gap: var(--sp-2); }
@media (min-width: 640px) { .form__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }

.label { font-size: .8125rem; font-weight: 700; display: flex; align-items: center; gap: var(--sp-2); }
.req {
  font-size: .625rem; font-weight: 700; letter-spacing: .06em;
  padding: 2px 6px; border-radius: 3px;
  background: rgba(0, 194, 232, .15); color: var(--bc-current-dk);
}
.opt {
  font-size: .625rem; font-weight: 500;
  padding: 2px 6px; border-radius: 3px;
  background: rgba(100, 121, 143, .14); color: var(--bc-silt);
}

.input, .textarea, .select {
  width: 100%;
  min-height: 48px;
  padding: var(--sp-3) var(--sp-4);
  background: var(--bc-shell);
  border: 1px solid rgba(100, 121, 143, .35);
  border-radius: var(--r-sm);
  color: var(--bc-ink);
  transition: border-color var(--t-micro), box-shadow var(--t-micro);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.8; padding-block: var(--sp-3); }
.input:hover, .textarea:hover { border-color: rgba(100, 121, 143, .6); }
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--bc-current-dk);
  box-shadow: 0 0 0 3px rgba(0, 194, 232, .18);
}
.input[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: #C62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, .12);
}
.input::placeholder, .textarea::placeholder { color: rgba(100, 121, 143, .7); }

.checks { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.check {
  position: relative;
  display: inline-flex; align-items: center; gap: var(--sp-2);
  min-height: 44px;
  padding: var(--sp-2) var(--sp-4);
  background: var(--bc-shell);
  border: 1px solid rgba(100, 121, 143, .35);
  border-radius: var(--r-full);
  font-size: .875rem; cursor: pointer;
  transition: border-color var(--t-micro), background var(--t-micro);
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  width: 18px; height: 18px; flex: none;
  border: 1.5px solid rgba(100, 121, 143, .55);
  border-radius: 4px;
  display: grid; place-items: center;
  transition: background var(--t-micro), border-color var(--t-micro);
}
.check .box::after {
  content: ""; width: 9px; height: 5px;
  border-left: 2px solid var(--bc-abyss); border-bottom: 2px solid var(--bc-abyss);
  transform: rotate(-45deg) scale(0); transform-origin: center;
  transition: transform var(--t-micro);
  margin-top: -2px;
}
.check:has(input:checked) { border-color: var(--bc-current-dk); background: rgba(0, 194, 232, .08); }
.check:has(input:checked) .box { background: var(--bc-current); border-color: var(--bc-current); }
.check input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.check:has(input:focus-visible) { outline: 2px solid var(--bc-current-dk); outline-offset: 2px; }

.hint { font-size: .75rem; color: var(--bc-silt); }
.err { font-size: .75rem; color: #C62828; font-weight: 700; min-height: 1.2em; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Turnstile（D-1）。ウィジェットは 300x65 固定。サイトキー未設定時は
   hidden のままなので、この指定は描画されたときにだけ効く。 */
.turnstile { justify-items: center; min-height: 65px; }
.turnstile iframe { max-width: 100%; }
/* .form__row の display:grid が UA の [hidden]{display:none} に勝ってしまい、
   非表示のはずの枠が 74px の空白として残っていたため明示する。 */
.turnstile[hidden] { display: none; }

.formmsg { padding: var(--sp-4) var(--sp-5); border-radius: var(--r-sm); font-size: var(--fs-small); }
.formmsg--ok  { background: rgba(0, 194, 232, .1);  border: 1px solid rgba(0, 194, 232, .4); }
.formmsg--ng  { background: rgba(198, 40, 40, .07); border: 1px solid rgba(198, 40, 40, .35); color: #8E1F1F; }

/* Modal */
dialog.modal {
  width: min(680px, calc(100vw - var(--sp-5) * 2));
  max-height: calc(100svh - var(--sp-8));
  padding: 0;
  border: none;
  border-radius: var(--r-lg);
  background: var(--bc-foam);
  color: var(--bc-ink);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
dialog.modal::backdrop { background: rgba(6, 11, 20, .72); backdrop-filter: blur(6px); }
dialog.modal[open] { animation: modalin var(--t-std) both; }
@keyframes modalin { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.modal__head {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--bc-deep); color: var(--bc-foam);
}
.modal__ev { font-family: var(--font-mono); font-size: .875rem; color: var(--bc-current-hi); }
.modal__evtitle { font-weight: 700; font-size: 1.0625rem; margin-top: 2px; }
.modal__close {
  flex: none; width: 40px; height: 40px; border-radius: var(--r-full);
  border: 1px solid rgba(244, 248, 251, .28); background: transparent;
  color: var(--bc-foam); cursor: pointer; font-size: 1.25rem; line-height: 1;
}
.modal__close:hover { border-color: var(--bc-current); color: var(--bc-current-hi); }
.modal__body { padding: var(--sp-5); overflow-y: auto; max-height: calc(100svh - var(--sp-8) - 96px); }

.done { text-align: center; padding: var(--sp-6) var(--sp-2); }
.done__mark {
  width: 56px; height: 56px; margin: 0 auto var(--sp-4);
  border-radius: var(--r-full);
  background: rgba(0, 194, 232, .14);
  display: grid; place-items: center;
  color: var(--bc-current-dk); font-size: 1.5rem;
}
.done__id {
  display: inline-block; margin-top: var(--sp-2);
  font-family: var(--font-mono); font-size: .875rem; font-weight: 600;
  padding: 6px var(--sp-4); border-radius: var(--r-sm);
  background: rgba(0, 194, 232, .1);
}
.ig-nudge {
  margin-top: var(--sp-6); padding: var(--sp-5);
  background: var(--bc-shell); border: 1px solid rgba(100, 121, 143, .22);
  border-radius: var(--r-md); text-align: left;
}

/* --------------------------------------------------------------------------
   13b. 下層ドキュメントページ（privacy / terms）
   -------------------------------------------------------------------------- */
.doc { max-width: 820px; }
.doc h2 {
  font-size: 1.25rem; font-weight: 900; line-height: 1.5;
  margin-top: var(--sp-8); margin-bottom: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(0, 194, 232, .3);
}
.doc h3 {
  font-size: 1rem; font-weight: 700;
  margin-top: var(--sp-6); margin-bottom: var(--sp-2);
  color: var(--bc-current-dk);
}
.doc p { margin-bottom: var(--sp-4); }
.doc a { color: var(--bc-current-dk); text-decoration: underline; }
.doc__list { margin: 0 0 var(--sp-4); padding: 0; }
.doc__list li {
  position: relative;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-2);
  font-size: var(--fs-small);
}
.doc__list li::before {
  content: ""; position: absolute; left: 0; top: .85em;
  width: 7px; height: 1px; background: var(--bc-current-dk);
}
.doc__table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.doc__table th, .doc__table td {
  text-align: left; vertical-align: top;
  padding: var(--sp-3) var(--sp-3) var(--sp-3) 0;
  border-bottom: 1px solid rgba(100, 121, 143, .2);
}
.doc__table th { width: 9em; font-weight: 700; color: var(--bc-silt); white-space: nowrap; }

/* --------------------------------------------------------------------------
   14. FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: var(--sp-3); max-width: 860px; }
.faq details {
  background: var(--bc-shell);
  border: 1px solid rgba(100, 121, 143, .2);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  min-height: 56px;
  font-weight: 700; font-size: .9375rem;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  width: 10px; height: 10px;
  border-right: 2px solid var(--bc-current-dk);
  border-bottom: 2px solid var(--bc-current-dk);
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--t-micro);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details[open] summary { border-bottom: 1px solid rgba(100, 121, 143, .16); }
.faq .a { padding: var(--sp-4) var(--sp-5); font-size: var(--fs-small); color: var(--bc-silt); }

/* --------------------------------------------------------------------------
   15. Footer / Floating CTA
   -------------------------------------------------------------------------- */
.footer { background: var(--bc-abyss); color: var(--bc-foam); padding-block: var(--sp-8) var(--sp-7); }
.footer__grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h4 {
  font-family: var(--font-mono); font-size: .6875rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--bc-current); margin-bottom: var(--sp-3);
}
.footer a { color: rgba(244, 248, 251, .76); font-size: var(--fs-small); transition: color var(--t-micro); }
.footer a:hover { color: var(--bc-current-hi); }
.footer li { padding-block: 5px; }
.footer__bottom {
  margin-top: var(--sp-7); padding-top: var(--sp-5);
  border-top: 1px solid rgba(20, 48, 79, .9);
  display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap;
  font-size: .75rem; color: #6E8AA6;
}
.footer__src { font-size: .6875rem; line-height: 1.9; color: #55708A; }
.footer__src a { font-size: inherit; color: #7B96AE; }

.fab {
  position: fixed; z-index: 90;
  left: var(--gutter); right: var(--gutter); bottom: var(--sp-4);
  display: flex; gap: var(--sp-3);
  transform: translateY(140%);
  transition: transform var(--t-std);
}
.fab.is-on { transform: none; }
.fab .btn { flex: 1; box-shadow: var(--shadow-lg); }
@media (min-width: 1024px) { .fab { display: none; } }

/* --------------------------------------------------------------------------
   16. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity var(--t-std), transform var(--t-std); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* --------------------------------------------------------------------------
   17. Reduced motion（DESIGN.md §4.7 必須）
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .current-line { transform: scaleX(1); }
  .hero__slide.is-active img { animation: none; }
}
