/* ============================================================
   course-style.css — Shared styles for all course detail pages
   ------------------------------------------------------------
   This file styles the entire course landing page layout
   (hero / worries / about / reasons / profile / features /
    course-program / voice / pricing / how-it-works / FAQ / CTA).

   USAGE:
     1) Link this file in <head>:
        <link rel="stylesheet" href="shared/course-style.css">
     2) Apply a theme class on <body> to set the accent color:
        <body class="theme-chiiki">           — 早稲田 地域探究・貢献入試
        <body class="theme-waseda-shaken">    — 早稲田 社会科学部 全国自己推薦
        <body class="theme-waseda-sports">    — 早稲田 スポーツ科学部 III群
        <body class="theme-waseda-sils">      — 早稲田 国際教養学部 AO
        <body class="theme-keio-letters">     — 慶應 文学部 自主応募制推薦
        <body class="theme-keio-fit">         — 慶應 法学部 FIT
        <body class="theme-keio-sfc">         — 慶應 SFC AO
        <body class="theme-waseda-eigo">      — 早稲田 学部別集中講座（早稲田カラー・共通）
        <body class="theme-keio-eigo">        — 慶應 学部別集中講座（慶應カラー・共通）
     3) The accent automatically propagates to buttons, badges,
        section heads, voice-result chips, callouts, etc.
   ============================================================ */

@import url("./course-label-style.css?v=20260722a");

:root {
  --bg:           #FFFFFF;
  --bg-soft:      #F5F5F2;
  --bg-tint:      #FFFFFF;
  --fg:           #1D1D1B;
  --muted:        #343430;
  --muted-soft:   #5D5C57;
  --faint:        #A09F98;

  /* dual-tone academic accent — Waseda crimson × Keio navy */
  --crimson:      #8C2332;
  --crimson-soft: rgba(140,35,50,.06);
  --crimson-tint: #F4E4E6;

  --navy:         #1B2A4E;
  --navy-rgb:     27, 42, 78;
  --navy-soft:    rgba(27,42,78,.06);
  --navy-tint:    #DDE3EE;

  --gold:         #1D1D1B;

  /* required-field marker — deliberately independent of --accent/school
     theme, so it stays a consistent "you must fill this in" signal on
     every page regardless of Waseda/Keio branding. */
  --required:     #B3413E;

  /* default theme tokens (overridden by body.theme-* below). Neutral black —
     pages that don't set a body.theme-* class (apply-courses, apply-hearing,
     contact, blog, company, privacy-policy, etc.) are university-neutral and
     should never show a themed color by accident. Was #D85A7A (pink), which
     leaked into all of those pages unintentionally. */
  --accent:       #333333;
  --accent-soft:  rgba(var(--accent-rgb),.06);
  --accent-tint:  #E5E4E2;
  --accent-rgb:   51, 51, 51;

  --border:       rgba(29,29,27,.10);
  --border-strong:rgba(29,29,27,.20);
  --card:         #FFFFFF;

  --font-en:     "Noto Sans JP", "Helvetica Neue", sans-serif;
  --font-jp:     "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-heading: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-base:   "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-mincho: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;

  --max:    1200px;
  --pad-x:  clamp(20px, 5vw, 80px);
  --pad-y:  clamp(112px, 16vh, 184px);
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(29,29,27,.04), 0 8px 20px rgba(29,29,27,.035);
  --shadow-md: 0 2px 8px rgba(29,29,27,.045), 0 20px 48px rgba(29,29,27,.07);
}

/* === Theme overrides — switch via <body class="theme-XXX"> === */
body.theme-chiiki {
  /* 早稲田 地域探究・貢献入試 — chiiki pink (default) */
  --accent:       #D85A7A;
  --accent-tint:  #F8DDE5;
  --accent-rgb:   216, 90, 122;
  --accent-soft:  rgba(216, 90, 122, .07);
}
body.theme-waseda-shaken {
  /* 早稲田 社会科学部 全国自己推薦 — orange (政経カラー) */
  --accent:       #ee592b;
  --accent-tint:  #FBD8CC;
  --accent-rgb:   238, 89, 43;
  --accent-soft:  rgba(238, 89, 43, .07);
}
body.theme-waseda-sports {
  /* 早稲田 スポーツ科学部 — blue */
  --accent:       #008cd2;
  --accent-tint:  #C4E6F5;
  --accent-rgb:   0, 140, 210;
  --accent-soft:  rgba(0, 140, 210, .07);
}
body.theme-waseda-sils {
  /* 早稲田 国際教養学部 — teal */
  --accent:       #00b2b1;
  --accent-tint:  #C7EAEA;
  --accent-rgb:   0, 178, 177;
  --accent-soft:  rgba(0, 178, 177, .07);
}
body.theme-keio-letters {
  /* 慶應 文学部 — light blue */
  --accent:       #4FA0D6;
  --accent-tint:  #B9D8EC;
  --accent-rgb:   79, 160, 214;
  --accent-soft:  rgba(79, 160, 214, .12);
}
body.theme-keio-fit {
  /* 慶應 法学部 FIT — purple */
  --accent:       #8e4f9a;
  --accent-tint:  #E2D0E8;
  --accent-rgb:   142, 79, 154;
  --accent-soft:  rgba(142, 79, 154, .07);
}
body.theme-keio-sfc {
  /* 慶應 SFC（総合政策・環境情報）— pink */
  --accent:       #d474ab;
  --accent-tint:  #F1D6E5;
  --accent-rgb:   212, 116, 171;
  --accent-soft:  rgba(212, 116, 171, .07);
}
body.theme-kobetsu {
  /* 早慶共通 個別指導コース — dark beige/taupe (中立・上質、暖色グレー基調と統一) */
  --accent:       #8A7355;
  --accent-tint:  #E8DFCF;
  --accent-rgb:   138, 115, 85;
  --accent-soft:  rgba(138, 115, 85, .09);
}
body.theme-waseda-eigo {
  /* 早稲田 英語入門講座（集中講座） — crimson (早稲田カラー) */
  --accent:       #8C2332;
  --accent-tint:  #F4E4E6;
  --accent-rgb:   140, 35, 50;
  --accent-soft:  rgba(140, 35, 50, .07);
}
body.theme-keio-eigo {
  /* 慶應 英語入門講座（集中講座） — navy (慶應カラー) */
  --accent:       #1B2A4E;
  --accent-tint:  #DDE3EE;
  --accent-rgb:   27, 42, 78;
  --accent-soft:  rgba(27, 42, 78, .07);
}
/* === Faculty-only accent (学部別集中講座のヒーロー見出し内、学部名部分だけに使用) ===
   Page-wide color stays the university color (theme-waseda-eigo /
   theme-keio-eigo above); pair with a faculty-* class on <body> for
   --accent-faculty, used only by .hero-faculty-band.
   e.g. <body class="theme-waseda-eigo faculty-waseda-shogaku"> */
