@charset "UTF-8";
/* ==========================================================================
   業務ダッシュボードAI駆動コース LP
   --------------------------------------------------------------------------
   デザイン元：Figma「AI駆動開発コース」
   https://www.figma.com/design/R1nTGOZOR3rOPcFmySLyro/?node-id=3-815

   ★ 下の「1. デザイントークン」の値は、すべて Figma の実測値です。
     色・文字サイズ・余白・角丸を変えたいときは、原則ここだけを触ってください。
   ========================================================================== */

/* ==========================================================================
   1. デザイントークン  ← Figmaの実測値
   ========================================================================== */
:root {
  /* --- 基本カラー（Figma実測） ---------------------------------------- */
  --c-ink:        #141512;  /* 文字・ダークセクション地 */
  --c-ink-2:      #66685f;  /* 補助テキスト */
  --c-accent:     #c8f04b;  /* ライム。CTA・アイコン地・強調 */
  --c-bg:         #f4f1e8;  /* ページ地（クリーム） */
  --c-surface:    #ffffff;  /* カード地 */
  --c-surface-2:  #e9e6dc;  /* ピル・ウィンドウバー等の淡い面 */
  --c-line:       #d8d6cc;  /* カードの境界線 */
  --c-rule:       #141512;  /* 一覧の罫線（カリキュラム） */

  /* --- ダークセクション上のカラー -------------------------------------- */
  --c-on-dark:      #ffffff;
  --c-on-dark-2:    rgba(255,255,255,.72);
  --c-on-dark-3:    rgba(255,255,255,.44);
  --c-on-dark-line: rgba(255,255,255,.15);

  /* --- タイポグラフィ ---------------------------------------------------
     Figmaは Inter 指定。日本語は Noto Sans JP でフォールバックします。   */
  --font-base: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont,
               "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

  /* Figmaは76pxだがコピーが610px幅で4行に折り返る前提。本LPは見出しが
     Figmaより11文字長いため、同じ4行に収まる64pxを上限にしています。 */
  --fs-hero:   clamp(2.5rem,   1.79rem  + 3.01vw, 4rem);      /* 64px */
  --fs-h2:     clamp(1.75rem,  1.31rem  + 1.88vw, 3rem);      /* 48px */
  --fs-metric: clamp(1.875rem, 1.61rem  + 1.13vw, 2.625rem);  /* 42px */
  --fs-h3:     clamp(1.25rem,  1.118rem + 0.56vw, 1.625rem);  /* 26px */
  --fs-lead:   clamp(1rem,     0.89rem  + 0.47vw, 1.3125rem); /* 21px */
  --fs-body:   1rem;        /* 16px */
  --fs-sm:     0.875rem;    /* 14px */
  --fs-label:  0.8125rem;   /* 13px … アイブロウ・注記・数値ラベル */
  --fs-micro:  0.75rem;     /* 12px */

  --lh-display: 1.06;  /* 見出し（hero / h2 / 数値） */
  --lh-title:   1.18;  /* カード見出し */
  --lh-body:    1.65;  /* 本文 */
  --lh-lead:    1.7;   /* リード */
  /* Figmaの全テキストノードは letter-spacing 未設定（=0）。
     独自のトラッキングは入れません。 */

  /* --- レイアウト（Figma: 1440px アートボード / 左右80px / 内容1280px） --- */
  --container:  1280px;
  --container-narrow: 900px;
  --gutter:     clamp(1.25rem, 5.55vw, 5rem);   /* 20px → 80px */
  --sec-py:     clamp(3.5rem, 7.8vw, 7rem);     /* 56px → 112px */
  --header-h:   88px;
  --gap:        1.5rem;   /* 24px … カード間 */
  --gap-lg:     2rem;     /* 32px */

  /* --- 角丸・影・モーション -------------------------------------------- */
  --r-sm:    8px;
  --r-md:    14px;
  --r-lg:    24px;
  --r-pill:  999px;
  --shadow:  0 12px 32px rgba(20,21,18,.08);
  --ease:    cubic-bezier(.16,1,.3,1);

  /* --- ボタン ------------------------------------------------------------ */
  --btn-h:  56px;
  --btn-px: 24px;

  /* 右上矢印アイコン（Figma: arrow-up-right / currentColor で着色） */
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. リセット & ベース
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em; background: var(--c-surface-2);
  padding: .1em .4em; border-radius: 4px; color: var(--c-ink);
}
em { font-style: normal; }
:focus-visible { outline: 3px solid var(--c-ink); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible,
.section--booking :focus-visible,
.footer :focus-visible { outline-color: var(--c-accent); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

/* 見出し直下のアイブロウ・タイトル・リードは全セクション共通の型 */
.eyebrow, .section__eyebrow {
  font-size: var(--fs-label); font-weight: 700;
  text-transform: uppercase; color: var(--c-ink); margin-bottom: 1rem;
}

/* ==========================================================================
   3. ボタン（Figma: 高さ56 / 左右24 / 角丸999 / 16px semibold / 右上矢印）
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  min-height: var(--btn-h); padding: .75rem var(--btn-px);
  border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: var(--fs-body); font-weight: 600; line-height: 1.3; text-align: center;
  transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn::after {
  content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
          mask: var(--icon-arrow) center / contain no-repeat;
}
.btn--primary { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-ink); }
.btn--primary:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-accent); transform: translateY(-2px); }
.btn--ghost { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-dark); }
.btn--ghost:hover { background: transparent; color: var(--c-ink); transform: translateY(-2px); }
.section--dark .btn--ghost { background: transparent; border-color: var(--c-on-dark-line); color: var(--c-on-dark); }
.section--dark .btn--ghost:hover { background: var(--c-on-dark); color: var(--c-ink); }
.btn--sm { min-height: 44px; padding: .5rem 1.25rem; font-size: var(--fs-sm); gap: .625rem; }
.btn--sm::after { width: 15px; height: 15px; }
.btn--lg { min-height: var(--btn-h); }
.btn--block { width: 100%; }

/* ==========================================================================
   4. ヘッダー（Figma: 高さ88 / クリーム地 / ロゴマーク34pxの黒角丸）
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(244,241,232,.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 2px 16px rgba(20,21,18,.06); }
.header__inner {
  height: 100%; max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem);
}
.header__logo {
  display: flex; align-items: center; gap: .625rem;
  font-size: 1.125rem; font-weight: 700; line-height: 1.2;
}
.header__logo::before {
  content: "AI"; flex: none;
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--c-ink); color: var(--c-accent);
  border-radius: var(--r-sm); font-size: 1.125rem; font-weight: 800; line-height: 1;
}
.header__nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); font-size: var(--fs-sm); font-weight: 500; }
.header__nav a { position: relative; padding: .25em 0; transition: opacity .2s; }
.header__nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--c-ink); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.header__nav a:hover::after { transform: scaleX(1); }
.header__cta { margin-left: .5rem; }
.header__burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.header__burger span {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.header__burger span:nth-child(1) { top: 15px; }
.header__burger span:nth-child(2) { top: 21px; }
.header__burger span:nth-child(3) { top: 27px; }
.header__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   5. ヒーロー（Figma: 76px extrabold / lh1.06 / リード21px）
   ========================================================================== */
.hero {
  position: relative; background: var(--c-bg);
  padding: calc(var(--header-h) + clamp(2.5rem, 4.3vw, 3.875rem)) 0 clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
}
.hero__bg { display: none; }   /* Figmaはフラットなクリーム地。装飾グラデーションなし */

/* Figma「Hero content」= コピー610px ＋ ビジュアル(可変)、間隔64 */
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 610px) minmax(0, 1fr);
  gap: 4rem; align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Figma「Eyebrow row」= ラベル ＋ ライムのピル */
.hero__eyebrowrow { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.hero__label { font-size: var(--fs-label); font-weight: 700; text-transform: uppercase; }
.hero__pill {
  background: var(--c-accent); color: var(--c-ink);
  font-size: var(--fs-label); font-weight: 600; line-height: 1.3;
  padding: .625rem 1rem; border-radius: var(--r-pill);
}
.hero__title {
  /* body の overflow-wrap:anywhere を打ち消す。
     そのままだと「自分の業／務システム」のように語中で改行されてしまう。 */
  overflow-wrap: normal; word-break: normal; line-break: strict;
  font-size: var(--fs-hero); font-weight: 800;
  line-height: var(--lh-display);
  margin-bottom: 1.5rem;
}
/* 強調はライムのハイライト。折り返しても各行に付くよう線形グラデーションで描画 */
.hero__title em {
  background-image: linear-gradient(transparent 64%, var(--c-accent) 64%, var(--c-accent) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.hero__lead {
  max-width: 34em; font-size: var(--fs-lead); line-height: var(--lh-lead);
  color: var(--c-ink-2); margin-bottom: 1.5rem;
}
.hero__lead strong { color: var(--c-ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }

/* Figma「Trust note」= 8pxのインジケータ ＋ 13pxの注記 */
.hero__trust {
  display: flex; align-items: center; gap: .625rem;
  font-size: var(--fs-label); font-weight: 500; color: var(--c-ink-2);
}
.hero__trust::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }

/* ==========================================================================
   5-2. ヒーローのビジュアル
   --------------------------------------------------------------------------
   Figma「Dashboard preview」(node 3:1020) を2倍解像度で書き出した PNG。
   書き出し時の背景 #e9e6dc がカード外周に残るため、カード部分だけを
   切り出したうえで、角丸と影はここで付けています。
   ========================================================================== */
.hero__visual { margin: 0; }
.hero__visual img {
  display: block; width: 100%; height: auto;
  border-radius: 16px; box-shadow: var(--shadow);
}

/* ==========================================================================
   6. セクション共通
   ========================================================================== */
.section { padding-block: var(--sec-py); background: var(--c-bg); }
.section--tint { background: var(--c-surface-2); }
.section--dark { background: var(--c-ink); color: var(--c-on-dark); }
.section--dark .section__eyebrow { color: var(--c-accent); }
.section__title {
  font-size: var(--fs-h2); font-weight: 700;
  line-height: var(--lh-display);
  margin-bottom: 1rem;
}
.section__lead {
  max-width: 42em; font-size: var(--fs-lead); line-height: var(--lh-body);
  color: var(--c-ink-2); margin-bottom: clamp(2rem, 4vw, 3rem);
}
.section__lead strong { color: var(--c-ink); font-weight: 600; }
.section--dark .section__lead,
.section--dark .section__lead strong { color: var(--c-on-dark-2); }
.section__note { margin-top: var(--gap); font-size: var(--fs-label); line-height: var(--lh-body); color: var(--c-ink-2); }
.section--dark .section__note { color: var(--c-on-dark-2); }
.section--dark .section__lead strong { color: var(--c-on-dark); }

/* ==========================================================================
   7. 課題（白カード / 罫線 / 角丸14）
   ========================================================================== */
/* 6枚なので3列×2段に固定する */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.problem {
  display: flex; flex-direction: column;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md);
  overflow: hidden;               /* 画像の上端をカードの角丸で切り抜く */
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.problem:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
/* Figma「LP / 課題カード画像」から2倍解像度で書き出したグラフィック */
.problem__img { display: block; width: 100%; height: auto; background: var(--c-bg); }
.problem__body { display: flex; flex-direction: column; gap: .75rem; padding: var(--gap); }
.problem__no { font-size: var(--fs-label); font-weight: 700; color: var(--c-ink-2); line-height: 1; }
.problem p { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-ink-2); }
.problem strong { color: var(--c-ink); font-weight: 600; }
.problem__answer {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--c-ink-2);
}
.problem__answer strong { color: var(--c-ink); font-weight: 700; }

/* ==========================================================================
   8. カード（Figma「Outcome card」= 白 / 罫線 / 角丸24 / 内側32 / 影）
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.card {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--gap-lg); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(20,21,18,.14); }
.card__title { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-title); margin-bottom: 1rem; }
.card p { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-ink-2); }
.card strong { color: var(--c-ink); font-weight: 600; }
.card--accent { background: var(--c-accent); border-color: var(--c-accent); }
.card--accent p, .card--accent strong { color: var(--c-ink); }

/* ==========================================================================
   9. 特徴（ダーク地 × 白カード。Figma「Target audience」と同じ組み方）
   ========================================================================== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.feature {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--gap-lg); box-shadow: var(--shadow);
}
/* Figma「Card header」= 左に番号、右にライム64pxのアイコン枠 */
.feature__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: var(--gap-lg); }
.feature__num { font-size: var(--fs-label); font-weight: 700; color: var(--c-ink-2); line-height: 1.4; }
.feature__icon {
  flex: none; display: grid; place-items: center; width: 64px; height: 64px;
  background: var(--c-accent); border-radius: var(--r-md);
}
.feature__icon img { width: 30px; height: 30px; }
.feature__title { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-title); color: var(--c-ink); margin-bottom: 1rem; }
.feature p { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-ink-2); }
.feature strong { color: var(--c-ink); font-weight: 600; }

