/* =============================================================================
   KinKoi 集客 LP — コンポーネント（components.css）
   -----------------------------------------------------------------------------
   役割: 全 LP ページが共有する UI コンポーネントのスタイル定義。
         tokens.css（変数）→ base.css（リセット / レイアウト骨格）→ 本ファイル
         の順で読み込む。normal / men / women の各ページは同じクラス API を
         踏襲して HTML を組む（クラスは増やしてよいが、既存の意味は変えない）。

   設計方針（厳守。違反は作り直し）:
   - box-shadow を一切使わない。階層は --hairline ＋ --surface/--bg の 2 層
     ＋ --grad-cta（CTA 面）だけで作る。
   - font-style: italic を使わない。<i>/<em> は使わない。
   - 絵文字を使わない。アイコンはインライン SVG（stroke / 24 グリッド / 線幅 2 /
     currentColor / aria-hidden="true"）で表現する。
   - 文字色は AA を満たす token のみ。--accent は枠線・アイコン・装飾専用。

   =============================================================================
   レイアウトシェルのクラス API（左パネル主役の 3 分割 + 中央スクロール）
   -----------------------------------------------------------------------------
   骨格（base.css 側で定義）:
     .shell                  ページ全体ラッパ（左右レール + 中央を内包）
     .rail / .rail--left     左パネル（残り全部 = 主役のブランド面）
     .rail--right            右固定レール（縦並びアンカーナビ + 小型 CTA・細め）
     .lp-main                中央スクロール本体（固定幅 468px・左パネル幅ぶん margin）
     .container / .row-3     セクション幅 / カード行（中央 468px は 1 カラム縦積み）

   左パネル（本ファイル・残り全部を占める主役の面）:
     .rail__brand            上下中央に据えるブランドブロック（ロゴ + タグライン + CTA）
     .rail__logo             KinKoi 大型ロゴ画像（高さ --lp-brand-logo = 48〜72px・元の紺カラーのまま）
     .rail__tagline          「ヘルス×マッチングアプリ」のタグライン（淡い白ウォッシュ上の濃色 --text）
     .rail__cta              パネル下部の主 CTA（任意・大きな面なので収まる）
     .rail__bg               フルブリードのヒーロー画像（淡い白ウォッシュ overlay。画像は残す・box-shadow 不使用）
     .rail__foot             パネル下端の極小注記（© + 対象条件・near-solid 帯上の濃色テキスト）
     .rail__copy             © 行（--text）
     .rail__fine             18歳以上 / iOS 注記の極小テキスト（--text-muted）

   右レール（本ファイル・細め）:
     .rail-nav               縦並びナビ本体（中央 center 寄せ）
     .rail-nav__list         アンカーリンクのリスト
     .rail-nav__link         アンカーリンク（.is-active で現在地ハイライト）
     .rail-nav__cta          レール最下部の小型 CTA ラッパ

   モバイル（<1100px・本ファイル）:
     .topbar                 上部固定バー（ロゴ + ハンバーガー、hairline 下罫 + blur）
     .topbar__inner          バー内の横並びコンテナ
     .brand / .brand__logo   ブランド（ロゴ画像。topbar / overlay / footer 共用）
     .nav-toggle             ハンバーガー開閉ボタン（44x44・aria-expanded を JS 切替）
     .nav-toggle__bars       ハンバーガーの 3 本線（CSS バー → X 変形）
     .nav-overlay            全画面オーバーレイメニュー（.is-open で表示）
     .nav-overlay__inner     オーバーレイ内の縦積みコンテンツ
     .nav-overlay__close     右上の × 閉じるボタン
     .nav-overlay__list      縦並びナビリンク
     .nav-overlay__link      オーバーレイ内ナビリンク
     .nav-overlay__cta       オーバーレイ内 CTA
     .nav-overlay__fine      年齢 / iOS 注記 + © の極小テキスト

   men / women を同じ骨格で作る手順:
     1. ../shared/{tokens,base,components}.css を読み込む（相対パスが 1 段深くなる）。
        url() を含む CSS は shared/ 起点で解決されるため画像パスは変えなくてよい。
     2. このシェル（.shell > .rail--left + .lp-main + .rail--right + .topbar +
        .nav-overlay）をそのまま複製し、左パネル（ロゴ + タグライン + CTA）・右ナビ・
        topbar・overlay はそのまま流用（比率・段組みは shared CSS が持つ）。
     3. 差し替えるのは .lp-main 内のセクション中身（コピー・hero 画像・
        最終 CTA のコピー / 背景）だけ。
        左パネル背景を出し分けるなら .rail--left に modifier を足し
        .rail__bg の画像を切り替える（任意）。

   ボタン:
     .btn                    ベースボタン
     .btn--primary           主 CTA（--grad-cta 面 + 白文字）
     .btn--secondary         副ボタン（surface + hairline）
     .btn--lg                大型（Hero / 最終 CTA 用）
     .btn--on-dark           暗背景上の副ボタン（白枠・白文字）
     .coming-badge           「近日公開」ラベル（リンクにしない非活性バッジ）

   セクション / 見出し / レイアウト:
     .section                セクション外枠（縦リズム）
     .section--alt           サブ面の背景違いセクション
     .section--inverse       暗背景セクション（最終 CTA。文字は白）
     .section-head           見出しブロック（eyebrow + title + lead を内包）
     .eyebrow                見出し上の小ラベル
     .section-title          セクション h2
     .section-lead           セクションのリード文
     .section-cta            セクション末尾の中央寄せ追従 CTA（主 CTA を中央スクロールに再掲）
     .container / .row-3     セクション幅 / 3-up カード行（骨格は base.css 側）

   Hero（中央カラムを占める全面背景画像 + テキスト重ね・約 1 スクリーン）:
     .hero                   全面背景画像のフルブリードヒーロー（min-height 100vh/100dvh・暗 base）
     .hero--men / --women    hero__bg の object-position をページ別に微調整する modifier
     .hero__bg               フルブリードの hero 画像（object-fit:cover・装飾 alt=""）
     .hero__inner            重ねテキストのレイヤ（縦中央〜やや下に縦積み・画像/暗グラデより前面）
     .hero__head             eyebrow + h1 ブロック
     .hero__body             テキストブロック（lead / 要点 / CTA / 注記。行長 max-width 制限）
     .hero__title / .hero__lead / .hero__cta / .hero__note （暗背景上の白系テキスト）
     .hero__points           Hero 内の要点リスト（白文字 + accent チェック）

   汎用カード:
     .card / .card__title / .card__body / .card__icon

   3 つの価値:
     .feature / .feature__icon / .feature__title / .feature__body

   こんな夜に（シーン）:
     .scene / .scene__media / .scene__quote / .scene__caption

   3 STEP:
     .steps / .step / .step__num / .step__title / .step__body

   料金プラン:
     .plans / .plan / .plan--featured / .plan__badge
     .plan__name / .plan__price / .plan__price-unit / .plan__features / .price-note

   安心・コンプラ:
     （.feature 系を流用。アイコン付きカード）

   FAQ:
     .faq / .faq__item（details）/ .faq__q（summary）/ .faq__a

   フッター:
     .site-footer / .footer-links / .footer-link / .copyright
     .muted / .note          補助テキスト / 注記の汎用ユーティリティ

   汎用アイコン:
     .icon                   インライン SVG（currentColor / 24px 基準）
   ============================================================================= */