body.faculty-waseda-shogaku { --accent-faculty: #001945; }
body.faculty-waseda-kyoiku  { --accent-faculty: #9a4b80; }
body.faculty-waseda-hou     { --accent-faculty: #46847d; }
body.faculty-keio-sfc       { --accent-faculty: #d474ab; }
body.faculty-keio-keizai    { --accent-faculty: #14705C; }
body.faculty-waseda-seikei  { --accent-faculty: #ee592b; }
/* 添削コースLP拡張分 — 対応するAO/自己推薦入試の theme-* と同じ色を再利用 */
body.faculty-waseda-shaken      { --accent-faculty: #ee592b; } /* 社会科学部, theme-waseda-shaken と同色 */
body.faculty-waseda-sports      { --accent-faculty: #008cd2; } /* スポーツ科学部, theme-waseda-sports と同色 */
body.faculty-keio-letters       { --accent-faculty: #4FA0D6; } /* 文学部のメインカラー */
body.faculty-keio-law           { --accent-faculty: #8e4f9a; } /* 法学部, theme-keio-fit と同色 */
body.faculty-keio-sogoseisaku   { --accent-faculty: #d474ab; } /* 総合政策学部, theme-keio-sfc と同色 */
body.faculty-keio-kankyojoho    { --accent-faculty: #d474ab; } /* 環境情報学部, theme-keio-sfc と同色 */


* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-base);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.75;
  letter-spacing: 0;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Course Hero */
.course-hero {
  position: relative;
  padding: clamp(80px, 12vh, 128px) var(--pad-x) clamp(72px, 10vh, 104px);
  background:
    radial-gradient(115% 80% at 20% 6%, rgba(var(--accent-rgb), .40) 0%, rgba(var(--accent-rgb), 0) 58%),
    linear-gradient(168deg,
      color-mix(in srgb, var(--accent) 28%, #fff) 0%,
      color-mix(in srgb, var(--accent) 10%, #fff) 50%,
      color-mix(in srgb, var(--accent) 28%, #fff) 100%);
  overflow: hidden;
}
.hero-sparkles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-bg-text {
  position: absolute;
  top: var(--header-h);
  right: -3%;
  font-family: var(--font-en);
  font-size: clamp(120px, 22vw, 280px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(var(--accent-rgb), .12);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
  text-transform: uppercase;
}
/* Fixed school colors — independent of the course's accent */
.hero-bg-text.is-waseda { -webkit-text-stroke: 1.5px rgba(140, 35, 50, .14); }
.hero-bg-text.is-keio { -webkit-text-stroke: 1.5px rgba(27, 42, 78, .14); }
@media (max-width: 768px) {
  .hero-bg-text {
    font-size: clamp(72px, 24vw, 140px);
    top: var(--header-h);
    right: -2%;
  }
}
.course-hero-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.course-hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(32px, 4vw, 52px) clamp(32px, 4vw, 60px);
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(29, 29, 27, .06);
  border-radius: 20px;
  box-shadow: 0 30px 70px -36px rgba(var(--accent-rgb), .38);
}
.course-hero-illust { width: 100%; }
.course-hero-illust svg { width: 100%; height: auto; display: block; }
.course-hero-illust img {
  width: 100%; height: auto; display: block;
  max-width: 480px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .course-hero-illust { max-width: 360px; margin: 0 auto; }
}
.course-tag-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  align-self: flex-start;
}
.course-tag-en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--crimson);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 2px;
}
.course-tag-en::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--crimson);
}
.course-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: none;
}
.course-tag-outline {
  background: #fff;
  color: var(--fg);
  border: 1.5px solid var(--fg);
  box-shadow: none;
}
/* School-specific overrides — fixed regardless of page accent */
.course-tag.is-waseda {
  background: var(--crimson);
  box-shadow: 0 6px 18px rgba(140,35,50,.24);
}
.course-tag.is-keio {
  background: var(--navy);
  box-shadow: 0 6px 18px rgba(27,42,78,.24);
}
.course-hero h1 {
  font-family: var(--font-heading);
  font-feature-settings: normal;
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  margin-top: 4px;
  color: var(--fg);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero-uni-line {
  display: block;
  font-family: var(--font-jp);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  color: var(--course-university-color, var(--accent));
  margin-bottom: 4px;
}
.hero-name-line { display: block; }
.hero-course-band,
.hero-faculty-band {
  color: var(--accent);
  background: transparent;
  font-weight: 600;
}
body[class*="faculty-"] .hero-faculty-band {
  color: var(--accent-faculty, var(--accent));
}
body.theme-waseda-shaken,
body.theme-waseda-sports,
body.theme-waseda-sils,
body.theme-chiiki { --course-university-color: var(--crimson); }
body.theme-keio-letters,
body.theme-keio-fit,
body.theme-keio-sfc { --course-university-color: var(--navy); }
.course-hero h1 .title-marker {
  background-image: linear-gradient(180deg, transparent 62%, rgba(var(--accent-rgb), .38) 62%, rgba(var(--accent-rgb), .38) 95%, transparent 95%);
  padding: 0 .08em;
}
.course-hero .lead {
  font-size: clamp(15px, 1.4vw, 17px);
  font-family: var(--font-jp);
  color: var(--fg);
  font-weight: 500;
  line-height: 1.95;
  max-width: 60ch;
  margin-top: 8px;
}
.course-hero p:not(.lead) {
  font-family: var(--font-jp);
  font-size: 17px;
  color: var(--fg);
  line-height: 2.05;
  max-width: 60ch;
  font-weight: 500;
}
.course-hero-date {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  grid-template-areas:
    "icon dates"
    "icon time";
  align-items: start;
  column-gap: 8px;
  row-gap: 4px;
  align-self: flex-start;
  margin-top: 18px;
  padding: 0;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 600;
}
.course-hero-date .hero-date-text {
  display: contents;
}
.course-hero-date .hero-date-days {
  grid-area: dates;
  display: flex;
  flex-wrap: wrap;
  gap: 0 .2em;
  min-width: 0;
}
.course-hero-date .hero-date-day { white-space: nowrap; }
.course-hero-date i.ph { grid-area: icon; margin-top: .18em; font-size: 17px; color: var(--accent); }
.course-hero-date .hero-date-time { grid-area: time; white-space: nowrap; }
.course-hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 20px;
}

.course-hero-actions--centered {
  justify-content: center;
  margin-top: clamp(28px, 4vh, 40px);
}

/* Desktop course heroes carry long, course-specific titles and introductions.
   Give that content enough horizontal room before reducing its type size: it
   prevents unnecessary line breaks and keeps the opening section compact
   without changing the more constrained mobile composition. */
@media (min-width: 1024px) {
  .course-hero {
    padding-top: clamp(56px, 8vh, 80px);
    padding-bottom: clamp(56px, 7vh, 72px);
  }
  .course-hero-inner { max-width: 1040px; }
  .course-hero-text {
    gap: 18px;
    padding: clamp(32px, 3vw, 44px) clamp(36px, 4.5vw, 56px);
  }
  .course-hero h1 { font-size: clamp(34px, 4.4vw, 56px); }
  .course-hero .lead,
  .course-hero p:not(.lead) { max-width: none; }
  .course-hero .lead { margin-top: 0; }
  .course-hero-date { margin-top: 8px; }
  .course-hero-actions { margin-top: 8px; }
}

@media (max-width: 640px) {
  .course-hero {
    padding: clamp(72px, 10vh, 96px) var(--pad-x) clamp(56px, 8vh, 76px);
  }
  .course-hero-text {
    gap: 20px;
    padding: 28px 24px;
    border-radius: 16px;
  }
  .course-hero h1 { font-size: clamp(32px, 10vw, 44px); }
  .course-hero .lead,
  .course-hero p:not(.lead) { font-size: 16px; }
  .course-hero-date { grid-template-columns: 18px minmax(0, 1fr); }
}

/* Stats Band */
.stats-band {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(48px, 7vh, 80px) var(--pad-x);
}
.stats-wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.stat-item {
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 0 clamp(8px, 1.5vw, 16px);
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: calc(clamp(-24px, -1.5vw, -10px));
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--border);
}
.stat-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 4px;
  font-size: 28px;       /* Phosphor icon size */
  line-height: 1;
}
.stat-icon svg { width: 28px; height: 28px; fill: currentColor; }
.stat-icon i.ph { line-height: 1; }
.stat-title {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0;
  line-height: 1.4;
}
.stat-label {
  font-family: var(--font-jp);
  font-size: clamp(12px, 1vw, 13px);
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.65;
  max-width: 28ch;
}
@media (max-width: 720px) {
  .stats-wrap { grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 4vw, 32px); row-gap: clamp(28px, 5vw, 40px); }
  .stat-item:not(:last-child)::after { display: none; }
}

/* Inline CTA (mid-page) */
.inline-cta {
  padding: clamp(56px, 8vh, 88px) var(--pad-x);
  background: var(--accent-soft);
}
.inline-cta-wrap {
  max-width: 680px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}
.inline-cta h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}
.inline-cta p {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted);
  line-height: 2;
  max-width: 50ch;
}
.inline-cta .btn { margin-top: 8px; }

/* Section base */
.section {
  padding: var(--pad-y) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.section-soft {
  background: var(--bg);
}
.section-soft-wrap {
  padding-block: var(--pad-y);
}
.section-soft-wrap > .section { padding-block: 0; }
.section-head {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: clamp(48px, 8vh, 72px);
  max-width: 760px;
}
.section-head h2 {
  font-family: var(--font-heading);
  font-feature-settings: normal;
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}
.section-head h2 .accent { color: var(--accent); }
.section-head h2 .crimson { color: var(--crimson); }
.section-head h2 .navy    { color: var(--navy); }
.section-head p {
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 2;
  max-width: 60ch;
}

/* Highlights — quick-glance fact cards */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.highlight-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  display: flex; flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--accent-tint);
}
.highlight-card .hl-icon {
  width: 48px; height: 48px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  display: grid; place-items: center;
}
.highlight-card .hl-icon svg { width: 24px; height: 24px; }
.highlight-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.55;
}
.highlight-card h3 .em {
  color: var(--accent);
}
.highlight-card p {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.95;
}
@media (max-width: 880px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .highlights-grid { grid-template-columns: 1fr; }
}

/* Comparison table — 一般入試 vs 地域探究 */
.compare-table {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-table .col-head {
  padding: clamp(20px, 2.4vw, 26px) clamp(18px, 2vw, 24px);
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.compare-table .col-head.is-empty { background: var(--bg-soft); }
.compare-table .col-head.is-general {
  background: var(--bg-soft);
  color: var(--muted);
}
.compare-table .col-head.is-chiiki {
  background: var(--accent);
  color: #fff;
  position: relative;
}
.compare-table .col-head.is-chiiki::after {
  content: "RECOMMEND";
  position: absolute;
  top: 8px; right: 12px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  background: #fff;
  color: var(--accent);
  padding: 3px 7px;
  border-radius: 999px;
}
.compare-table .row-head {
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2vw, 24px);
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex; align-items: center;
  letter-spacing: 0;
}
.compare-table .cell {
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2vw, 24px);
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  color: var(--muted);
}
.compare-table .cell.is-chiiki {
  color: var(--fg);
  background: var(--accent-soft);
  font-weight: 500;
}
.compare-table .cell strong {
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 720px) {
  .compare-table { grid-template-columns: 1fr; }
  .compare-table .col-head { display: none; }
  .compare-table .col-head:first-child { display: none; }
  .compare-table .row-head {
    border-top: 1px solid var(--border);
    background: var(--fg);
    color: #fff;
    border-right: none;
    grid-column: 1 / -1;
  }
  .compare-table .cell { border-top: none; }
  .compare-table .cell::before {
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: 12px;
    flex-shrink: 0;
  }
  .compare-table .cell.is-general::before { content: "一般入試"; }
  .compare-table .cell.is-chiiki::before { content: "地域探究"; color: var(--accent); }
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pricing-grid.is-three {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .pricing-grid.is-three { grid-template-columns: 1fr; }
}
.pricing-method-note {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.85;
}
.pricing-method-note strong {
  color: var(--fg);
  font-weight: 600;
  padding: 2px 8px;
  background: var(--accent-soft);
  border-radius: 4px;
  margin: 0 2px;
}
.pricing-card h3 .pricing-method {
  display: inline-block;
  font-size: 0.6em;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0;
}

/* FIT pricing layout — 1次 (1 card) | 2次 (A方式 / B方式 の 2 cards) */
.pricing-fit-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: stretch;
}
.pricing-phase-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pricing-phase-group.is-phase-1 {
  --accent: var(--crimson);
  --accent-soft: var(--crimson-soft);
  --accent-tint: var(--crimson-tint);
  --accent-rgb: 140, 35, 50;
}
.pricing-phase-group.is-phase-2 {
  --accent: var(--navy);
  --accent-soft: var(--navy-soft);
  --accent-tint: var(--navy-tint);
  --accent-rgb: 27, 42, 78;
}
.pricing-phase-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 6px 6px 0;
}
.pricing-phase-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: uppercase;
}
.pricing-phase-name {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0;
}
.pricing-phase-sub {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
  letter-spacing: 0;
}
.pricing-phase-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  flex: 1;
}
.pricing-phase-cards.has-two {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 1024px) {
  .pricing-fit-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pricing-phase-cards.has-two {
    grid-template-columns: 1fr;
  }
  .pricing-phase-sub {
    font-size: 12px;
  }
}

/* STEP item — small inline tag like "A方式のみ" */
.step-method-note {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0;
}