/* ==========================================================================
   10. アコーディオン（Figma「Chapter list」= 白行 + 太い上罫線、角丸なし）
       ※ Figmaは4章まとめて1行のため見出し26px。ここは17行あるため
         可読性を優先して見出しサイズのみ抑えています。
   ========================================================================== */
.accordion { display: grid; border-top: 3px solid var(--c-rule); border-bottom: 1px solid var(--c-rule); }
.acc { background: var(--c-surface); transition: background-color .25s; }
.acc + .acc { border-top: 1px solid var(--c-rule); }
.acc.is-open { background: var(--c-bg); }
.acc__head {
  width: 100%; display: flex; align-items: center; gap: var(--gap-lg);
  padding: var(--gap); text-align: left; transition: background-color .2s;
}
.acc__head:hover { background: var(--c-bg); }
.acc__ch { flex: none; width: 4em; font-size: var(--fs-label); font-weight: 700; color: var(--c-ink); }
.acc__ttl { flex: 1; font-size: clamp(1rem, .93rem + .3vw, 1.25rem); font-weight: 700; line-height: var(--lh-title); }
.acc__time { flex: none; width: 6em; text-align: right; font-size: var(--fs-label); font-weight: 700; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.acc__icon { flex: none; position: relative; width: 18px; height: 18px; }
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 2px;
  background: var(--c-ink); transform: translateY(-50%);
  transition: transform .3s var(--ease);
}
.acc__icon::after { transform: translateY(-50%) rotate(90deg); }
.acc.is-open .acc__icon::after { transform: translateY(-50%) rotate(0deg); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body > p {
  overflow: hidden; font-size: var(--fs-body); line-height: var(--lh-lead); color: var(--c-ink-2);
  padding-inline: var(--gap); padding-bottom: 0;
  transition: padding-bottom .35s var(--ease);
}
.acc.is-open .acc__body > p { padding-bottom: var(--gap); }

/* ==========================================================================
   11. 技術構成
   ========================================================================== */
.tech { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--gap); }
.tech__col {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--gap-lg);
}
.tech__h { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-title); margin-bottom: var(--gap); padding-bottom: 1rem; border-bottom: 3px solid; }
.tech__h--use { color: var(--c-ink); border-color: var(--c-accent); }
.tech__h--avoid { color: var(--c-ink-2); border-color: var(--c-line); }
.tech__list { display: grid; gap: 1rem; }
.tech__list li { display: grid; gap: .25rem; padding-left: 1.5em; position: relative; }
.tech__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); }
.tech__list--avoid li::before { background: none; border: 2px solid var(--c-line); }
.tech__list b { font-size: var(--fs-body); font-weight: 700; line-height: 1.5; }
.tech__list span { font-size: var(--fs-label); color: var(--c-ink-2); line-height: 1.6; }
.tech__note { margin-top: var(--gap); padding-top: var(--gap); border-top: 1px solid var(--c-line); font-size: var(--fs-label); line-height: 1.8; color: var(--c-ink-2); }

