/* ============================================================
   CloudTech トップページ 固有
   ------------------------------------------------------------
   前提: tokens.css → base.css を先に読んでいること。

   鉄則: base.css にあるセレクタをここで再定義しない。
   見た目を変えたいときは、
     ・色だけなら tokens.css の変数を .page-front に渡す
     ・形が違うなら base.css に修飾クラスを足す
   のどちらかにする。
   ============================================================ */

/* ---------- §1 Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 92% 14%, rgba(249, 115, 22, 0.18), transparent 65%),
    radial-gradient(600px 400px at 85% 82%, rgba(148, 163, 184, 0.12), transparent 60%),
    linear-gradient(165deg, #fff8f1 0%, var(--brand-tint) 44%, #fff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background: repeating-linear-gradient(-45deg, var(--brand) 0px, var(--brand) 2px, transparent 2px, transparent 20px);
  pointer-events: none;
}

.hero-full {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
  max-width: 1480px;
  margin-inline: auto;
  min-height: 560px;
}
.hero-copy-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 48px 48px clamp(24px, 4vw, 72px);
}
.hero-figure-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 32px 16px;
}
.hero-figure-col img {
  display: block;
  width: 100%;
  max-width: 580px;
  height: auto;
  border-radius: var(--radius-lg);
}

.hero-sub-copy {
  margin: 0 0 12px;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 600;
  line-height: 1.7;
  color: var(--brand);
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
}
.hero-tagline {
  margin: 0 0 12px;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--ink);
}
.hero-service-logo {
  display: block;
  width: clamp(280px, 34vw, 480px);
  height: auto;
  margin-bottom: 16px;
}
.hero-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ink-3);
  text-align: left;
}
.hero-catchphrase {
  font-size: 1.2rem; line-height: 1.7; color: var(--brand); font-weight: 800; margin: 16px 0 8px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* PCでは非表示。スマホの @media (max-width: 1000px) で display: flex に変わる */
.hero-figure-mobile { display: none; }

/*
  月桂樹バッジとマーカーは base.css が持っている。ここでは再定義しない。
  月桂樹を再定義すると、base の `scale: -1 1` と transform が二重に効いて
  右側の枝が反転しなくなる（実際に一度起きた）。
*/

@media (max-width: 1000px) {
  .hero-full {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy-col {
    align-items: center;
    text-align: center;
    padding: 32px 24px 16px;
  }

  /*
    スマホではヒーロー画像をロゴの直後に配置する。
    hero-figure-col（PC用の右カラム）を非表示にし、
    hero-copy-col 内の hero-figure-mobile を表示する。
    hero-copy-col は flex-direction: column なので、order で並び替える。

    並び順:
      1. サブコピー（「最短距離は…」）
      2. h1（「AWS資格に、一発合格。」）
      3. タグライン（「胸を張れる実力で…」）
      4. CloudTechロゴ
      5. ヒーロー画像（hero-figure-mobile）
      6. 月桂樹（3つ横並び）
      7. 注釈
      8. CTAボタン
  */
  .hero-sub-copy     { order: 1; }
  .hero h1           { order: 2; }
  .hero-tagline      { order: 3; }
  .hero-service-logo { order: 4; width: clamp(200px, 50vw, 320px); }
  .hero-figure-mobile {
    order: 5;
    display: flex;
    justify-content: center;
    padding: 8px 0 12px;
    width: 100%;
  }
  .hero-figure-mobile img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
  }
  .hero-figure-col { display: none; }
  .hero .laurel-row {
    order: 7;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    margin: 12px 0 8px;
  }
  .hero-note   { order: 8; text-align: left; width: 100%; }
  .hero-actions { order: 9; justify-content: center; }
  .hero-catchphrase { order: 6; }
}

/* ---------- §2 資格の先へ帯 ---------- */

.band-beyond {
  background: var(--authority);
  color: #fff;
  padding: 10px 0;
}
.band-beyond-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 13px;
  font-weight: 600;
}
.band-cell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.band-sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.25);
  margin: 0 16px;
}
.band-cert-logo {
  height: 32px;
  width: auto;
  vertical-align: middle;
  background: #fff;
  border-radius: 3px;
  padding: 2px 4px;
}
.band-cell-accent {
  color: var(--brand);
}

