/* common.css — 全ページ共通のコンテンツプリミティブ（tokens.css を参照。トークンは再定義しない）
 *
 * 【役割】ヘッダー/ドロワー/フッター（= site-chrome.css）を除く、
 *   本文コンテンツで全ページが再利用する共通コンポーネントの土台を定義する。
 *   ページ固有CSS（<page>.css）はここを上書きせず、差分はバリアントクラスで表現する。
 *
 * 【出典】
 *   - デザイン変数: assets/css/tokens.css（値のハードコード禁止・var() 参照のみ）
 *   - course-section 実測: Figma node 2157:17861(blue) / 2157:20599(magenta) / 2157:20600(green)
 *       → 背景色のみバリアント（blue #2149FF / magenta #F870FF / green #22C55E）、
 *         テキストは3色とも白。構造・padding(120/90 → SP 64/24)・itemSpacing(112px) は共通。
 *   - Design System components frame: 2165:20598
 *   - レスポンシブ: REQUIREMENTS.md §5（768px 単一境界。PC=768px以上 / SP=768px未満）
 *
 * 【禁止】site-chrome(header/drawer/footer) のセレクタには触れない。tokens を再定義しない。
 */

/* ==========================================================
 * 0. Reset & base
 *   GLOBAL に置くのは box-sizing と body の基礎だけ（クロームも共有すべきもの）。
 *   コンテンツ要素の reset/typography（見出し・p・a・img 等）は `main` 配下に SCOPE し、
 *   site-chrome(header/drawer/footer) を一切再スタイルしない
 *   （全ページ本文は <main id="main"> に入る前提）。
 * ========================================================== */
/* --- GLOBAL: クロームも共有すべき基礎のみ（box-sizing と body 既定） --- */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-base);          /* Inter, Noto Sans JP, sans-serif */
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text-default);
  background: var(--c-bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
}

/* --- SCOPED: コンテンツ要素の reset/typography は `main` 配下に限定。
 *   全ページ本文は <main id="main"> に入るため、site-chrome(header/drawer/footer)
 *   には一切適用されない（クロームのリスタイル漏れを防ぐ）。 --- */
/* 見出し・段落はトークンで制御するため既定マージンを落とす */
:where(.rnw-main) h1, :where(.rnw-main) h2, :where(.rnw-main) h3, :where(.rnw-main) h4, :where(.rnw-main) h5, :where(.rnw-main) h6,
:where(.rnw-main) p, :where(.rnw-main) figure, :where(.rnw-main) blockquote { margin: 0; }

/* 画像はレスポンシブ既定。横溢れ防止 */
:where(.rnw-main) img { max-width: 100%; height: auto; }

:where(.rnw-main) a { color: var(--c-text-brand); }

/* 固定ヘッダー（site-chrome, position:fixed / 高さ --header-h）の下に本文を送る。
   全ページ共通のため common.css に置く（Figma は header+hero が縦積みで、hero は
   ヘッダー直下から始まる＝70px のオフセットが必要）。 */
.rnw-main { padding-top: var(--header-h); }

/* ==========================================================
 * 1. Layout primitives
 * ========================================================== */
.container {
  width: 100%;
  /* コンテンツ実幅を --w-container(1260px) に保つため、左右パディング分を max-width に足す
     （max-width=1260 のままだと padding 90px×2 を引いて実幅 1080px になってしまうため）。 */
  max-width: calc(var(--w-container) + var(--pad-x) * 2); /* 1260 + 90×2 = 1440 */
  margin-inline: auto;
  padding-inline: var(--pad-x);           /* PC 90px */
}

/* セクションの縦リズム（左右余白は .container 側で付ける） */
.section {
  padding-block: var(--section-y);        /* PC 120px */
}

/* スクリーンリーダー専用（視覚的に隠すがアクセシビリティツリーには残す）。
   視覚デザインに見出しが無いセクションの見出し等に使う共通ユーティリティ。 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* カード3列グリッド（reasons-section の stats/features 等）。SP で 1 列に畳む。
   画像トラックのはみ出し防止に minmax(0,1fr) + 子 min-width:0 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);                   /* 40px */
}
.grid-3 > * { min-width: 0; }

/* ==========================================================
 * 2. section-head — 英語 eyebrow → 和文タイトル → アクセントバー の縦積み
 *   --sh-accent / --sh-title でリカラー可能（course-section 内では白へ差し替え）。
 * ========================================================== */
.section-head {
  --sh-accent: var(--c-blue-500);         /* 既定アクセント（eyebrow / bar） */
  --sh-title: var(--c-text-default);      /* 既定タイトル色 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
  text-align: center;
}
.section-head__eyebrow {
  font-family: var(--font-en);            /* Inter */
  font-size: var(--fs-decor-slogan);      /* 24px（大きめ英語 eyebrow） */
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sh-accent);
}
.section-head__title {
  font-family: var(--font-jp);            /* Noto Sans JP */
  font-size: var(--fs-h2);                /* 34px */
  line-height: var(--lh-h2);
  font-weight: var(--fw-bold);
  color: var(--sh-title);
}
.section-head__bar {
  width: 48px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--sh-accent);
}

/* ==========================================================
 * 3. course-section（最重要・全6ページ共通）
 *   バリアントは背景色（--cs-bg）・アクセント文字色（--cs-accent）・intro カード地色
 *   （--cs-tint）のみ差し替え。テキストは白（theme 非依存＝brand/white を直接使用。
 *   c-text-inverse は dark で反転するため使わない）。構造・余白は3色とも不変。
 *
 *   出典: 04 の実インスタンス（Figma 2157:17861 blue / 17862 magenta / 17863 green）。
 *   マスターコンポーネントが持つスロット（サブパーツ）を共通クラス化し 05-09 で再利用する
 *   ＝ページ固有CSSに散逸させない（Codex Major3 の確定対応）。各インスタンスは同じ
 *   サブパーツを内容だけ差し替えて組む（青=図解+ドーナツ, マゼンタ=文章+写真, 緑=STEP+実績）。
 *
 *   スロット: __content(=title-block+intro) / __block(見出し+本文の汎用ブロック) /
 *   __panel(白パネル) / __checks(白チェック列) / __stats+cs-donut(実績ドーナツ) /
 *   __text-rows(文章+写真の交互行) / __feature-cards / __career-cards / __step-cards /
 *   __instructor(講師紹介カード)。トップレベルの子は gap 112 で縦積み。
 *
 *   ※ Figma の keyvisual（冒頭の斜めストライプ装飾）は【クライアント指示 2026-07-09】で採用に変更。
 *     白ストライプ(透過)PNG を上部 1800×900 に敷き、色地の上に低 opacity で重ねる
 *     （blue/magenta=0.10 ・ green=0.12。3色とも同一アセット course-section-keyvisual-stripes.webp）。
 *     → __keyvisual を実素材で持たず ::before で実装（軽量・単一ソース）。
 * ========================================================== */
.course-section {
  --cs-bg: var(--bg-course-section-blue);     /* 既定 blue */
  --cs-accent: var(--c-accent-blue);          /* 白ピル内文字 / intro 見出し */
  --cs-tint: #f0f3ff;                          /* intro カード地色 */
  --cs-text: var(--c-brand-white);            /* 3色とも白（theme 非依存） */
  --cs-keyvisual-opacity: 0.10;               /* 冒頭ストライプの重ね opacity（緑のみ 0.12 に上書き） */
  position: relative;                          /* ::before キービジュアルの基準 */
  overflow: hidden;                            /* 1800px 幅ストライプを色地内でクリップ（横溢れ防止） */
  background: var(--cs-bg);
  color: var(--cs-text);
  padding: var(--section-y) var(--pad-x);     /* 120 / 90（SP 64 / 24） */
  display: flex;
  flex-direction: column;
  align-items: center;                         /* 【FB 2026-07-09 項目18】内容を中央寄せ（>1440 の広幅で content/block/instructor が左寄り＝白余白が右に出る崩れを是正）。1440 以下は content-box=1260<1280 で従来と同一 */
  gap: var(--content-gap);                     /* トップレベル子間 112px */
}
/* 冒頭の斜めストライプ装飾（Figma keyvisual：上部 1800×900・中央寄せ・低 opacity）。
   本文より背面(z0)、直下の子は z1 で前面へ。 */
.course-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1800px;
  height: 900px;
  background: url(../images/course-section-keyvisual-stripes.webp) center / cover no-repeat;
  opacity: var(--cs-keyvisual-opacity);
  pointer-events: none;
  z-index: 0;
}
/* 直下の子は前面(z1)＋コンテンツ列幅(1280px)に統一して中央寄せ（親 align-items:center）。
   【FB 2026-07-09 項目18】content/block/text-rows/instructor は全て 1260-1280 の列に収める＝広幅でも左寄りにならない。 */
.course-section > * { position: relative; z-index: 1; width: 100%; max-width: 1280px; }
/* バリアント = 背景色・アクセント・intro 地色のみ */
.course-section--blue {
  --cs-bg: var(--bg-course-section-blue);      /* #2149FF */
  --cs-accent: var(--c-accent-blue);
  --cs-tint: #f0f3ff;
}
.course-section--magenta {
  --cs-bg: var(--bg-course-section-magenta);   /* #F870FF */
  --cs-accent: var(--c-accent-magenta-light);
  --cs-tint: var(--c-accent-magenta-tint);     /* #fff0fd */
}
.course-section--green {
  --cs-bg: var(--bg-course-section-green);     /* #22C55E */
  --cs-accent: var(--c-success-500);
  --cs-tint: var(--c-accent-green-tint);       /* #f3fff0 */
  --cs-keyvisual-opacity: 0.12;                /* 緑のみ Figma 実測 opacity 0.12 */
}

/* --- 3.1 content（title-block + intro を隙間なく縦積み） --- */
.course-section__content { display: flex; flex-direction: column; }

/* title-block：白ピル eyebrow（吹き出し尾）＋ 番号付き大見出し */
.course-section__title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
  padding: 0 var(--space-24) var(--space-80);  /* 下 80px で intro と分離 */
}
.course-section__eyebrow {
  position: relative;
  background: var(--c-brand-white);
  color: var(--cs-accent);
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h3);                      /* 26px */
  line-height: 1.4;
  padding: var(--space-12) var(--space-32);
  border-radius: var(--radius-pill);
  text-align: center;
}
.course-section__eyebrow::after {              /* 下向き吹き出し尾 */
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  transform: translateX(-50%);
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 12px solid var(--c-brand-white);
}
.course-section__title {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-hero);                    /* 56px */
  line-height: var(--lh-hero);
  color: var(--cs-text);
  text-align: center;
}

/* intro：淡色カード（見出し＋本文＋写真 or STEP カード） */
.course-section__intro {
  background: var(--cs-tint);
  padding: var(--space-48);
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
}
.course-section__intro-title {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h1);                      /* 44px */
  line-height: var(--lh-h1);
  color: var(--cs-accent);
  text-align: center;
}
.course-section__intro-body { display: flex; flex-direction: column; gap: var(--space-32); }
.course-section__intro-text {
  font-family: var(--font-jp);
  font-weight: var(--fw-regular);
  font-size: var(--fs-lead);                    /* 20px */
  line-height: var(--lh-lead);
  color: var(--c-brand-900);
  text-align: center;
}
.course-section__intro-media img { width: 100%; height: 655px; object-fit: cover; display: block; }

/* STEP カード（緑 intro：理論 / 実践） */
.course-section__step-cards { display: flex; gap: var(--space-48); }
.course-section__step-card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--c-brand-white);
  border: 2px solid var(--c-brand-50);
  padding: var(--space-32);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
}
.course-section__step-badge {
  background: color-mix(in srgb, var(--cs-bg) 11%, transparent);
  border: 1px solid var(--c-gray-300);
  padding: var(--space-8) var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}
.course-section__step-badge b { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: 20px; line-height: 1.4; color: var(--c-brand-900); }
.course-section__step-badge span { font-family: var(--font-jp); font-weight: var(--fw-regular); font-size: var(--fs-body-sm); line-height: 1.6; color: #707070; }
.course-section__step-text { font-family: var(--font-jp); font-weight: var(--fw-regular); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-brand-900); max-width: 448px; }  /* 【figma-parity】Figma のテキストボックス実幅 448px（カード全幅だと折返しが変わる） */