/* ==========================================================================
   12. 対象者
   ========================================================================== */
.target { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--gap); }
.target__box {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--gap-lg);
}
.target__box h3 { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-title); margin-bottom: var(--gap); }
.checklist { display: grid; gap: 1rem; }
.checklist li { position: relative; padding-left: 2.25em; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .1em;
  width: 1.5em; height: 1.5em; border-radius: var(--r-sm); background: var(--c-accent);
}
.checklist li::after {
  content: ""; position: absolute; left: .4em; top: .5em;
  width: .7em; height: .38em;
  border-left: 2px solid var(--c-ink); border-bottom: 2px solid var(--c-ink);
  transform: rotate(-45deg);
}
.reqtable th, .reqtable td { padding: .9rem .25rem; border-bottom: 1px solid var(--c-line); font-size: var(--fs-body); text-align: left; vertical-align: middle; }
.reqtable th { font-weight: 400; color: var(--c-ink-2); }
.reqtable td { font-weight: 600; text-align: right; white-space: nowrap; font-size: var(--fs-sm); }
.reqtable td.ok { color: var(--c-ink); font-weight: 700; }
.reqtable td.ok::before {
  content: ""; display: inline-block; vertical-align: .1em;
  width: 8px; height: 8px; margin-right: .5em; border-radius: 50%; background: var(--c-accent);
}