/* Phase 02 method sub-blocks (A方式 / B方式) */
.phase-method-block {
  margin-top: clamp(36px, 4vw, 48px);
  padding-top: clamp(28px, 3.5vw, 36px);
  border-top: 1px dashed rgba(var(--accent-rgb), .25);
}
.phase-method-block:first-of-type {
  margin-top: clamp(28px, 3.5vw, 36px);
}
.phase-method-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.phase-method-tag {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0;
  flex-shrink: 0;
}
.phase-method-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0;
  margin: 0;
}
.phase-method-intro {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: clamp(20px, 2.5vw, 28px);
}
.phase-method-intro strong {
  color: var(--accent);
  font-weight: 600;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(26, 26, 26, .04), 0 12px 28px rgba(var(--accent-rgb), .10);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.pricing-card:hover {
  border-color: var(--accent-tint);
  transform: translateY(-4px);
  box-shadow:
    0 1px 3px rgba(26, 26, 26, .04),
    0 18px 40px rgba(var(--accent-rgb), .20);
}
.pricing-head {
  text-align: center;
  padding: clamp(36px, 4vw, 48px) clamp(28px, 3.5vw, 40px) clamp(28px, 3vw, 36px);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.pricing-card .pricing-tag {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
  background: var(--accent);
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}
.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0;
}
.pricing-card .pricing-desc {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 28ch;
  margin: 0;
}
.pricing-card .price {
  display: flex; align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-en);
  padding-top: 12px;
}
.pricing-card .price-num {
  font-size: clamp(36px, 4.4vw, 48px);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0;
  line-height: 1;
}
.pricing-card .price-unit {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
}
.pricing-card .price-tax {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--muted);
  margin-left: 4px;
}
.pricing-card .pricing-cta {
  margin: clamp(24px, 3vw, 32px) auto 0;
  justify-content: center;
  align-self: center;
  padding: 12px 32px;
  font-size: 14px;
}
.pricing-card .pricing-features {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3.5vw, 36px) clamp(28px, 3.5vw, 40px) clamp(32px, 3.5vw, 40px);
  margin: 0;
}
.pricing-card .pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-left: 0;
  position: static;
  font-size: inherit;
  line-height: inherit;
}
.pricing-card .pricing-features li::before,
.pricing-card .pricing-features li::after {
  content: none;
}
.pricing-card .pricing-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.pricing-card .pricing-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.pricing-card .pricing-feat-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.pricing-card .pricing-feat-text strong {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.5;
  letter-spacing: 0;
}
.pricing-card .pricing-feat-text span {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.65;
}

/* Phase-2 (navy) — variable override so every var(--accent*) resolves to navy */
.pricing-card.is-phase-2 {
  --accent: var(--navy);
  --accent-soft: var(--navy-soft);
  --accent-tint: var(--navy-tint);
  --accent-rgb: 27, 42, 78;
}

/* Phase-1 (crimson) — fixed brand color regardless of course's accent.
   Scoped variable override: every var(--accent*) inside resolves to crimson. */
.flow-block.is-phase-1,
.pricing-card.is-phase-1 {
  --accent: var(--crimson);
  --accent-soft: var(--crimson-soft);
  --accent-tint: var(--crimson-tint);
  --accent-rgb: 140, 35, 50;
}
/* ============================================================
   Course Overview tree (コース構成) — parent node → child cards
   reuses .pricing-card (head + features, no price / no CTA)
   ============================================================ */
.course-tree { display: flex; flex-direction: column; align-items: center; margin-top: 44px; }
.course-tree-parent {
  background: var(--accent); color: #fff; border-radius: 16px;
  padding: 22px 44px; text-align: center;
  display: flex; flex-direction: column; gap: 5px;
  max-width: 580px; width: 100%;
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.35);
}
.course-tree-parent-eyebrow { font-family: var(--font-jp); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.course-tree-parent-title { font-family: var(--font-jp); font-size: 20px; font-weight: 600; letter-spacing: 0; word-break: keep-all; }
.course-tree-connector { position: relative; width: 100%; height: 46px; }
.course-tree-connector span { display: none; }
.course-tree-children { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; width: 100%; align-items: stretch; }
.course-tree-children.cols-1 { grid-template-columns: minmax(0, 560px); justify-content: center; }
.course-tree-children.cols-3 { grid-template-columns: repeat(3, 1fr); }
.course-tree-children .pricing-head { gap: 10px; }
.course-tree-children .pricing-features { padding-top: clamp(22px, 2.6vw, 28px); }
@media (max-width: 900px) {
  .course-tree-children.cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .course-tree-children,
  .course-tree-children.cols-3 { grid-template-columns: 1fr; }
}

.pricing-note {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.95;
  display: flex; flex-direction: column; gap: 6px;
}
.pricing-note strong { color: var(--fg); font-weight: 600; }
@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* Worries list — frameless, with "?" watermark only */
.worries-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 16px;
  padding: clamp(36px, 4.5vw, 56px) clamp(0px, 1vw, 12px) clamp(20px, 3vw, 32px);
  position: relative;
}
.worries-list::before {
  content: "?";
  position: absolute;
  top: -20px;
  right: clamp(8px, 2vw, 32px);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(160px, 16vw, 220px);
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  color: var(--accent-soft);
  pointer-events: none;
  z-index: 0;
}
.worries-list > * { position: relative; z-index: 1; }
.worries-list li {
  font-family: var(--font-jp);
  font-size: clamp(15px, 1.4vw, 17.5px);
  line-height: 1.95;
  padding-left: 24px;
  position: relative;
  color: var(--fg);
  font-weight: 500;
}
.worries-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Conclusion — chiiki pink accent callout */
.worries-conclusion {
  font-family: var(--font-jp);
  font-size: clamp(15px, 1.5vw, 18.5px);
  color: var(--fg);
  line-height: 1.95;
  margin-top: clamp(40px, 5vw, 60px);
  padding: clamp(22px, 2.8vw, 32px) clamp(26px, 3.2vw, 38px);
  background: var(--accent-soft);
  border-radius: 14px;
  font-weight: 600;
  letter-spacing: 0;
}
.worries-conclusion strong {
  font-weight: 600;
  color: var(--accent);
}

/* Reasons */
.reasons-list {
  display: flex; flex-direction: column;
  gap: clamp(56px, 8vh, 88px);
}
.reason-block {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.reason-side {
  display: flex; flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.reason-icon {
  width: 56px; height: 56px;
  color: var(--accent);
  display: block;
}
.reason-icon svg { width: 100%; height: 100%; display: block; }
.reason-num {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 10px;
  border-top: 1px solid var(--accent);
  align-self: stretch;
}
.reason-block h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.reason-block p {
  font-family: var(--font-jp);
  color: var(--muted);
  font-size: 16px;
  line-height: 2.05;
  margin-bottom: 14px;
}
.reason-block p:last-child { margin-bottom: 0; }
.reason-pullquote {
  font-family: var(--font-jp);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.95;
  color: var(--fg);
  font-weight: 600;
  margin: 18px 0;
  padding: clamp(18px, 2.4vw, 24px) clamp(20px, 2.8vw, 28px);
  background: var(--accent-soft);
  border-radius: 12px;
  letter-spacing: 0;
}
.reason-block strong {
  color: var(--accent);
  font-weight: 600;
}
@media (max-width: 760px) {
  .reason-block { grid-template-columns: 1fr; gap: 16px; }
}

/* About Exam — Process Timeline */
.subsection { margin-top: clamp(48px, 6vh, 64px); }
.subsection:first-of-type { margin-top: 0; }
.subsection-title {
  font-family: var(--font-heading);
  font-size: clamp(21px, 2.3vw, 25px);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 20px;
  padding-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border);
}
.subsection-title::before {
  content: "";
  width: 4px; height: 22px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.subsection > p {
  font-family: var(--font-jp);
  color: var(--muted);
  font-size: 16px;
  line-height: 2.05;
  margin-bottom: 20px;
}

.process-timeline {
  display: flex; flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 56px;
  counter-reset: stage;
}
.process-timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-tint) 0%, var(--accent) 50%, var(--accent-tint) 100%);
}
.process-stage {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 32px) clamp(20px, 2.5vw, 26px);
  position: relative;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  counter-increment: stage;
}
.process-stage:hover {
  border-color: var(--accent-tint);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.process-stage::before {
  content: counter(stage, decimal-leading-zero);
  position: absolute;
  left: -56px;
  top: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);     /* filled — works on white & gray bg */
  border: 2px solid var(--accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  display: grid; place-items: center;
  letter-spacing: 0;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg);
}
.stage-header {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 12px 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.stage-label {
  font-family: var(--font-jp);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--fg);
  display: inline-flex; align-items: center; gap: 8px;
}
.stage-label::before {
  /* Removed pink left bar — was clashing with section/subsection title styling */
  display: none;
}
.stage-dates {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.stage-dates.stage-dates-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.stage-dates-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.stage-dates-tag {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-tint);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .stage-dates.stage-dates-stack {
    align-items: flex-start;
    width: 100%;
  }
}
.stage-date {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  display: inline-flex; align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
}
.stage-date.is-test {
  color: var(--fg);
  background: var(--accent-soft);
  border: 1px solid var(--accent-tint);
}
.stage-date.is-result {
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.stage-date .ico {
  width: 11px; height: 11px;
  flex-shrink: 0;
}
.process-stage ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
}
.process-stage li {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--fg);
  line-height: 1.95;
  padding-left: 22px;
  position: relative;
}
.process-stage li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  box-sizing: border-box;
}
.process-stage li::after {
  content: "";
  position: absolute;
  left: 4px; top: 13px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
@media (max-width: 540px) {
  .process-timeline { padding-left: 44px; }
  .process-stage::before { left: -44px; width: 32px; height: 32px; font-size: 12px; }
  .process-timeline::before { left: 15px; }
  .stage-dates { width: 100%; margin-left: 0; }
}

/* split stage — used for 2次選考 with A方式 / B方式 horizontally */
.stage-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 20px);
}
.stage-method-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stage-method-tag {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0;
  align-self: flex-start;
}
.stage-method-name {
  font-family: var(--font-jp);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0;
  margin: 0;
  line-height: 1.4;
}
.stage-method-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.stage-method-card li {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--fg);
  line-height: 1.85;
  padding-left: 18px;
  position: relative;
}
.stage-method-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  box-sizing: border-box;
}
.stage-method-card li::after {
  content: none;
}
@media (max-width: 700px) {
  .stage-method-grid { grid-template-columns: 1fr; }
}

/* Qualification (出願資格) — split into 共通 / A方式・B方式 */
.qualification-block {
  margin-bottom: clamp(28px, 3.5vw, 36px);
}
.qualification-block-title {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0;
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}
.qualification-block .ordered-features {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 880px) {
  .qualification-block .ordered-features { grid-template-columns: 1fr; }
}
.qualification-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 20px);
}
.qualification-method {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qualification-method-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qualification-method-tag {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0;
  flex-shrink: 0;
}
.qualification-method-name {
  font-family: var(--font-jp);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0;
  margin: 0;
}
.qualification-method p {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}
.qualification-method ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.qualification-method li {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--fg);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}
.qualification-method li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent);
  box-sizing: border-box;
}
@media (max-width: 700px) {
  .qualification-method-grid { grid-template-columns: 1fr; }
}

