@charset "UTF-8";
/* ============================================================
   金山 帯結び教室 — style.css
   構成: 1.トークン → 2.ベース → 3.レイアウト → 4.シグネチャー
        → 5.コンポーネント → 6.セクション個別 → 7.モーション
        → 8.モーション停止ポリシー
   ============================================================ */

/* ---------- 1. トークン ---------- */
:root {
  /* 色: 生成りの地に、深みのある紅梅色。抹茶色は差しで一点だけ */
  --c-bg: #FAF7F1;
  --c-bg-alt: #F2EBE0;
  --c-surface: #FFFFFF;
  --c-ink: #332E2A;
  --c-ink-soft: #5C544D;
  --c-muted: #6E5F50;  /* WCAG AA(4.5:1)確保のため元より濃く調整 */
  --c-accent: #B84A61;  /* WCAG AA確保のため元よりわずかに濃く */
  --c-accent-deep: #9A3B50;
  --c-sage: #8F9E7E;
  --c-mint: #E4F1EC;
  --c-mint-line: #C9E2D8;
  --c-line: #E3D9CB;
  --c-line-soft: #EFE8DD;

  /* タイポ: 見出しは明朝で品を、本文はゴシックで親しみやすさを */
  --f-display: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* 型: スマホ固定幅で制作。PCでも同じ幅の1カラムを中央に置く */
  --sp: 8px;
  --section-pad: 52px;
  --page-w: 480px;   /* ページ本体の固定幅(短期集中3日間LPと同じ幅に統一) */
  --gutter: 22px;    /* 本体の左右の内側余白 */
  --r: 3px;

  --z-header: 100;
  --z-nav: 200;
  --z-modal: 1000;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.9s;
}

/* ---------- 2. ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--f-body);
  color: var(--c-ink);
  /* 外側(PCで柱の左右に出る領域)。柱そのものの地色は main / .ft 側で塗る */
  background: var(--c-bg);
  line-height: 1.78;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