/* --- 3.2 block（見出し＋本文の汎用ブロック） --- */
.course-section__block {
  width: 100%;
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
}
.course-section__block-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
  text-align: center;
}
.course-section__block-title {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h1);                      /* 44px */
  line-height: var(--lh-h1);
  color: var(--cs-text);
}
.course-section__block-sub {
  font-family: var(--font-jp);
  font-weight: var(--fw-regular);
  font-size: var(--fs-lead);                    /* 20px */
  line-height: var(--lh-lead);
  color: var(--c-brand-white);
}
.course-section__block-sub--lg { font-size: var(--fs-h3); }  /* 26px（緑の一部） */
.course-section__block-sub--bold { font-weight: var(--fw-bold); }  /* 700（緑：変則カスタマイズ強調） */
.course-section__block-title--sm { font-size: var(--fs-h3); line-height: 1.4; }  /* 26px（青 career-columns 見出し） */
.course-section__block-lead {                  /* ブロック内の小見出し（緑：キャリアサポート内容） */
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h2);                      /* 34px */
  line-height: var(--lh-h2);
  color: var(--c-brand-white);
  text-align: center;
}

/* 白パネル */
.course-section__panel { width: 100%; background: var(--c-brand-white); }
.course-section__panel--pad { padding: 96px 0; display: flex; flex-direction: column; gap: var(--space-80); }
.course-section__panel-media img { width: 100%; height: auto; display: block; }

/* 図解（青：成長ステップ） */
.course-section__diagram { position: relative; padding: 0 var(--space-32); width: 100%; }
.course-section__diagram img { width: 100%; height: auto; display: block; }
.course-section__diagram-label {
  /* 【クライアント指示 2026-07-08】絶対配置だと図版に焼き込まれたロゴへ重なる（ずれ）。
     図版の上に置く見出し（in-flow）へ変更し重なりを解消。 */
  margin-bottom: var(--space-16);
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h2);                      /* 34px */
  line-height: var(--lh-h2);
  color: var(--c-accent-blue);
}

/* 実績ドーナツ（青パネル：合格率 / 就職率。CSS conic-gradient で再現・画像化しない） */
.course-section__stats { display: flex; gap: var(--space-16); padding: 0 var(--pad-x); width: 100%; }
.course-section__stat { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: var(--space-24); }
.course-section__stat-title { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: 30px; line-height: 1.45; color: var(--c-blue-900); text-align: center; }
.course-section__stat-sub { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: 18px; line-height: 1.55; color: var(--c-brand-900); text-align: center; }
.course-section__stat-note { margin-top: auto; font-family: var(--font-jp); font-weight: var(--fw-regular); font-size: var(--fs-body-sm); line-height: 1.4; color: var(--c-brand-900); text-align: center; }
.cs-donut { position: relative; width: 320px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; }
/* 【追加指示 2026-07-08】si-outcomes の web p ドーナツ(donut-*.webp)と太さ・色を一致させる。
   実測：リング厚=直径の13.1%（inset 13%）／金 #cfa141／アーク #f3e9df。05/07/09 は webp パス無し＝conic 維持が正。 */
.cs-donut--891 { background: conic-gradient(#cfa141 0 89.1%, #f3e9df 89.1% 100%); }
.cs-donut--100 { background: #cfa141; }
.cs-donut::after { content: ""; position: absolute; inset: 13%; background: var(--c-brand-white); border-radius: 50%; }
.cs-donut__center { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); color: var(--c-accent-blue); text-align: center; }  /* z-index:1＝白抜き ::after より前面（中央テキストが隠れる不具合の修正） */
.cs-donut__label { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: 32px; line-height: 1.45; }
.cs-donut__value { display: flex; align-items: baseline; font-family: var(--font-en); font-weight: var(--fw-bold); line-height: 1.45; }
.cs-donut__value .num { font-size: 78px; }
.cs-donut__value .pct { font-size: 44px; }
.cs-donut__foot { font-family: var(--font-jp); font-weight: var(--fw-regular); font-size: var(--fs-body); line-height: 1.4; color: var(--c-blue-900); }

/* チェック列（白ボックス＋チェックアイコン＋ラベル。青5列 / 緑4列） */
.course-section__checks { display: flex; gap: var(--space-16); width: 100%; }
.course-section__check { flex: 1 1 0; min-width: 0; background: var(--c-brand-white); padding: var(--space-32) var(--space-8); display: flex; flex-direction: column; align-items: center; gap: var(--space-10); }
.course-section__check-icon { width: 48px; height: 48px; flex: none; }
.course-section__check-label { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: 20px; line-height: 1.6; color: var(--c-brand-900); text-align: center; }

/* 白地の上の補足文（青：資格取得はゴールではない…） */
.course-section__note { font-family: var(--font-jp); font-weight: var(--fw-medium); font-size: var(--fs-body); line-height: 1.5; color: var(--c-brand-white); text-align: center; }

/* 文章＋写真の交互行（マゼンタ career-columns） */
.course-section__text-rows { display: flex; flex-direction: column; gap: var(--space-80); width: 100%; }
.course-section__text-row { display: flex; gap: var(--space-40); align-items: stretch; }
/* 【figma-parity】Figma はテキスト＝内容幅（短い行・上詰め）／写真＝残り幅(780px)。50/50 分割ではない */
.course-section__text-row-body { flex: none; align-self: flex-start; font-family: var(--font-jp); font-weight: var(--fw-regular); font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--c-brand-white); }
.course-section__text-row-media { flex: 1 1 0; min-width: 0; }
.course-section__text-row-media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }

/* 特長カード（緑 career：青ヘッダー＋本文の3列） */
.course-section__feature-cards { display: flex; gap: var(--space-16); width: 100%; }
.course-section__feature-card { flex: 1 1 0; min-width: 0; background: var(--c-brand-white); display: flex; flex-direction: column; gap: var(--space-16); padding-bottom: var(--space-24); }
.course-section__feature-head { background: var(--c-accent-blue); color: var(--c-brand-white); padding: var(--space-8); text-align: center; font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: 20px; line-height: 1.6; }
.course-section__feature-body { padding: 0 var(--space-16); font-family: var(--font-jp); font-weight: var(--fw-regular); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-brand-900); }
/* 【クライアント指示 2026-07-09】Figma（list-disc）どおり各 li に中点（•）を明示。
   既定 disc に依存せず list-style を固定＝将来の reset 混入でも中点が消えないよう恒久化。 */
.course-section__feature-body ul { margin: 0; padding-left: 1.4em; list-style: disc; }
.course-section__feature-body li { margin: 0; }

/* キャリアサポートカード（緑：2×2 の青文字カード） */
.course-section__career-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); width: 100%; }
.course-section__career-card { background: var(--c-brand-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: var(--space-24) var(--space-32); display: flex; align-items: center; }
.course-section__career-card p { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-h3); line-height: 1.4; color: var(--c-accent-blue); }

/* 講師紹介カード（3色共通・写真左＋プロフィール右） */
.course-section__instructor { width: 100%; background: var(--c-brand-white); border-radius: var(--radius-xl); min-height: 320px; display: flex; gap: var(--space-24); align-items: center; overflow: hidden; }
/* 【クライアント指示 2026-07-09】カード高は Figma 実測 320px（写真 h404 はクロップ）。
   旧 400px は高すぎ＝右プロフィールに余白が空きすぎる指摘に対応し Figma 準拠へ戻す。 */
@media (min-width: 1024px) {
  .course-section__instructor { height: 320px; }
}
.course-section__instructor-photo { flex: none; width: 537px; align-self: stretch; }
.course-section__instructor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-section__instructor-body { flex: 1 1 0; min-width: 0; padding: 0 30px 0 0; display: flex; flex-direction: column; gap: var(--space-24); }  /* 【figma-parity】右余白 30px（1260-537-24-669）。縦は card の align-items:center で中央寄せ＝Figma に padding 無し（旧 32px 上下は詰まり過ぎの指摘に対応） */
.course-section__instructor-label { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-lead); line-height: 1.6; color: var(--c-accent-blue); }
.course-section--magenta .course-section__instructor-label { color: var(--c-accent-magenta-light); }
.course-section__instructor-name { font-family: var(--font-jp); font-weight: var(--fw-bold); color: var(--c-brand-900); }
.course-section__instructor-name b { font-size: var(--fs-h3); }        /* 26px */
.course-section__instructor-name span { font-size: var(--fs-lead); }   /* 20px */
.course-section__instructor-role { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-lead); line-height: 1.6; color: var(--c-brand-900); }
.course-section__instructor-bio { margin-top: calc(-1 * var(--space-8)); font-family: var(--font-jp); font-weight: var(--fw-regular); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-brand-900); }  /* 【figma-parity】Figma は role+bio を 1グループ(gap16)＝body の gap24 から 8px 詰めて role→bio を 16px に */

/* 色地の上の section-head は eyebrow / bar / title を白へ（構造は共通のまま） */
.course-section .section-head {
  --sh-accent: var(--cs-text);
  --sh-title: var(--cs-text);
}

/* ==========================================================
 * 4. Buttons
 *   ピル型。最小タップ 44px。focus-visible リング（blue/500）。
 * ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-height: 44px;                        /* a11y 最小タップ領域（トークン化対象外の固定値） */
  padding: var(--space-12) var(--space-32);
  font-family: var(--font-jp);
  font-size: var(--fs-button);            /* 16px */
  line-height: var(--lh-button);
  font-weight: var(--fw-bold);
  border: 0;
  border-radius: var(--radius-pill);      /* 100px ピル */
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; /* モーション定数（トークン無し） */
}
/* 主要CTA（action/default → hover） */
.btn--cta {
  background: var(--c-action-default);    /* blue/500 #005efe */
  color: var(--c-brand-white);
}
.btn--cta:hover { background: var(--c-action-hover); } /* blue/700 */
/* 色地の上に置く白ボタン（course-section 内など） */
.btn--inverse {
  background: var(--c-brand-white);
  color: var(--c-action-default);
}
.btn--inverse:hover { color: var(--c-action-hover); }
.btn:focus-visible {
  outline: 3px solid var(--c-blue-500);   /* フォーカスリング幅/オフセットは a11y 定数（トークン無し） */
  outline-offset: 2px;
}

/* ==========================================================
 * 5. Tables（comparison-table 等）。HTML+CSS で再現・画像化禁止。
 *   SP は横スクロール＋「← 横にスクロールできます →」ヒント。
 * ========================================================== */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll__hint {
  display: none;                          /* PC では非表示。SP で表示 */
  margin-bottom: var(--space-8);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  color: var(--c-text-muted);
  text-align: center;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;                    /* <col> でカラム幅を制御 */
}
.data-table th,
.data-table td {
  padding: var(--space-16);
  border: 1px solid var(--c-border-default);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;                /* 固定幅セルでの溢れ防止 */
}
.data-table th {
  background: var(--c-bg-subtle);
  font-weight: var(--fw-bold);
}

/* ==========================================================
 * 6. Scroll-reveal（JS が .is-in を付与。main.js 参照）
 *   ★FOUC/no-JS 対策: 初期の隠し状態は html.is-js（main.js が最初に付与）配下のみ。
 *     JS 無効/失敗時は .reveal が常に可視のまま（コンテンツを永久に隠さない）。
 * ========================================================== */
html.is-js .reveal {
  opacity: 0;
  transform: translateY(var(--space-16));       /* 16px */
  transition: opacity 0.6s ease, transform 0.6s ease; /* 出現アニメ時間（トークン化対象外・モーション定数） */
  will-change: opacity, transform;
}
html.is-js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================
 * 6b. course-section タブレット補助（1023px）— 5列チェック等の横溢れ回避
 * ========================================================== */
@media (max-width: 1023px) {
  .course-section__checks { flex-wrap: wrap; }
  .course-section__check { flex: 1 1 30%; }
  .course-section__stats { padding: 0 var(--space-24); }
  .cs-donut { width: 280px; }
  .course-section__instructor-photo { width: 40%; }
}

/* ==========================================================
 * 7. Responsive — 768px 単一境界（REQUIREMENTS §5）
 * ========================================================== */