/* Ordered Features (qualifications) — horizontal cards */
.ordered-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ordered-features li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.4vw, 28px);
  display: flex; flex-direction: column;
  gap: 12px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.ordered-features li:hover {
  border-color: var(--accent-tint);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.ordered-features .num {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
  line-height: 1;
}
.ordered-features li > div {
  display: flex; flex-direction: column;
  gap: 8px;
}
.ordered-features li > div > strong {
  display: block;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
}
.ordered-features p {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}
@media (max-width: 880px) {
  .ordered-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .ordered-features { grid-template-columns: 1fr; }
}

/* Course Overview */
.overview-block {
  display: flex; flex-direction: column;
  gap: 24px;
}
.overview-block p {
  font-family: var(--font-jp);
  color: var(--muted);
  font-size: 16px;
  line-height: 2.05;
}
.overview-block ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 10px;
}
.overview-block ul li {
  font-family: var(--font-jp);
  font-size: 16px;
  color: var(--fg);
  line-height: 1.95;
  padding-left: 20px;
  position: relative;
}
.overview-block ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 10px; height: 1px;
  background: var(--accent);
}
.overview-block .sub-list {
  margin-left: 20px;
  margin-top: 4px;
  gap: 4px;
}
.overview-block .sub-list li {
  font-size: 14px;
  color: var(--muted);
}
.overview-meta {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 36px);
  display: flex; flex-direction: column;
  gap: 16px;
}
.feature-icon {
  width: 72px; height: 72px;
  background: var(--accent);
  border-radius: 18px;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 5px 18px -5px rgba(var(--accent-rgb),.38);
  font-size: 36px;       /* Phosphor icon size (1.3x bump applied globally) */
  line-height: 1;
}
.feature-icon svg { width: 36px; height: 36px; }
.feature-icon i.ph { line-height: 1; }
.feature-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: uppercase;
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.7;
}
.feature-card h3 .marker {
  background-image: linear-gradient(transparent 58%, rgba(var(--accent-rgb),.38) 58%);
  padding: 0 .1em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.feature-card p {
  font-family: var(--font-jp);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}
@media (max-width: 880px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* Course Content */
.content-groups {
  display: flex; flex-direction: column;
  gap: clamp(40px, 5vh, 56px);
}
.content-group {
  display: flex; flex-direction: column;
  gap: 16px;
}
.content-group-head {
  display: flex; align-items: center;
  gap: 14px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border);
}
.content-group-pill {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  flex-shrink: 0;
}
.content-group-pill.is-common {
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--border);
}
.content-group-title {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.8vw, 19px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
}
.content-list {
  display: flex; flex-direction: column;
  gap: 14px;
}
.content-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 32px);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.content-item:hover {
  border-color: var(--accent-tint);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.content-item .content-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
}
.content-item.is-common .content-icon {
  background: var(--bg-soft);
  color: var(--muted);
}
.content-item .content-icon svg { width: 28px; height: 28px; }
.content-item h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 10px;
  line-height: 1.5;
}
.content-item p {
  font-family: var(--font-jp);
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
@media (max-width: 540px) {
  .content-item { grid-template-columns: 1fr; gap: 12px; }
  .content-group-head { flex-wrap: wrap; }
}

/* Support materials grid (course-included assets) */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: clamp(40px, 5vh, 56px);
}
.support-grid.support-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1199px) {
  .support-grid.support-grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 880px) {
  .support-grid.support-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .support-grid.support-grid-5 { grid-template-columns: 1fr; }
}

/* 春AO / 夏秋AO の縦並び日程表示 */
.phase-timeline.phase-timeline-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

/* PHASE ヒーロー下に独立配置する複数日程ブロック（春AO / 夏秋AO 用） */
.phase-timeline-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 clamp(20px, 2.4vw, 28px);
  padding: clamp(14px, 1.8vw, 18px) clamp(16px, 2vw, 22px);
  background: var(--accent-soft);
  border: 1px solid var(--accent-tint);
  border-radius: 12px;
}
.phase-timeline-block .phase-timeline-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-jp);
}
.phase-timeline-block .phase-timeline-tag {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 3px 11px;
  border-radius: 999px;
  white-space: nowrap;
  min-width: 70px;
  text-align: center;
  justify-content: center;
  display: inline-flex;
}
.phase-timeline-block .phase-date {
  background: #fff;
  color: var(--accent);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  border: 1px solid var(--accent-tint);
}
.phase-timeline-block .phase-arrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 16px;
}
.phase-timeline-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.phase-timeline-tag {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-tint);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* 添削＋Meet面談など、複数 aside を縦に積む */
.step-flow-grouped .step-node-aside-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
  flex-shrink: 0;
}
@media (max-width: 880px) {
  .step-flow-grouped .step-node-aside-stack {
    align-self: flex-start;
    margin-top: 4px;
  }
}
/* Meet面談 aside の色味 */
.step-flow-grouped .step-node-aside.is-meet {
  background: rgba(0, 110, 200, .06);
}
.step-flow-grouped .step-node-aside.is-meet i.ph {
  color: #0a6ec8;
}
.step-flow-grouped .step-node-aside.is-meet .step-aside-main {
  color: #084d8e;
}
.support-item {
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid rgba(var(--accent-rgb), .12);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  display: flex; flex-direction: column;
  gap: 10px;
  transition: border-color .25s, box-shadow .25s;
}
.support-item:hover { border-color: var(--accent-tint); box-shadow: var(--shadow-sm); }
.support-item .support-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
}
.support-item .support-icon svg { width: 22px; height: 22px; }
.support-item :is(h4, h5) {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  margin-top: 2px;
}
.support-item p {
  font-family: var(--font-jp);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}
@media (max-width: 1080px) {
  .support-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .support-grid { grid-template-columns: 1fr; }
}

/* Step heading inside program block */
.program-step-heading {
  font-family: var(--font-jp);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 600;
  letter-spacing: 0;
  margin-top: clamp(48px, 6vh, 64px);
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
  color: var(--accent);
}
.program-step-heading:first-of-type {
  margin-top: 0;
}
.program-step-heading::before {
  content: "";
  width: 5px; height: 22px;
  background: var(--accent);
  border-radius: 2px;
}
.program-step-heading .en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: auto;
  text-transform: uppercase;
}

/* Common support card */
.common-support {
  margin-top: clamp(48px, 6vh, 64px);
  padding: clamp(28px, 3.5vw, 36px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
}
.common-support::before {
  content: "Common Support";
  position: absolute;
  top: -12px; left: 24px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-transform: uppercase;
}
.common-support .common-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--muted);
  display: grid; place-items: center;
}
.common-support .common-icon svg { width: 28px; height: 28px; }
.common-support h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0;
}
.common-support p {
  font-family: var(--font-jp);
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}
@media (max-width: 540px) {
  .common-support { grid-template-columns: 1fr; gap: 14px; }
}

/* Step Flow Block */
.flow-block {
  margin-top: clamp(40px, 5vh, 56px);
  background: var(--card);
  border-radius: 18px;
  padding: clamp(28px, 3.5vw, 48px) clamp(24px, 3vw, 40px);
  box-shadow: 0 1px 2px rgba(26,26,26,.03), 0 8px 28px rgba(26,26,26,.04);
  border: 1px solid var(--border);
  position: relative;
}
.phase-duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  white-space: nowrap;
}
.program-step-heading > .phase-duration { margin-left: 8px; }
.phase-duration .phase-duration-lbl {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  padding-right: 8px;
  border-right: 1px solid rgba(255,255,255,.3);
}
.flow-block.is-phase-2 .phase-duration {
  background: var(--navy);
  border-color: var(--navy);
}

/* Reason block marker — yellow highlight on key phrases */
.reason-block .marker {
  background-image: linear-gradient(transparent 60%, rgba(var(--accent-rgb), .38) 60%);
  padding: 0 .1em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.flow-block:first-of-type { margin-top: 0; }
.flow-block .phase-hero {
  padding-top: clamp(8px, 1vw, 12px);
}
.flow-block-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 16px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--fg);
  display: flex; align-items: center; gap: 16px;
}
.flow-block-title .flow-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.flow-block-title .flow-icon svg { width: 24px; height: 24px; }
.flow-block-title .flow-title-text {
  display: flex; flex-direction: column;
  gap: 4px;
  line-height: 1.3;
}
.flow-block-title .label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: uppercase;
}
.flow-block-intro {
  font-family: var(--font-jp);
  color: var(--muted);
  font-size: 16px;
  line-height: 2.05;
  margin-bottom: 32px;
  max-width: 70ch;
}

/* Phase Hero — large header for each 1次/2次 block */
.phase-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 2.6vw, 32px);
  align-items: center;
  padding: clamp(20px, 2vw, 28px) 0 clamp(24px, 3vw, 32px);
  border-bottom: 2px solid var(--fg);
  margin-bottom: clamp(24px, 3vw, 32px);
}
.phase-hero .phase-num {
  font-family: var(--font-en);
  font-size: clamp(64px, 7.5vw, 92px);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0;
  font-feature-settings: "lnum";
}
.phase-hero .phase-info {
  display: flex; flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.phase-hero .phase-eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.phase-hero .phase-eyebrow-ico {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}
.phase-hero .phase-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
}
.phase-hero .phase-timeline {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  font-family: var(--font-jp);
}
.phase-hero .phase-date {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  border: 1px solid var(--accent-tint);
}
.phase-hero .phase-arrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 16px;
}
@media (max-width: 540px) {
  .phase-hero { grid-template-columns: 1fr; gap: 12px; }
  .phase-hero .phase-num { font-size: 56px; }
}

/* Phase 2: navy variant — distinguishes 2次 from 1次 visually */
.flow-block.is-phase-2 .phase-hero .phase-num,
.flow-block.is-phase-2 .phase-hero .phase-eyebrow,
.flow-block.is-phase-2 .phase-hero .phase-arrow { color: var(--navy); }
.flow-block.is-phase-2 .phase-hero .phase-date {
  background: var(--navy-soft);
  color: var(--navy);
  border-color: var(--navy-tint);
}
.flow-block.is-phase-2 .program-step-heading { color: var(--navy); }
.flow-block.is-phase-2 .program-step-heading::before { background: var(--navy); }
.flow-block.is-phase-2 .support-item {
  background: rgba(27, 42, 78, .06);
  border-color: rgba(27, 42, 78, .12);
}
.flow-block.is-phase-2 .support-item .support-icon {
  background: var(--navy);
  color: #fff;
}
.flow-block.is-phase-2 .support-item:hover { border-color: var(--navy-tint); }
.flow-block.is-phase-2 .step-item::before { border-color: var(--navy); }
.flow-block.is-phase-2 .step-label { color: var(--navy); }
.flow-block.is-phase-2 .step-item .tool {
  color: var(--navy);
  background: var(--navy-soft);
}
.flow-block.is-phase-2 .step-item .topic-list-title { color: var(--navy); }
.flow-block.is-phase-2 .workflow-substeps li::before { color: var(--navy); }