/* =============================================================================
   汎用ユーティリティ
   ============================================================================= */
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent); /* 装飾アイコンは accent。currentColor で stroke 着色 */
}

.muted {
  color: var(--text-muted);
}

.note {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.nowrap {
  white-space: nowrap;
}

/* 小型インライン SVG（coming-badge 内などの 18px アイコン）。 */
.icon--sm {
  width: 18px;
  height: 18px;
}

/* 縦リズム用の上マージンユーティリティ（インライン style を避けるため）。 */
.mt-element {
  margin-top: var(--space-element);
}

.mt-section {
  margin-top: var(--space-section);
}

.mt-sub {
  margin-top: 0.75rem;
}

/* =============================================================================
   ブランド（ロゴ。左レール / topbar / overlay / footer で共用）
   ============================================================================= */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand__logo {
  height: 32px;
  width: auto;
}

/* =============================================================================
   左パネル（残り全部を占める主役のブランド面）
   -----------------------------------------------------------------------------
   一番大きい面をヒーロー画像のブランド面にする。.rail__bg をフルブリードで主役に据え、
   その上に淡い白ウォッシュ overlay を重ねて元の紺ロゴ・濃色タグライン・濃色 © を AA で
   読ませる（画像は淡く残す）。box-shadow は使わず、明るさはグラデ overlay（::before）だけで作る。
   ============================================================================= */
.rail--left {
  /* .rail__bg / overlay を絶対配置で内側に敷くための基準。base.css の .rail に追加指定。 */
  position: fixed; /* base.css の .rail と同値（明示して可読性を上げる） */
  align-items: center; /* 縦 flex の子（brand）を水平中央に */
  justify-content: center; /* ブランドブロックを上下中央へ（foot は絶対配置で中央に影響させない） */
  overflow: hidden; /* 背景画像のはみ出しを切る */
  text-align: center;
}

/* パネルに敷くヒーロー画像（フルブリード）。画像を主役にするため不透明で表示し、
   コントラストは上の淡い白ウォッシュ overlay 側で担保する（画像自体は淡くしない）。 */
.rail__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 背景画像の上に淡い白ウォッシュを重ね、紺ロゴ・濃色タグライン・© を AA(4.5:1) で
   読ませる。box-shadow 不使用の制約下、明るさはこのグラデだけで作る（画像は残す）。
   MEMO: ヒーロー画像が総じて非常に暗い（実測の局所最暗部 L≒0.002）ため、ユーザー目安の
   30〜45% では紺ロゴ/濃色テキストが AA を割る（実測: 紺ロゴ AA は白 ≒47%、--text ≒50%、
   --text-muted は ≒90% 必要）。AA は不変条件なので 2 層構成にする:
     1) 全面ウォッシュ: 上端 42% → 30% 地点で 52% に上げ下端まで 52〜56% で保持。
        ブランドブロックは縦中央（≒50%）なので常に 52% 以上の帯に入り、紺ロゴ/--text が AA。
        上端だけ薄く画像をしっかり見せる（濃色テキストは上端に置かない）。
     2) 下端 foot 帯: 下から 96px を ≒96% の near-solid に上げ、--text-muted の foot 注記でも
        AA を満たす（高さに依存しないよう px アンカー）。画像は上 ≒75% で十分見える。 */
.rail--left::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(255 255 255 / 58%);
}

/* ブランドブロック（ロゴ + タグライン + CTA）。パネル中央に縦積み。 */
.rail__brand {
  position: relative;
  z-index: 2; /* 背景画像 / 暗いグラデ overlay より前面 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
  max-width: 32rem; /* 広い面でも行長を抑えて読みやすく中央寄せ */
}

/* 大型ロゴ。左パネルが主役なので大きく見せる（48〜72px）。
   MEMO: kinkoi-logo.png は「紺マーク + 不透明な白背景」の PNG。左パネルでも topbar/footer と
   同じ素材・同じ紺カラーで出す（filter / mix-blend-mode は使わない）。背景は下の
   .rail--left::before の淡い白ウォッシュで持ち上げ、紺マーク近傍が画像最暗部でも AA を満たす。 */
.rail__logo {
  height: var(--lp-brand-logo);
  width: auto;
}

.rail__tagline {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.5;

  /* 白ウォッシュ上の濃色テキスト。最暗部でも --text は AA（4.5:1）を満たす値で overlay を設計。 */
  color: var(--text);
  letter-spacing: 0;
}

/* パネル下部の主 CTA（任意）。大きな面なので余裕を持って収まる。 */
.rail__cta {
  margin-top: 0.25rem;
}

/* パネル下端の極小注記（© + 対象条件）。
   MEMO: 絶対配置で下端に固定し flex の余白配分から外す。これで親の justify-content:center
   が .rail__brand だけを対象にでき、ブランドブロックがパネルの真の垂直中央に座る
   （margin-top:auto だと foot が余白を食ってロゴが上にずれる）。 */
.rail__foot {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
}

/* 下端 foot 帯の極小注記。near-solid な白ウォッシュ上の濃色テキスト。
   © 行は --text、年齢/iOS 注記は --text-muted（サイト共通の強調/補助の色分け）。
   どちらも下端 near-solid 帯で AA を満たす（実測: --text ≒14:1 / --text-muted ≒5.1:1）。 */