@media (max-width: 767px) {
  .container { padding-inline: var(--pad-x-sp); }        /* 24px */
  .section { padding-block: var(--section-y-sp); }       /* 64px */

  .course-section { padding: var(--section-y-sp) var(--pad-x-sp); gap: var(--section-y-sp); } /* 64 / 24 */

  /* --- course-section 内部 SP --- */
  .course-section__title-block { padding: 0 0 var(--space-48); }  /* 【追加指示 2026-07-08】SPは左右padding 0 */
  .course-section__eyebrow { font-size: 15px; white-space: normal; padding: var(--space-10) var(--space-20); }  /* 【追加指示 2026-07-08】SP 15px */
  html.is-js .reveal.is-in { padding-top: var(--space-24); }  /* 【追加指示 2026-07-08】SP 出現要素に上余白 24px */
  .course-section__title { font-size: var(--fs-h1-sp); line-height: var(--lh-h1-sp); }   /* 30px */
  .course-section__intro { padding: var(--space-24); gap: var(--space-24); }
  .course-section__intro-title { font-size: var(--fs-h2-sp); }     /* 25px */
  .course-section__intro-text { font-size: var(--fs-body); }
  .course-section__intro-media img { height: 220px; }
  .course-section__step-cards { flex-direction: column; gap: var(--space-16); }
  .course-section__block { gap: var(--space-24); }
  .course-section__block-title { font-size: var(--fs-h1-sp); }     /* 30px */
  .course-section__block-title--sm { font-size: var(--fs-h3-sp); } /* 21px（順序で --sm を優先） */
  .course-section__block-sub,
  .course-section__block-sub--lg { font-size: var(--fs-body); }
  .course-section__block-lead { font-size: var(--fs-h2-sp); }
  .course-section__panel--pad { padding: var(--space-40) 0; gap: var(--space-40); }
  .course-section__diagram { padding: 0 var(--space-16); }
  .course-section__diagram-label { position: static; margin-bottom: var(--space-16); font-size: var(--fs-h3-sp); }
  .course-section__stats { flex-direction: column; padding: 0 var(--space-24); gap: var(--space-40); }
  .cs-donut { width: 240px; }
  .cs-donut__value .num { font-size: 60px; }
  .cs-donut__value .pct { font-size: 34px; }
  .cs-donut__label { font-size: 26px; }
  .course-section__checks { flex-wrap: wrap; }
  .course-section__check { flex: 1 1 40%; }
  .course-section__text-row { flex-direction: column; gap: var(--space-16); }
  .course-section__text-row-body br { display: none; }   /* PCカンプ由来の固定改行はSPでは自然折返しに戻す */
  .course-section__text-row-media img { min-height: 220px; }
  .course-section__feature-cards { flex-direction: column; }
  .course-section__career-cards { grid-template-columns: 1fr; }
  .course-section__career-card p { font-size: var(--fs-h3-sp); }   /* 21px */
  .course-section__instructor { flex-direction: column; align-items: stretch; }
  .course-section__instructor-photo { width: 100%; height: 220px; align-self: auto; }
  .course-section__instructor-body { padding: var(--space-24); }

  .section-head__eyebrow { font-size: var(--fs-decor-label); }     /* 20px */
  .section-head__title {
    font-size: var(--fs-h2-sp);                          /* 25px */
    line-height: var(--lh-h2-sp);
  }

  .grid-3 { grid-template-columns: 1fr; }                /* 3 → 1 カラム */

  .data-table { min-width: 640px; }                      /* 横スクロールさせる */
  .table-scroll__hint { display: block; }
}

/* ==========================================================
 * 8. prefers-reduced-motion — アニメ/トランジション無効化（即時表示）
 * ========================================================== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn { transition: none !important; }
}

/* ==========================================================
 * PROMOTED from 04 (youseikouza.css): sns-* (SNS タイル / related-links)
 *   重複除去のため全6ページ共有分を 04 の figma-parity 値で一元化。
 *   値は 04 から verbatim（再チューニングしない）。
 * ========================================================== */