.step-list {
  display: flex; flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 32px;
}
.step-list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: var(--border);
}
.step-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 32px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  z-index: 1;
}
.step-item:last-child { border-bottom: none; }
.step-label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: uppercase;
  padding-top: 4px;
}
.step-item h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  margin-bottom: 12px;
}
.step-item p {
  font-family: var(--font-jp);
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
  margin-bottom: 12px;
}
.step-item p:last-child { margin-bottom: 0; }
.step-item .tool {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--accent);
  margin-top: 10px;
  padding: 6px 12px 6px 10px;
  background: var(--accent-soft);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.step-item .tool .tool-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.step-item .tool i.ph.tool-ico { font-size: 14px; line-height: 1; }
.step-item .topic-list,
.step-flow-grouped .step-node .topic-list {
  margin: 14px 0 8px;
  padding: 18px 22px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.step-item .topic-list-title,
.step-flow-grouped .step-node .topic-list-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
  letter-spacing: 0;
  color: var(--accent);
  text-transform: none;
  display: block;
}
.step-item .topic-list ul,
.step-flow-grouped .step-node .topic-list ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 8px 14px;
}
.step-item .topic-list li,
.step-flow-grouped .step-node .topic-list li {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--fg);
  line-height: 1.85;
  padding: 6px 12px;
  position: relative;
  list-style: none;
  background: #fff;
  border-radius: 6px;
}
.step-item .topic-list li::before,
.step-flow-grouped .step-node .topic-list li::before { content: none; display: none; }
.step-item .substeps {
  list-style: none;
  counter-reset: substep;
  display: flex; flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.step-item .substeps li {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.95;
  padding-left: 24px;
  position: relative;
}
.step-item .substeps li::before {
  content: counter(substep, decimal) "";
  counter-increment: substep;
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--accent);
  font-size: 12px;
}
.flow-note {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--fg);
  line-height: 1.95;
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-tint);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: start;
}
.flow-note::before {
  content: "";
  width: 36px; height: 36px;
  border-radius: 10px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236F1A26' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='3' width='11' height='17' rx='1'/><line x1='7' y1='8' x2='12' y2='8'/><line x1='7' y1='11' x2='12' y2='11'/><line x1='7' y1='14' x2='10' y2='14'/><path d='M16 5.5 L 19.5 9 L 13.5 15 L 11 16 L 12 13.5 Z'/></svg>") center / 22px no-repeat,
    #fff;
  border: 1px solid var(--accent-tint);
  display: block;
}
.flow-note .flow-note-body { display: block; }
.flow-note strong {
  color: var(--fg);
  font-weight: 600;
  display: inline-block;
  margin-right: 6px;
}
.workflow-substeps {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  counter-reset: ws;
}
.workflow-substeps li {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--fg);
  line-height: 1.95;
  padding-left: 28px;
  position: relative;
  counter-increment: ws;
}
.workflow-substeps li::before {
  content: "0" counter(ws);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0;
}

/* ============================================================
   Step flow (grouped) — 多段ステップを3グループに束ねたタイムライン表示
   ============================================================ */
.step-flow-lead {
  font-family: var(--font-jp);
  font-size: clamp(14.5px, 1.45vw, 16px);
  font-weight: 500;
  line-height: 2;
  color: var(--fg);
  margin: 4px 0 clamp(24px, 3vh, 32px);
}
.step-flow-grouped {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vh, 40px);
  --step-circle: 32px;
}
.step-group { display: block; }
.step-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--crimson);
  border-radius: var(--radius);
  margin-bottom: 18px;
  color: #fff;
}
.step-group-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-group-icon i.ph { font-size: 22px; line-height: 1; }
.step-group-head h6 {
  font-family: var(--font-heading);
  font-size: clamp(15px, 1.5vw, 16.5px);
  font-weight: 600;
  letter-spacing: 0;
  color: #fff;
  margin: 0;
  flex: 1 1 auto;
}
.step-group-duration {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--fg);
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}
.step-group-duration .step-group-duration-lbl {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted);
  padding-right: 8px;
  border-right: 1px solid rgba(0, 0, 0, .1);
}
.step-nodes {
  list-style: none;
  margin: 0;
  padding: 0 0 0 calc(var(--step-circle) + 16px);
  position: relative;
}
.step-nodes::before {
  content: "";
  position: absolute;
  left: calc((var(--step-circle) / 2) - 1px);
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-tint), var(--border));
  border-radius: 2px;
}
.step-flow-grouped .step-node {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  position: relative;
  padding: 16px 0 16px 6px;
}
.step-flow-grouped .step-node + .step-node { border-top: 1px solid var(--border); }
.step-flow-grouped .step-node::before {
  content: "";
  position: absolute;
  left: calc(-1 * (var(--step-circle) + 16px));
  top: 50%;
  transform: translateY(-50%);
  width: var(--step-circle);
  height: var(--step-circle);
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
  z-index: 1;
}
.step-node-num {
  position: absolute;
  left: calc(-1 * (var(--step-circle) + 16px));
  top: 50%;
  transform: translateY(-50%);
  width: var(--step-circle);
  height: var(--step-circle);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  color: var(--accent);
  z-index: 2;
  pointer-events: none;
  text-align: center;
}
.step-node-body { display: block; min-width: 0; }
.step-node-body h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.55;
  margin-bottom: 10px;
  color: var(--fg);
}
.step-node-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step-node-list li {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  padding-left: 18px;
  position: relative;
}
.step-node-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
}
/* 右側：サポート明示ブロック */
.step-node-aside {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  background: #F5F5F7;
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--navy);
  white-space: nowrap;
  align-self: center;
}
.step-node-aside i.ph {
  font-size: 16px;
  line-height: 1;
  color: var(--navy);
  flex-shrink: 0;
}
/* 「＋」を主タイトルに対して少し弱める */
.step-plus {
  font-weight: 500;
  color: var(--muted);
  margin: 0 .15em;
  font-size: .9em;
}
/* 「添削」キーワードのソフトハイライト（本文中） */
.step-mark {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-soft);
  padding: 1px 6px;
  border-radius: 4px;
}

/* 詳細版 aside（メインテキスト＋小さな補足） */
.step-node-aside.is-detailed {
  white-space: normal;
  align-items: center;
  padding: 10px 14px;
  max-width: 220px;
}
.step-node-aside .step-aside-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}
.step-node-aside .step-aside-main {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}
.step-node-aside .step-aside-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

/* ミニタイムライン（書類作成ステップの内部フロー） */
.mini-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  padding: 14px 16px 12px;
  margin: 4px 0 14px;
  background: #FAFAFC;
  border-radius: 10px;
}
.mini-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1 1 0;
  min-width: 0;
}
.mini-step-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mini-step-icon i.ph { font-size: 14px; line-height: 1; }
.mini-step-label {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}
.mini-step-arrow {
  align-self: center;
  margin-top: 4px;
  color: var(--border);
  font-family: var(--font-en);
  font-size: 14px;
  flex-shrink: 0;
}

/* step-node 内の使用ツールタグ（A方式・1次選考共通） */
.step-node-body .tool {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 5px 12px 5px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--fg);
  line-height: 1.5;
}
.step-node-body .tool .tool-ico {
  font-size: 14px;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
}

/* 反復サイクルのコンテナ（論述試験 第1〜5回） */
.step-cycle {
  position: relative;
  margin-top: clamp(24px, 3vh, 36px);
  padding: 28px 18px 18px;
  background: #FAFAFC;
  border-radius: var(--radius-lg);
}
.step-cycle + .step-cycle {
  margin-top: clamp(32px, 4.5vh, 48px);
}
.step-cycle-label {
  position: absolute;
  top: -10px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
}
.step-cycle .step-nodes { padding-left: calc(var(--step-circle) + 16px); }
.step-cycle-duration {
  position: absolute;
  top: -10px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.step-cycle-duration .step-cycle-duration-lbl {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--faint);
  padding-right: 6px;
  border-right: 1px solid var(--border);
}
.step-cycle-intro {
  font-family: var(--font-jp);
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  margin: 4px 0 16px;
  padding: 10px 14px;
  background: rgba(0,0,0,.025);
  border-radius: 8px;
}

/* step-node 内の注釈文（補足説明） */
.step-flow-grouped .step-node .step-node-note {
  font-family: var(--font-jp);
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
  margin: 10px 0 4px;
  padding: 12px 14px;
  background: rgba(0,0,0,.025);
  border-radius: 8px;
}

/* 1周目／2周目 で目指すレベル */
.round-levels {
  margin-top: 24px;
  padding: clamp(18px, 2.4vw, 24px) clamp(20px, 2.4vw, 28px);
  background: var(--bg-soft);
  border-radius: 12px;
}
.round-levels-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.round-levels-title .ico { font-size: 16px; color: var(--accent); }
.round-levels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.round-level-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  position: relative;
}
.round-level-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-tint);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.round-level-card h5 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin: 4px 0 6px;
}
.round-level-card p {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
@media (max-width: 720px) {
  .round-levels-grid { grid-template-columns: 1fr; }
}

/* 添削まとめ：方法 と 機会 を横並び表示 */
.flow-notes-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  align-items: stretch;
}
.flow-notes-row.is-three {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 880px) {
  .flow-notes-row.is-three { grid-template-columns: 1fr; }
}
.flow-notes-row .flow-note { margin-top: 0; }

/* Meeting / consultation block — reusable; lighter than a STEP banner, distinct from the 添削 badge */
.meeting-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(27,42,78,.05);
  border: 1px dashed rgba(27,42,78,.30);
  border-radius: 14px;
  padding: 16px 20px;
}
.meeting-block .meeting-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(27,42,78,.10);
  color: var(--navy);
  display: grid; place-items: center;
}
.meeting-block .meeting-icon i.ph { font-size: 20px; line-height: 1; }
.meeting-block .meeting-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 16px;
  color: var(--navy);
}
.meeting-block .meeting-dur {
  font-family: var(--font-en);
  font-size: 12px; font-weight: 600; letter-spacing: 0;
  background: var(--navy); color: #fff;
  padding: 3px 9px; border-radius: 999px;
}
.meeting-block .meeting-text p {
  margin: 7px 0 0;
  font-family: var(--font-jp);
  font-size: 14px; line-height: 1.8; color: var(--muted);
}