.rail__copy {
  font-size: 0.72rem;
  color: var(--text);
  font-weight: 600;
}

.rail__fine {
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* =============================================================================
   右固定レール（縦並びアンカーナビ + 小型 CTA）
   ============================================================================= */
.rail-nav {
  /* レール内で上下中央に寄せ、ナビを縦に center 整列。 */
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 1.5vw, 1.5rem);
}

.rail-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
  text-align: center;
}

.rail-nav__link {
  /* タップ標的 44px を確保（WCAG 2.2 Target Size）。下線インジケータは
     中身幅に保ちたいので inline-flex + 縦中央寄せで高さだけ伸ばす。 */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0.25rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.rail-nav__link:hover {
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

/* IntersectionObserver が現在地セクションのリンクに付与する（任意のハイライト）。 */
.rail-nav__link.is-active {
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
}

.rail-nav__cta .btn {
  /* レール幅に収める小さめ CTA。 */
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
}

/* =============================================================================
   上部固定バー（<1100px のみ表示）
   -----------------------------------------------------------------------------
   右上にハンバーガーだけを置く透明ヘッダー。
   ≥1100px では非表示（base.css のレールが主役）。
   ============================================================================= */
.topbar {
  display: none; /* 既定（≥1100px）は非表示。<1100px で flex に */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--lp-topbar-h);
  pointer-events: none;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-element);
  height: 100%;
}

.topbar .brand {
  display: none;
}

/* ハンバーガーボタン。 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; /* タップターゲット 44px（WCAG 2.2 Target Size 配慮） */
  height: 44px;
  pointer-events: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  color: #061e38;
  flex-shrink: 0;
}

.lp-page--normal .nav-toggle,
.lp-page--men .nav-toggle {
  color: #fff;
}

.lp-page--women .nav-toggle {
  color: #061e38;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentcolor;
  border-radius: 2px;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before {
  position: absolute;
  top: -6px;
}

.nav-toggle__bars::after {
  position: absolute;
  top: 6px;
}

/* =============================================================================
   全画面オーバーレイメニュー（<1100px・ハンバーガーで開閉）
   -----------------------------------------------------------------------------
   参照モバイル同様、上から不透明に被せる全画面メニュー。縦並びナビ + CTA +
   注記 + ©。開いている間は JS が body スクロールロック + フォーカストラップ。
   ============================================================================= */
.nav-overlay {
  display: none; /* 既定（≥1100px）は存在しても非表示 */
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--surface); /* 不透明（下を完全に隠す） */

  /* 閉じている間は不可視 + 操作不可。.is-open で可視化。 */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;

  /* MEMO: 横向きスマホ等で内容が viewport より高いと、center 寄せでは先頭リンクが
     上にはみ出し負方向スクロール不能で到達できない。既定は flex-start にし、
     収まる高さ（min-height >= 560px）でだけ center に寄せる。 */
  justify-content: flex-start;
  align-items: center;
  gap: clamp(1.75rem, 5vw, 2.75rem);

  /* 上端はトップバー高さとノッチ（safe-area）の大きい方を確保して被りを防ぐ。 */
  padding: max(var(--lp-topbar-h), env(safe-area-inset-top, 0px))
    var(--lp-pad-x) clamp(2rem, 6vw, 3rem);
  overflow-y: auto;
}

/* 縦に十分な高さがある時だけ中央寄せ（短い縦では flex-start のまま）。 */
@media (min-height: 560px) {
  .nav-overlay__inner {
    justify-content: center;
  }
}

/* 右上の × 閉じるボタン（44x44）。 */
.nav-overlay__close {
  position: absolute;
  top: 0.5rem;
  right: var(--lp-pad-x);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-input);
  cursor: pointer;
  color: var(--text);
}

.nav-overlay__close .icon {
  color: currentcolor;
}

.nav-overlay__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 4vw, 1.5rem);
  text-align: center;
}

.nav-overlay__link {
  /* タップ標的 44px を確保（WCAG 2.2 Target Size）。 */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0;
  padding: 0.35rem 0.5rem;
}

.nav-overlay__link:hover {
  color: var(--accent-strong);
  text-decoration: none;
}

.nav-overlay__cta .btn {
  min-width: 14rem;
}

.nav-overlay__fine {
  max-width: 22rem;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* =============================================================================
   ボタン
   ============================================================================= */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--hairline);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    background-image var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast);
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

/* 主 CTA: FV 画像に合わせた斜めカット + brand オレンジ面。 */
.btn--primary {
  border-radius: 0;
  background-color: var(--accent-strong-hover);
  background-image:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 10%) 0%,
      rgb(255 255 255 / 0%) 38%,
      rgb(5 20 38 / 10%) 100%
    ),
    linear-gradient(100deg, #ff6a2c 0%, #f05a28 48%, #c84057 100%);
  color: #fff;
  border-color: transparent;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  font-weight: 900;
}

.btn--primary:hover {
  background-color: var(--accent-strong-hover);
  background-image:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 12%) 0%,
      rgb(255 255 255 / 0%) 38%,
      rgb(5 20 38 / 12%) 100%
    ),
    linear-gradient(100deg, #ff7438 0%, #f05a28 46%, #b23348 100%);
  color: #fff;
}

.btn--primary::before,
.hero-fv__button::before {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -42%;
  z-index: 0;
  width: 34%;
  background: linear-gradient(
    90deg,
    rgb(255 255 255 / 0%) 0%,
    rgb(255 255 255 / 58%) 48%,
    rgb(255 255 255 / 0%) 100%
  );
  pointer-events: none;
  transform: translateX(-140%) skewX(-18deg);
  animation: cta-shine 3.8s ease-in-out infinite;
}

.btn--primary {
  isolation: isolate;
}

.hero-fv__button {
  isolation: isolate;
}

@keyframes cta-shine {
  0%,
  58% {
    transform: translateX(-140%) skewX(-18deg);
    opacity: 0;
  }

  66% {
    opacity: 0.9;
  }

  82%,
  100% {
    transform: translateX(430%) skewX(-18deg);
    opacity: 0;
  }
}

/* 副ボタン: 白面 + hairline。hover で accent 枠 + tint 背景。 */
.btn--secondary {
  background: var(--surface);
  color: var(--accent-strong);
  border-color: var(--hairline);
}

.btn--secondary:hover {
  background: var(--accent-tint);
  border-color: var(--accent);
  color: var(--accent-tint-text);
}