/* ==========================================================================
   13. 到達目標
   ========================================================================== */
.goals { counter-reset: g; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 0 var(--gap-lg); }
.goals li {
  counter-increment: g; position: relative;
  padding: var(--gap) 0 var(--gap) 3.5em;
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-ink-2);
}
.goals li::before {
  content: counter(g, decimal-leading-zero);
  position: absolute; left: 0; top: var(--gap);
  font-size: var(--fs-label); font-weight: 700; color: var(--c-ink); font-variant-numeric: tabular-nums;
}
.goals strong { color: var(--c-ink); font-weight: 700; }

/* ==========================================================================
   13-2. コースプラン
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--gap-lg); box-shadow: var(--shadow);
}
.plan--accent { background: var(--c-accent); border-color: var(--c-accent); }
.plan__pill {
  align-self: flex-start; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem;
  background: var(--c-surface-2); color: var(--c-ink);
  border-radius: var(--r-pill); padding: .625rem 1rem;
  font-size: var(--fs-label); font-weight: 600; line-height: 1.2;
}
.plan--accent .plan__pill { background: var(--c-ink); color: var(--c-on-dark); }
.plan__pill span { font-size: var(--fs-micro); font-weight: 700; text-transform: uppercase; opacity: .65; }
.plan__name { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-title); }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .625rem; }
.plan__num { font-size: var(--fs-metric); font-weight: 800; line-height: var(--lh-display); }
.plan__unit { font-size: var(--fs-label); font-weight: 600; color: var(--c-ink-2); }
.plan--accent .plan__unit { color: var(--c-ink); }
.plan__desc { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-ink-2); }
.plan--accent .plan__desc { color: var(--c-ink); }
.plan__rows { display: grid; gap: .625rem; }
.plan__rows > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; font-size: var(--fs-sm); }
.plan__rows dt { color: var(--c-ink); opacity: .72; }
.plan__rows dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan__total { margin-top: .375rem; padding-top: .75rem; border-top: 1px solid rgba(20,21,18,.25); }
.plan__total dd { font-size: var(--fs-h3); line-height: 1.2; }
.plan .btn { margin-top: auto; }

/* ==========================================================================
   14. 予約（TimeRex）
   --------------------------------------------------------------------------
   Figma「Free consultation calendar section」(node 4:73) の枠を再現。
   週間カレンダー本体は TimeRex 公式ウィジェット（iframe）が入ります。

   ※ TimeRex の日程調整APIには空き時間取得・予約作成のエンドポイントが無く、
     カレンダーUIを自前実装して予約を確定させることはできません。
     またウィジェットは iframe のため、内部の配色はここからは変更できません
     （primary_color / disable_logo はプレミアムプラン限定のJSオプション）。
   ========================================================================== */