/* 必要に応じてバッジ（オプション扱いのステップ） */
.step-flow-grouped .step-pill.step-pill-optional {
  color: var(--muted);
  background: var(--bg-soft);
  border-color: var(--border);
  font-weight: 600;
}
.step-flow-grouped .step-node.is-optional .step-node-num { color: var(--muted); }
.step-flow-grouped .step-node.is-optional::before {
  border-color: var(--border-strong);
  border-style: dashed;
}
.step-flow-grouped .step-node.is-optional .step-node-aside {
  background: #F5F5F7;
  opacity: .92;
}
/* 「最終チェック」用のチェックリスト風アイコン */
.flow-note.flow-note-check::before {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236F1A26' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M9 11l3 3 8-8'/><path d='M20 12v7a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h11'/></svg>") center / 22px no-repeat,
    #fff;
}
.flow-note.flow-note-list::before {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236F1A26' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 7 7 10 12 5'/><polyline points='4 13 7 16 12 11'/><polyline points='4 19 7 22 12 17'/><line x1='15' y1='8' x2='20' y2='8'/><line x1='15' y1='14' x2='20' y2='14'/><line x1='15' y1='20' x2='20' y2='20'/></svg>") center / 22px no-repeat,
    #fff;
}
.flow-note .flow-note-title {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-jp);
}
.flow-note .flow-note-bullets {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.flow-note .flow-note-bullets li {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.85;
  color: var(--fg);
  padding-left: 14px;
  position: relative;
}
.flow-note .flow-note-bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.flow-note .flow-note-foot {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 6px 0 0;
}
@media (max-width: 880px) {
  .flow-notes-row { grid-template-columns: 1fr; }
}

/* phase-2（A方式：紺カラー）の上書き */
.flow-block.is-phase-2 .step-group-head {
  background: var(--navy);
}
.flow-block.is-phase-2 .step-group-icon {
  color: #fff;
  background: rgba(255, 255, 255, .16);
}
.flow-block.is-phase-2 .step-group-duration {
  background: #fff;
  color: var(--navy);
}
.flow-block.is-phase-2 .step-group-duration .step-group-duration-lbl {
  color: var(--muted);
  border-right-color: rgba(0, 0, 0, .1);
}
.flow-block.is-phase-2 .step-nodes::before {
  background: linear-gradient(to bottom, var(--navy-tint), var(--border));
}
.flow-block.is-phase-2 .step-flow-grouped .step-node::before { border-color: var(--navy); }
.flow-block.is-phase-2 .step-node-num { color: var(--navy); }
.flow-block.is-phase-2 .step-node-list li::before { background: var(--navy); }
.flow-block.is-phase-2 .step-mark {
  color: var(--navy);
  background: var(--navy-soft);
}

/* レスポンシブ */
@media (max-width: 880px) {
  .step-flow-grouped .step-node {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .step-node-aside {
    align-self: flex-start;
    margin-top: 4px;
    max-width: none;
  }
  .step-node-aside.is-detailed { max-width: none; }
  .step-flow-grouped .step-node::before,
  .step-flow-grouped .step-node-num {
    top: 28px;
    transform: none;
  }
}
@media (max-width: 720px) {
  .step-flow-grouped { --step-circle: 26px; }
  .step-group-head {
    padding: 10px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .step-group-icon { width: 30px; height: 30px; }
  .step-group-icon i.ph { font-size: 18px; }
  .step-group-duration { padding: 5px 11px; font-size: 12px; }
  .step-nodes { padding-left: calc(var(--step-circle) + 12px); }
  .step-flow-grouped .step-node { padding-left: 4px; }
  .step-flow-grouped .step-node::before,
  .step-flow-grouped .step-node-num {
    left: calc(-1 * (var(--step-circle) + 12px));
  }
  .step-node-num { font-size: 12px; }
  .step-node-body h4 { font-size: 16px; }
  .step-node-list li { font-size: 14px; }
  .step-cycle { padding: 26px 14px 14px; }
  .step-cycle-label { left: 14px; font-size: 12px; }
  .step-node-aside { padding: 8px 12px; font-size: 12px; }
  /* ミニタイムラインはモバイルでも1行（左→右）を維持。サイズだけ縮小 */
  .mini-timeline {
    gap: 2px;
    padding: 12px 10px;
  }
  .mini-step { gap: 5px; }
  .mini-step-icon { width: 24px; height: 24px; }
  .mini-step-icon i.ph { font-size: 12px; }
  .mini-step-label {
    font-size: 12px;
    letter-spacing: 0;
  }
  .mini-step-arrow {
    font-size: 12px;
    margin-top: 0;
    align-self: flex-start;
    padding-top: 6px;
  }
}
@media (max-width: 380px) {
  .mini-timeline { padding: 10px 6px; }
  .mini-step-icon { width: 22px; height: 22px; }
  .mini-step-icon i.ph { font-size: 12px; }
  .mini-step-label { font-size: 12px; }
}

/* Correction flow — 4-step horizontal flow (添削の流れ) */
.correction-flow {
  margin-top: 20px;
  background: rgba(var(--accent-rgb), .04);
  border: 1px solid var(--accent-tint);
  border-radius: 12px;
  padding: clamp(18px, 2vw, 24px) clamp(20px, 2.4vw, 28px);
}
.correction-flow-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.correction-flow-title .cf-title-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}
.correction-flow-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 6px;
}
.correction-flow-step {
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 10px 8px;
  background: var(--card);
  border: 1px solid var(--accent-tint);
  border-radius: 10px;
}
.correction-flow-step .cf-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0;
}
.correction-flow-step p {
  font-family: var(--font-jp);
  font-size: 12px;
  line-height: 1.55;
  color: var(--fg);
  margin: 0;
}
.cf-connector {
  align-self: center;
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 16px;
  opacity: .5;
}
@media (max-width: 720px) {
  .correction-flow-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .cf-connector {
    transform: none;
    font-size: 0;
    text-align: center;
    padding: 4px 0;
    line-height: 1;
  }
  .cf-connector::before {
    content: "↓";
    display: inline-block;
    font-family: var(--font-en);
    font-size: 18px;
    color: inherit;
    opacity: .55;
    line-height: 1;
  }
}

/* Phase-2 (navy) overrides for correction-flow */
.flow-block.is-phase-2 .correction-flow {
  background: rgba(var(--navy-rgb), .04);
  border-color: var(--navy-tint);
}
.flow-block.is-phase-2 .correction-flow-title { color: var(--navy); }
.flow-block.is-phase-2 .correction-flow-title .cf-title-ico { color: var(--navy); }
.flow-block.is-phase-2 .correction-flow-step {
  border-color: var(--navy-tint);
}
.flow-block.is-phase-2 .correction-flow-step .cf-num { color: var(--navy); }
.flow-block.is-phase-2 .cf-connector { color: var(--navy); }

@media (max-width: 600px) {
  .step-item { grid-template-columns: 1fr; gap: 8px; }
}

/* Level progression (1周目 → 2周目) */
.level-progression {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
  margin: 16px 0 8px;
}
.level-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
  position: relative;
  display: flex; flex-direction: column;
  gap: 8px;
}
.level-card-stage {
  display: flex; align-items: baseline; gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}
.level-card-num {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.level-card-stage-label {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.level-card-tag {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: auto;
}
.level-card-body {
  font-family: var(--font-jp);
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.level-arrow {
  display: grid; place-items: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  padding: 0 4px;
}
/* Phase 2 (navy) override */
.flow-block.is-phase-2 .level-card-num,
.flow-block.is-phase-2 .level-arrow { color: var(--navy); }
.flow-block.is-phase-2 .level-card-tag {
  color: var(--navy);
  background: var(--navy-soft);
}
.flow-block.is-phase-2 .level-card.is-mastery {
  border-color: var(--navy-tint);
}
.flow-block.is-phase-1 .level-card.is-mastery {
  border-color: var(--accent-tint);
}
@media (max-width: 600px) {
  .level-progression { grid-template-columns: 1fr; }
  .level-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* Voice — card grid + modal (iCore-style) */
.voice-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.4vw, 28px);
}

.voice-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.voice-card:hover {
  border-color: var(--accent-tint);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.voice-card-title {
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.7vw, 18px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.voice-card-body {
  display: flex;
  align-items: center;
  gap: 18px;
}
.voice-card-info {
  display: flex; flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.voice-card-info .voice-name {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
}
.voice-card-info .voice-result {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0;
  box-shadow: 0 1px 2px rgba(var(--accent-rgb),.18), 0 3px 8px rgba(var(--accent-rgb),.14);
}
.voice-card-tags {
  display: flex; flex-wrap: wrap;
  gap: 6px 8px;
}
.voice-tag {
  display: inline-block;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0;
}
.voice-card-more {
  margin-top: auto;
  align-self: flex-end;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid var(--accent-tint);
  padding: 10px 20px;
  border-radius: 999px;
  letter-spacing: 0;
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
}
.voice-card-more svg {
  width: 12px; height: 12px;
  flex-shrink: 0;
  transition: transform .2s;
}
.voice-card-more:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb),.22);
}
.voice-card-more:hover svg { transform: translateX(3px); }

/* Avatar (used in card and modal) */
.voice-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: #FAF8F4;
  border: none;
  color: var(--accent);
  display: grid; place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.voice-avatar svg { width: 40px; height: 40px; }
.voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.3);
  transform-origin: center;
  display: block;
}
.voice-avatar img[src*="student-female"] {
  transform: scale(1.5);
}
.voice-avatar.voice-avatar-lg {
  width: 132px; height: 132px;
}