/* ふわふわ浮遊アニメーション */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.btn-float {
  animation: float 2.5s ease-in-out infinite;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  border-color: var(--brand);
  color: var(--brand);
  font-weight: 700;
}
.btn-float:hover { box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.btn-arrow-wrap {
  position: relative;
  display: inline-block;
}
.scroll-arrow {
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.scroll-arrow svg {
  animation: arrow-drop 2s ease-in-out infinite;
  opacity: 0;
}
@keyframes arrow-drop {
  0%   { opacity: 0; transform: translateY(-12px); }
  20%  { opacity: .8; }
  60%  { opacity: .8; transform: translateY(8px); }
  100% { opacity: 0; transform: translateY(16px); }
}
.band-beyond-note {
  margin: 4px 0 0;
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,.35);
}

/* ---------- §3 共感 ---------- */

/* -- 吹き出し（ソラ/カナタの会話） -- */

.dialogue { display: flex; flex-direction: column; gap: 18px; margin: 36px 0 0; }

.dialogue-tight { margin-top: 24px; }

.dialogue-row { display: flex; align-items: flex-start; gap: 16px; }

.dialogue-row.from-kanata { flex-direction: row-reverse; }

.dialogue-avatar { flex-shrink: 0; width: 68px; text-align: center; }

.dialogue-avatar img {
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 2px solid var(--line);
}

.dialogue-row.from-sora .dialogue-avatar img { border-color: var(--accent); }

.dialogue-row.from-kanata .dialogue-avatar img { border-color: var(--brand); }

.dialogue-name {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.dialogue-bubble {
  position: relative;
  max-width: 640px;
  padding: 16px 22px;
  border-radius: 16px;
  font-size: 15.5px;
  line-height: 1.85;
}

.dialogue-bubble p { margin: 0; }

.from-sora .dialogue-bubble { background: var(--accent-tint); }

.from-kanata .dialogue-bubble { background: var(--brand-tint); }

.dialogue-bubble::before {
  content: "";
  position: absolute;
  top: 22px;
  width: 0;
  height: 0;
  border-block: 8px solid transparent;
}

.from-sora .dialogue-bubble::before {
  inset-inline-start: -9px;
  border-inline-end: 10px solid var(--accent-tint);
}

.from-kanata .dialogue-bubble::before {
  inset-inline-end: -9px;
  border-inline-start: 10px solid var(--brand-tint);
}

/* -- 不安の3カード -- */

.empathy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.empathy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.empathy-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}

.empathy-icon img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  object-fit: contain;
}

.empathy-card h3 { margin: 0 0 12px; font-size: 18px; line-height: 1.5; }

.empathy-card p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* ---------- 2枚組カード（復習サポート・転職/コミュニティ） ---------- */

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

/* ---------- 問題作成方針 2カラムレイアウト ---------- */