.section--booking { background: var(--c-ink); color: var(--c-on-dark); }
.section--booking .section__eyebrow { color: var(--c-accent); }

/* 見出し：左にタイトル、右に補足（Figmaのセクション見出しの型） */
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--gap-lg); margin-bottom: var(--gap-lg);
}
.section__head .section__title { margin-bottom: 0; }
.section__head-note {
  /* flex-basis を使うと縦積み時に「高さ」として効くため width で指定する */
  flex: 0 1 auto; width: 435px; max-width: 100%;
  font-size: var(--fs-body); line-height: var(--lh-body);
  color: var(--c-ink-2);
}
.section--booking .section__head-note,
.section--dark .section__head-note { color: var(--c-on-dark-2); }

/* カレンダーカード（Figma: クリーム地 / 角丸24 / 内側20） */
.booking {
  display: grid; gap: var(--gap);
  background: var(--c-bg); color: var(--c-ink);
  border-radius: var(--r-lg); padding: 1.25rem;
}
.booking__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: .25rem;
}
.booking__bar b { font-size: var(--fs-label); font-weight: 700; }
.booking__bar span { font-size: var(--fs-micro); color: var(--c-ink-2); }

/* TimeRexウィジェットの受け皿（幅は親側で制御する必要があります）
   ※ embed.js は描画時にこの要素へインラインで
     background-color:transparent / overflow-x:auto を書き込み、
     内側に min-width:550px / max-width:980px の白いラッパを挿入します。
     こちらで背景・境界線・overflow を指定すると競合するため、
     見た目の板はプレースホルダ側だけに持たせています。 */