.sns-links { background: #ffffff; padding: var(--section-y) 0; }
.sns-links__inner { max-width: calc(var(--w-container) + var(--pad-x) * 2); margin-inline: auto; padding-inline: 20px; display: flex; flex-direction: column; gap: var(--space-80); }
.sns-group { display: flex; gap: var(--space-32); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.sns-group__head { display: flex; align-items: center; gap: 12px; }
.sns-group__mark { flex: none; width: 53px; height: 64px; background: var(--c-brand-900); transform: skewX(-20deg); }
.sns-group__headings { display: flex; flex-direction: column; }
.sns-group__eyebrow { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-lead); line-height: 1.6; color: #000000; }
.sns-group__title { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-h2); line-height: 1.45; color: #131936; }
.sns-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 90px)); gap: 5px 11px; justify-content: flex-end; margin-right: 8px; }
.sns-tile { display: block; aspect-ratio: 1; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); transition: transform 0.2s ease; }
.sns-tile img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sns-tile:hover { transform: translateY(-2px); }
.sns-tile:focus-visible { outline: 3px solid var(--c-blue-500); outline-offset: 2px; }
@media (max-width: 767px) {
  .sns-links__inner { padding-inline: var(--pad-x-sp); gap: var(--space-48); }
  .sns-group { flex-direction: column; align-items: flex-start; gap: var(--space-24); }
  .sns-group__title { font-size: var(--fs-h2-sp); }
  .sns-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); justify-content: stretch; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sns-tile {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================
 * PROMOTED from 04 (youseikouza.css): teacher-message + tm-* (講師メッセージ)
 *   重複除去のため全6ページ共有分を 04 の figma-parity 値で一元化。
 *   値は 04 から verbatim（再チューニングしない）。
 * ========================================================== */
.teacher-message {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  max-width: var(--w-stack, 1440px);           /* 【新指示】si-stack 同様 1440 中央（広幅で広がりすぎ防止） */
  margin-inline: auto;
  /* 【figma-parity 2157:17864】背景＝方眼紙（graph paper）。Figma のアートボード方眼が透過セクション越しに見える指定を
     CSS の 2 本の linear-gradient で再現（画像不要）。40px 升目・極薄クールグレー 1px。deco(MESSAGE)/本文の下に敷く。 */
  background-color: #ffffff;
  background-image:
    linear-gradient(to right, rgba(19, 25, 54, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(19, 25, 54, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0;
  padding: var(--section-y) var(--pad-x) 0;   /* 【figma-parity】下端は集合写真がセクション縁で切れる＝pb 0 */
  display: flex;
  flex-direction: column;
  gap: var(--space-80);
}
.teacher-message__deco {
  position: absolute;
  left: 50%;
  top: -44px;                                 /* 【figma-parity】Figma 中心 y=109・306px → 上に見切れる */
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-decor-giant);          /* 306px */
  line-height: 1;
  letter-spacing: 0;                          /* 【figma-parity】Figma は letterSpacing 0 */
  color: var(--c-blue-50);                    /* #eaf0ff */
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.teacher-message > :not(.teacher-message__deco) { position: relative; z-index: 1; }
.teacher-message__heading { display: flex; gap: var(--space-16); align-items: flex-end; justify-content: center; }
.teacher-message__heading img { width: 63px; height: 63px; flex: none; }
.teacher-message__heading h2 {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h1);                    /* 44px */
  line-height: 1;
  color: #131936;
}
.tm-row { display: flex; gap: var(--space-40); align-items: flex-start; }
.tm-row__media { flex: none; width: 620px; }
.tm-row__media img { width: 100%; height: 428px; object-fit: cover; display: block; }
.tm-row__text {
  flex: 1 1 0;
  min-width: 0;
  font-family: var(--font-jp);
  font-weight: var(--fw-regular);
  font-size: var(--fs-lead);                  /* 20px */
  line-height: var(--lh-lead);
  color: #131936;
}
/* 集合写真グループ（05-09 共有＝flex 中央・共有画像 message-teachers）base — PROMOTED from 06:502-503。
   04 は別画像・幅1225px固定の固有 override を youseikouza.css に残す（04 は後勝ちで維持）。 */
.teacher-message__group { width: 100%; display: flex; justify-content: center; }
.teacher-message__group img { width: 100%; max-width: 1244px; height: auto; display: block; }
@media (max-width: 767px) {
  .teacher-message { padding: var(--section-y-sp) var(--pad-x-sp); gap: var(--space-48); }
  .teacher-message__deco { font-size: 130px; top: 40px; }
  .teacher-message__heading img { width: 44px; height: 44px; }
  .teacher-message__heading h2 { font-size: var(--fs-h2-sp); }
  .tm-row { flex-direction: column; gap: var(--space-16); align-items: stretch; }
  .tm-row--image-right { flex-direction: column-reverse; }
  .tm-row__media { width: 100%; }
  .tm-row__media img { height: 240px; }
  .tm-row__text { font-size: var(--fs-body); }
}

/* ==========================================================
 * PROMOTED from 04 (youseikouza.css): si2-* (school-info #2 bands)
 *   重複除去のため全6ページ共有分を 04 の figma-parity 値で一元化。
 *   値は 04 から verbatim（再チューニングしない）。
 * ========================================================== */
.si2-banner { width: 100%; height: clamp(220px, 42.4vw, 610px); overflow: hidden; background: #ffffff; }
/* 【クライアント指示 2026-07-08】banner 背景をパララックス化（セクション間の演出）。
   PC＋fine ポインタ＋モーション許容時のみ。柄画像 url はページ固有だが attachment を共通で上書き
   （`.si2-banner .si2-banner__stripes`＝詳細度2で、ページ css の background ショートハンドに勝つ）。 */
@media (min-width: 768px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .si2-banner .si2-banner__stripes { background-attachment: fixed; }
}
/* レインボー斜めストライプ帯（純装飾・si2-banner-stripes.webp）— PROMOTED from 04:659-662 */
.si2-banner__stripes {
  display: block; width: 100%; height: 100%;
  background: url("../images/si2-banner-stripes.webp") top center / cover no-repeat;
}
.si2-band { padding: var(--section-y) 0; }
.si2-band--tint  { background: var(--c-blue-50); }
.si2-band--white { background: #ffffff; }
.si2-band--gray  { background: var(--bg-school-info); }
.si2-inner {
  max-width: calc(var(--w-container) + var(--pad-x) * 2);      /* 1440 */
  margin-inline: auto;
  padding-inline: var(--pad-x);                                /* 90 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-64);
}
.si2-head { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); text-align: center; max-width: 1100px; }
.si2-head--left { align-items: flex-start; text-align: left; }
.si2-eyebrow { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-h3); line-height: 1.4; color: #131936; }
.si2-title { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-h1); line-height: 1.4; color: #131936; }
.si2-sub { font-family: var(--font-jp); font-weight: var(--fw-regular); font-size: var(--fs-body); line-height: 1.74; color: #131936; }
.si2-sub--left { text-align: left; }
.si2-head .si2-sub { margin-top: var(--space-24); }
.si2-teachers .si2-head .si2-sub { margin-top: var(--space-8); }
.si2-linkbtn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-32);
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);              /* 12→8 相当。Figma 8px */
  padding: var(--space-24) var(--space-40) var(--space-24) var(--space-24);
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.si2-linkbtn:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-1px); }
.si2-linkbtn:focus-visible { outline: 3px solid var(--c-blue-500); outline-offset: 2px; }
.si2-linkbtn__text { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-lead); line-height: 1.6; color: var(--c-accent-blue); text-align: left; }
.si2-linkbtn__chev { flex: none; width: auto; height: 16px; }  /* ユーザー確定 chevron（濃紺 11x18・viewBox 0 0 11 18）を自然比で表示＝width:auto（8px固定だと横に潰れる）。height16 は design-system 準拠 */
.si2-linkbtn--green { background: var(--c-success-500); border-color: var(--c-success-500); }
.si2-linkbtn--green .si2-linkbtn__text { color: #ffffff; }
.si2-cards2 { width: 100%; max-width: 1280px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-48); }
.si2-card { display: block; aspect-ratio: 295 / 166; overflow: hidden; }
.si2-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.si2-cards4 { width: 100%; max-width: 1280px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-20); }
.si2-ecard { position: relative; display: block; aspect-ratio: 295 / 166; }
.si2-ecard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.si2-ecard__badge {
  position: absolute; top: -10px; right: -10px;
  width: 50px; height: 50px; border-radius: var(--radius-pill);
  background: #ff0000; color: #ffffff;
  font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-body); line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.si2-checks { width: 100%; max-width: 1280px; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); }
.si2-check { display: flex; align-items: center; gap: var(--space-16); background: #ffffff; border-radius: var(--radius-xl); box-shadow: 0 4px 16px rgba(0,0,0,0.1); padding: var(--space-24) var(--space-32); }
.si2-check__icon { flex: none; width: 48px; height: 48px; }
.si2-check p { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-h3); line-height: 1.4; color: var(--c-accent-blue); }
.si2-recruit__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-24); }
.si2-recruit__lead { font-family: var(--font-jp); font-weight: var(--fw-regular); font-size: var(--fs-lead); line-height: 1.6; color: #131936; }
.si2-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-16); }
.si2-bullets li { position: relative; padding-left: 38px; font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-lead); line-height: 1.4; color: #131936; }
.si2-bullets li::before { content: ""; position: absolute; left: 20px; top: calc(50% - 5px); width: 10px; height: 10px; border-radius: var(--radius-5); background: var(--c-accent-blue); }
.si2-recruit__note { font-family: var(--font-jp); font-weight: var(--fw-regular); font-size: var(--fs-lead); line-height: 1.6; color: #131936; }
.si2-recruit__media { flex: none; width: 606px; max-width: 50%; }
.si2-recruit__media img { width: 100%; height: auto; display: block; }
/* teachers 帯（写真背景バンド）base — PROMOTED from 04:722 */
.si2-teachers { padding: 50px 0 24px; background: #efece4 url("../images/teachers-group.webp") center / cover no-repeat; }
.si2-teachers__inner { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: var(--space-48); min-height: 696px; }
/* 注意（2026-07-09）：.si2-mission .si2-inner の PC padding-inline:80px は 04 固有（04 のみ 80px、05-09 は既定 .si2-inner 90px）。
   common へ昇格すると frozen 05 と 06-09 を 90→80 に変えてしまうため昇格しない＝04 に据置。SP24 は末尾 @media で共通。 */
.si2-mission__figure { width: 100%; max-width: 1280px; }
.si2-mission__figure img { width: 100%; height: auto; display: block; }
.si2-mv-rows { width: 100%; max-width: 1280px; display: flex; flex-direction: column; gap: var(--space-64); }
.si2-mv-row { display: flex; gap: 18px; align-items: flex-start; }
.si2-mv-label { flex: none; width: 400px; font-family: var(--font-en); font-weight: var(--fw-bold); font-size: 64px; line-height: 32px; letter-spacing: 0.16px;  /* 【figma-parity】Figma は 32px 行箱（詰め組み） */ color: var(--c-accent-blue); }
.si2-mv-text { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-lead); line-height: 1.6; color: #131936; }
.si2-access__block { width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--space-40); }
.si2-acards { width: 100%; display: flex; gap: var(--space-24); align-items: stretch; justify-content: center; }
.si2-acard { flex: 1 1 0; min-width: 0; background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); padding: var(--space-32); }
.si2-acard--wide { flex: 2 1 0; }
.si2-acard__title { display: flex; align-items: center; gap: var(--space-8); font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-lead); line-height: 1.6; color: #131936; margin-bottom: var(--space-24); }
.si2-acard__ic { flex: none; width: auto; height: 24px; }
.si2-acard__cols { display: flex; gap: var(--space-40); }
.si2-acard__cols .si2-acard__rows { flex: 1 1 0; min-width: 0; }
.si2-acard__rows { display: flex; flex-direction: column; gap: var(--space-16); }
.si2-acard__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-8); }
.si2-acard__row > span { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-body); line-height: 24px; color: #131936; }
.si2-min { flex: none; display: inline-flex; align-items: baseline; font-family: var(--font-en); font-weight: var(--fw-bold); font-size: 24px; line-height: normal; color: var(--c-success-500); }
.si2-min > span { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-body-sm); margin-left: 2px; }
.si2-areas { width: 100%; background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); padding: var(--space-24) var(--space-32); display: flex; flex-wrap: wrap; gap: var(--space-16) var(--space-40); justify-content: space-around; }
.si2-area { display: flex; align-items: baseline; gap: 2px; }
.si2-area__name { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-body); color: #131936; }
.si2-area__sub { font-family: var(--font-jp); font-weight: var(--fw-regular); font-size: var(--fs-body); color: #131936; }
.si2-accessmap { width: 100%; max-width: 1260px; }
.si2-accessmap img { width: 100%; height: auto; display: block; }
.si2-schools { width: 100%; display: flex; gap: var(--space-24); align-items: stretch; }
.si2-school { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-20); }
.si2-school__photo img { width: 100%; height: 264px; object-fit: cover; display: block; }
.si2-school__logo { height: 126px; width: auto; align-self: flex-start; }
/* 【FB 2026-07-09 項目16】学校名は2行分の高さを確保＝1行名のカードでも info(住所…) の頭が3カード横並びで揃う（Figma準拠の頭揃え）。line-height 1.5 × 2行 = 3em。 */
.si2-school__name { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-lead); line-height: 1.5; color: #131936; min-height: 3em; }
.si2-school__info { display: flex; flex-direction: column; gap: var(--space-8); margin-top: -8px; }
.si2-school__info p { display: flex; gap: var(--space-8); align-items: flex-start; font-family: var(--font-jp); font-weight: var(--fw-regular); font-size: 12px; line-height: 1.5; color: #131936; }
.si2-school__info img { flex: none; width: 16px; height: 16px; margin-top: 3px; }
.si2-school__map { margin-top: auto; }
.si2-school__map img { width: 100%; height: 214px; object-fit: cover; display: block; }
.si2-school__map iframe { width: 100%; height: 214px; border: 0; display: block; }  /* 【クライアント指示 2026-07-08】静的地図画像→Googleマップ埋め込み */
.si2-mapbtn { display: flex; align-items: center; justify-content: center; gap: var(--space-8); height: 44px; background: var(--c-brand-900); border-radius: 6px; color: #ffffff; font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-body-sm); text-decoration: none; transition: opacity 0.2s ease; }
.si2-mapbtn img { flex: none; }
.si2-mapbtn:hover { opacity: 0.88; }
.si2-mapbtn:focus-visible { outline: 3px solid var(--c-blue-500); outline-offset: 2px; }
.si2-subhead__note { font-weight: var(--fw-regular); font-size: 18px; }
.si2-hw { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-24); }
.si2-hw__card { display: flex; align-items: center; gap: var(--space-16); background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); padding: var(--space-24) var(--space-32); }
.si2-hw__card img { flex: none; width: 48px; height: 48px; }
.si2-hw__card p { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-h3); line-height: 1.4; color: #131936; }
@media (max-width: 1023px) {
  .si2-title { font-size: 34px; }
  .si2-cards4 { grid-template-columns: 1fr 1fr; }
  .si2-acards { flex-wrap: wrap; }
  .si2-acard { flex: 1 1 40%; }
  .si2-acard--wide { flex: 1 1 100%; }
  .si2-recruit__media { width: 46%; }
}
@media (max-width: 767px) {
  .si2-band { padding: var(--section-y-sp) 0; }
  .si2-inner { padding-inline: var(--pad-x-sp); gap: var(--space-40); }
  .si2-title { font-size: var(--fs-h1-sp); }
  .si2-eyebrow { font-size: var(--fs-h3-sp); }
  .si2-linkbtn { width: 100%; padding: var(--space-16) var(--space-20); gap: var(--space-16); justify-content: space-between; }  /* 【feedback-04】SP 全幅ボタンは chev を右端へ（従来は text 直後に浮いて中央付近に見える不具合） */
  .si2-linkbtn__text { flex: 1 1 auto; font-size: var(--fs-body); }
  .si2-cards2 { grid-template-columns: 1fr; gap: var(--space-16); }
  .si2-cards4 { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
  .si2-checks { grid-template-columns: 1fr; }
  .si2-check { padding: var(--space-20) var(--space-24); }
  .si2-check p { font-size: var(--fs-h3-sp); }
  .si2-recruit__media { width: 100%; max-width: none; }
  .si2-teachers__inner { flex-direction: column; align-items: flex-start; gap: var(--space-24); min-height: 0; padding-bottom: 68vw; }  /* 【追加指示 2026-07-08】Figma 2203:24879＝上はベージュ無地にテキスト/ボタン、下に写真バンド。padding-bottom 68vw(=100vw/1.5 写真アスペクト)で写真高ぶんを確保 */
  /* SP 実バンド：上はベージュ無地・下に写真を全幅で下寄せ — PROMOTED from 04:808（padding+background の完全一致。__inner の padding-bottom:68vw が写真高を確保） */
  .si2-teachers { padding: 30px 0 0; background: #f5f3ed url("../images/teachers-group.webp") center bottom / 100% auto no-repeat; }
  .si2-mv-row { flex-direction: column; gap: var(--space-8); }
  .si2-mv-label { width: auto; font-size: 40px; }
  .si2-mv-text { font-size: var(--fs-body); }
  .si2-acards { flex-direction: column; }
  .si2-acard--wide { flex: none; }
  .si2-acard__cols { flex-direction: column; gap: var(--space-16); }
  .si2-areas { justify-content: flex-start; gap: var(--space-12) var(--space-24); }
  .si2-accessmap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .si2-accessmap img { min-width: 680px; }
  .si2-schools { flex-direction: column; }
  .si2-school__photo img,
  .si2-school__map img { height: 200px; }
  .si2-hw { grid-template-columns: 1fr; }
  .si2-hw__card p { font-size: var(--fs-h3-sp); }
}
@media (prefers-reduced-motion: reduce) {
  .si2-linkbtn,
  .si2-mapbtn {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================
 * PROMOTED from 04 (youseikouza.css): si-* (faq-recap: schedule/price/fee/info-card ほか全6ページ共有分)
 *   重複除去のため全6ページ共有分を 04 の figma-parity 値で一元化。
 *   値は 04 から verbatim（再チューニングしない）。
 * ========================================================== */
.school-info { background: var(--bg-school-info); }              /* #F1F5F9 — PROMOTED from 04:222（school-info-section 背景） */
/* 実績ドーナツ（si-outcomes）— PROMOTED from 04:471-495（webp版・単一ソース／バグ1修正：06/08 の旧 conic を廃し全ページ同一 webp を consume）。
   Figma 実画像に置換済み（conic 再現不能な角丸端点のため）。画像 donut-891/100.webp は Phase3 で assets/images 配下へ移設。 */
.si-donut {
  position: relative;
  width: 320px;                                /* 【figma-parity】Figma 実寸 320 */
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
}
.si-donut--891 { background: url("../images/donut-891.webp") center / contain no-repeat; }
.si-donut--100 { background: url("../images/donut-100.webp") center / contain no-repeat; }
.si-donut__center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  color: var(--c-accent-blue);
}
.si-donut__label { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: 32px; line-height: 1.45; }
.si-donut__value { font-family: var(--font-en); font-weight: var(--fw-bold); font-size: 78px; line-height: 1.1; }
.si-donut__value span { font-size: 44px; }
.si-donut__foot { font-family: var(--font-jp); font-size: var(--fs-body); color: var(--c-blue-900); line-height: 1.4; }
.si-stack {
  max-width: 1440px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--content-gap);                                       /* 112px */
  padding-block: var(--section-y);                               /* 120px */
}
.si-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-64);
  padding-inline: var(--pad-x);                                  /* 90px */
}
.si-heading {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h1);                                       /* 44px */
  line-height: var(--lh-h1);
  color: #131936;
  text-align: center;
}
.si-heading__mid { font-weight: var(--fw-regular); }
/* 【FB 2026-07-09 項目2】見出しの強弱：導入行を 26px に落として主メッセージ行(44px)を際立たせる。
   Figma 2157:16901（"通学 / 通信ハイブリッドコースは"=26px / "こんな方におすすめ"=44px、共に Bold）。 */