.origin-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}
.origin-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.origin-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.origin-visual {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.origin-visual-full {
  margin: 32px 0 0;
}
.cert-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cert-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.cert-row:last-of-type { border-bottom: none; }
.cert-row .exam-code {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
  width: 40px;
}
.cert-row .exam-name {
  flex: 1;
  font-size: 13px;
  color: var(--ink-2);
  min-width: 0;
  word-break: break-word;
}
.cert-row .exam-qty {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-align: right;
}
.cert-list .note {
  padding: 12px 16px;
  margin: 0;
  background: var(--bg-alt);
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}

@media (max-width: 1000px) {
  .origin-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* セクション内の小見出しブロック（動画教材の内訳など） */
.sub-block {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.sub-block p { margin: 0 0 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }

/* ---------- 対応資格の一覧 ---------- */

.exam-list { margin-top: 48px; }
.exam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.exam-item {
  background: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.exam-code {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
}
.exam-name {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
  min-width: 0;
  word-break: break-word;
}

/* ---------- ショーケース（画像＋説明の2カラム） ---------- */

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
.showcase-visual { min-width: 0; }
.showcase-visual .showcase-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.showcase-content { min-width: 0; }
.showcase-feature {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.showcase-feature:last-of-type { border-bottom: none; }
.showcase-feature h4 { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.showcase-feature p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.showcase-summary {
  margin: 24px 0 0;
  padding: 18px 20px;
  background: var(--brand-tint);
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ---------- 解説コンテンツ 2カラム（左:実例画像、右:3ボックス） ---------- */

.content-split {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}
.content-samples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.content-sample-item {
  margin: 0;
}
.content-sample-item figcaption {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  text-align: center;
}
.content-sample {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.content-wide-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}
.content-wide-box h4 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
}
.content-wide-box p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .content-samples {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .content-wide-box {
    padding: 22px 20px;
  }
}

.lead-inline { margin: 0 0 20px; font-size: 15.5px; line-height: 1.8; }

/* ---------- AI質問の2モード ---------- */

.ai-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.ai-mode {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  text-align: left;
  border: 2px solid var(--line);
  min-width: 0;
}
.ai-mode.sora { border-color: #f4a8c8; background: #fdf2f8; }
.ai-mode.kanata { border-color: #b9a4f5; background: #f5f3ff; }
.ai-mode-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
}
.ai-mode-info { min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ai-mode-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ai-mode-name { font-weight: 700; font-size: 15px; }
.ai-mode-desc { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.ai-mode-credit {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}
.ai-mode.sora .ai-mode-credit { color: #db2777; }
.ai-mode.kanata .ai-mode-credit { color: #7c3aed; }

/* チェックリストは base.css の `class="check-list tick"` を使う */

/* ---------- §6 エコシステム ---------- */

/* 改善ループの図。2行の往復で循環を表す */
.ecosystem-visual {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  border-radius: var(--radius-lg);
}

.ecosystem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}
.ecosystem-img img {
  width: 100%;
  border-radius: var(--radius-lg);
}
.ecosystem-steps {
  margin: 0 0 16px;
  padding: 0 0 0 24px;
  font-size: 16px;
  line-height: 2.2;
  font-weight: 600;
}
.ecosystem-steps li::marker {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 1000px) {
  .ecosystem-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- 更新実績ストリップ（ecosystem セクション内） ---------- */

.update-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* 左: 統計数値 */
.update-strip-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  flex-shrink: 0;
}
.update-strip-title {
  width: 100%;
  margin: 0 0 -12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.update-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.update-stat-number {
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.update-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
}

/* 右: カルーセル */
.update-carousel-wrap {
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.update-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}
.update-carousel::-webkit-scrollbar { display: none; }

.update-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.2s, border-color 0.2s;
  min-height: 110px;
}
.update-card:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.12);
}
.update-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.update-card-id {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
}
.update-card-date {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
}
.update-card-summary {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* カルーセル矢印 */
.update-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.update-carousel-btn:hover { color: var(--brand); }
.update-carousel-prev { left: 4px; }
.update-carousel-next { right: 4px; }

@media (max-width: 1000px) {
  .update-strip {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .update-strip-stats {
    justify-content: center;
  }
  .update-card { flex: 0 0 220px; }
}

@media (max-width: 600px) {
  .update-strip-stats { gap: 20px; }
  .update-stat-number { font-size: 28px; }
  .update-card { flex: 0 0 200px; min-height: 100px; padding: 14px 16px; }
  .update-carousel-btn { width: 28px; height: 28px; font-size: 16px; }
}

.ecosystem-evidence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  align-items: start;
}
.ecosystem-evidence img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.ecosystem-evidence-text {
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- §8 問題の作られ方（トグル） ---------- */

.dash-preview { margin-top: 12px; }
.dash-preview summary {
  font-size: 13px; font-weight: 600; color: var(--brand); cursor: pointer;
}
.dash-preview summary::-webkit-details-marker { display: none; }
.dash-preview summary::before { content: "▶ "; font-size: 10px; }
.dash-preview[open] summary::before { content: "▼ "; }

.origin-toggle {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.origin-toggle summary {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.origin-toggle summary::before {
  content: "▶";
  font-size: 12px;
  color: var(--ink-3);
  transition: transform 0.2s;
}
.origin-toggle[open] summary::before {
  transform: rotate(90deg);
}
.origin-toggle summary::-webkit-details-marker { display: none; }
.origin-body {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
}
.origin-body p { margin: 0 0 16px; }
.origin-body p:last-child { margin-bottom: 0; }

/* ---------- §9 料金プラン ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.recommended {
  border-color: var(--authority);
  box-shadow: 0 0 0 2px var(--authority), var(--shadow-lg);
}
.pricing-card.recommended::before {
  content: "おすすめ";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--authority);
  color: #fff;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.pricing-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.pricing-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--authority);
  margin: 0 0 4px;
}
.pricing-price small { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.pricing-period { font-size: 13px; color: var(--ink-2); margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  --li-icon: "✓ ";
  text-align: start;
  font-size: 14px;
  line-height: 2;
  flex-grow: 1;
}
.pricing-features li {
  display: flex; align-items: baseline; gap: 6px;
}
.pricing-features li .plan-badge {
  width: 14px; height: 14px; flex-shrink: 0;
  margin-right: 0; position: relative; top: 1px;
}
.pricing-features .check-prefix {
  color: var(--success); font-weight: 700;
}
.pricing-features .pricing-subtotal {
  font-size: .8rem; color: var(--ink-3); padding-left: 20px; font-style: italic;
}
.pricing-gift {
  background: #fff8e1;
  border-radius: 6px;
  padding: 6px 10px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 4px;
}
.pricing-gift-coupon {
  background: #fff8e1;
  color: #f57f17;
  font-weight: 700;
}
.pricing-note {
  font-size: 12px;
  color: var(--ink-3);
  margin: 0 0 12px;
}
.pricing-card .pricing-note { margin-top: auto; }

/* 「1年以上使うなら永久がお得」。正直に書くとデコイとして機能する */
.pricing-advice {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--brand-tint);
  border: 1px solid #fbd7b0;
  border-radius: var(--radius);
  text-align: center;
}
.pricing-advice p { margin: 0; font-size: 15px; line-height: 1.8; }

/* ---------- Amazonギフト券キャンペーン ---------- */

.gift-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 2px solid var(--brand);
  border-radius: var(--radius-lg);
}
.gift-icon { font-size: 40px; flex-shrink: 0; }
.gift-content { min-width: 0; }
.gift-title { margin: 0 0 8px; line-height: 1.45; }
.gift-lead { font-size: 18px; font-weight: 700; }
.gift-amount {
  display: inline-block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--brand-dark);
  letter-spacing: -0.02em;
}
.gift-note { margin: 0; font-size: 12px; color: var(--ink-3); line-height: 1.75; }

/* ---------- 合格実績の大きい数値 ---------- */

.result-big {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  padding: 24px 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.result-big-number {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.result-big-label { font-size: 14px; font-weight: 600; color: var(--ink-3); }

/* ---------- 運営者の想い ---------- */

.founder-profile {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px 0 24px;
}
.founder-img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.founder-name { margin: 0; font-size: 19px; font-weight: 700; }
.founder-role { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-3); }
.founder-quote {
  margin: 0;
  padding: 28px 32px;
  background: #fff;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 15.5px;
  line-height: 1.95;
}
.founder-quote p { margin: 0 0 18px; }
.founder-quote p:last-child { margin-bottom: 0; }

/* ---------- 無料プレゼント（最終CTA内） ---------- */

.report-gift {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 720px;
  margin: 32px auto 0;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  text-align: start;
}
.report-gift-img,
.report-gift-img-placeholder {
  width: 220px;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
/* 画像仮置き: 実装時は report-gift-img に差し替える */
.report-gift-img-placeholder {
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  font-size: 12px;
}
.report-gift-text { min-width: 0; }
.report-gift-text p { margin: 6px 0 0; font-size: 14px; line-height: 1.75; }
.report-gift-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* ---------- §12 合格者の声 ---------- */

/* カード本体は base.css の .voice-grid / .voice-card を使う */

.voice-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

/* ---------- §13 FAQ ---------- */

/* 項目は base.css の `class="faq-item faq-flat"` を使う */

.faq-list {
  max-width: var(--max-narrow);
  margin-inline: auto;
}
.faq-tag {
  display: inline-block;
  padding: 2px 8px;
  margin-right: 6px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-tint);
  border: 1px solid var(--brand);
  border-radius: 4px;
  vertical-align: middle;
  line-height: 1.4;
}

/* ---------- §14 絞込 ---------- */

.narrowing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.narrowing-col h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
}
.narrowing-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.narrowing-col li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
}
.narrowing-col li:last-child { border-bottom: none; }
.narrowing-col.fit li::before {
  content: "◎ ";
  color: var(--success);
  font-weight: 700;
}
.narrowing-col.unfit li::before {
  content: "△ ";
  color: var(--ink-3);
  font-weight: 700;
}

/* ---------- §15 最終CTA ---------- */

.final-cta {
  background: linear-gradient(135deg, var(--authority), var(--authority-2));
  color: #fff;
  padding-block: 80px;
  text-align: center;
}
.final-cta .section-title { color: #fff; }

.final-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 40px auto 0;
  max-width: 960px;
}
.final-plan-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.final-plan-card.highlighted { border-color: var(--brand); background: rgba(249, 115, 22, 0.12); }
.final-plan-card .pricing-name { color: #fff; }
.final-plan-card .pricing-price { color: var(--brand); }
.final-plan-card .pricing-period { color: rgba(255, 255, 255, 0.6); }
.final-plan-card .btn { margin-top: 12px; }
.final-plan-card .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.final-plan-card .btn-ghost:hover { border-color: #fff; }
.final-cta .section-lead { color: rgba(255, 255, 255, 0.75); }

.final-cta-sub {
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin: 0 0 12px;
  text-align: center;
}
.final-cta-line-sm { font-size: clamp(16px, 2.2vw, 22px); }
.final-cta-line-md { font-size: clamp(24px, 3.2vw, 33px); font-weight: 700; }
.final-cta-line-lg { font-size: clamp(28px, 4.5vw, 48px); font-weight: 800; }
.final-cta-orange { color: var(--brand); }
.final-cta-underline {
  text-decoration: underline;
  text-decoration-color: #ffca28;
  text-underline-offset: 4px;
  text-decoration-thickness: 3px;
}
.final-free-box {
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
  text-align: center;
}
.final-free-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}
.final-free-header .pricing-name { color: #fff; margin: 0; font-size: 1.2rem; }
.final-free-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
}
.final-free-label {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
}
.final-free-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.final-free-vertical .final-free-header { margin-bottom: 0; }
.final-free-vertical .final-free-text { text-align: center; }

.final-free-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.final-free-text { text-align: left; }
.final-free-text p { color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.7; margin: 6px 0 0; }
.coupon-callout {
  margin-top: 10px;
  color: #ffca28;
  font-size: 15px;
  font-weight: 700;
}
.final-free-box .btn-lg { width: 100%; max-width: 480px; }

/* §8 動画ティーザー */
.video-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 32px; }
.video-left .section-lead { margin-bottom: 16px; }
.video-left .btn-row { margin-top: 24px; }
.video-roadmap-link { display: block; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s; }
.video-roadmap-link:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.video-roadmap-img { width: 100%; height: auto; display: block; }

/* こんな方に向いていますボックス */
.video-audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.video-audience-box {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.video-audience-box strong {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.video-audience-box p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* §10 Academy コンパクト紹介 */
#academy { padding-block: 56px; }
.academy-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 8px;
}
.academy-logo { height: 48px; width: auto; display: block; flex-shrink: 0; }
.academy-heading {
  font-size: 1.4rem; font-weight: 800; line-height: 1.4; margin: 0; color: var(--ink);
}
.academy-sub {
  font-size: 1rem; color: var(--ink-2); margin: 0 0 20px; line-height: 1.6;
  grid-column: 1 / -1;
}
.academy-sub-strong {
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.8;
}
.academy-compact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; align-items: start;
}
.academy-compact-img { width: 75%; height: auto; border-radius: var(--radius); display: block; margin: 0 auto; }
.academy-price-cert-row {
  display: flex; align-items: start; gap: 24px; margin-bottom: 24px;
}
.academy-price-box {
  background: #fff; border: 2px solid var(--authority); border-radius: var(--radius);
  padding: 16px 20px; display: inline-block; flex-shrink: 0;
}
.academy-price { font-size: 1.1rem; margin: 0; color: var(--ink-2); }
.academy-price-strike { text-decoration: line-through; color: var(--ink-3); }
.academy-price strong { font-size: 1.75rem; color: #d63031; }
.academy-desc { font-size: .9rem; line-height: 1.8; color: var(--ink-2); margin: 0 0 8px; }
.academy-compact-left .laurel-row { margin-bottom: 16px; }

/* 省庁認定テーブル（料金ボックスの直下・ダークボックス） */
.academy-cert-table {
  border-collapse: collapse; flex: 1; min-width: 0; margin: 0;
  background: var(--ink); border-radius: var(--radius);
  padding: 4px;
}
.academy-cert-table td {
  padding: 14px 16px; vertical-align: middle;
  font-size: .9rem; color: #fff; line-height: 1.5;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.academy-cert-table tr:last-child td { border-bottom: none; }
.academy-cert-table small { color: rgba(255,255,255,.6); font-size: .8rem; }
.cert-logo-cell {
  width: 140px; text-align: center; padding-right: 16px;
}
.cert-logo-cell img {
  height: 40px; max-height: 40px; width: auto; max-width: 120px;
  display: block; margin: 0 auto;
  background: #fff; border-radius: 6px; padding: 6px 10px;
  object-fit: contain;
}

/* §12 ユーザーの声カルーセル */
.voice-carousel-wrap {
  overflow: hidden; width: 100%; margin: 24px 0;
}
.voice-carousel {
  display: flex; gap: 24px;
  animation: voice-scroll 30s linear infinite;
  width: max-content;
}
.voice-carousel:hover { animation-play-state: paused; }

.voice-card-h {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 24px;
  min-width: 380px; max-width: 420px; flex-shrink: 0;
}
.voice-avatar-h {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.voice-body { flex: 1; min-width: 0; }
.voice-body blockquote {
  margin: 0; font-size: .85rem; line-height: 1.6; color: var(--ink);
}
.voice-body cite {
  display: block; margin-top: 8px; font-size: .75rem; color: var(--ink-3);
  font-style: normal;
}

@keyframes voice-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* §14 運営者メッセージ（統合版） */
.section-founder { background: #fff7ed; }
.founder-message {
  display: grid; grid-template-columns: 1fr 3fr; gap: 32px;
  align-items: start; margin-bottom: 48px;
}
.founder-message-avatar {
  text-align: center;
}
.founder-message-avatar img {
  width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  margin-bottom: 8px;
}
.founder-message-name {
  font-size: .9rem; font-weight: 700; color: var(--ink); margin: 0;
}
.founder-message-role {
  font-size: .75rem; color: var(--ink-3); margin: 4px 0 0;
}
.founder-message-text {
  font-size: .9rem; line-height: 1.8; color: var(--ink-2);
}
.founder-message-text p { margin: 0 0 12px; }
.founder-message-text p:last-child { margin-bottom: 0; }

/* §8b 転職サポート / コミュニティ */
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }

/* 転職サポートカード 横並びレイアウト */
.career-card-horizontal .career-card-body {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 12px 0 16px;
}
.career-card-horizontal .career-card-img {
  width: 160px;
  height: auto;
  flex-shrink: 0;
  border-radius: var(--radius);
  object-fit: cover;
}
.career-card-horizontal .career-card-text {
  min-width: 0;
}
@media (max-width: 600px) {
  .career-card-horizontal .career-card-body {
    flex-direction: column;
  }
  .career-card-horizontal .career-card-img {
    width: 100%;
    max-width: 200px;
  }
}

/* §13 法人プラン */
.corporate-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.corporate-right img {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0,0,0,.10);
  border: 1px solid var(--border);
}
.corporate-right .placeholder { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); border-radius: 8px; color: var(--muted); font-size: .875rem; }

/* フッターは base.css の共通4カラム構成をそのまま使う（固有CSSなし） */

/* ============================================================
   レスポンシブ（後で詳細に詰める。骨格の段階ではブレイクポイントだけ用意）
   ============================================================ */

@media (max-width: 1000px) {
  .empathy-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-evidence { grid-template-columns: 1fr; }
  .narrowing-grid { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .video-split { grid-template-columns: 1fr; }
  .video-hero-mobile-img { display: block !important; }
  .video-split .video-right { display: none; }
  .video-audience-grid { grid-template-columns: repeat(2, 1fr); }
  .corp-hero-mobile-img { display: block !important; }
  .corporate-split .corporate-right { display: none; }
  .cqs-mobile-img { display: block !important; }
  .origin-left .origin-visual { display: none; }
  .support-grid { grid-template-columns: 1fr; }
  .corporate-split { grid-template-columns: 1fr; }
  .founder-message { grid-template-columns: 1fr; text-align: center; }
  .founder-message-text { text-align: left; }
  .academy-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .academy-price-cert-row { flex-direction: column; }
  .academy-compact {
    display: flex; flex-direction: column; gap: 20px;
  }
  .academy-compact-right { order: 1; }
  .academy-compact-left { order: 2; }
}

@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .band-beyond-row { gap: 4px 0; font-size: 12px; }
  .band-sep { margin: 0 10px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .final-plans { grid-template-columns: 1fr; }
  .ai-modes { grid-template-columns: 1fr; }
  .gift-card { flex-direction: column; text-align: center; padding: 24px 20px; }
  .founder-profile { flex-direction: column; text-align: center; }
  .founder-quote { padding: 20px 22px; }
  .report-gift { flex-direction: column; text-align: center; }
  .exam-grid { grid-template-columns: 1fr; }
}