.timerex-slot { width: 100%; max-width: 100%; min-height: 460px; }
.timerex-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem;
  min-height: 460px; padding: 2rem 1.5rem; text-align: center;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-md);
}
.timerex-placeholder__title { font-size: var(--fs-h3); font-weight: 700; color: var(--c-ink-2); }
.timerex-placeholder__text { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-ink-2); }

/* 予約の流れ：中央寄せの横並びフロー図（1 → 2 → 3） */
.booking__steps { display: grid; gap: 1rem; justify-items: center; }
.steps__title { font-size: var(--fs-label); font-weight: 700; text-align: center; }
.steps { counter-reset: s; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; }
.steps li {
  display: flex; align-items: center; gap: .75rem;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-pill);
  padding: .5rem 1.25rem .5rem .5rem;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.5;
}
.steps li::before {
  counter-increment: s; content: counter(s);
  flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  background: var(--c-accent); border-radius: 50%;
  font-size: var(--fs-micro); font-weight: 700;
}
/* ステップ間のつなぎ（シェブロン） */
.steps li:not(:last-child)::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-left: .5rem;
  border-top: 2px solid var(--c-ink-2); border-right: 2px solid var(--c-ink-2);
  transform: rotate(45deg);
}

/* 予約ページへのフォールバック（Figmaの黒いCTAバー。高さ52 / 角丸12） */
.booking__note { margin: 0; }
.booking__cta {
  display: flex; align-items: center; justify-content: center; gap: .625rem;
  width: 100%; min-height: 52px; padding: .75rem 1.25rem;
  background: var(--c-ink); color: var(--c-on-dark);
  border-radius: 12px; font-size: .9375rem; font-weight: 700; text-align: center;
  transition: background-color .2s, color .2s;
}
.booking__cta:hover { background: var(--c-accent); color: var(--c-ink); }
.booking__cta::after {
  content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
          mask: var(--icon-arrow) center / contain no-repeat;
}

.booking__fineprint { padding-inline: .25rem; font-size: var(--fs-micro); line-height: 1.6; color: var(--c-ink-2); }

/* ==========================================================================
   14-2. 下層ページ（completion-evaluation.html）
   --------------------------------------------------------------------------
   既存のトークンだけで組んでいます。新しい色・サイズは追加していません。
   ========================================================================== */
.pagehead {
  background: var(--c-ink); color: var(--c-on-dark);
  padding: calc(var(--header-h) + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(2.5rem, 5vw, 4.5rem);
}
.pagehead .section__eyebrow { color: var(--c-accent); }
.pagehead .section__head { margin-bottom: 0; }

.crumb { display: flex; flex-wrap: wrap; gap: .625rem; margin-bottom: var(--gap); font-size: var(--fs-label); color: var(--c-on-dark-3); }
.crumb a { color: var(--c-on-dark-2); text-decoration: underline; text-underline-offset: 3px; }
.crumb a:hover { color: var(--c-on-dark); }

/* 02 測定方法：番号つきの見出し＋本文 */
.method { counter-reset: m; display: grid; gap: 0; }
.method li {
  counter-increment: m; position: relative;
  display: grid; gap: .5rem;
  padding: var(--gap) 0 var(--gap) 3.5em;
  border-top: 1px solid var(--c-line);
}
.method li:last-child { border-bottom: 1px solid var(--c-line); }
.method li::before {
  content: counter(m, decimal-leading-zero);
  position: absolute; left: 0; top: calc(var(--gap) + .2em);
  font-size: var(--fs-label); font-weight: 700; color: var(--c-ink);
  font-variant-numeric: tabular-nums;
}
.method h3 { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-title); }
.method p { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-ink-2); }

/* 03 判定区分：4段階のカード */
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.level {
  display: grid; align-content: start; gap: .75rem;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: var(--gap-lg); box-shadow: var(--shadow);
}
.level--top { background: var(--c-accent); border-color: var(--c-accent); }
.level__no { font-size: var(--fs-metric); font-weight: 800; line-height: var(--lh-display); }
.level__name { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-title); }
.level p { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-ink-2); }
.level--top p { color: var(--c-ink); }