::selection { background: var(--c-accent); color: #fff; }

/* ---------- 3. レイアウト: スマホ固定幅の1カラムを中央に置く ---------- */

/* ページ本体の柱。画面が広がっても幅は変えず、左右に余白を逃がす */
main, .ft { width: 100%; max-width: var(--page-w); margin-inline: auto; background: var(--c-bg); }
.ft { background: #0A3A5C; }

/* 柱より画面が広いとき: 外側にトーンを敷き、柱が意図した設計に見えるようにする */
@media (min-width: 560px) {
  body { background: linear-gradient(165deg, var(--c-bg-alt) 0%, #E4D9C8 100%); background-attachment: fixed; }
  main { box-shadow: 0 0 60px -18px rgba(51, 46, 42, 0.28); }
}

.wrap, .wrap--narrow { width: 100%; padding-inline: var(--gutter); margin-inline: auto; }

.sec { padding-block: var(--section-pad); }
.sec--half { padding-block: calc(var(--section-pad) * 0.55); }
.sec--alt { background: var(--c-bg-alt); }
/* 参考サイトのミント面。テンポよく背景を切り替えるための3色目 */
.sec--mint { background: var(--c-mint); }
.sec--mint .flow__item::before { background: var(--c-mint); }
/* ミント面は生成りの罫線(--c-line)とほぼ同輝度で見えなくなるため、濃いめの専用色に差し替える */
.sec--mint .spec,
.sec--mint .spec__row { border-color: var(--c-mint-line); }

/* ---------- 4. シグネチャー: 縦組みラベル + 極細罫 ---------- */
/* 各セクションの見出し左に縦書きの一言を添える。この案件の記憶点 */
.head {
  margin-bottom: calc(var(--sp) * 3);
}
/*
  ラベルの左に付く短い罫線は、.head__label自身のinline-flex行の中に
  ::beforeとして組み込む。これにより罫線は常にラベル文字と天地中央に揃う
  (別要素の絶対配置で位置を目分量指定すると、フォントの指標次第でズレるため)。
*/
.head__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.26em;
  color: var(--c-accent);
  margin-bottom: 8px;
}
.head__label::before {
  content: ""; display: inline-block; flex: none;
  width: 24px; height: 1px; background: var(--c-accent);
}

/* スマホ版のみ改行するユーティリティ(住所などピンポイントの改行調整に使用) */
.brSp { display: none; }
.brSp { display: inline; }
.head__title { font-size: clamp(21px, 5.62vw, 27px); line-height: 1.4; }
.head__lead { margin-top: calc(var(--sp) * 1.5); color: var(--c-ink-soft); max-width: 40em; line-height: 1.7; font-weight: 400; }
.head__en {
  display: block; font-family: var(--f-body);
  font-size: 11.5px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 6px;
}

/* ---------- 5. コンポーネント ---------- */

/* ヘッダー */
.hd {
  /*
    柱の幅に合わせて中央に固定する。
    transformは使わない: transformを掛けた要素は、その子孫のposition:fixedの
    基準(包含ブロック)になってしまい、全画面オーバーレイのナビが正しく開かなくなるため。
  */
  position: fixed; top: 0; left: 0; right: 0; margin-inline: auto;
  width: 100%; max-width: var(--page-w); z-index: calc(var(--z-nav) + 1);
  display: flex; align-items: center;
  gap: 14px;
  padding: 12px clamp(16px, 3.4vw, 44px);
  background: rgba(250, 247, 241, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow 0.4s, padding 0.4s;
}
.hd.is-stuck { box-shadow: 0 6px 20px -14px rgba(51, 46, 42, 0.45); }
.hd__logo {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; flex: none; margin-right: auto;
}
.hd__logo img { height: 32px; width: auto; }
.hd__right { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }

.nav ul { display: flex; gap: clamp(14px, 1.9vw, 28px); list-style: none; padding: 0; }
.nav a {
  text-decoration: none; font-size: 13px; letter-spacing: 0.08em;
  padding-block: 11px; position: relative; display: inline-block;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 8px;
  width: 100%; height: 1px; background: var(--c-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }

/* ヘッダー内の小さめCV */
.hd__cv {
  display: inline-block; padding: 11px 22px;
  background: var(--c-accent); color: #fff;
  border-radius: 999px; font-size: 13px; font-weight: 500;
  text-decoration: none; letter-spacing: 0.06em;
  transition: background 0.35s, transform 0.35s var(--ease);
  white-space: nowrap;
}
.hd__cv:hover { background: var(--c-accent-deep); transform: translateY(-2px); }

/* ハンバーガー */
.burger {
  display: none; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  position: relative; z-index: calc(var(--z-nav) + 1);
}
.burger span {
  display: block; width: 22px; height: 1px; margin: 6px auto;
  background: var(--c-ink); transition: transform 0.4s var(--ease), opacity 0.3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(38deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-38deg); }

/* 固定幅なので、ナビは常にハンバーガー方式で表示する */
.burger { display: block; }
.hd__cv { display: none; }
.nav {
  position: fixed; inset: 0; z-index: var(--z-nav);
  background: var(--c-bg);
  display: grid; place-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.45s, visibility 0.45s;
}
.nav.is-open { opacity: 1; visibility: visible; }
.nav ul { flex-direction: column; text-align: center; gap: calc(var(--sp) * 4); }
.nav a { font-size: 19px; font-family: var(--f-display); }

/* ボタン(CV) — 光沢のスイープ + ホバーで浮く */
.btn {
  /* 立体感: 上を明るく下を暗くする控えめなグラデーション + 落ち影 + 上端のハイライト */
  --btn-shadow: 0 5px 12px -5px rgba(154, 59, 80, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 19px 42px;
  background: linear-gradient(180deg,
              color-mix(in srgb, var(--c-accent) 88%, #fff) 0%,
              var(--c-accent) 52%,
              color-mix(in srgb, var(--c-accent) 84%, var(--c-accent-deep)) 100%);
  color: #fff;
  border: 1px solid var(--c-accent-deep); border-radius: 999px;
  box-shadow: var(--btn-shadow);
  font-family: var(--f-body); font-size: 15px; font-weight: 500;
  letter-spacing: 0.08em; text-decoration: none; cursor: pointer;
  transition: filter 0.35s, transform 0.25s var(--ease), box-shadow 0.35s;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
              transparent 30%,
              rgba(255,255,255,0.30) 44%,
              rgba(255,255,255,0.75) 50%,
              rgba(255,255,255,0.30) 56%,
              transparent 70%);
  transform: translateX(-130%);
  pointer-events: none;
}
/* CVボタンの光沢は常時ゆっくり流す(スマホではホバーできないため) */
.btn--cv::after, .dock .btn:not(.btn--line)::after {
  animation: btnShine 4.2s ease-in-out infinite;
}
@keyframes btnShine {
  0%, 62% { transform: translateX(-130%); }
  100%    { transform: translateX(130%); }
}
.btn:hover { filter: brightness(1.05); transform: translateY(-2px);
  box-shadow: 0 9px 18px -7px rgba(154, 59, 80, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
.btn:active { transform: translateY(1px);
  box-shadow: 0 2px 6px -3px rgba(154, 59, 80, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.btn:not(.btn--cv):hover::after { transform: translateX(130%); transition: transform 0.85s var(--ease); }
.btn:disabled { opacity: 0.55; cursor: wait; transform: none; }
.btn__arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* 主要CVは静かに脈打たせて視線を集める */
.btn--cv { animation: cvPulse 3.4s var(--ease) infinite; }
@keyframes cvPulse {
  0%   { box-shadow: var(--btn-shadow), 0 0 0 0 rgba(194, 83, 106, 0.34); }
  62%  { box-shadow: var(--btn-shadow), 0 0 0 16px rgba(194, 83, 106, 0); }
  100% { box-shadow: var(--btn-shadow), 0 0 0 0 rgba(194, 83, 106, 0); }
}

.btn--line {
  background: none; background-color: transparent; color: var(--c-ink);
  border-color: var(--c-line); animation: none;
  box-shadow: none; --btn-shadow: none;
}
.btn--line:active { box-shadow: none; }
.btn--line:hover { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-accent); }
.btn--onDark {
  background: none; background-color: #fff; color: var(--c-accent-deep);
  border-color: #fff; animation: none;
  box-shadow: 0 5px 14px -6px rgba(0, 0, 0, 0.35);
}
.btn--onDark:hover { background: transparent; color: #fff; border-color: #fff; }

/* テキストリンク(下線が伸びる) */
.tlink { text-decoration: none; border-bottom: 1px solid var(--c-line); transition: border-color 0.35s; padding-block: 3px; }
.tlink:hover { border-color: var(--c-accent); }

/* 電話の並び */
.tel { display: inline-flex; flex-direction: column; gap: 2px; }
.tel__shop { font-size: 12.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--c-ink); }
.tel__cap { font-size: 11.5px; letter-spacing: 0.14em; color: var(--c-muted); font-weight: 400; }
.tel__num {
  font-family: var(--f-display); font-size: 25px; letter-spacing: 0.04em;
  text-decoration: none; line-height: 1.3;
  padding-block: 6px; display: inline-block;
}

/* 画像の額(共通) */
.frame { border-radius: var(--r); overflow: hidden; background: var(--c-line-soft); }
.frame img { width: 100%; }

/* ---------- 6. セクション個別 ---------- */

/* --- ヒーロー: スマホ特化のため常に単一カラム。PCも同じ構成のまま拡大するだけ --- */
.hero { padding: 88px 0 var(--section-pad); text-align: center; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: calc(var(--sp) * 1.75); justify-items: center; }
.hero__head, .hero__rest { max-width: 640px; }

/* ヘッダー外に出した「期間限定」バッジ + 赤太字の一言(横並び) */
.hero__tagline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: calc(var(--sp) * 2.5);
}
.hero__limited {
  display: inline-block;
  background: var(--c-accent); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em;
  padding: 6px 15px; border-radius: 999px;
}
.hero__tagline-text {
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--c-accent);
}

.hero__title {
  font-size: clamp(27px, 8.33vw, 40px);
  line-height: 1.4; letter-spacing: 0.02em;
}
.hero__title em { font-style: normal; color: var(--c-accent); }

/* 写真: 320px前後のスマホでは画面いっぱいに、それ以外は最大640pxで中央配置 */
.hero__fig { width: 100%; max-width: 640px; margin-inline: auto; position: relative; }
.hero__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 38%; }
/* 柱の左右いっぱいまで写真を伸ばす */
.hero__fig { margin-inline: calc(-1 * var(--gutter)); max-width: none; width: auto; }

/*
  写真の上に敷く暗いグラデーション。写真の主役(手元・帯)は中央〜上寄りにあるため、
  暗くするのは下45%程度に絞り、文字は下端に寄せて写真が隠れる面積を最小限にする。
*/
.hero__fig-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 20px 22px 18px; text-align: center;
  background: linear-gradient(to bottom,
              transparent 0%, transparent 55%,
              rgba(20, 14, 12, 0.40) 74%,
              rgba(20, 14, 12, 0.74) 100%);
}
.hero__lead {
  color: #fff; font-size: 12px; line-height: 1.55; font-weight: 500; letter-spacing: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 1px 12px rgba(0,0,0,0.4);
}
.hero__marks { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: calc(var(--sp) * 4); }
.hero__marks-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
/* お申し込みボタン〜電話番号まで、PC・スマホともに左右センターに統一 */
.hero__cta {
  display: grid; gap: calc(var(--sp) * 2); margin-top: calc(var(--sp) * 2.5);
  justify-items: center; text-align: center;
}
.hero__cta .tel { align-items: center; }

.mark {
  display: inline-flex; align-items: center;
  padding: 7px 14px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.04em; font-weight: 500;
  border: 1px solid var(--c-line); color: var(--c-ink-soft);
  background: rgba(255,255,255,0.6);
  white-space: nowrap; /* pillの中で文字が折り返すと崩れて見えるため禁止 */
}
.mark--on { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
/*
  ヒーローのバッジは「主役(価格・開講日)」と「補足(手ぶら・定員)」の
  2階層で設計し直す。全バッジの高さを無理に揃えると、文字が小さい補足バッジの
  内側に余白が間延びして不格好になったため、階層ごとに自然な比率で組む。
*/
/* 開講日: 枠を外し、＼／の飾りを添えた赤太字の見出し的な扱いに */
.hero__date {
  font-family: var(--f-display); font-weight: 700; color: var(--c-accent);
  font-size: clamp(19px, 5.6vw, 24px); letter-spacing: 0.02em;
  white-space: nowrap;
}
.mark--sage { border-color: var(--c-sage); color: #5F6B51; background: rgba(143,158,126,0.1); }
.mark--accent { border-color: var(--c-accent); color: var(--c-accent); background: rgba(255,255,255,0.7); font-weight: 700; }
/* 補足: 手ぶら・定員。文字を一回り大きくして、左右の余白もゆったり取る */
.hero__marks-row .mark--accent { font-size: 13px; padding: 9px 24px; }
/* 価格バッジ: 主役と同じ「赤地・白抜き・ピル型」。2行構成なので内側の行間を詰めて締まりよく */
.mark--price {
  flex-direction: column; gap: 0;
  padding: 10px 30px;
}
.mark--price__main { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.3; }
.mark--price__sub { font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em; opacity: 0.92; line-height: 1.3; }


/* --- 作品ギャラリー: 横に流れるticker(obi-07〜14を継ぎ目なくループ) --- */
.ticker {
  overflow: hidden;
  padding-block: calc(var(--sp) * 1.5);
  background: var(--c-surface);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track {
  display: flex; width: max-content; gap: 8px;
  animation: tickerScroll 32s linear infinite;
}
.ticker__track img {
  width: 150px; aspect-ratio: 1 / 1;
  border-radius: var(--r); object-fit: cover; flex: none;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* 画像を2セット並べているため半分ずらすと継ぎ目なくループする */
}
/* ホバーで一時停止(PCでの操作性配慮) */
.ticker:hover .ticker__track { animation-play-state: paused; }
/* --- こんな方に: カードをやめ、罫線だけの静かなリスト --- */
.reasons-wrap { display: grid; gap: calc(var(--sp) * 5); }
.reasons { list-style: none; padding: 0; display: grid; }
.reasons li {
  display: grid; grid-template-columns: 30px 1fr; gap: 18px; align-items: start;
  padding: 17px 0; border-top: 1px solid var(--c-line);
  font-size: 15.5px;
}
.reasons li:last-child { border-bottom: 1px solid var(--c-line); }
.reasons__ico { color: var(--c-accent); margin-top: 5px; }
.reasons__ico svg { display: block; width: 22px; height: 22px; }

/* --- レッスン内容: 囲みは使わず、上下の点線でグループの範囲を示す --- */
.lessons { display: grid; gap: 30px; margin-top: calc(var(--sp) * 4); }

/* グループ(1・2回目 / 3〜5回目 / 6回目) */
.lgroup { display: grid; gap: calc(var(--sp) * 2); }
.lgroup__ttl {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: clamp(14px, 3.54vw, 17px); line-height: 1.5;
}
.lgroup__range {
  flex: none;
  background: var(--c-accent); color: #fff;
  font-family: var(--f-body); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; padding: 5px 13px; border-radius: 999px;
}

/* 各回。回数を大きく見せて区切りを明確にする */
.lesson { display: grid; gap: calc(var(--sp) * 1); }
.lesson__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.lesson__day {
  font-family: var(--f-display); font-size: 24px; font-weight: 700;
  color: var(--c-accent); letter-spacing: 0.06em; line-height: 1.3;
}
.lesson__kind {
  font-size: 13px; letter-spacing: 0.12em; color: var(--c-ink-soft); font-weight: 500;
}
.lesson__fig { max-width: 560px; width: 100%; }
.lesson__fig .frame { width: 100%; }
.lesson__ttl { font-size: 19px; }
.lesson__txt { margin-top: 6px; color: var(--c-ink-soft); font-size: 14px; line-height: 1.65; font-weight: 400; }

/* グループ注釈: そのグループが何のための回かを、レッスンの前に説明する */
.lnote {
  background: var(--c-surface);
  border-radius: var(--r);
  padding: 16px 18px;
}
.lnote .lgroup__ttl { margin-bottom: 12px; }
.lnote p { font-size: 13.5px; color: var(--c-ink-soft); line-height: 1.65; font-weight: 400; }
.lnote p + p { margin-top: 6px; }
.lnote__q { display: grid; gap: 2px; margin: 0 0 8px; padding: 0; list-style: none; }
.lnote__q li {
  font-size: 13.5px; color: var(--c-accent); line-height: 1.6;
  padding-left: 1.1em; position: relative;
}
.lnote__q li::before { content: "「"; position: absolute; left: 0; color: var(--c-accent); }
.lnote__q li::after { content: "」"; color: var(--c-accent); }

/* --- 講師紹介(おまけ): 丸い写真+名前+一言のみ。役職ラベルは出さない --- */
.teacherlite__en {
  font-family: var(--f-body); font-size: 11.5px; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--c-muted); text-align: center;
}
.teacherlite__lead {
  font-family: var(--f-display); font-size: clamp(16px, 4.17vw, 20px);
  text-align: center; margin-top: 8px; margin-bottom: calc(var(--sp) * 5);
}
/* 3人+2人でセンタリング(gridの5列固定をやめ、flex-wrapで中央揃えの折り返しに) */
.teacherlite { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 14px; }
.teacherlite__item { text-align: center; width: calc((100% - 14px * 2) / 3); }
.teacherlite__ph {
  width: 100%; max-width: 108px; aspect-ratio: 1 / 1; margin: 0 auto;
  border-radius: 50%; overflow: hidden; background: var(--c-line-soft);
}
.teacherlite__ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.teacherlite__name { font-size: 13.5px; font-weight: 500; margin-top: 10px; letter-spacing: 0; }
.teacherlite__word { font-size: 12px; color: var(--c-muted); margin-top: 4px; line-height: 1.6; font-weight: 400; }

/* --- 概要: 箱組みをやめ罫線の定義リストへ --- */
.spec { display: grid; margin-top: calc(var(--sp) * 5); border-top: 1px solid var(--c-line); }
.spec__row { display: grid; grid-template-columns: 5.2em 1fr; gap: 14px; align-items: start; padding: 15px 4px; border-bottom: 1px solid var(--c-line); }

.spec__key {
  font-size: 13px; letter-spacing: 0.1em;
  color: var(--c-muted); font-weight: 700;
}
.spec__val { font-size: 15.5px; }
.spec__val strong { font-family: var(--f-display); font-size: 21px; font-weight: 700; letter-spacing: 0.02em; }
.spec__sub { display: block; font-size: 13px; color: var(--c-muted); margin-top: 4px; font-weight: 400; line-height: 1.5; }

/* 時間割の小さな表 */
.slots { display: grid; gap: 3px; }
.slots__row { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; row-gap: 4px; align-items: baseline; }
.slots__day { font-size: 13px; color: var(--c-muted); letter-spacing: 0.1em; font-weight: 700; }
.slots__times { display: flex; flex-wrap: wrap; align-items: center; }
.slots__t { font-size: 13.5px; color: var(--c-ink-soft); line-height: 1.5; }
/* 区切りはスラッシュ。縦罫線だと折り返した行で線だけが宙に浮くため */
.slots__t + .slots__t::before { content: "／"; color: currentColor; margin-inline: 2px; }

/* 注意書き */
.notes { display: grid; gap: 5px; margin-top: calc(var(--sp) * 2.5); padding: 0; list-style: none; }
.notes li { position: relative; padding-left: 1.5em; font-size: 13.5px; color: var(--c-muted); font-weight: 400; line-height: 1.5; }
.notes li::before { content: "※"; position: absolute; left: 0; }

/* --- 流れ --- */
.flow { display: grid; gap: calc(var(--sp) * 3.5); margin-top: calc(var(--sp) * 4); counter-reset: st; }

.flow__item { counter-increment: st; position: relative; padding-top: 22px; border-top: 1px solid var(--c-line); }
.flow__item::before {
  content: "0" counter(st);
  position: absolute; top: -0.85em; left: 0;
  background: var(--c-bg); padding-right: 12px;
  font-family: var(--f-display); font-size: 13px; letter-spacing: 0.16em; color: var(--c-accent);
}
.sec--alt .flow__item::before { background: var(--c-bg-alt); }
.flow__ttl { font-size: 18px; font-weight: 700; }
.flow__txt { font-size: 14px; color: var(--c-ink-soft); margin-top: 10px; font-weight: 400; }

/* --- 風景の帯(素材を横に並べて季節感を出す) --- */
.scenes { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: calc(var(--sp) * 6); justify-items: center; }
@media (min-width: 700px) { .scenes { grid-template-columns: repeat(2, 1fr); } }
.scenes figure { margin: 0; max-width: 400px; width: 100%; }
.scenes figcaption { font-size: 12.5px; color: var(--c-muted); margin-top: 10px; letter-spacing: 0.08em; font-weight: 400; }

/* --- アクセス --- */
.shop { display: grid; gap: calc(var(--sp) * 4); margin-top: calc(var(--sp) * 5); }

.shop__dl { display: grid; grid-template-columns: 1fr; margin: 0; border-top: 1px solid var(--c-line); }
.shop__dl > div { display: grid; grid-template-columns: 6.5em 1fr; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--c-line); }
.shop__dl dt { font-size: 13px; color: var(--c-muted); letter-spacing: 0.1em; font-weight: 700; }
.shop__dl dd { margin: 0; font-size: 15px; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--c-line); aspect-ratio: 3 / 2; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --- CTAバンド --- */
.band {
  background: var(--c-accent); color: #fff;
  border-radius: var(--r); text-align: center;
  padding: 44px 24px;
}
.band h2 { font-size: 22px; }
.band p { margin: 16px auto 34px; max-width: 34em; color: rgba(255,255,255,0.88); font-size: 14.5px; }

/* --- お申し込みカード(メール送信 + 電話) --- */
.form__note { font-size: 12.5px; color: var(--c-muted); margin-top: calc(var(--sp) * 3); font-weight: 400; }

.entry-card {
  margin-top: calc(var(--sp) * 5);
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r); padding: 24px;
  text-align: center;
}
.entry-card__lead { font-size: 15px; color: var(--c-ink-soft); margin-bottom: calc(var(--sp) * 3); font-weight: 500; }
.entry-card__mail { width: 100%; max-width: 360px; }
.entry-card__tel { width: 100%; max-width: 360px; }
.entry-card__note { font-size: 12px; color: var(--c-muted); margin-top: calc(var(--sp) * 2); line-height: 1.7; font-weight: 400; }
.entry-card__divider {
  display: flex; align-items: center; gap: 14px;
  margin: calc(var(--sp) * 2.5) 0; color: var(--c-muted); font-size: 12.5px;
}
.entry-card__divider::before, .entry-card__divider::after {
  content: ""; flex: 1; height: 1px; background: var(--c-line);
}

/* --- FAQ --- */
.faq { display: grid; margin-top: calc(var(--sp) * 5); border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: grid; grid-template-columns: 26px 1fr 20px; gap: 14px; align-items: start;
  padding: 16px 4px; font-size: 15.5px; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--f-display); font-size: 15px; color: var(--c-accent); }
.faq__mk { position: relative; width: 14px; height: 14px; margin-top: 8px; justify-self: end; }
.faq__mk::before, .faq__mk::after {
  content: ""; position: absolute; top: 50%; left: 0;
  width: 14px; height: 1px; background: var(--c-ink);
  transition: transform 0.4s var(--ease);
}
.faq__mk::after { transform: rotate(90deg); }
.faq details[open] .faq__mk::after { transform: rotate(0deg); }
.faq__a { padding: 0 4px 18px 40px; color: var(--c-ink-soft); font-size: 14.5px; font-weight: 400; }

/* --- フッター(参照LPと同じ構成: ネイビー地・白ロゴ・中央揃え) --- */
.ft {
  background: #0A3A5C; color: #fff; text-align: center;
  padding: 44px 22px calc(var(--sp) * 6);
}
.ft__logo { height: 38px; width: auto; margin: 0 auto 20px; }
.ft__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.ft__nav a {
  color: #fff; font-size: 12.5px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  display: inline-block; padding-block: 9px;
  transition: border-color 0.3s;
}
.ft__nav a:hover { border-bottom-color: #fff; }
.ft__copy { margin-top: 22px; font-size: 11.5px; opacity: 0.9; letter-spacing: 0.04em; }
@media (max-width: 767px) {
  /* SP固定CVに隠れないよう下側に余白を足す */
  .ft { padding-bottom: calc(var(--sp) * 4); }
}

/* --- 上に戻るボタン --- */
.totop {
  /* 柱の右端の内側に置く(画面端ではなく) */
  position: fixed; right: max(14px, calc(50vw - var(--page-w) / 2 + 14px));
  bottom: 92px; z-index: var(--z-header);
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-content: center;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--c-line); color: var(--c-ink);
  cursor: pointer; padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.4s, visibility 0.4s, transform 0.4s var(--ease), border-color 0.3s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { border-color: var(--c-accent); color: var(--c-accent); }
.totop svg { width: 16px; height: 16px; display: block; }


/* --- SP固定CV --- */
.dock {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; margin-inline: auto;
  width: 100%; max-width: var(--page-w); z-index: var(--z-header);
  /* ページ地(生成り)と同色だと沈んで見えるため、白地+上方向の影で浮かせる */
  background: #FFFFFF;
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -8px 24px -12px rgba(51, 46, 42, 0.35);
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  gap: 9px;
}
.dock .btn { flex: 1; padding: 15px 10px; font-size: 14px; }
/* 白地の上なので、電話ボタンは輪郭をはっきりさせる */
.dock .btn--line { border-color: var(--c-accent); color: var(--c-accent); }
.dock .btn--line:hover { background: var(--c-accent); color: #fff; }
.dock { display: flex; }
body { padding-bottom: 74px; }

/* ---------- 7. モーション基盤 ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: 0.09s; }
.rv[data-d="2"] { transition-delay: 0.18s; }
.rv[data-d="3"] { transition-delay: 0.27s; }
.rv[data-d="4"] { transition-delay: 0.36s; }

/* 写真はゆっくり縮んで収まる(額の中でスケール) */
.rv-img { overflow: hidden; }
.rv-img img { transform: scale(1.1); transition: transform 1.5s var(--ease); }
.rv-img.is-in img { transform: scale(1); }

/* ---------- 8. モーション停止(削除禁止) ---------- */
.mstop {
  display: none;
  position: fixed; left: max(14px, calc(50vw - var(--page-w) / 2 + 14px));
  bottom: 92px; z-index: var(--z-modal);
  padding: 9px 15px; font-size: 12px;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: 999px; cursor: pointer; font-family: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .mstop { display: block; }
  .btn--cv { animation: none; }
  .btn::after { display: none; animation: none; }
  .ticker__track { animation: none; }
}
html.is-mstop .rv, html.is-mstop *[class] {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}
html.is-mstop .rv { opacity: 1; transform: none; }
html.is-mstop .rv-img img { transform: none; }
html.is-mstop .btn--cv { animation: none; }

/* 同グループ内、各回の間の区切り線 */
.lesson-divider { border: none; border-top: 1px solid var(--c-line); margin: 4px 0; }

/* 日程の曜日部分は本文よりひと回り小さく */
.spec__dow { font-size: 0.72em; }

/* 中間CTA: 本文の区切りに置く控えめな申し込み導線 */
.midcta { text-align: center; }
.midcta__txt {
  font-size: 14px; color: var(--c-ink-soft); line-height: 1.7;
  font-weight: 400; margin-bottom: calc(var(--sp) * 2.5);
}
.midcta .btn { width: 100%; max-width: 320px; }
/* 「こんな方へ」ブロックに統合する版: 独立セクションではなく上部に間隔だけ空ける */
.midcta--merged { margin-top: calc(var(--sp) * 6); padding-top: calc(var(--sp) * 5); border-top: 1px solid var(--c-line); }