/* Modal */
.voice-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(90vw, 760px);
  max-height: 88vh;
  border: none;
  border-radius: 18px;
  padding: 0;
  background: var(--card);
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
  overflow: hidden;
}
.voice-modal::backdrop {
  background: rgba(26, 26, 26, .55);
  backdrop-filter: blur(4px);
}
.voice-modal-inner {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px) clamp(24px, 3vw, 40px);
  overflow-y: auto;
  max-height: 88vh;
}
.voice-modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  margin-bottom: 8px;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--fg);
  cursor: pointer;
  z-index: 5;
  transition: background .2s, border-color .2s, color .2s;
}
.voice-modal-close:hover {
  background: var(--accent-soft);
  border-color: var(--accent-tint);
  color: var(--accent);
}
.voice-modal-close svg { width: 14px; height: 14px; }
.voice-modal-header {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: -28px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.voice-modal-headline { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.voice-modal-headline h3 {
  font-family: var(--font-heading);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
  margin: 0;
}
.voice-modal-headline .voice-meta {
  display: flex; flex-wrap: wrap;
  gap: 6px 14px;
}
.voice-modal-headline .voice-meta span {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--muted);
}
.voice-modal-headline .voice-meta .voice-name {
  color: var(--fg);
  font-weight: 600;
}
.voice-modal-headline .voice-meta .voice-result {
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 5px 14px;
  border-radius: 6px;
  letter-spacing: 0;
  box-shadow: 0 1px 2px rgba(var(--accent-rgb),.18), 0 4px 10px rgba(var(--accent-rgb),.14);
}

/* Voice sections (in modal) */
.voice-sections {
  display: flex; flex-direction: column;
  gap: 28px;
}
.voice-section {
  display: flex; flex-direction: column;
  gap: 12px;
}
.voice-section-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  color: var(--fg);
  margin: 0;
  padding-left: 14px;
  position: relative;
}
.voice-section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 16px;
  background: var(--accent);
  border-radius: 2px;
}
.voice-section-body {
  padding-left: 14px;
}
.voice-section-body p {
  font-family: var(--font-jp);
  color: var(--fg);
  font-size: 14px;
  line-height: 2.05;
  margin-bottom: 12px;
}
.voice-section-body p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .voice-list { grid-template-columns: 1fr; }
  .voice-modal { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; }
  .voice-modal-inner { max-height: 100vh; }
  .voice-modal-header {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .voice-avatar.voice-avatar-lg {
    width: 100px; height: 100px;
    margin: 0 auto;
  }
  .voice-modal-headline { align-items: center; }
  .voice-modal-headline .voice-meta { justify-content: center; }
  .voice-modal-headline .voice-card-tags { justify-content: center; }
}

/* Course Info Bar — sits under Features grid */
.course-info-bar {
  margin-top: clamp(40px, 6vh, 56px);
  padding: clamp(28px, 3.5vw, 36px) clamp(24px, 3vw, 36px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
}
.course-info-bar.is-two {
  grid-template-columns: repeat(2, 1fr);
}
.course-info-item {
  padding: 0 clamp(18px, 2vw, 28px);
  display: flex; flex-direction: column;
  gap: 12px;
  position: relative;
}
.course-info-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: var(--border);
}
.course-info-item:first-child { padding-left: 0; }
.course-info-item:last-child { padding-right: 0; }
.course-info-item .label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
}
.course-info-item .label svg { width: 14px; height: 14px; }
.course-info-item .label i.ph { font-size: 14px; line-height: 1; }
.stage-date i.ph.ico { font-size: 14px; line-height: 1; }
.support-icon i.ph { font-size: 22px; line-height: 1; }
i.ph.phase-eyebrow-ico { font-size: 14px; line-height: 1; vertical-align: -2px; }
.course-info-item .main {
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.55;
  letter-spacing: 0;
}
.course-info-item .sub {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}
.course-info-item .faculty-tags {
  display: flex; flex-wrap: wrap;
  gap: 6px;
}
.course-info-item .faculty-tag {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  letter-spacing: 0;
}
@media (max-width: 760px) {
  .course-info-bar { grid-template-columns: 1fr; gap: 24px; }
  .course-info-item { padding: 0; }
  .course-info-item:not(:last-child)::after {
    width: auto; right: 0; left: 0; bottom: -12px; top: auto;
    height: 1px;
  }
}

/* ============================================================
   RECOMMENDED FOR — placed below course-info-bar in FEATURES
   ============================================================ */
.recommended-for {
  margin-top: clamp(36px, 5vh, 56px);
  padding: clamp(32px, 4.5vw, 44px);
  background: #FBF6F2;
  border-radius: 14px;
}
.recommended-for-head {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin: 0 0 22px;
  letter-spacing: 0;
}
.recommended-for-head .lbl {
  display: inline-block;
  position: relative;
  padding-left: 14px;
}
.recommended-for-head .lbl::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
}
.recommended-for-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.recommended-for-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.recommended-for-list li .check {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}
.recommended-for-list li .check i.ph { font-size: 20px; line-height: 1; }
@media (max-width: 600px) {
  .recommended-for { padding: 24px 18px; }
  .recommended-for-head { font-size: 16px; margin-bottom: 18px; }
  .recommended-for-list li { font-size: 16px; gap: 10px; }
  .recommended-for-list li .check { font-size: 18px; }
  .recommended-for-list li .check i.ph { font-size: 18px; }
}

/* FAQ rules live in shared/site-style.css so homepage, FAQ index, and every
   course LP render one canonical component. */

/* Profile */
.profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.profile-side .avatar-wrap {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 50%;
  overflow: hidden;
}
.profile-side .avatar-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.profile-main { display: flex; flex-direction: column; gap: 28px; }
.profile-name {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 10px 18px;
}
.profile-name .jp {
  font-family: var(--font-jp);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}
.profile-name .en {
  font-family: var(--font-en);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.profile-roles {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.profile-roles li {
  font-family: var(--font-jp);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
  padding-left: 16px;
  position: relative;
}
.profile-roles li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 1px;
  background: var(--accent);
}
.profile-body { display: flex; flex-direction: column; gap: 18px; }
.profile-body p {
  font-family: var(--font-jp);
  color: var(--muted);
  font-size: 16px;
  line-height: 2.05;
}
.profile-body .lead {
  color: var(--fg);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
}
.profile-body .closing {
  font-family: var(--font-jp);
  color: var(--fg);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.95;
  margin-top: 8px;
}
.profile-cta {
  margin-top: 12px;
  display: flex;
}
.profile-cta .btn { padding: 13px 24px; font-size: 14px; }
@media (max-width: 760px) {
  .profile { grid-template-columns: 1fr; }
  .profile-side .avatar-wrap { max-width: 180px; margin: 0 auto; }
}

/* Contact / Apply CTA */
.cta-block {
  padding: var(--pad-y) var(--pad-x);
  background: var(--bg-soft);
  text-align: center;
  position: relative;
}
.cta-block#apply {
  background:
    linear-gradient(135deg,
      #FBF4DD 0%,
      #F6EDCC 22%,
      #F2EAD8 48%,
      #ECE7DD 72%,
      #E5E2DA 100%);
}
.cta-block + .cta-block {
  border-top: 1px solid var(--border);
}
.cta-block-wrap {
  max-width: 680px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 18px;
  align-items: center;
}
.cta-block h2 {
  font-family: var(--font-heading);
  font-feature-settings: normal;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.45;
}
.cta-block p {
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 15px);
  line-height: 2;
  max-width: 56ch;
  font-family: var(--font-jp);
}
.cta-block .btn { margin-top: 8px; }
.cta-block .note {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Contact mini — subsection style under Apply CTA */
.contact-mini {
  padding: clamp(56px, 8vh, 80px) var(--pad-x);
  background: var(--bg);
  text-align: center;
}
.contact-mini-wrap {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: clamp(36px, 5vh, 56px) clamp(28px, 4vw, 56px);
  background: rgba(var(--accent-rgb), .12);
  border: 1px solid rgba(var(--accent-rgb), .12);
  border-radius: var(--radius-lg);
}
.contact-mini-eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.contact-mini-eyebrow::before,
.contact-mini-eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: .55;
}
.contact-mini-title {
  font-family: var(--font-heading);
  font-feature-settings: normal;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  margin: 0;
}
.contact-mini-lead {
  font-family: var(--font-jp);
  font-size: clamp(13.5px, 1.15vw, 15px);
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
  max-width: 52ch;
}
.contact-mini-link {
  font-family: var(--font-jp);
  font-size: clamp(14px, 1.2vw, 15px);
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0;
  margin-top: 4px;
  padding: 12px 28px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: var(--bg);
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-mini-link:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(var(--accent-rgb),.22);
  transform: translateY(-1px);
}
.contact-mini-link .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.contact-mini-link:hover .arrow { transform: translateX(3px); }
.contact-mini-link .contact-mini-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* 関連コース（コースページ相互リンク） */
.related-courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 26px);
}
@media (max-width: 760px) {
  .related-courses-grid { grid-template-columns: 1fr; }
}
.related-course-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 28px);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.related-course-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), .12);
  transform: translateY(-2px);
}
.related-course-tag {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
}
.related-course-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.6;
}
.related-course-more {
  margin-top: auto;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.related-course-more .arrow { display: inline-block; transition: transform .2s ease; }
.related-course-card:hover .related-course-more .arrow { transform: translateX(3px); }

/* あわせて読みたい（関連コースセクション内、ブログ記事への軽量リンク） */
.related-articles {
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: clamp(20px, 2.4vw, 26px);
  border-top: 1px solid var(--border);
}
.related-articles-label {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 12px;
}
.related-articles-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-article-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  width: fit-content;
}
.related-article-link:hover { text-decoration: underline; }
.related-article-link .arrow { display: inline-block; transition: transform .2s ease; }
.related-article-link:hover .arrow { transform: translateX(3px); }

/* ============================================================
   SHARED COURSE COMPONENTS
   Admission category changes content and plan count, not layout.
   ============================================================ */
.course-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}
.course-feature-grid > .course-feature-card {
  min-width: 0;
  padding: clamp(26px, 3vw, 34px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-content: start;
  gap: 14px 16px;
}
.course-feature-grid > .course-feature-card:hover {
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}
.course-feature-card :is(.feature-icon, .support-icon) {
  grid-column: 1;
  grid-row: 1;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--accent-soft);
}
.course-feature-card :is(.feature-icon, .support-icon) :is(svg, i.ph) {
  width: 21px;
  height: 21px;
  font-size: 21px;
}
.course-feature-card .feature-num {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-soft);
  text-transform: uppercase;
}
.course-feature-card h3 {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--fg);
}
.course-feature-card h3 .marker {
  padding: 0;
  background: none;
  box-decoration-break: initial;
  -webkit-box-decoration-break: initial;
}
.course-feature-card p {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--muted);
}