.si-heading__lead { font-size: var(--fs-h3); }   /* 26px */
.si-subhead { display: flex; flex-direction: column; align-items: center; gap: var(--space-24); }
.si-subhead__title { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-h2); line-height: var(--lh-h2); color: #131936; text-align: center; }
.si-subhead--inverse .si-subhead__title { color: #ffffff; }
.si-underline { width: 110px; height: 3px; background: var(--c-accent-blue); border-radius: 2px; }
.si-schedule {
  background: #ffffff;
  padding: var(--space-64) 0 var(--space-80);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-48);
}
.si-schedule__cards {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
  padding-inline: var(--space-24);
}
.si-course-card {
  border: 1px solid var(--cb);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  padding-bottom: var(--space-24);
  overflow: hidden;
}
.si-course-card--blue  { --cb:#b9d1ff; --hd:#d6e4ff; --ht:#003b98; --bar:#143196; --tag:#003b98; }
.si-course-card--pink  { --cb:#ffb9e0; --hd:#ffd6ed; --ht:#d81b60; --bar:#e91e63; --tag:#e91e63; }
.si-course-card--green { --cb:#afeeaf; --hd:#d6ffd6; --ht:#1b5e20; --bar:#2e7d32; --tag:#1b5e20; }
.si-course-card__head { display: flex; flex-direction: column; gap: var(--space-16); }
.si-course-card__tagline {
  background: var(--bar);
  color: #ffffff;
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  padding: var(--space-8) var(--space-12);
}
.si-course-card--green .si-course-card__tagline { font-size: 18px; line-height: 1.74; }
.si-course-card__name {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 26px;
  line-height: 1.4;
  color: #1a1a1a;
  text-align: center;
}
.si-course-card__name span { font-weight: var(--fw-regular); font-size: var(--fs-body); }
.si-course-card__sched { padding-inline: var(--space-20); width: 100%; }
.si-sched-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  border: 1px solid var(--cb);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.si-sched-table th,
.si-sched-table td {
  padding: 0;
  border: 0;
  border-right: 1px solid var(--cb);
  border-bottom: 1px solid var(--cb);
  text-align: center;
  vertical-align: middle;
  overflow-wrap: normal;
}
.si-sched-table tr > *:last-child { border-right: 0; }
.si-sched-table tr:last-child > * { border-bottom: 0; }
.si-sched-table tr:first-child th {                              /* 曜日ヘッダー行 */
  height: 32px;
  background: var(--hd);
  color: var(--ht);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: var(--fs-caption);                                 /* 12px */
}
.si-sched-table tr + tr th {                                    /* 行見出し（6ヶ月/1期/1年間） */
  height: 44px;
  background: #ffffff;
  color: var(--ht);
  font-family: var(--font-en);
  font-weight: 600;
  font-size: var(--fs-caption);
}
.si-sched-table td {
  height: 44px;
  background: #ffffff;
  color: #1a1a1a;
  font-family: var(--font-en);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
}
.si-course-card__foot { display: flex; flex-wrap: wrap; gap: var(--space-24); padding-inline: var(--space-20); }
.si-course-card__slot { display: flex; gap: var(--space-8); align-items: center; }
.si-tag {
  background: var(--tag);
  color: #ffffff;
  font-family: var(--font-en);
  font-weight: var(--fw-bold);
  font-size: var(--fs-caption);
  line-height: 1;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.si-time { font-family: var(--font-en); font-weight: var(--fw-medium); font-size: var(--fs-body-sm); color: #1a1a1a; }
.si-price {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: var(--space-64) 48px;   /* 【クライアント指示 2026-07-08】64 / 48 */
}
.si-price__shape {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 872px;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 0;
}
.si-price__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-48);
  padding-inline: var(--pad-x);
}
.si-price__regular {
  background: #ffffff;
  border: 2px solid var(--c-brand-50);                           /* #ebecf2 */
  padding: var(--space-32);
  display: flex;
  gap: var(--space-24);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.si-price__label {
  border: 1px solid var(--c-gray-300);
  padding: var(--space-8);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.si-price__label-title { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: 20px; line-height: 1.4; color: #131936; }
.si-price__label-note { font-family: var(--font-jp); font-size: var(--fs-body-sm); line-height: 1.6; color: #707070; }
.si-price__amount,
.si-price__new-amount {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
  font-family: var(--font-en);
  font-weight: var(--fw-bold);
  color: #131936;
  font-size: 54px;
  line-height: 1;
}
.si-price__unit { display: flex; flex-direction: column; align-items: center; align-self: flex-end; font-family: var(--font-jp); }  /* align-self:flex-end で「円」が数字ベースラインに揃う（税込/円が下へ落ちるズレ修正） */
.si-price__unit small { font-size: var(--fs-caption); font-weight: var(--fw-regular); line-height: 1; }
.si-price__unit { font-size: 26px; font-weight: var(--fw-bold); }
.si-price__campaign {
  position: relative;
  align-self: stretch;
  background: var(--c-blue-500);                                 /* #005efe */
  border-radius: var(--radius-xl);
  padding: var(--space-24) 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.si-price__campaign-title {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h2);                                       /* 34px */
  line-height: 1.45;
  color: #ffffff;
  text-align: center;
}
.si-price__campaign-row { display: flex; gap: var(--space-24); align-items: center; flex-wrap: wrap; justify-content: center; }
.si-price__old { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); color: #ffffff; text-align: center; }
.si-price__old-label { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: 20px; line-height: 1.6; }
.si-price__old-amount { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: 26px; line-height: 1.4; }
.si-price__old-amount s { font-family: var(--font-en); }
.si-price__arrow { width: 40px; height: 40px; flex: none; }
.si-price__new { background: #ffffff; border-radius: var(--radius-sm); width: 417px; max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--space-8); padding-bottom: var(--space-16); overflow: hidden; }
.si-price__new-banner {
  width: 100%;
  background: #ffff00;
  color: #131936;
  font-family: var(--font-en);
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);
  text-align: center;
  padding: var(--space-8) var(--space-20);
}
.si-price__new-amount { color: var(--c-accent-magenta); font-size: 58px; padding-inline: var(--space-24); }
.si-price__new-amount .si-price__unit { color: var(--c-accent-magenta); font-size: 30px; }
.si-price__new-amount .si-price__unit small { font-size: var(--fs-body-sm); }
.si-price__badge {
  position: absolute;
  top: -50px; left: -40px;
  width: 176px; height: 176px;
  border-radius: 50%;
  background: var(--c-accent-lime);                              /* #61ff48 */
  transform: rotate(-10deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  z-index: 2;
  color: #ffff00;
  text-align: center;
  filter: drop-shadow(2px 2px 1px rgba(0,0,0,0.25));
}
.si-price__badge-top { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: 22px; line-height: 1; }
.si-price__badge-main { display: flex; align-items: center; gap: var(--space-4); }
.si-price__badge-num { font-family: var(--font-en); font-weight: var(--fw-extrabold); font-size: 64px; line-height: 1; letter-spacing: -1px; }
.si-price__badge-off { font-family: var(--font-jp); font-weight: 900; font-size: 24px; line-height: 1.1; text-align: left; }
.si-info-card {
  display: flex;
  align-items: center;
  gap: var(--space-20);
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: var(--space-24) var(--space-32);
  text-decoration: none;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.si-info-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.14); transform: translateY(-2px); }
.si-info-card:focus-visible { outline: 3px solid var(--c-blue-500); outline-offset: 2px; }   /* PROMOTED from 04-scope pages（a11y フォーカスリング・全ページ共通） */
.si-info-card__icon {
  flex: none;
  width: 64px; height: 64px;
  border-radius: 32px;
  background: var(--c-blue-50);                                  /* #eaf0ff */
  display: flex; align-items: center; justify-content: center;
}
.si-info-card__icon--bare { background: transparent; }
.si-info-card__icon img { width: 32px; height: 32px; }
.si-info-card__icon--bare img { width: 64px; height: 64px; }
.si-info-card__body { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-8); }
.si-info-card__title { font-family: var(--font-jp); font-weight: var(--fw-bold); font-size: var(--fs-h3); line-height: 1.4; color: var(--c-accent-blue); }
.si-info-card__text { font-family: var(--font-jp); font-size: var(--fs-body); line-height: var(--lh-body); color: #131936; }
.si-info-card__text strong { font-weight: var(--fw-bold); }
.si-info-card__chevron { flex: none; width: 32px; height: 32px; }
.si-info-card--counsel {
  background: var(--c-accent-magenta);                           /* #f879ff */
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  width: 622px;
  max-width: 100%;
  margin-inline: auto;
  margin-top: var(--space-24);                 /* 【figma-parity/Codex】Figma CTA行の追加余白（カンプ実測 +24） */
  padding-block: 36px;                         /* 【figma-parity/Codex】カンプ実測（カード高 ≈136px） */
}
.si-info-card--counsel .si-info-card__title,
.si-info-card--counsel .si-info-card__text { color: #ffffff; }
/* 関連導線カード（related）— PROMOTED from 04:523-524 */
.si-related { gap: var(--space-24); }
.si-related__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); }
@media (max-width: 1023px) {
  .si-heading { font-size: 34px; }
  .si-price__campaign { padding-inline: var(--space-48); }
}
@media (max-width: 767px) {
  .si-stack { gap: var(--section-y-sp); padding-block: var(--section-y-sp); }
  .si-block { padding-inline: var(--pad-x-sp); gap: var(--space-32); }
  .si-heading { font-size: 24px; }  /* 【追加指示 2026-07-08】SP 24px */
  .si-schedule { padding: var(--space-40) 0 var(--space-48); }
  .si-schedule__cards { grid-template-columns: 1fr; padding-inline: var(--space-16); }
  .si-sched-table { min-width: 0; }
  .si-sched-table--week { min-width: 360px; }
  .si-course-card--green .table-scroll__hint { display: none; }
  .si-price__content { padding-inline: var(--pad-x-sp); }
  .si-price__shape { width: 640px; }
  .si-subhead__title { font-size: var(--fs-h2-sp); }
  .si-price__amount { font-size: 40px; }
  .si-price__campaign { padding: 56px var(--space-20) var(--space-24); }  /* 【追加指示 2026-07-08】バッジを左上に逃がすため上pad 56（Figma 2203:24822 準拠） */
  .si-price__campaign-title { font-size: var(--fs-h2-sp); }
  .si-price__campaign-row { flex-direction: column; width: 100%; }  /* 【追加指示 2026-07-08】幅未指定だと子 .si-price__new(width:417px) の幅までrowが膨張し青カードを突き破る崩れ→100%で青カード内に収める（max-width:100%が効くようになる） */
  .si-price__arrow { transform: rotate(90deg); }              /* 【追加指示 2026-07-08】SPは縦積み＝矢印を下向きに（Figma 準拠） */
  .si-price__new-banner { font-size: 10px; }  /* 【追加指示 2026-07-08】SPは黄バナーを 10px（1行に収める） */
  .si-price__new-amount { font-size: 36px; padding-inline: var(--space-8); }  /* 【追加指示 2026-07-08】狭幅で白カード幅を超えて「円」がクリップ→フォント/左右padを詰めて収める */
  /* 【追加指示 2026-07-08】badge：120px円に文字(今だけ22/20が46/万円OFF!24)が大きすぎOFF!が円外へはみ出す崩れ
     →円128px＋Figma比率(今だけ16/20が50/万円OFF!14)＋gap詰めで円内に収める */
  .si-price__badge { width: 128px; height: 128px; top: -82px; left: -10px; transform: rotate(-10deg); gap: 2px; }  /* top を上げてタイトルへの被りを解消（上の白カード空き角に軽く掛かるのは Figma 同様） */
  .si-price__badge-top { font-size: 16px; }
  .si-price__badge-num { font-size: 50px; }
  .si-price__badge-off { font-size: 14px; }
  .si-info-card { padding: var(--space-20); gap: var(--space-16); }
  .si-info-card__title { font-size: var(--fs-h3-sp); }
  .si-info-card__text { font-size: 14px; }
  .si-info-card--counsel { width: auto; }
  .si-related { gap: var(--space-24); }   /* SP でも 24（.si-block の SP gap:32 に負けないよう @media 内で再宣言。旧＝各ページ page-css が後勝ちで担保していた分） */
  .si-related__grid { grid-template-columns: 1fr; }   /* PROMOTED from 04:609（SP 1カラム） */
  /* si-donut SP — PROMOTED from 04:586-589 */
  .si-donut { width: 240px; }
  .si-donut__value { font-size: 60px; }
  .si-donut__value span { font-size: 34px; }
  .si-donut__label { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .si-info-card {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================
 * PROMOTED from 04 (youseikouza.css): breadcrumb-bar* (パンくずバー・共有レイアウト)
 *   重複除去のため全6ページ共有分を 04 の figma-parity 値で一元化。
 *   値は 04 から verbatim（再チューニングしない）。
 * ========================================================== */
.breadcrumb-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-24);
  min-height: var(--breadcrumb-height);      /* 160px */
  padding: 0 0 var(--space-24) var(--space-40);   /* 【figma-parity】Figma は pb24/pl40 のみ（上padding無し） */
  background: #ffffff;
  max-width: var(--w-stack, 1440px);         /* 【新指示】si-stack 同様 1440 中央（hero と揃う・広幅で広がりすぎ防止） */
  margin-inline: auto;
  width: 100%;
}
.breadcrumb-bar__title {
  display: flex;
  align-items: flex-start;                   /* ロゴと見出し列は上揃え（両者とも 136px 高） */
  gap: var(--space-24);
}
.breadcrumb-bar__logo {
  width: auto;
  height: 136px;                             /* 【item17】Figma 実測 h136（見出しブロック pt24+32+20+20+40=136 と同高＝title 高さいっぱい） */
  flex: none;
}
.breadcrumb-bar__headings { display: flex; flex-direction: column; padding-top: var(--space-24); }
.breadcrumb-bar__school {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-decor-slogan);         /* 24px */
  line-height: 32px;
  color: #131936;
  margin-bottom: var(--space-20);            /* 【figma-parity】Figma pb-20 */
}
.breadcrumb-bar__sub {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-body-sm);              /* 14px */
  line-height: 20px;
  color: #131936;
}
.breadcrumb-bar__page {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 36px;
  line-height: 40px;
  color: #131936;
}
.breadcrumb-bar__crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-8);
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-jp);
  font-weight: var(--fw-medium);
  font-size: var(--fs-caption);              /* 12px */
  line-height: 24px;
  color: #131936;
}
.breadcrumb-bar__crumbs { flex: none; padding: var(--space-12) var(--space-24); }   /* PROMOTED from 04:24（base。07/09 は据置 variant） */
.breadcrumb-bar__crumbs a { color: #131936; text-decoration: none; }
.breadcrumb-bar__crumbs a:hover { text-decoration: underline; }
.breadcrumb-bar__crumbs [aria-current="page"] { color: var(--c-gray-500); }
@media (max-width: 767px) {
  /* SP 縮約：バーの上余白を詰め、パンくずは非表示 — PROMOTED from 04:185-189 */
  .breadcrumb-bar { min-height: 0; padding: var(--space-24) var(--pad-x-sp); }
  .breadcrumb-bar__crumbs { display: none; }
  .breadcrumb-bar__title { gap: var(--space-16); }
  .breadcrumb-bar__logo { width: 96px; height: auto; }   /* SP は幅基準に戻す（PC の h136 を解除） */
  .breadcrumb-bar__school { font-size: 18px; line-height: 26px; margin-bottom: var(--space-8); }
  .breadcrumb-bar__page { font-size: 22px; line-height: 30px; }
}

/* ==========================================================
 * PROMOTED from 04 (youseikouza.css): hero + top-banner（hero はレイアウトのみ・背景画像はページ固有で維持）
 *   重複除去のため全6ページ共有分を 04 の figma-parity 値で一元化。
 *   値は 04 から verbatim（再チューニングしない）。
 * ========================================================== */
/* 【クライアント指示 2026-07-08 / Figma 2201:24282】
   ストライプ＋顔写真は 544px の「帯」。キャプションはその下の白地にセンター寄せ
   （旧＝写真をセクション全面 cover にしキャプションを重ねていた→顔にかぶる不具合を解消）。 */
.hero {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  max-width: var(--w-hero, 1440px);           /* 【item17】≥1440 は 1440 固定＝伸縮させず左右に白余白（.hero 白地が出る） */
  margin-inline: auto;
  width: 100%;
}
.hero__photo {                                /* 帯本体（背景 url はページ固有 css で .hero__photo に指定） */
  width: 100%;
  height: var(--hero-height);                 /* 544px */
}
.hero__caption {
  width: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-12) var(--space-16);
}
.hero__en {
  font-family: var(--font-en);
  font-weight: var(--fw-bold);
  font-size: var(--fs-decor-slogan);         /* 24px */
  line-height: 32px;
  color: #131936;
  text-align: center;
}
.hero__ja {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 32px;
  line-height: 40px;
  color: #131936;
  text-align: center;
}
@media (max-width: 767px) {
  .hero__photo { height: var(--hero-height-sp); }
  .hero__caption { padding: var(--space-10) var(--space-16); align-items: flex-start; text-align: left; }  /* 【追加指示 2026-07-08】SPは左揃え */
  .hero__en { font-size: 14px; line-height: 20px; }
  .hero__ja { font-size: 20px; line-height: 30px; }   /* 【追加指示 2026-07-08】20px */
}
/* 【追加指示 2026-07-08】PC(≥1366)：キャプションを写真帯の左下へオーバーレイ（白ボックス・左揃え／画像1の配置） */
@media (min-width: 1366px) {
  .hero { position: relative; }
  .hero__caption {
    position: absolute;
    left: 0;
    bottom: 100px;
    width: auto;
    max-width: 92%;
    align-items: flex-start;
    text-align: left;
    padding: var(--space-12) var(--space-24) var(--space-12) var(--space-16);
  }
}

/* ==========================================================
 * PROMOTED from 04 (youseikouza.css): top-banner
 *   重複除去のため全6ページ共有分を 04 の figma-parity 値で一元化。
 *   値は 04 から verbatim（再チューニングしない）。
 * ========================================================== */
.top-banner {
  display: flex;
  justify-content: center;
  padding: var(--space-48) var(--space-24) var(--space-64);
  background: #ffffff;
}
.top-banner__media {
  display: block;
  width: 100%;
  max-width: 1140px;
}
.top-banner__media img { width: 100%; height: auto; display: block; }
@media (max-width: 767px) {
  .top-banner { padding: var(--space-32) var(--pad-x-sp) var(--space-40); }
}

/* ==========================================================
 * ===== promoted (Pattern A) from 04: course-overview =====
 *   04/06/08 共有の講座概要（吹き出し／青地カード／運営ブロック）。
 *   04 の figma-parity 値で一元化（verbatim・再チューニングしない）。
 *   .ov-question__cloud の背景画像 url は全ページ同一 → common で単一ソース化（2026-07-09 昇格）。
 *   ov-card__name の cap-trim は course-overview 固有分のみここへ（cta-pill/si- は別）。
 * ========================================================== */
.course-overview {
  background: var(--bg-course-overview);     /* #F6F7FB（テーマ非反転） */
  padding-top: var(--section-y);             /* 120px */
}

/* --- 4a. overview-header：不安に答える吹き出し --- */
.course-overview__header {
  /* Figma では illust(左端)＋cloud(右) が横並びで幅いっぱいを使う。
     max-width を絞り過ぎると 1440 でも折り返すため、フルブリード幅＋pad-x とする
     （1440 で内寸 1260 ≥ illust493+cloud640+gap32 で横並び、1024 以下は折り返し）。 */
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 0;                          /* 【クライアント指示 2026-07-08 / Figma 2203:24698】左右 padding 不要（イラストを左端までブリード） */
}
.ov-question {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ov-question__label {
  position: relative;
  max-width: 830px;
  margin: 0 auto var(--space-64);
  padding: var(--space-16) var(--space-24);
  background: var(--c-brand-300);            /* #50587d */
  color: #ffffff;
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h2);                   /* 34px */
  line-height: 1.45;
  text-align: center;
}
.ov-question__label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-top: 18px solid var(--c-brand-300);
}
/* 【クライアント指示 2026-07-08】1440px未満（縮小時）：イラストを左下の背景レイヤーに固定し、
   雲＋リストを右へ。折り返して下へ回り込む挙動を解消（≥1440 の Figma 実配置は下部 @media で維持）。 */
/* 【クライアント指示 2026-07-08】1024–1439：イラストと雲を「左寄せのペア」にして固定の狭い間隔を保つ
   （旧＝雲を margin-left:auto で右端へ寄せていたため、幅が広がるほど間隔が開きすぎた）。
   ペアは Figma 比率（illust 593 + gap 43 + cloud 640 ＝ 1276）で、幅に応じて等比で縮む。右側は余白。 */
.ov-question__row {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(20px, 3vw, 43px);
  width: 100%;
}
.ov-question__illust {
  flex: 0 1 593px;                    /* Figma 表示幅（矢印が左端 x=0 までブリード） */
  min-width: 0;
  align-self: flex-end;
  height: auto;
  pointer-events: none;
}
.ov-question__cloud {
  background: url("../images/overview-cloud.svg") no-repeat center / 100% 100%;   /* PROMOTED from 04:38（全ページ同一 url） */
  position: relative;
  flex: 0 1 640px;
  min-width: 0;
  aspect-ratio: 640 / 435;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ov-question__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}
.ov-question__list li {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 28px;
  line-height: 1.2;
  color: #131936;
}
.ov-question__list li::before {
  content: "\25CF";                          /* ● */
  font-size: 15px;
  color: var(--c-brand-300);
  flex: none;
}
.ov-question__list li span {
  text-decoration: underline;                /* liごとunderlineすると::beforeの●まで下線が貫通するためspanのみに限定 */
  text-underline-offset: 3px;
}

/* 【クライアント指示 2026-07-08 / Figma 2203:24698 再構築】1440px 厳密帯：padding 0・x=0 基準の固定コンポジション
   （1024-1439 は上部のフロー配置＝イラスト左下背景・雲右。SP は縦積み） */
@media (min-width: 1440px) {
  .ov-question { position: relative; height: 509px; }
  .ov-question__label { position: absolute; left: 305px; top: 0; width: 830px; margin: 0; box-sizing: border-box; }  /* Figma left 305 */
  .ov-question__row { display: block; position: static; }
  .ov-question__illust { position: absolute; left: 0; top: 181px; width: 593px; height: auto; max-width: none; }        /* 矢印が左端(x=0)までブリード */
  .ov-question__cloud { position: absolute; left: 636px; top: 114px; width: 640px; height: 435px; display: block; flex: none; margin: 0; }  /* Figma 478+158 */
  .ov-question__list { position: absolute; left: 114px; top: 76px; gap: 0; }   /* Figma group(478)+272.5 − cloud(636) */
  .ov-question__list li { line-height: 1.94; }
}

/* --- 4b. overview-content：青地の資格訴求 --- */
.course-overview__content {
  margin-top: var(--space-80);
  background: var(--c-accent-blue);          /* #2149ff */
  color: #ffffff;
  padding: 88px var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.ov-intro {
  width: 100%;
  max-width: 1140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-40);
}
.ov-intro__title {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h1);                   /* 44px */
  line-height: 1.4;
  text-align: center;
  color: #ffffff;
}
.ov-card-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
}
.ov-card {
  width: 1140px;
  max-width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  padding: var(--space-40) var(--space-24) var(--space-56);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}