/* 05 認定判定：2カラム */
.judge { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: var(--gap); }
.judge__col {
  background: var(--c-surface); color: var(--c-ink);
  border-radius: var(--r-lg); padding: var(--gap-lg);
}
.judge__col--accent { background: var(--c-accent); }
.judge__col h3 { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-title); margin-bottom: var(--gap); }
.judge__list { display: grid; gap: .75rem; margin-bottom: var(--gap); }
.judge__list li { position: relative; padding-left: 1.5em; font-size: var(--fs-body); line-height: var(--lh-body); }
.judge__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); }
.judge__big { font-size: var(--fs-h3); font-weight: 700; line-height: var(--lh-title); margin-bottom: var(--gap); }
.judge__note { font-size: var(--fs-label); line-height: var(--lh-body); color: var(--c-ink-2); }
/* ライム地の上で #66685f はコントラスト不足のため、本文色を ink に上書き */
.judge__col--accent .judge__note { color: var(--c-ink); }

/* 到達目標セクションからの導線 */
.moreline {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem;
  margin-top: var(--gap-lg); padding-top: var(--gap);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-body); color: var(--c-ink-2);
}
.moreline a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--c-ink); text-decoration: underline; text-underline-offset: 4px; }
.moreline a::after {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
          mask: var(--icon-arrow) center / contain no-repeat;
}

/* ==========================================================================
   15. フッター / 追従CTA
   ========================================================================== */
.footer {
  background: var(--c-ink); color: var(--c-on-dark-2);
  border-top: 1px solid var(--c-on-dark-line);
  padding-block: var(--gap-lg);
}
.footer__inner { display: grid; gap: var(--gap-lg); }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem var(--gap-lg); }
.footer__logo { font-size: 1.3125rem; font-weight: 700; color: var(--c-on-dark); }
.footer__nav { display: flex; flex-wrap: wrap; gap: .75rem var(--gap-lg); font-size: var(--fs-label); }
.footer__nav a:hover { color: var(--c-on-dark); }
.footer__copy, .footer__policy { font-size: var(--fs-label); color: var(--c-on-dark-3); }
.footer__policy:hover { color: var(--c-on-dark); }

.stickycta {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(244,241,232,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--c-line);
  transform: translateY(110%); transition: transform .4s var(--ease);
  display: none;
}
.stickycta.is-visible { transform: translateY(0); }

/* ==========================================================================
   16. スクロールリビール
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   17. レスポンシブ
   ========================================================================== */
@media (max-width: 1100px) {
  .plans { grid-template-columns: 1fr; }
  .hero__grid { grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3rem); }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header__nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--c-bg); border-bottom: 1px solid var(--c-line);
    padding: .5rem var(--gutter) 1.25rem;
    box-shadow: 0 16px 32px rgba(20,21,18,.1);
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .25s, visibility .25s;
  }
  .header__nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .header__nav a { padding: .95rem .25rem; border-bottom: 1px solid var(--c-line); font-size: 1rem; font-weight: 600; }
  .header__nav a::after { display: none; }
  .header__cta { display: none; }
  .header__burger { display: block; }
  .header__logo::before { width: 30px; height: 30px; font-size: 1rem; }
  .stickycta { display: block; }
  body { padding-bottom: 84px; }
  .acc__head { gap: 1rem; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .problems { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero__actions .btn { width: 100%; }
  .acc__head { flex-wrap: wrap; padding: 1.125rem 1rem; }
  .acc__ch { width: auto; }
  .acc__ttl { flex: 1 1 100%; order: 3; }
  .acc__time { width: auto; margin-left: auto; }
  .acc__icon { order: 4; margin-left: auto; }
  .acc__body > p { padding-inline: 1rem; }
  .acc.is-open .acc__body > p { padding-bottom: 1.125rem; }
  .footer__row { justify-content: flex-start; }
  .booking { padding: 1rem; gap: 1.25rem; }
  .problems { grid-template-columns: 1fr; }
  /* 縦積みではシェブロンを出さない */
  .steps { flex-direction: column; align-items: stretch; width: 100%; }
  .steps li:not(:last-child)::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