.course-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 2.4vw, 26px);
  align-items: stretch;
}
.course-plan-grid > .course-plan-card {
  min-width: 0;
  max-width: none;
  height: 100%;
  padding: clamp(28px, 3.4vw, 38px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  gap: 22px;
}
.course-plan-grid > .course-plan-card:hover {
  border-color: var(--border);
  box-shadow: none;
  transform: none;
}
.course-plan-head,
.course-plan-card .pricing-head {
  min-height: 0;
  padding-bottom: 0;
  border-bottom: 0;
  background: transparent;
  align-items: flex-start;
  text-align: left;
}
.course-plan-kicker,
.course-plan-card .pricing-tag {
  display: block;
  margin: 0 0 10px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.course-plan-head h3,
.course-plan-card .pricing-head h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--fg);
}
.course-plan-summary,
.course-plan-card .pricing-desc {
  margin: 10px 0 0;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--muted);
  max-width: none;
}
.course-plan-card .price {
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}
.course-plan-card .price-num {
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 600;
}
.course-plan-card .pricing-cta { order: 3; margin-top: auto; }
.course-plan-inclusions,
.course-plan-card .pricing-features {
  order: 2;
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 14px;
}
.course-plan-inclusions li,
.course-plan-card .pricing-features li {
  min-width: 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.course-plan-inclusions li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: .7em;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--accent);
}
.course-plan-inclusions li,
.course-plan-card .pricing-feat-text strong {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--fg);
}
.course-plan-card .pricing-icon {
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 0;
  color: var(--accent);
  background: transparent;
}
.course-plan-card .pricing-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.course-offer-layout.course-offer-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vw, 26px);
}
.course-offer-layout > .course-plan-grid {
  order: -1;
  width: min(100%, 620px);
  align-self: center;
}
.course-offer-layout > .course-plan-grid .course-plan-inclusions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.course-facts-grid {
  margin-top: clamp(26px, 4vw, 40px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.course-facts-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.course-fact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.course-facts-grid > .course-fact-row { display: contents; }
.course-facts-grid > .course-fact-card.is-date { grid-column: 1 / -1; }
.course-facts-grid > .course-fact-card,
.course-facts-grid > .course-fact-row > .course-fact-card {
  min-width: 0;
  padding: clamp(24px, 2.8vw, 30px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.course-fact-card:not(:last-child)::after { display: none; }
.course-facts-grid .course-fact-card { padding: clamp(24px, 2.8vw, 30px); }
.course-fact-card:first-child,
.course-fact-card:last-child { padding-inline: clamp(24px, 2.8vw, 30px); }
.course-fact-card :is(.label, .details-label) {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--accent);
}
.course-fact-card :is(.main, .details-main, .details-date-main) {
  font-family: var(--font-jp);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--fg);
}
.course-fact-card :is(.sub, .details-sub) {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--muted);
}
.course-offer-layout > .course-fact-card { width: 100%; }

@media (max-width: 900px) {
  .course-feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .course-plan-grid,
  .course-facts-grid,
  .course-facts-grid.is-two,
  .course-fact-row { grid-template-columns: 1fr; }
  .course-offer-layout > .course-plan-grid .course-plan-inclusions { grid-template-columns: 1fr; }
  .course-feature-card,
  .course-plan-card,
  .course-fact-card { padding: 24px 20px; }
}

/* ============================================================
   CANONICAL COURSE LP CONTRACT
   These classes are shared by seminar, correction and holistic LPs.
   Variant styles may change content-specific accents, never the layout.
   ============================================================ */
.course-lp-hero { min-width: 0; }
.course-lp-hero .course-hero-text { min-width: 0; }
.course-lp-hero .course-tag-group,
.course-lp-hero .course-hero-actions { flex-wrap: wrap; }

.course-exam-insight { min-width: 0; }
.course-exam-insight > :last-child { margin-bottom: 0; }

.course-curriculum {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 28px);
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}
.course-curriculum--seminar,
.course-curriculum--split { max-width: none; }
.course-curriculum.schedule-grid--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.course-curriculum-stage {
  min-width: 0;
  overflow: hidden;
  padding: clamp(28px, 3.4vw, 36px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.course-curriculum-stage .schedule-day-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: calc(-1 * clamp(28px, 3.4vw, 36px)) calc(-1 * clamp(28px, 3.4vw, 36px)) 24px;
  padding: 22px clamp(28px, 3.4vw, 36px);
  background: var(--accent);
}
.course-curriculum-phase.is-phase-2 .course-curriculum-stage .schedule-day-head {
  background: var(--navy, var(--accent));
}
.course-curriculum-stage .schedule-day-head .day {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
}
.course-curriculum-stage .schedule-day-head .date {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.course-curriculum-stage .schedule-day-head .dur {
  margin-left: auto;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.course-curriculum-stage .schedule-list {
  display: flex;
  flex-direction: column;
  list-style: none;
}
.course-curriculum--seminar:not(.schedule-grid--split) .schedule-list {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 0 32px;
}
.course-curriculum-stage .schedule-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-jp);
}
.course-curriculum-stage .schedule-list li:first-child,
.course-curriculum--seminar:not(.schedule-grid--split) .schedule-list li:nth-child(3n + 1) {
  border-top: 0;
}
.course-curriculum-stage .schedule-list li .num {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
}
.course-curriculum-phase.is-phase-2 .schedule-list li .num {
  background: color-mix(in srgb, var(--navy, var(--accent)) 12%, #fff);
  color: var(--navy, var(--accent));
}
.course-curriculum-stage .schedule-list li.is-interstitial .num {
  background: var(--bg-soft);
  color: var(--muted);
}
.course-curriculum-stage .schedule-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.course-curriculum-stage .schedule-item-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.course-curriculum-stage .schedule-item-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--fg);
}
.course-curriculum-stage .schedule-item-desc {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}
.course-curriculum-stage .schedule-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.course-curriculum-phase.is-phase-2 .schedule-badge {
  background: color-mix(in srgb, var(--navy, var(--accent)) 12%, #fff);
  color: var(--navy, var(--accent));
}

.course-curriculum-cycle {
  margin-top: clamp(28px, 3.6vw, 40px);
  padding: clamp(28px, 3.4vw, 36px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.course-curriculum-cycle .study-flow-intro { margin: 0 0 24px; }
.course-curriculum-cycle .study-flow-intro h3 {
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
}
.course-curriculum-cycle .study-flow-intro p,
.course-curriculum-cycle .study-flow-body p {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}
.course-curriculum-cycle .study-flow { display: flex; flex-direction: column; }
.course-curriculum-cycle .study-flow-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 18px;
}
.course-curriculum-cycle .study-flow-icon-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.course-curriculum-cycle .study-flow-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 19px;
}
.course-curriculum-cycle .study-flow-icon.is-end {
  background: var(--bg-soft);
  color: var(--muted);
}
.course-curriculum-cycle .study-flow-line {
  width: 2px;
  flex: 1;
  min-height: 20px;
  margin-top: 6px;
  background: var(--border);
}
.course-curriculum-cycle .study-flow-step:last-child .study-flow-line { display: none; }
.course-curriculum-cycle .study-flow-body { min-width: 0; padding-bottom: 30px; }
.course-curriculum-cycle .study-flow-step:last-child .study-flow-body { padding-bottom: 0; }
.course-curriculum-cycle .study-flow-body .step-label {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
}
.course-curriculum-cycle .study-flow-body h4 {
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--fg);
}

/* Optional curriculum tool labels (Google Docs / Slides / Canva, etc.). */
.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px 5px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--fg);
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.tc-ico {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
}
.tc-ico svg { display: block; width: 13px; height: 13px; }
.tc-gdoc { background: #4285F4; }
.tc-gslide { background: #C67800; }
.tc-canva {
  background: linear-gradient(135deg, #008E95 0%, #6420B8 100%);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
}

.course-instructor,
.course-testimonials,
.course-faq,
.course-related { min-width: 0; }
.course-instructor img { display: block; max-width: 100%; }
.course-testimonials > *,
.course-faq > *,
.course-related > * { min-width: 0; }

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}
.outcome-item {
  min-width: 0;
  padding: clamp(24px, 2.8vw, 32px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.outcome-num {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-en);
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.outcome-item h3 {
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--fg);
}
.outcome-item p { font-size: 16px; line-height: 1.9; color: var(--muted); }

.details-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(32px, 4vh, 48px);
}
.details-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.details-card {
  min-width: 0;
  padding: clamp(24px, 2.6vw, 30px) clamp(20px, 2.2vw, 26px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.details-card.is-date { padding: clamp(30px, 3.4vw, 40px) clamp(24px, 2.8vw, 34px); }
.details-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.details-label i.ph { font-size: 16px; }
.details-main { font-size: 19px; font-weight: 600; line-height: 1.5; color: var(--fg); }
.details-date-main { font-size: clamp(24px, 2.8vw, 30px); font-weight: 600; line-height: 1.4; color: var(--fg); }
.details-sub { font-size: 16px; line-height: 1.8; color: var(--muted); }
.details-price-card {
  width: 100%;
  max-width: 320px;
  align-self: center;
  padding: clamp(28px, 3.2vw, 36px) clamp(24px, 2.8vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.details-price-card .price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  padding-top: 4px;
  font-family: var(--font-en);
}
.details-price-card .price-num { font-size: clamp(36px, 4vw, 44px); font-weight: 600; line-height: 1; color: var(--fg); }
.details-price-card .price-unit { font-size: 16px; font-weight: 600; color: var(--fg); }

.notice-box {
  margin-top: 24px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.notice-box i.ph { flex: 0 0 auto; margin-top: 2px; font-size: 18px; color: var(--muted); }
.notice-box p { font-size: 14px; line-height: 1.8; color: var(--muted); }

body.course-waseda-bunka-eigo .hero-faculty-band-a { color: #014d95; font-weight: 600; }
body.course-waseda-bunka-eigo .hero-faculty-band-b { color: #006d67; font-weight: 600; }
.pricing-grid.pricing-grid-single {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

@media (max-width: 640px) {
  .course-curriculum.schedule-grid--split { grid-template-columns: 1fr; }
  .course-curriculum--seminar:not(.schedule-grid--split) .schedule-list {
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }
  .course-curriculum--seminar:not(.schedule-grid--split) .schedule-list li:nth-child(3n + 1) {
    border-top: 1px solid var(--border);
  }
  .course-curriculum--seminar:not(.schedule-grid--split) .schedule-list li:first-child { border-top: 0; }
}
@media (max-width: 760px) {
  .outcome-grid,
  .details-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .course-curriculum-stage,
  .course-curriculum-cycle { padding: 22px 18px; }
  .course-curriculum-stage .schedule-day-head {
    margin: -22px -18px 20px;
    padding: 18px;
  }
  .course-curriculum-stage .schedule-day-head .dur { margin-left: 0; }
}