/* 暗背景上の副ボタン（白枠・白文字）。 */
.btn--on-dark {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 60%);
}

.btn--on-dark:hover {
  background: rgb(255 255 255 / 12%);
  border-color: #fff;
  color: #fff;
}

/* 大型（Hero / 最終 CTA）。 */
.btn--lg {
  padding: 1.05rem 2rem;
  font-size: 1.08rem;
}

/* 近日公開ラベル。リンクにしない（活性化しない静的バッジ）。 */
.coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-badge);
  background: var(--accent-tint);
  color: var(--accent-tint-text);
  border: 1px solid var(--hairline);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  max-width: 100%;
}

/* 暗背景上の coming-badge。 */
.is-inverse .coming-badge {
  background: rgb(255 255 255 / 12%);
  color: #fff;
  border-color: rgb(255 255 255 / 45%);
}

/* モバイルでは常時押せる主要 CTA。デスクトップは左右レール内 CTA を使う。 */
.mobile-sticky-cta {
  display: none;
}

/* =============================================================================
   セクション / 見出し
   ============================================================================= */

/* 中央スクロール本体を起点に section 番号カウンタを採番する（あしらいの大型番号 01・02… 用）。
   MEMO: hero(#top) は番号を出さないので、カウンタは .section-head を持つセクションでのみ
   increment + 表示する（下の .section-head の ::before）。 */
.lp-main {
  counter-reset: lp-section;
}

.section {
  position: relative; /* 番号あしらい / 区切りディバイダの絶対配置の基準 */
  padding-block: var(--lp-section-y);
}

/* セクション間を hairline で仕切る（shadow を使わない階層づけ）。 */
.section + .section {
  border-top: 1px solid var(--hairline);
}

/* セクション境界の中央に小さな菱形を置いた装飾ディバイダ（hairline + accent の点）。
   border-top（上の規則）に重ねて、のっぺりした直線区切りに editorial なリズムを足す。 */
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--surface);
  border: 1.5px solid var(--accent);
  border-radius: 1px;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* 暗背景セクション（最終 CTA）の上には菱形ディバイダを出さない（地色が異なるため）。 */
.section--inverse + .section::before,
.section + .section--inverse::before {
  display: none;
}

.section--alt {
  background: var(--surface-2);
}

/* 極薄のドットグリッド地紋（あしらい）。
   MEMO: パターンは .section の ::after（テキスト要素の祖先ではない別レイヤ）に敷くため、
   axe-core の color-contrast はテキストの祖先 solid 背景（--bg / --surface-2）を見る。
   面塗りではなく 6% hairline の点なので可読性も損なわない。content は opaque カードの背面。 */
.section--dots::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(
    var(--deco-hairline-faint) 1.5px,
    transparent 1.5px
  );
  background-size: 22px 22px;
}

/* ドット地紋セクションの中身はパターンより前面に。 */
.section--dots > .container {
  position: relative;
  z-index: 1;
}

/* 暗背景セクション（最終 CTA）。背景画像はインライン or 別途指定。文字は白。 */
.section--inverse {
  background: #15151c;
  color: #fff;
  border-top: none;
}

.section-head {
  position: relative; /* 大型インデックス番号（::before）の配置基準 */
  max-width: 46rem;

  /* 上に大型番号あしらいを出すぶん、見出し上に少し余白を足す。 */
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  counter-increment: lp-section;
}

/* 大きく淡いインデックス番号（01・02…）。editorial なあしらい。
   本文の可読性を邪魔しないよう極薄 --deco-index でテキストの背面に敷き、操作・読み上げ対象外。
   MEMO: content の counter は装飾なので SR には不要。CSS 生成 content は AT で無視されるか
   数字として読まれる程度で、aria-hidden 相当の扱い。 */
.section-head::before {
  content: counter(lp-section, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-size: clamp(2.5rem, 9cqi, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: var(--deco-index);

  /* 本文より必ず背面に。クリック・選択の邪魔をしない。 */
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

#faq .section-head {
  max-width: none;
  padding-top: 0;
  margin-inline: 0;
  margin-bottom: clamp(1.6rem, 4cqi, 2.25rem);
  text-align: left;
}

#faq .section-head::before {
  content: none;
}

#faq.section--alt {
  background: #fff;
}

#faq .eyebrow {
  display: none;
}

#faq .section-title {
  font-size: clamp(2rem, 7.4cqi, 2.75rem);
  line-height: 1.18;
}

/* 中央寄せの見出しブロック。 */
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* 中央寄せ見出しでは番号も上中央に置く。 */
.section-head--center::before {
  left: 50%;
  transform: translateX(-50%);
}

/* eyebrow / title を番号より前面に重ねる（番号は背景あしらいなので）。 */
.section-head .eyebrow,
.section-head .section-title,
.section-head .section-lead {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--lp-fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;

  /* eyebrow は 0.8rem の小文字ラベル。白だけでなく surface-2 / tint / bg の上にも
     乗るため、それら全てで AA-normal(4.5:1) を満たす濃いめの --accent-strong-hover
     を使う（--accent-strong は surface-2 上で 4.14:1 と不足）。 */
  color: var(--accent-strong-hover);
  margin-bottom: 0.85rem;
}

/* eyebrow の左の短い罫（accent 装飾。文字ではないので accent を使用可）。 */
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* eyebrow の右に小さな accent リング（ロゴの二重リングモチーフの縮小版・装飾）。
   塗りつぶさず枠だけにして上品に。文字ではないので accent を使用可。 */
.eyebrow::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-title {
  font-size: var(--lp-fs-h2);
  font-weight: 900;
  color: var(--text);
}

.lp-page--women .section-title {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 700;
}

.section-lead {
  margin-top: 1rem;
  font-size: var(--lp-fs-lead);
  color: var(--text-muted);
  line-height: var(--lp-line);
}

.lp-page--men .section-title,
.lp-page--normal .section-title,
.lp-page--men .feature__title,
.lp-page--normal .feature__title {
  font-weight: 900;
}

.is-inverse .section-title,
.section--inverse .section-title {
  color: #fff;
}

.section--inverse .eyebrow {
  color: #fff;
}

.section--inverse .section-lead {
  color: rgb(255 255 255 / 82%);
}