.ov-card__lead {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 40px;
  line-height: 1.4;
  color: #131936;
}
.ov-card__lead .is-magenta { color: var(--c-accent-magenta); } /* #f879ff */
.ov-card__arrow { flex: none; width: 40px; height: auto; color: var(--c-accent-blue); }
.ov-card__label {
  font-family: var(--font-jp);
  font-weight: var(--fw-medium);
  font-size: 18px;
  line-height: 28px;
  color: #000000;
  margin-bottom: var(--space-16);
}
.ov-card__name {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 44px;                            /* 【figma-parity】Figma 実値 44（0.89縮小は左テキストのみ） */
  line-height: 1.2;
  color: var(--c-accent-blue);               /* #2149ff */
}
@supports (text-box-trim: trim-both) {
  .ov-card__name { text-box-trim: trim-both; text-box-edge: cap alphabetic; }  /* 【figma-parity】capトリム */
}
/* 【figma-parity/Codex】非対応ブラウザ用フォールバック＝capハイト近似の詰め line-height（トリムと同等の見た目） */
@supports not (text-box-trim: trim-both) {
  .ov-card__name { line-height: 0.73; }
}
.ov-note {
  width: 100%;
  max-width: 1140px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-16);
}
.ov-note__text {
  font-family: var(--font-jp);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);                 /* 16px */
  line-height: 1.74;
  color: #ffffff;
}
.ov-note__badge { display: flex; align-items: stretch; }
.ov-note__badge-key {
  display: flex;
  align-items: center;
  background: #ffffff;
  color: #131936;
  padding: var(--space-4) var(--space-10);
  font-size: var(--fs-caption);              /* 12px */
  line-height: 1.7;
}
.ov-note__badge-val {
  display: flex;
  align-items: center;
  border: 1px solid #ffffff;
  color: #ffffff;
  padding: 2px var(--space-8) 2px var(--space-12);
  font-size: var(--fs-body-sm);              /* 14px */
  line-height: 1.7;
}