/* セクション末尾に置く中央寄せの追従 CTA（中央スクロールの自然な区切りに主 CTA を再掲）。
   間延びしないよう上下リズムは控えめにし、ボタンは既存 .btn--primary をそのまま使う。 */
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

/* =============================================================================
   Hero（FV 画像または中央カラムを占める全面背景画像 + テキスト重ね）
   -----------------------------------------------------------------------------
   既定は背景画像に暗いグラデオーバーレイ + 白系テキストを重ねる。
   .hero--fv では焼き込みコピー込みの縦長FV画像を切り抜かずに表示する。
   左パネル（night.jpg）・右レールは不変。
   ============================================================================= */
.hero {
  position: relative; /* .hero__bg / オーバーレイ / .deco-rings の絶対配置の基準 */

  /* 約 1 スクリーン分の高さ。svh でモバイルのアドレスバー開閉による FV 高さ変動を抑える。
     フォールバックとして先に vh を置く（未対応ブラウザは vh を使う）。 */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: hidden; /* cover 画像と端から覗く大型リング装飾を hero 内でクリップ */

  /* MEMO: 暗い solid を base に敷く。理由は 2 つ。(1) 画像読込前/失敗時も白文字が
     読める下地になる (2) axe-core の color-contrast は「テキスト祖先の solid 背景色」を
     見るため、ここを暗色 (#15151c) にすると白文字を AA 判定で pass させられる
     （実描画は .hero__bg 画像 + 下の暗グラデが担うので体感コントラストも AA）。
     .cta-final と同じ「暗 base + ::before グラデ + 前面テキスト」構成。 */
  background-color: #15151c;
}

/* 中央カラム幅いっぱいに敷く hero 画像（フルブリード）。被写体が切れすぎないよう
   object-position はページ別 modifier（.hero--men / .hero--women など）で微調整する。
   暗グラデが上に乗るので厳密な構図合わせは不要。 */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* 既定（normal）。被写体（人物）を上寄りに収める */
}

/* ページ別の object-position 微調整（landscape を縦長カラムへ cover する際の被写体保護）。 */
.hero--men .hero__bg {
  object-position: center 32%; /* 男性の背中・肩を主役に */
}

.hero--women .hero__bg {
  object-position: 40% 28%; /* 女性が左寄り構図のため横を左に寄せて見切れを防ぐ */
}

/* 焼き込みコピー込みの FV 画像は切り抜かず、中央カラム幅に合わせて全体を表示する。 */
.hero--fv {
  position: relative;
  width: 100%;
  min-height: 0;
  display: block;
  aspect-ratio: 941 / 1672;
  overflow: hidden;
  line-height: 0;
  background-color: #15151c;
}

.hero--fv .hero__bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero--fv .deco-rings {
  display: none;
}

.hero--fv .container {
  display: none;
}

.hero-fv__cta {
  position: absolute;
  right: 0;
  bottom: 3.6%;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding-inline: clamp(1.7rem, 7%, 2.6rem);
  line-height: 1.2;
}

.hero--normal .hero-fv__cta {
  bottom: 3.2%;
}

.hero-fv__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 22.5rem);
  min-height: clamp(3.55rem, 13.6cqi, 4.25rem);
  padding: 1rem 1.55rem;
  border-radius: 0;
  border: 1px solid transparent;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
  background:
    linear-gradient(
      180deg,
      #fff 0%,
      #fff8f4 62%,
      #f7ece5 100%
    );
  color: #061e38;
  font-family: Roboto, "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 4.05cqi, 1.14rem);
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
}

.hero--fv + .section {
  margin-top: 0;
}

.hero--fv + .lp-image-section {
  margin-top: 0;
}

.hero-fv__button:hover {
  color: #061e38;
  text-decoration: none;
}

.hero--women .hero-fv__button {
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 10%) 0%,
      rgb(255 255 255 / 0%) 38%,
      rgb(5 20 38 / 10%) 100%
    ),
    linear-gradient(100deg, #ff6a2c 0%, #f05a28 48%, #c84057 100%);
  border-color: transparent;
  color: #fff;
}

.hero--women .hero-fv__button:hover {
  color: #fff;
}

/* 文字組み込みのセクション画像を中央カラムにそのまま積む。 */
.lp-image-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 88% 12%,
      rgb(235 97 48 / 7%) 0,
      rgb(235 97 48 / 0%) 34%
    ),
    #f7f7f8;
  line-height: 0;
}

.lp-image-section--light {
  background:
    linear-gradient(180deg, #f8f8f9 0%, #fff 52%, #f05a28 100%);
}

.lp-image-section--campaign {
  background: #fff;
}

.lp-image-section--final {
  background:
    radial-gradient(
      circle at 80% 12%,
      rgb(235 97 48 / 14%) 0,
      rgb(235 97 48 / 0%) 34%
    ),
    linear-gradient(180deg, #051426 0%, #071a2f 68%, #f05a28 100%);
}

.lp-image-section__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.lp-image-cta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: clamp(0.65rem, 2.8cqi, 1rem) clamp(1.3rem, 6cqi, 2rem);
  line-height: 1.2;
}

.lp-image-cta--light {
  margin-top: clamp(-5.5rem, -11cqi, -3.5rem);
  margin-bottom: clamp(0.8rem, 2.5cqi, 1.25rem);
  background: transparent;
}

.lp-image-cta--dark {
  margin-top: clamp(-1.15rem, -3cqi, -0.65rem);
  margin-bottom: clamp(-1.15rem, -3cqi, -0.65rem);
  background: #051426;
}

.lp-image-cta .btn {
  width: min(100%, 24rem);
  min-height: clamp(3.6rem, 11cqi, 4.25rem);
  font-size: clamp(1.02rem, 3.8cqi, 1.16rem);
}

/* 画像の上に重ねる暗いグラデオーバーレイ（box-shadow は使わない）。2 層構成:
   1) ::before … 全面の縦グラデ。上は薄め（画像をしっかり見せる）→ 下半分を濃くして
      下方に置くテキストブロックの下地を暗くする。
   2) ::after  … 最下部の near-solid 帯。注記（淡色・小サイズ）も含めて AA を確実化。
   MEMO: ヒーロー画像は暗いが赤い提灯/ボケなど明部があるため、白文字 (#fff) を載せる
   テキスト帯（下半分）は 80% 以上まで暗くして、明部ピクセル上でも白文字 AA(4.5:1) を満たす。
   テキストは下記 .hero__inner の z-index で常にこの 2 層より前面に出す。 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  /* 上 ≒36% は薄め（画像をしっかり見せる）。テキスト帯（下 ≒60%）は強い暗幕にして、
     提灯/反射など明部ピクセル（実測 raw 輝度 0.5〜0.9）の上でも白文字が AA(4.5:1) を
     満たす暗さ（実効背景輝度 ≦0.18）まで一律に持ち上げる。テキスト量が多く帯が高いので
     位置依存のグラデ勝負にせず、下 60% を near-uniform な濃い暗幕にする（ユーザー了承の
     「テキストブロック背後だけ暗さを強める／下半分を濃く」）。 */
  background: linear-gradient(
    180deg,
    rgb(13 13 18 / 26%) 0%,
    rgb(13 13 18 / 30%) 22%,
    rgb(13 13 18 / 66%) 32%,
    rgb(13 13 18 / 86%) 42%,
    rgb(13 13 18 / 90%) 60%,
    rgb(13 13 18 / 96%) 100%
  );
}

/* テキスト帯（下半分）に重ねる 2 枚目の暗幕。h1/lead/coming-badge 直下に残る
   明部ボケを最終的に AA まで詰める補強層。上端 ≒40% から効かせ下端で near-solid。 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgb(13 13 18 / 78%) 0%,
    rgb(13 13 18 / 72%) 34%,
    rgb(13 13 18 / 46%) 48%,
    rgb(13 13 18 / 0%) 60%
  );
}

/* FV は文字組み込み画像をそのまま見せる専用構成。汎用 hero の暗幕を絶対に重ねない。 */
.hero.hero--fv::before,
.hero.hero--fv::after {
  content: none;
  display: none;
  background: none;
}

/* hero 内の container を hero 高さいっぱいの縦 flex にし、テキスト群を下方へ寄せる。
   MEMO: .hero(display:flex) の唯一の通常フロー子である .container は cross 軸 stretch で
   hero 高さに伸びる。これを column + justify-content:flex-end にすることで子の
   .hero__inner を FV 下方（lower-third 寄り）へ押し下げられる（inner の height は内容依存で、
   inner 自体に flex-end を掛けても余白配分が起きないのが従来バグだった）。 */
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  /* topbar（モバイルの固定バー）と被らないよう上に最低余白を確保。下端は控えめにして
     テキスト帯全体を下（暗幕の濃い側）へ寄せつつ、画面端への貼り付きは避ける。 */
  padding-block: clamp(5rem, 12vh, 7rem) clamp(1.75rem, 4vh, 2.75rem);
}

/* 縦積みのテキスト群を内包するレイヤ（画像・オーバーレイより前面）。 */
.hero__inner {
  position: relative;
  z-index: 2; /* .hero__bg(0) / オーバーレイ(1) より前面 */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* eyebrow + h1 のブロック。 */
.hero__head {
  min-width: 0;
  max-width: 46rem;
}

.hero__body {
  min-width: 0;
  max-width: 46rem; /* テキストの行長を制限（中央寄せでも読みやすく） */
}

/* 暗背景上のヒーローは白系テキストで AA を満たす（is-inverse 相当の配色）。 */
.hero__title {
  font-size: var(--lp-fs-hero);
  letter-spacing: 0;
  color: #fff;
}

.hero__lead {
  margin-top: 1.25rem;
  font-size: var(--lp-fs-lead);

  /* 白の 88% 透過でも暗グラデ帯上で AA を満たす（本文より一段やわらかい白）。 */
  color: rgb(255 255 255 / 88%);
  line-height: var(--lp-line);
  margin-inline: auto;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-element);
  margin-top: 1.75rem;
}

.hero__note {
  margin-top: 1.25rem;
  font-size: 0.82rem;

  /* 注記も白系。小サイズだが ::after の near-solid 帯上で AA を満たす不透明度にする。 */
  color: rgb(255 255 255 / 82%);
  line-height: 1.65;
  margin-inline: auto;
}

/* eyebrow は暗背景では白に上書き（::before の accent 罫・::after の accent リングは装飾で維持）。 */
.hero .eyebrow {
  color: #fff;
}

/* Hero 内の要点（チェック付きリスト）。中央寄せで横並び。 */
.hero__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.25rem;
  margin-top: 1.5rem;
}

.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff; /* 暗背景上の要点テキストは白で AA */
}

.hero__points .icon {
  width: 20px;
  height: 20px;

  /* チェックアイコンは暗背景で映える明るいオレンジ（装飾アイコンなので accent 系で可）。
     文字ではないため AA-normal の制約対象外（大型 UI 要素相当）。 */
  color: var(--accent);
}

/* =============================================================================
   あしらい: ロゴの二重リング（interlocking rings）モチーフ
   -----------------------------------------------------------------------------
   ロゴの二重リングを SVG で起こし、hero / 最終 CTA の隅に極薄の大きな装飾として置く。
   stroke は currentColor 連動で、明background では accent、暗background では白を薄く。
   装飾なので SVG 側に aria-hidden を付ける。box-shadow は使わない。
   ============================================================================= */
.deco-rings {
  position: absolute;
  z-index: 0;
  width: clamp(8rem, 28cqi, 13rem);
  height: auto;

  /* 本文の可読性を邪魔しない極薄。明background では accent を薄く。 */
  color: var(--accent);
  opacity: 0.08;
  pointer-events: none;
}

/* hero 右上の隅に配置（FV のテキストは下方なので重ならない）。
   hero は暗い背景画像になったため白を薄く重ね（暗 base 上で視認）、暗グラデ
   オーバーレイ（z-index:1）より前面に出すため z-index を上げる。装飾なので
   pointer-events:none を継承。 */
.hero .deco-rings {
  z-index: 2;
  top: clamp(0.5rem, 2vw, 1.25rem);
  right: clamp(-1rem, -1vw, -0.25rem);
  color: #fff;
  opacity: 0.16;
}

/* 最終 CTA（暗background）では白を薄く重ねる。 */
.section--inverse .deco-rings {
  color: #fff;
  opacity: 0.1;
}

.cta-final .deco-rings {
  bottom: clamp(0.5rem, 3vw, 2rem);
  left: clamp(-1rem, -1vw, -0.25rem);
}

/* reduced-motion とは無関係（静的装飾）。 */