/* --- 4c. 運営（operator）--- */
.ov-operator {
  width: 100%;
  max-width: 1140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-48);
}
.ov-operator__heading {
  width: 100%;
  text-align: center;
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h2);                   /* 34px */
  line-height: 1.45;
  color: #ffffff;
  padding-bottom: var(--space-20);
  border-bottom: 1px solid var(--c-brand-100); /* #cacfe3 */
}
.ov-operator__body {
  display: flex;
  align-items: flex-start;
  gap: var(--space-48);
  flex-wrap: wrap;
  justify-content: center;
}
.ov-operator__logo { width: 200px; height: auto; flex: none; }
.ov-operator__text { max-width: 640px; position: relative; }
/* 【figma-parity】ルビは name の行箱(82px)上端に絶対配置（Figma: y中心7px・x=0/202/423） */
.ov-operator__ruby {
  position: absolute;
  top: -7px;
  left: 0;
  margin: 0;
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-body-sm);              /* 14px */
  line-height: 28px;
  color: #ffffff;
}
.ov-operator__ruby span { position: absolute; top: 0; white-space: nowrap; }
.ov-operator__ruby span:nth-child(1) { left: 0; }
.ov-operator__ruby span:nth-child(2) { left: 202px; }
.ov-operator__ruby span:nth-child(3) { left: 423px; }
.ov-operator__name {
  font-family: var(--font-en);
  font-weight: var(--fw-bold);
  font-size: 42px;
  line-height: 82px;                          /* 【figma-parity】Figma 実値（ルビの重なり分を含む行箱） */
  letter-spacing: 0.5px;
  color: #ffffff;
  margin-bottom: var(--space-10);
}
.ov-operator__desc {
  font-family: var(--font-jp);
  font-weight: var(--fw-medium);
  font-size: 18px;
  line-height: 28px;
  color: #ffffff;
  overflow-wrap: anywhere;
}

/* --- course-overview レスポンシブ（768px 単一境界）--- */
@media (max-width: 767px) {
  /* course-overview */
  .course-overview { padding-top: var(--section-y-sp); } /* 64px */
  .course-overview__header { padding-inline: var(--pad-x-sp); }
  .ov-question__label { font-size: var(--fs-h2-sp); margin-bottom: var(--space-48); } /* 25px */
  .ov-question__row { flex-direction: column; align-items: center; justify-content: flex-start; gap: var(--space-24); } /* SP は縦積み */
  .ov-question__illust { position: static; flex: none; width: 260px; }
  .ov-question__cloud { margin-left: 0; flex: none; width: 100%; }
  .ov-question__list { gap: var(--space-16); }
  .ov-question__list li { font-size: 18px; }

  .course-overview__content {
    margin-top: var(--space-64);
    padding: var(--section-y-sp) var(--pad-x-sp);
  }
  .ov-intro__title { font-size: var(--fs-h2-sp); }       /* 25px */
  .ov-card { flex-direction: column; padding: var(--space-32) var(--space-16); gap: 0; }   /* 【クライアント指示】gap 0 */
  .ov-card__arrow { transform: rotate(90deg); }          /* 縦積み時は下向き */
  .ov-card__lead { font-size: 26px; text-align: center; }
  .ov-card__name { font-size: 24px; }
  .ov-card__label { text-align: center; }
  .ov-card__right { text-align: center; }
  .ov-operator__body { gap: var(--space-24); }
  .ov-operator__logo { width: 140px; }
  /* 【クライアント指示】運営ブロックの崩れ修正：ルビの絶対配置(202/423px)が SP 幅を溢れる →
     ルビをフロー（小さめの行）にし、英字名は 1 行に収まるサイズへ。 */
  .ov-operator__ruby { position: static; display: flex; flex-wrap: wrap; gap: 8px; font-size: 10px; line-height: 1.4; margin-bottom: 2px; }
  .ov-operator__ruby span { position: static; left: auto; }
  .ov-operator__name { font-size: 22px; line-height: 1.3; letter-spacing: 0.3px; }
  .ov-operator__desc { font-size: 14px; line-height: 24px; }
}

/* ==========================================================
 * ===== promoted (Pattern A) from 04: course-details =====
 *   04/06/08 共有の「知っておきたい4つのポイント」（ストライプ帯＋POINT 01-04）。
 *   04 の figma-parity 値で一元化（verbatim）。
 *   .cd-head の背景画像 url は全ページ同一（si2-banner-stripes.webp）→ common で単一ソース化（2026-07-09 昇格）。
 * ========================================================== */
.course-details {
  background: #ffffff;
  padding-bottom: var(--section-y);          /* 120px */
}
/* 見出し帯：ストライプ画像（2x WebP）を上端に敷き、白ボックスを中央に載せる */
.cd-head {
  background-image: url("../images/si2-banner-stripes.webp");   /* PROMOTED from 04:57（全ページ同一 url） */
  position: relative;
  display: flex;
  justify-content: center;
  padding: 140px var(--pad-x) 0;                 /* 【figma-parity】Figma はヘッダー帯に下余白なし（ストライプは箱の直下で終わる） */
  /* 【figma-parity】Figma はストライプ画像を上に 60px ずらして敷く（top だと柄の並びがズレる）。url はページ固有 CSS */
  background-position: center -60px;
  background-size: 100% auto;
  background-repeat: no-repeat;
}
.cd-head__box {
  background: #ffffff;
  padding: var(--space-24) var(--space-32) var(--space-24) 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;                                      /* 【figma-parity】Figma は学校名を -10px で大見出しに重ねる（gap8 だと 18px 下がる） */
  text-align: center;
}
.cd-head__school {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h2);                    /* 34px */
  line-height: 1.45;
  color: #131936;
  white-space: nowrap;
  margin-bottom: -10px;                        /* 【figma-parity】Figma 実値 mb -10px */
}
.cd-head__title {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 56px;
  line-height: 1.35;
  color: #131936;
  white-space: nowrap;
}
.cd-head__num { color: var(--c-accent-magenta); font-size: 72px; }

.cd-grid {
  max-width: calc(var(--w-container) + var(--pad-x) * 2); /* 1440 */
  margin-inline: auto;
  padding: var(--space-80) var(--pad-x) 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--space-48);
  row-gap: 50px;                             /* 【figma-parity】行間 = 上段 pb50 ＋ 下段 pt32（pt は .cd-point 側） */
}
.cd-point {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
  padding-top: var(--space-32);              /* 【figma-parity】Figma 各カラム pt32 */
}
.cd-point__accent { position: absolute; top: -14px; left: -30px; width: 40px; height: auto; }  /* 【figma-parity】Figma 実値 (-30,-14.31) */
.cd-point__head { display: flex; align-items: center; gap: var(--space-24); min-height: 73px; }  /* 【figma-parity】Figma タイトル行 h72.7 */
.cd-point__no {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-10);
  font-family: var(--font-en);
  font-weight: var(--fw-bold);
  color: var(--c-accent-magenta);            /* #f879ff */
  line-height: 1;
}
/* 【figma-parity】Figma は POINT/番号とも line-height 24.48px（番号インクは箱からはみ出す詰め組み） */
.cd-point__label { font-size: 20px; line-height: 24.48px; }
.cd-point__num { font-size: 56px; line-height: 24.48px; }
.cd-point__title {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h2);                    /* 34px */
  line-height: 1.45;
  color: #131936;
}
.cd-point__figure { width: 100%; }
.cd-point__figure img { width: 100%; height: 345px; object-fit: cover; display: block; }
.cd-point__figure--logo img { object-fit: contain; background: #ffffff; } /* ロゴは切らない */
.cd-point__body { display: flex; flex-direction: column; gap: var(--space-24); }
.cd-point__lead {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h3);                    /* 26px */
  line-height: 1.4;
  color: #131936;
}
.cd-point__text {
  font-family: var(--font-jp);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);                  /* 16px */
  line-height: 1.74;
  color: #131936;
}
.cd-point__list { display: flex; gap: var(--space-16); margin-top: var(--space-8); }  /* 【figma-parity】Figma はリストが本文と別ブロック（gap32）＝ body 内 gap24 との差 8px */
.cd-point__list-item { position: relative; flex: 1 1 0; min-width: 0; padding-left: var(--space-20); }
/* 【figma-parity】Figma 実幅（1440カンプ厳密帯のみ。中間幅は均等割で溢れ防止） */
@media (min-width: 1440px) {
  .cd-point__list-item { flex: none; width: 279px; }
  .cd-point__list-item:first-child { width: 259px; }
}
.cd-point__list-item::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 13px;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-5);
  background: var(--c-accent-blue);           /* #2149ff */
}
.cd-point__list-title {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 20px;
  line-height: 1.6;
  color: #131936;
}
.cd-point__list-text {
  font-family: var(--font-jp);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);                  /* 16px */
  line-height: 1.74;
  color: #131936;
}


/* --- course-details タブレット補助（1023px）--- */
@media (max-width: 1023px) {
  /* 見出し：nowrap を解いて折り返す */
  .cd-head { padding-inline: var(--pad-x-sp); }
  .cd-head__school,
  .cd-head__title { white-space: normal; }
  .cd-head__title { font-size: 40px; }
  .cd-head__num { font-size: 52px; }
}

/* --- course-details レスポンシブ（768px 単一境界）--- */
@media (max-width: 767px) {
  /* course-details */
  .cd-head { padding: 88px var(--pad-x-sp) 0; }   /* 【クライアント指示 2026-07-08】下 padding 0 */
  .cd-head__box { padding: var(--space-16); }
  .cd-head__school { font-size: 18px; line-height: 1.5; white-space: normal; }
  .cd-head__title { font-size: 30px; line-height: 1.4; white-space: normal; }
  .cd-head__num { font-size: 40px; }
  .cd-grid { padding: var(--space-48) var(--pad-x-sp) 0; grid-template-columns: 1fr; row-gap: var(--space-48); }
  .cd-point__lead br, .cd-point__text br, .cd-point__list-text br { display: none; }  /* PCカンプ由来の固定改行はSPで解除 */
  .cd-point__accent { left: 0; top: -14px; width: 32px; }
  .cd-point__label { font-size: 16px; }
  .cd-point__num { font-size: 44px; }
  .cd-point__title { font-size: var(--fs-h2-sp); }   /* 25px */
  .cd-point__figure img { height: 220px; }
  .cd-point__lead { font-size: var(--fs-h3-sp); }    /* 21px */
  .cd-point__list { flex-direction: column; gap: var(--space-24); }

}

/* ==========================================================
 * ===== promoted (Pattern A) from 04: reasons-section =====
 *   04/06/08 共有の「選ばれる理由」（#FFFAEB・実績 stat-card ＋ 環境 feature-card）。
 *   04 の figma-parity 値で一元化（verbatim）。ページ差分は中身（写真/アイコン）のみ。
 * ========================================================== */
.reasons-section { background: var(--bg-reasons); }  /* #FFFAEB */
.reasons {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.reasons__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-12);
  text-align: center;
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  color: #131936;
}
.reasons__head-sm { font-size: var(--fs-h2); line-height: 1.45; }   /* 34px */
.reasons__head-lg { font-size: 56px; line-height: 1.35; }
.reasons__head-lg .is-mid { font-size: 42px; }
.reasons__head-lg .is-magenta { color: var(--c-accent-magenta); }
.reasons-block { display: flex; flex-direction: column; gap: var(--space-48); }
.reasons-block__title {
  text-align: center;
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h1);                    /* 44px */
  line-height: 1.4;
  color: #131936;
}
.reasons-block__title .is-dot { font-weight: var(--fw-regular); }

/* gap のみ 24px に絞る（共通 .grid-3 の構造は保持、値だけ variant） */
.grid-3--tight { gap: var(--space-24); }

.stat-card,
.feature-card {
  background: #f8fafc;
  border-radius: var(--radius-lg);            /* 12px */
  box-shadow: 0 0 12px 2px #ded9c9;
  padding: var(--space-48) var(--space-24);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.stat-card { gap: var(--space-8); justify-content: center; }
.stat-card__figures:not(:has(.stat-card__note)) { gap: var(--space-10); }  /* 【figma-parity】3,000名超カードのみ gap-10 */
.stat-card__row { display: flex; align-items: center; justify-content: center; gap: var(--space-10); }
.stat-card__laurel { width: auto; height: 132px; flex: none; }
.stat-card__figures {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;                                     /* 【figma-parity】注記付きカードは行送りのみ（gap無し） */
  text-align: center;
  color: var(--c-accent-blue);                /* #2149ff */
}
.stat-card__note {
  font-family: var(--font-jp);
  font-weight: var(--fw-regular);
  font-size: 18px;
  line-height: 1.35;                          /* 【figma-parity】カンプ実測（1.6 だとカードが11px 高くなる） */
}
.stat-card__caption {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h3);                    /* 26px */
  line-height: 1.35;
  white-space: nowrap;
}
.stat-card__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: var(--fw-bold);
  line-height: 1;
}
.stat-card__value .num { font-size: 70px; }
.stat-card__value .unit { align-self: center; font-size: 26px; width: 33px; line-height: 0.97; text-align: left; }  /* 「名超」は幅33pxで縦2段組み。align-self:center で数字に対し縦中央（baseline落ちのズレ修正） */
.stat-card__value .pct { font-size: 50px; }
.stat-card__stars { width: 84px; height: auto; }