/* =============================================================================
   汎用カード
   ============================================================================= */
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: var(--space-section);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-input);
  background: var(--accent-tint);
  border: 1px solid var(--hairline);
  margin-bottom: var(--space-element);
}

.card__title {
  font-size: var(--lp-fs-h3);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.card__body {
  color: var(--text-muted);
  line-height: var(--lp-line);
  font-size: 0.96rem;
}

/* =============================================================================
   3 つの価値 / 安心・コンプラ（feature カード）
   ============================================================================= */
.feature {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: var(--space-section);
  height: 100%;
}

.feature__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  color: #061e38;
  margin-bottom: var(--space-element);
}

.feature__icon::after {
  content: "";
  position: absolute;
  right: 0.15rem;
  bottom: 0.2rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--accent);
}

.feature__icon .icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
}

.feature__title {
  font-size: var(--lp-fs-h3);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature__body {
  color: var(--text-muted);
  line-height: var(--lp-line);
  font-size: 0.96rem;
}

/* =============================================================================
   こんな夜に（シーンカード）
   ============================================================================= */
.scene {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--surface);
  height: 100%;
}

/* シーン画像（meal / gym / bar）。中央幅いっぱいで存在感を出すため背を高くする。
   MEMO: height:auto を明示しないと img の height 属性が使われて aspect-ratio が
   効かない。1024² の正方ソースを 4:3 の横長やや高め枠で cover 切り出しし、
   狭幅でも潰れないよう min-height で下限を確保する。 */
.scene__media {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  min-height: 260px;
  object-fit: cover;
  background: var(--surface-2);
}

/* 独白をプルクオート化する。大きな開き引用「（約物）と左の accent 罫で editorial に。
   italic は使わず太さで強調（italic 禁止）。 */
.scene__quote {
  position: relative;
  padding: var(--space-section);

  /* 左に accent の縦罫を入れ、引用であることを視覚化（box-shadow 不使用）。 */
  padding-left: calc(var(--space-section) + 0.75rem);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
}

/* 左の accent 縦罫。 */
.scene__quote::before {
  content: "";
  position: absolute;
  left: var(--space-section);
  top: calc(var(--space-section) + 0.1rem);
  bottom: var(--space-section);
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
}

/* 大きく淡い開き引用記号「（約物・装飾）。本文の背面に薄く置く。 */
.scene__quote::after {
  content: "「";
  position: absolute;
  top: -0.35rem;
  right: 0.5rem;
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  color: var(--deco-accent-faint);
  pointer-events: none;
  user-select: none;
}

.scene__caption {
  margin-top: auto;
  padding: 0 var(--space-section) var(--space-section);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =============================================================================
   3 STEP
   ============================================================================= */
.steps {
  display: grid;
  grid-template-columns: 1fr; /* 中央 468px は縦積み（モバイルと共通） */
  gap: var(--lp-gap);
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: var(--space-element);
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: var(--space-section);
  height: 100%;
}

/* ステップ番号: --grad-cta の丸い面 + 白文字。 */
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--accent-strong);
  background-image: var(--grad-cta);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  grid-row: 1 / span 2;
  border: 1px solid var(--hairline);
}

.step__title {
  grid-column: 2;
  font-size: var(--lp-fs-h3);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.step__body {
  grid-column: 2;
  color: var(--text-muted);
  line-height: var(--lp-line);
  font-size: 0.96rem;
}

/* =============================================================================
   料金プラン
   ============================================================================= */
.plans {
  display: grid;
  grid-template-columns: 1fr; /* 中央 468px は 3 プランを縦積み（モバイルと共通） */
  gap: var(--lp-gap);
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: var(--space-section);
  height: 100%;
}

/* おすすめプランは accent の太枠で強調（shadow を使わない強調）。 */
.plan--featured {
  border-color: var(--accent);
  border-width: 2px;
  padding-top: calc(var(--space-section) + 0.65rem);
}

/* おすすめプランの上辺アクセントバー（card の細部あしらい・影なし）。 */
.plan--featured::before {
  content: "";
  display: none;
}

.plan__badge {
  position: absolute;
  top: -0.95rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 2rem);
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-badge);
  background-color: var(--accent-strong);
  background-image: var(--grad-cta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  border: 1px solid var(--hairline);
}

.plan__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 0.25rem;
}

.plan__price strong {
  /* 中央幅基準（cqi）。vw だと desktop で 468px 列に対し大きすぎるため。 */
  font-size: clamp(1.8rem, 9cqi, 2.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.plan__price-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.plan__features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: var(--space-element) 0 var(--space-section);
  padding-top: var(--space-element);
  border-top: 1px solid var(--hairline);
}

.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  min-width: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.plan__features .icon {
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  color: var(--success-strong); /* チェックは成功色（装飾） */
}

.price-note {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding: var(--space-element) var(--space-section);
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-chip);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* =============================================================================
   FAQ（<details>/<summary> ネイティブ折り畳み）
   ============================================================================= */
.faq {
  display: flex;
  flex-direction: column;
  gap: var(--space-element);
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-element);
  min-width: 0;
  padding: 1.1rem var(--space-section);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none; /* デフォルトの三角マーカーを消す */
}

/* Safari / Chrome のデフォルト disclosure marker を消す。 */
.faq__q::-webkit-details-marker {
  display: none;
}

.faq__item[open] .faq__q {
  border-bottom: 1px solid var(--hairline);
}

.faq__a {
  padding: var(--space-element) var(--space-section) var(--space-section);
  color: var(--text-muted);
  line-height: var(--lp-line);
  font-size: 0.95rem;
}

/* =============================================================================
   最終 CTA（暗背景・全幅）
   ============================================================================= */
.cta-final {
  position: relative;
  text-align: center;
  background-color: #15151c;

  /* 最終 CTA 背景は全バリアント共通で night.jpg（夜景）。url() は CSS ファイル基準なので
     men / women ページ（../shared/ 参照）でも同じ画像が解決する。
     ページ別に変えたい場合のみ .cta-final--xxx modifier を足す（base はこれで自己完結）。 */
  background-image: url("assets/gen/night.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* 画像の上に暗幕を重ねて白文字の AA を担保。 */
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(15 15 22 / 78%) 0%,
    rgb(15 15 22 / 88%) 100%
  );
}

.cta-final .container {
  position: relative; /* オーバーレイより前面 */
}

.cta-final__title {
  font-size: var(--lp-fs-h2);
  color: #fff;
}

.cta-final__lead {
  margin: 1rem auto 0;
  max-width: 38rem;
  font-size: var(--lp-fs-lead);
  color: rgb(255 255 255 / 88%);
  line-height: var(--lp-line);
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-element);
  margin-top: 1.75rem;
}

.cta-final__note {
  margin: 1.5rem auto 0;
  max-width: 44rem;
  font-size: 0.8rem;
  color: rgb(255 255 255 / 72%);
  line-height: 1.7;
}

/* =============================================================================
   フッター
   ============================================================================= */
.site-footer {
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--surface);
  border-top: 1px solid var(--hairline);
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-section);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-section);
}

.site-footer .brand__logo {
  height: clamp(2.75rem, 9cqi, 3.5rem);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
}

.footer-link {
  /* タップ標的 44px を確保（WCAG 2.2 Target Size）。 */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-link:hover {
  color: var(--accent-strong);
}

/* リンクではない法務テキスト（特商法・問い合わせ = アプリ内のため dead link 禁止）。 */
.footer-note {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-registration {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-section);
}

/* =============================================================================
   スクロールフェードイン（JS の IntersectionObserver が .is-visible を付与）
   -----------------------------------------------------------------------------
   .reveal は初期状態（少し下 + 透明）。.is-visible で定位置 + 不透明へ。
   prefers-reduced-motion 時は base.css の transition 無効化で即表示になる。
   JS 無効時に見えなくならないよう、no-js のフォールバックも用意する。
   ============================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* JS が無効（html に no-js が残っている）場合は常時表示。 */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* reduced-motion では動かさず即表示（transform を最初から無効に）。 */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn--primary::before,
  .hero-fv__button::before {
    animation: none;
    opacity: 0;
  }
}

/* =============================================================================
   レスポンシブ
   -----------------------------------------------------------------------------
   中央の中身は常に単一カラム（row-3 / steps / plans = 1fr）で
   デスクトップ(中央 468px) / モバイル(全幅) 共通。よってここで切り替えるのは
   外側シェルだけ:
     ≥1100px : 3 分割（左パネル最大 / 中央 468px / 右ナビ）（base.css 既定）。
     ≤1099px : レールを畳み上部固定バー + 全画面オーバーレイへ（base.css でレール
               非表示・中央全幅化。ここで topbar / overlay を可視化）。
     ≤479px  : カードの padding を詰める（狭幅の収まり調整）。
   ============================================================================= */

@media (max-width: 1099px) {
  /* 上部固定バーと（開いた時の）全画面オーバーレイを有効化。 */
  .topbar {
    display: block;
  }

  .nav-overlay {
    display: block;
  }

  /* 透明ヘッダーのため、FV は画面最上部から表示する。 */
  .lp-main {
    padding-top: 0;
    padding-bottom: calc(5.75rem + env(safe-area-inset-bottom));
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 95;
    display: flex;
    justify-content: center;
    padding:
      1rem max(1rem, env(safe-area-inset-right))
      calc(0.9rem + env(safe-area-inset-bottom))
      max(1rem, env(safe-area-inset-left));
    background: linear-gradient(
      180deg,
      rgb(255 255 255 / 0%) 0%,
      rgb(255 255 255 / 88%) 38%,
      rgb(255 255 255 / 98%) 100%
    );
    pointer-events: none;
    opacity: 0;
    transform: translateY(1rem);
    transition:
      opacity 0.45s ease,
      transform 0.45s ease;
  }

  .mobile-sticky-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-sticky-cta .btn {
    width: min(100%, 24rem);
    min-height: 3.75rem;
    justify-content: center;
    padding: 1.05rem 1.55rem;
    font-size: 1.05rem;
    pointer-events: none;
  }

  .mobile-sticky-cta.is-visible .btn {
    pointer-events: auto;
  }

  .hero__inner {
    align-items: flex-start;
    text-align: left;
  }

  .hero__head,
  .hero__body {
    max-width: min(100%, 34rem);
  }

  .hero__lead,
  .hero__note {
    margin-inline: 0;
  }

  .hero__lead {
    font-size: clamp(0.9rem, 2.4vw, 1rem);
  }

  .hero__note {
    font-size: 0.76rem;
  }

  .hero__cta,
  .hero__points {
    justify-content: flex-start;
  }

  .hero__points li {
    text-align: left;
  }
}

@media (max-width: 479px) {
  .lp-main {
    --lp-fs-hero: clamp(1.6rem, 7vw, 2rem);
    --lp-fs-h2: clamp(1.28rem, 6vw, 1.65rem);
    --lp-fs-h3: clamp(1rem, 4.5vw, 1.18rem);
    --lp-fs-lead: clamp(0.86rem, 3.6vw, 0.92rem);
  }

  .eyebrow {
    gap: 0.4rem;
    letter-spacing: 0;
  }

  .eyebrow::before {
    width: 1.25rem;
  }

  .hero .container {
    padding-block: clamp(4.5rem, 12svh, 6rem) clamp(1.25rem, 4svh, 2rem);
  }

  .hero__title {
    line-height: 1.18;
  }

  .hero__lead {
    margin-top: 1rem;
    line-height: 1.6;
  }

  .hero__note {
    font-size: 0.74rem;
  }

  .hero__points {
    gap: 0.45rem 0.85rem;
    margin-top: 1.1rem;
  }

  .hero__points li {
    font-size: 0.86rem;
  }

  .hero__cta,
  .cta-final__actions {
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.35rem;
  }

  .hero__note,
  .cta-final__note {
    margin-top: 1rem;
  }

  .btn--lg {
    padding: 0.95rem 1.35rem;
    font-size: 1rem;
  }

  .coming-badge {
    padding-inline: 0.75rem;
    font-size: 0.82rem;
  }

  .card,
  .feature,
  .step,
  .plan,
  .scene__quote {
    padding: var(--space-element);
  }

  .scene__quote {
    padding-left: calc(var(--space-element) + 0.9rem);
  }

  .scene__quote::before {
    top: calc(var(--space-element) + 0.1rem);
    bottom: var(--space-element);
    left: var(--space-element);
  }

  .faq__q,
  .faq__a,
  .price-note {
    padding-inline: var(--space-element);
  }

  .plan__features {
    margin-bottom: var(--space-element);
  }
}