.feature-card { gap: var(--space-12); justify-content: flex-start; }
.feature-card__icon { height: 64px; width: auto; }
.feature-card__title {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-h3);                    /* 26px */
  line-height: 1.4;
  color: var(--c-accent-blue);                /* #2149ff */
  text-align: center;
}

/* --- reasons タブレット補助（1023px）— 3列カードを1列へ --- */
@media (max-width: 1023px) {
  .reasons__head-lg { font-size: 44px; }
  .grid-3--tight { grid-template-columns: 1fr; }
  .stat-card__caption { white-space: normal; }
}

/* --- reasons レスポンシブ（768px 単一境界）--- */
@media (max-width: 767px) {
  /* reasons-section */
  .reasons { gap: var(--space-48); }
  .reasons__head-lg { font-size: 30px; }
  .reasons__head-lg .is-mid { font-size: 24px; }
  .reasons-block { gap: var(--space-24); }
  .reasons-block__title { font-size: var(--fs-h2-sp); }   /* 25px */
  .stat-card__caption { font-size: 20px; white-space: normal; }
  .stat-card__value .num { font-size: 56px; }
  .stat-card__value .pct { font-size: 40px; }
  .feature-card__title { font-size: var(--fs-h3-sp); }    /* 21px */
  .feature-card__title br { display: none; }
}

/* ==========================================================
 * ===== promoted (Pattern A) from 04: photo-gallery =====
 *   04/06/08 共有の 12枚6列モザイク（PC）→ SP 横スクロールカルーセル。
 *   04 の figma-parity 値で一元化（≥1440 の -127px 非対称ブリード含む）。
 *   ページ固有＝モザイク写真（HTML の <img>）。
 * ========================================================== */
.photo-gallery { background: #ffffff; overflow-x: hidden; padding-block: 8px; }
.photo-gallery__grid { display: flex; gap: 8px; justify-content: center; }
/* 【FB 2026-07-09 項目18】「画像が左に寄っているので中央に」＝旧 -127px 非対称ブリード（≥1440）を撤去し、
   全幅で justify-content:center を維持（1660px モザイクを中央ブリード＝左右均等クリップ）。widthが1660超で余白が出ても左右対称。 */
.pg-col { display: flex; flex-direction: column; gap: 8px; flex: none; }
.pg-cell { width: 270px; border-radius: 8px; overflow: hidden; }
.pg-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pg-cell--tall { height: 360px; }
.pg-cell--short { height: 202px; }

/* --- photo-gallery レスポンシブ（768px）— SP 横スクロールカルーセル --- */
@media (max-width: 767px) {
  /* photo-gallery → 横スクロールカルーセル */
  .photo-gallery {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-inline: var(--pad-x-sp);
  }
  .photo-gallery__grid { justify-content: flex-start; margin-left: 0; }   /* PCの-127pxブリードを打ち消し */
  .pg-col { scroll-snap-align: start; }
  .pg-cell { width: 180px; }
  .pg-cell--tall { height: 240px; }
  .pg-cell--short { height: 135px; }
}

/* ==========================================================
 * ===== promoted (Pattern A) from 04: cta-section =====
 *   04/06/08 共有の「受講/修了生は試験免除・研修免除」訴求バナー（ライム地・角丸）。
 *   左＝ブローシャ写真（焼込みアセットを絶対配置でブリード）、右下＝お祝いイラスト。
 *   04 の figma-parity 値で一元化（verbatim）。旧 06/08 の object-fit 生画像方式を是正。
 *   カンプにボタン/リンク無し＝リンクを付けない。ページ固有差分は無し（画像は canonical 共有）。
 * ========================================================== */
.cta-section {
  background: #ffffff;
  display: flex;
  justify-content: center;
  padding: var(--section-y) var(--space-16);  /* 120 / 16 */
}
.cta-banner {
  position: relative;
  overflow: hidden;
  width: 1260px;
  max-width: 100%;
  min-height: 428px;
  background: var(--c-accent-lime);           /* #61ff48 */
  border-radius: var(--radius-32);            /* 32px */
  display: flex;
  align-items: center;
}
.cta-banner__brochure {
  position: absolute;
  left: 0;
  top: 0;
  width: 562px;                               /* 【figma-parity】Figma 可視域を焼き込んだアセット（745幅 box の x183..745, y6..434） */
  height: 428px;
  pointer-events: none;
}
.cta-banner__celebrate {
  position: absolute;
  right: 0;
  top: 201px;                                 /* 【figma-parity】Figma 実値（下端はバナー縁でクリップ・素材は水平反転済み） */
  width: 265px;
  height: 302px;
  z-index: 1;
  pointer-events: none;
}
.cta-banner__content {
  position: relative;
  z-index: 2;
  width: 570px;
  max-width: calc(100% - 32px);
  margin-left: auto;
  margin-right: 90px;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}
.cta-banner__headbox {
  position: relative;
  align-self: stretch;
  background: #ffffff;
  padding: var(--space-12) var(--space-24);
}
.cta-banner__headbox p {
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 32px;
  line-height: 1.4;
  color: #131936;
}
.cta-hl { background: var(--c-accent-yellow); }   /* #ffff71 */
.cta-banner__accent { position: absolute; top: -24px; right: -16px; width: 40px; height: auto; }  /* 【figma-parity】Figma: 546+40=586 > box570 で右に16はみ出す */
.cta-banner__pills { display: flex; gap: var(--space-24); }
.cta-pill {
  flex: none;
  width: 216px;                               /* 【figma-parity】Figma 実値（均等割 273px だと大きすぎ） */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.cta-pill__label {
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: var(--space-12) var(--space-16);
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);                  /* 16px */
  line-height: 32px;                          /* 【figma-parity】Figma: 32px 行箱を cap トリム */
  white-space: nowrap;
  color: #131936;
  text-align: center;
  white-space: nowrap;
}
.cta-pill__arrow { width: 16px; height: 14px; }
.cta-pill__badge {
  width: 100%;
  background: var(--c-accent-yellow);         /* #ffff71 */
  border-radius: var(--radius-pill);
  padding: var(--space-24);
  font-family: var(--font-jp);
  font-weight: var(--fw-bold);
  font-size: 42px;
  line-height: 120px;                         /* 【figma-parity】Figma: 120px 行箱を cap トリム（ピル高 78px） */
  white-space: nowrap;
  color: var(--c-accent-magenta);             /* #f879ff */
  text-align: center;
}
.cta-banner__note {
  font-family: var(--font-jp);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body-sm);               /* 14px */
  line-height: 1.6;
  color: #000000;
}
/* cta-pill の cap-trim（04 の @supports から昇格。si-ratio/si-review は 04 に据置） */
@supports (text-box-trim: trim-both) {
  .cta-pill__label, .cta-pill__badge { text-box-trim: trim-both; text-box-edge: cap alphabetic; }
}
@supports not (text-box-trim: trim-both) {
  .cta-pill__label { line-height: 12px; }
  .cta-pill__badge { line-height: 30px; }
}
/* --- cta レスポンシブ（768px 単一境界）--- */
@media (max-width: 767px) {
  .cta-section { padding: var(--section-y-sp) var(--pad-x-sp); }
  .cta-banner { flex-direction: column; align-items: stretch; min-height: 0; }
  .cta-banner__brochure { display: none; }
  .cta-banner__celebrate { display: none; }
  .cta-banner__content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: var(--space-32) var(--space-24);
    gap: var(--space-20);
  }
  .cta-banner__headbox p { font-size: 20px; }
  .cta-banner__accent { width: 32px; right: 4px; top: -30px; }   /* 【追加指示 2026-07-08】top -30 */
  /* 【クライアント指示 2026-07-08】免除ピルが横並びで溢れる → SP は縦積み・全幅 */
  .cta-banner__pills { flex-direction: column; gap: var(--space-16); }
  .cta-pill { width: 100%; }
  .cta-pill__label { font-size: 12px; white-space: normal; padding: var(--space-8); }
  .cta-pill__badge { font-size: 26px; padding: var(--space-12); }
  .cta-banner__note { font-size: 12px; }
}

/* ==========================================================
 * 【クライアント指示 2026-07-08】PC 縮小帯：ウィンドウが 1366px 未満に縮んだら
 *   ゆとり詰め（余白・見出しサイズを縮約）。SP(<768) には及ぼさない＝ min-width:768。
 *   1366〜1439 は基準値のまま／≥1440 は Figma 実配置（別 @media）。
 * ========================================================== */
@media (min-width: 768px) and (max-width: 1365px) {
  :root {
    --pad-x: 10px;      /* 汎用コンテナの左右余白 90→10（container/si-block/si-price__content ほか） */
    --fs-h2: 32px;      /* 34→32 */
    --fs-h3: 24px;      /* 26→24 */
  }
  .course-section { padding-inline: 24px; }   /* 汎用10pxではなく24px（指示） */
  .si2-inner { padding-inline: 24px; }        /* 同上 */
  .stat-card__note { font-size: 16px; }       /* 18→16 */
  .cd-point__num { font-size: 48px; }         /* 56→48 */
}

/* ==========================================================
 * 【クライアント指示 2026-07-08 SP】SP全体：文字縮小・詰め・崩れ修正
 *   末尾に置き、既存 SP ルールへ上書きで効かせる。
 * ========================================================== */
@media (max-width: 767px) {
  :root {
    /* 見出し・本文を全体 -2px（p の 20px 指定＝--fs-lead は 16px へ） */
    --fs-hero-sp: 32px;
    --fs-h1-sp: 28px;
    --fs-h2-sp: 23px;
    --fs-h3-sp: 19px;
    --fs-h2: 32px;          /* 見出し（基底トークン使用分）も SP -2px（2026-07-08 追加指示） */
    --fs-h3: 24px;
    --fs-lead: 16px;
    --fs-lead-sp: 15px;
    --fs-body: 14px;
    --fs-body-sm: 12px;
    --fs-decor-slogan: 22px;
    /* 入れ子ボックスの左右 padding 24→12（親も入れ子も＝pad-x-sp 基準を一括縮小） */
    --pad-x-sp: 12px;
    /* 80px 等の広い gap/余白を 32px に統一 */
    --space-80: 32px;
  }
  /* 【追加指示 2026-07-08】grid-3--tight（実績カード）が窮屈→数値/単位も縮小 */
  .stat-card { padding: var(--space-24); }                    /* 【追加指示 2026-07-08】カード内 padding 24 */
  .stat-card__value .num { font-size: 50px; }
  .stat-card__value .unit { font-size: 22px; }
  .stat-card__note { font-size: 10px; }
  .stat-card__caption { font-size: 18px; white-space: normal; }
  .stat-card__laurel { height: 112px; }
  .si-course-card__name { font-size: 20px; }                  /* 【追加指示 2026-07-08】20px */
  .course-details { padding-bottom: 0; }                      /* 下の余白 0 */
  .cd-point__no { gap: 0; }                                   /* 番号ブロックの gap 0 */
  .course-section__block-title { font-size: 24px; }           /* 見出し 24px */
  .course-section__check-icon,
  .si2-check__icon { width: 32px; height: 32px; }             /* チェックアイコンは全て 32×32 */
  .course-section__check-label { font-size: 15px; }           /* 【追加指示 2026-07-08】SPは 20→15px */
  .si2-schools { gap: 80px; }                                 /* 学校カード間は 80px（例外・指示） */
  .si2-mission .si2-inner { padding-inline: 24px; }           /* mission は 24（他 nested の 12 と別） */
  .si2-accessmap { overflow-x: visible; }                     /* 路線図は横スクロール不要で収める */
  .si2-accessmap img { min-width: 0; width: 100%; }
  .ov-question__list li { text-decoration: none; }            /* リストの下線不要 */
  .si-price { padding-inline: var(--pad-x-sp); }              /* PC 48px はSPでは広すぎ→SP gutter(12) */
}

/* SP専用の改行制御ユーティリティ（PCでは改行しない） */
.br-sp { display: none; }
@media (max-width: 767px) { .br-sp { display: inline; } }
