/* ============================================================
   HIGH-FIVE DX診断プログラム — style.css
   デザイン参考: PDF画面イメージ（紺 × ゴールド × クリーム）
   スタイルシートの場所: public/assets/css/style.css
   ============================================================ */

/* ── CSS変数 ─────────────────────────────────── */
:root {
  /* ブランドカラー */
  --navy:        #1A2B5E;
  --navy-dark:   #0F1B40;
  --navy-mid:    #213270;
  --navy-light:  #2E4494;
  --gold:        #C8923A;
  --gold-light:  #E8AB48;
  --gold-pale:   #F5E4C0;
  --gold-xpale:  #FBF4E6;

  /* ページ背景 */
  --cream:       #F4EFE6;
  --cream-dark:  #EBE2D0;
  --cream-card:  #FDFAF5;

  /* テキスト */
  --text-dark:   #1C1510;
  --text-body:   #3A3028;
  --text-sub:    #6B5E4E;
  --text-muted:  #9A8E84;

  /* 状態色 */
  --danger:      #C0392B;
  --danger-pale: #FEF2F2;
  --success:     #27AE60;

  /* 形状 */
  --r-sm:   8px;
  --r:      14px;
  --r-lg:   20px;
  --r-pill: 100px;

  /* シャドウ */
  --sh-xs: 0 1px 4px rgba(26,43,94,.08);
  --sh-sm: 0 3px 12px rgba(26,43,94,.10);
  --sh:    0 6px 24px rgba(26,43,94,.14);
  --sh-lg: 0 16px 48px rgba(26,43,94,.18);
  --sh-xl: 0 24px 80px rgba(26,43,94,.22);

  /* トランジション */
  --ease: .22s cubic-bezier(.4,0,.2,1);
}

/* ── リセット ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.75;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ── ページラッパー ──────────────────────────── */
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }

/* ============================================================
   アプリヘッダー — PDF準拠: 紺地 + ロゴ + タイトル
   ============================================================ */
.app-header {
  background: var(--navy-dark);
  padding: 0 28px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
  border-bottom: 2px solid var(--gold);
}
.app-header-left {
  display: flex; align-items: center; gap: 12px;
}
.app-header-logo-img {
  height: 34px; width: 34px;
  border-radius: 50%;
  object-fit: cover;
  /* 黒背景ロゴを白く反転 */
  filter: invert(1) brightness(1.1);
  flex-shrink: 0;
}
.app-header-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: .95rem;
  color: #fff; letter-spacing: .12em;
}
.app-header-logo .sep {
  color: var(--gold); margin: 0 6px;
  font-weight: 400;
}
.app-header-title {
  font-size: .78rem; font-weight: 600;
  color: rgba(255,255,255,.65);
  letter-spacing: .06em;
}
.app-header-sub {
  font-size: .7rem; color: rgba(255,255,255,.4);
  letter-spacing: .1em; font-family: 'Montserrat', sans-serif;
}

/* ── フッター ────────────────────────────────── */
.app-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.35);
  text-align: center; font-size: .72rem;
  padding: 18px; margin-top: auto;
  letter-spacing: .06em;
  border-top: 1px solid rgba(200,150,60,.2);
}

/* ============================================================
   スタート画面 — PDF: 旅館写真背景 + ゴールド大見出し
   ============================================================ */
.start-page {
  min-height: calc(100vh - 58px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 25% 75%, rgba(200,150,60,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(200,150,60,.10) 0%, transparent 55%),
    linear-gradient(150deg, var(--navy-dark) 0%, #1a2a58 45%, #24388c 100%);
}
/* 格子状テクスチャ */
.start-page::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.025) 39px, rgba(255,255,255,.025) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.025) 39px, rgba(255,255,255,.025) 40px);
}

.start-card {
  position: relative;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(200,150,60,.35);
  border-radius: var(--r-lg);
  max-width: 680px; width: 100%;
  padding: 56px 52px;
  text-align: center;
  box-shadow: var(--sh-xl), inset 0 1px 0 rgba(255,255,255,.12);
  animation: fadeUp .7s ease both;
}
/* 上部ゴールドライン */
.start-card::before {
  content: '';
  position: absolute; top: 0; left: 50px; right: 50px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 0 0 2px 2px;
}
/* 装飾コーナー */
.start-card::after {
  content: '';
  position: absolute; bottom: 20px; right: 24px;
  width: 60px; height: 60px;
  background: url('/assets/img/logo.png') center/contain no-repeat;
  opacity: .12;
  filter: invert(1);
}

/* バッジ */
.start-badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; color: var(--gold);
  border: 1px solid rgba(200,150,60,.45);
  border-radius: var(--r-pill);
  padding: 5px 22px; margin-bottom: 32px;
}

/* 大見出し — PDFの「あなたのお宿、もっとラクに・もっと稼げるように」 */
.start-headline { margin-bottom: 28px; }
.start-headline-sub {
  display: block;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: rgba(255,255,255,.82);
  font-weight: 400; margin-bottom: 6px;
  letter-spacing: .04em;
}
.start-headline-main {
  display: block;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  color: var(--gold-light);
  font-weight: 900; line-height: 1.25;
  letter-spacing: .04em;
  text-shadow: 0 2px 20px rgba(200,150,60,.4);
}

.start-lead {
  color: rgba(255,255,255,.68);
  font-size: .95rem; line-height: 2;
  margin-bottom: 40px;
}

/* スタートボタン */
.btn-start {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  font-weight: 800; font-size: 1rem;
  padding: 16px 52px;
  border-radius: var(--r-pill);
  letter-spacing: .06em;
  box-shadow: 0 8px 28px rgba(200,150,60,.5);
  transition: transform var(--ease), box-shadow var(--ease);
}
.btn-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(200,150,60,.65);
}

/* ロゴ＋社名フッター */
.start-footer-logo {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 36px;
  font-size: .75rem; color: rgba(255,255,255,.38);
  letter-spacing: .12em;
}
.start-footer-logo img {
  height: 22px; width: 22px;
  border-radius: 50%; object-fit: cover;
  filter: invert(1); opacity: .45;
  display: inline-block;
}

/* ============================================================
   質問画面 — PDF: Q番号 + カテゴリバッジ + プログレスバー
   ============================================================ */
.question-page {
  min-height: calc(100vh - 58px);
  display: flex; flex-direction: column;
  background: var(--cream);
}

/* プログレスヘッダー */
.progress-header {
  background: #fff;
  border-bottom: 1px solid var(--cream-dark);
  padding: 14px 28px 0;
  box-shadow: var(--sh-xs);
}
.progress-meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.progress-step-icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800; flex-shrink: 0;
  border: 2px solid var(--gold);
  background: var(--gold-xpale); color: var(--gold);
  font-family: 'Montserrat', sans-serif;
}
.progress-step-icon.confirmed {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.progress-step-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .9rem;
  color: var(--gold); letter-spacing: .06em;
}
.progress-category {
  font-size: .75rem; color: #fff;
  background: var(--navy);
  padding: 3px 13px; border-radius: var(--r-pill);
  letter-spacing: .04em; font-weight: 600;
}
/* プログレスバー — PDFに合わせて細め+グラデーション */
.progress-bar-track {
  height: 4px; background: var(--cream-dark); border-radius: 2px; overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
  border-radius: 2px;
  transition: width .55s cubic-bezier(.4,0,.2,1);
}

/* 質問メインエリア */
.question-main {
  flex: 1; padding: 44px 24px 32px;
  max-width: 860px; margin: 0 auto; width: 100%;
}

/* 質問文 */
.question-text {
  font-size: clamp(1.3rem, 3.2vw, 1.7rem);
  font-weight: 900; color: var(--navy-dark);
  text-align: center; line-height: 1.5;
  margin-bottom: 28px; letter-spacing: .02em;
}

/* helpヒント */
.question-help {
  background: var(--gold-xpale);
  border: 1px solid rgba(200,150,60,.35);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 12px 16px; margin-bottom: 22px;
  font-size: .84rem; color: var(--text-body);
  display: flex; gap: 8px; align-items: flex-start;
}
.question-help-icon { flex-shrink: 0; }

/* 複数選択ヒント — PDFの「複数選択可」バッジ */
.multi-hint {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 18px;
  font-size: .83rem; color: var(--text-sub);
}
.badge-multi {
  background: var(--gold); color: #fff;
  font-size: .7rem; font-weight: 800;
  padding: 3px 11px; border-radius: var(--r-pill);
  letter-spacing: .05em;
}

/* ── 選択肢グリッド ──
   PDFに合わせ: 4択=2列, 5択以上=1列  */
.options-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 32px;
}
.options-grid.col-1 { grid-template-columns: 1fr; }
@media (max-width: 560px) { .options-grid { grid-template-columns: 1fr; } }

/* 選択肢カード — PDFの角丸カード、選択時=紺塗り+チェックマーク */
.option-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff;
  border: 2px solid var(--cream-dark);
  border-radius: var(--r);
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease),
              transform var(--ease), box-shadow var(--ease);
  position: relative;
  box-shadow: var(--sh-xs);
  user-select: none;
}
.option-card:hover {
  border-color: var(--navy-light);
  box-shadow: var(--sh);
  transform: translateY(-1px);
}
/* ラジオ/checkbox を完全に非表示 */
.real-radio, .real-checkbox {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
/* A/B/C... キーバッジ */
.option-key {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .9rem; color: var(--text-sub);
  flex-shrink: 0; transition: all var(--ease);
}
.option-label {
  flex: 1; font-size: .93rem; font-weight: 500;
  color: var(--text-dark); line-height: 1.5;
}
/* ラジオ: 右端チェックアイコン */
.option-check-icon {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .85rem;
  color: transparent; transition: all var(--ease);
}
/* チェックボックス: 角丸四角 */
.checkbox-box {
  width: 24px; height: 24px; border-radius: 6px;
  border: 2px solid var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .85rem;
  color: transparent; transition: all var(--ease);
  background: #fff;
}

/* 選択済み — PDFの紺塗り + ゴールドチェック */
.option-card.selected {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 6px 22px rgba(26,43,94,.32);
  transform: translateY(-1px);
}
.option-card.selected .option-key {
  background: var(--gold); border-color: var(--gold); color: #fff;
}
.option-card.selected .option-label { color: #fff; font-weight: 700; }
.option-card.selected .option-check-icon {
  background: var(--gold); border-color: var(--gold);
  color: #fff;
}
.option-card.selected .checkbox-box {
  background: var(--gold); border-color: var(--gold); color: #fff;
}

/* ナビゲーション */
.question-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4px;
}
.nav-hint { font-size: .77rem; color: var(--text-muted); }

/* 送信ボタン */
.btn-submit, .btn-next-q {
  background: var(--navy);
  color: #fff; border: none;
  font-family: inherit; font-weight: 700; font-size: .95rem;
  padding: 13px 38px; border-radius: var(--r-pill);
  cursor: pointer; letter-spacing: .06em;
  box-shadow: 0 4px 16px rgba(26,43,94,.3);
  transition: background var(--ease), box-shadow var(--ease), transform var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.btn-submit:hover, .btn-next-q:hover {
  background: var(--navy-light);
  box-shadow: 0 6px 22px rgba(26,43,94,.4);
  transform: translateY(-1px);
}

/* エラー */
.error-box {
  background: var(--danger-pale);
  border: 1.5px solid var(--danger);
  border-radius: var(--r-sm);
  padding: 12px 16px; color: var(--danger);
  font-size: .87rem; font-weight: 600;
  margin-bottom: 18px;
  display: flex; gap: 8px; align-items: center;
}

/* ============================================================
   回答確認画面 — PDF: 選択内容表示 + コメントバブル
   ============================================================ */
.confirm-area {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 52px 24px; gap: 28px;
  max-width: 680px; margin: 0 auto; width: 100%;
  animation: fadeUp .4s ease both;
}
.confirm-selected {
  width: 100%;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: var(--r);
  padding: 22px 28px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--sh);
  font-size: .97rem; font-weight: 600; color: var(--navy-dark);
}
.confirm-tick {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--success); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
/* コメントバブル — PDFのキャラクターコメント */
.confirm-comment {
  width: 100%;
  display: flex; align-items: flex-start; gap: 16px;
}
.confirm-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 14px rgba(26,43,94,.22);
}
.confirm-bubble {
  flex: 1;
  background: var(--gold-xpale);
  border: 1px solid rgba(200,150,60,.35);
  border-radius: 0 var(--r) var(--r) var(--r);
  padding: 18px 22px;
  font-size: .94rem; color: var(--text-dark); line-height: 1.85;
  position: relative;
  box-shadow: var(--sh-xs);
}
.confirm-bubble::before {
  content: '';
  position: absolute; left: -11px; top: 18px;
  border: 6px solid transparent;
  border-right-color: rgba(200,150,60,.35);
}

/* ============================================================
   ローディングオーバーレイ — PDF: スピナー + テキスト
   ============================================================ */
.loading-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 999; gap: 24px;
}
.loading-spinner {
  width: 58px; height: 58px;
  border: 5px solid var(--cream-dark);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
.loading-text {
  font-size: 1.25rem; font-weight: 800;
  color: var(--navy); letter-spacing: .04em;
}
.loading-sub { font-size: .84rem; color: var(--text-sub); letter-spacing: .06em; }

/* ============================================================
   結果画面
   ============================================================ */
.result-page { background: var(--cream); min-height: calc(100vh - 58px); }

/* ヒーローバナー — PDFの「DX診断レポート」表紙 */
.result-hero {
  background: var(--navy-dark);
  background-image:
    radial-gradient(ellipse at 18% 65%, rgba(200,150,60,.18) 0%, transparent 52%),
    radial-gradient(ellipse at 82% 35%, rgba(200,150,60,.10) 0%, transparent 52%);
  padding: 52px 24px 48px;
  text-align: center; position: relative; overflow: hidden;
}
/* 斜線テクスチャ */
.result-hero::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 28px,
    rgba(255,255,255,.016) 28px, rgba(255,255,255,.016) 29px
  );
}
/* 診断済スタンプ — PDFの丸スタンプ */
.result-hero-stamp {
  position: absolute; top: 22px; right: 32px;
  width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid rgba(192,57,43,.75);
  color: rgba(192,57,43,.85);
  display: flex; align-items: center; justify-content: center;
  font-size: .58rem; font-weight: 800; text-align: center;
  line-height: 1.35; letter-spacing: .04em;
  transform: rotate(-16deg); padding: 4px;
}
.result-hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem; letter-spacing: .22em;
  color: var(--gold); margin-bottom: 10px; font-weight: 700;
}
.result-hero-title {
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  font-weight: 900; color: #fff;
  letter-spacing: .04em; margin-bottom: 10px;
}
.result-hero-title span { color: var(--gold-light); }
.result-hero-sub {
  font-size: .83rem; color: rgba(255,255,255,.52); line-height: 1.7;
}
/* ロゴ装飾 */
.result-hero-logo {
  position: absolute; top: 50%; left: 28px;
  transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
  filter: invert(1); opacity: .18;
}

/* ── セクション共通 ── */
.result-section {
  padding: 40px 24px;
  max-width: 920px; margin: 0 auto; width: 100%;
}
.result-section--white { background: #fff; max-width: 100%; padding: 40px 0; }
.result-section--white > .result-section { padding-top: 0; padding-bottom: 0; }

.section-title {
  font-size: 1.05rem; font-weight: 800;
  color: var(--navy-dark);
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 11px; margin-bottom: 22px;
  border-bottom: 2px solid var(--cream-dark);
  position: relative;
}
.section-title::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 44px; height: 2px;
  background: var(--gold); border-radius: 2px;
}

/* 総合スコアカード — PDFのレーダーチャート付きカード */
.total-score-card {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  display: flex; align-items: flex-start; gap: 36px;
  box-shadow: var(--sh-xl); flex-wrap: wrap;
  margin-bottom: 0;
  border: 1px solid rgba(200,150,60,.2);
}
.radar-wrap {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px; flex-shrink: 0;
}
.radar-legend {
  font-size: .7rem; color: rgba(255,255,255,.5);
  letter-spacing: .04em;
}
.total-score-right {
  flex: 1; min-width: 230px;
  display: flex; flex-direction: column; gap: 18px;
}
/* 軸スコアリスト */
.axis-score-list { display: flex; flex-direction: column; gap: 9px; }
.axis-score-row  { display: flex; align-items: center; gap: 8px; }
.axis-score-icon { font-size: .95rem; flex-shrink: 0; }
.axis-score-name {
  flex: 1; font-size: .86rem; font-weight: 600;
  color: rgba(255,255,255,.82);
}
.axis-score-stars { display: flex; gap: 2px; }
.axis-score-stars .star { font-size: .72rem; }
.axis-score-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .9rem;
  color: var(--gold-light); min-width: 30px; text-align: right;
}
/* 総合スコア下部ブロック */
.total-score-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 14px;
  display: flex; flex-direction: column; gap: 12px;
}
.total-score-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.55);
}
.total-score-big {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 1.9rem;
  color: var(--gold-light); line-height: 1;
}
.total-score-big small {
  font-size: .75rem; font-weight: 400;
  color: rgba(255,255,255,.38);
}
/* 総合判定バッジ */
.total-label-box {
  background: rgba(200,150,60,.14);
  border: 1.5px solid rgba(200,150,60,.4);
  border-radius: var(--r-sm); padding: 13px 16px;
}
.total-label-inner {
  display: flex; align-items: center; gap: 8px; margin-bottom: 5px;
}
.total-label-icon { font-size: .95rem; }
.total-label-text {
  font-weight: 800; font-size: .97rem; color: var(--gold-light);
}
.total-label-msg {
  font-size: .8rem; color: rgba(255,255,255,.68); line-height: 1.65;
}

/* 軸別詳細スコアカード */
.axis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
}
.axis-card {
  background: var(--cream-card);
  border: 1px solid var(--cream-dark);
  border-radius: var(--r); padding: 20px 22px;
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--ease);
}
.axis-card:hover { box-shadow: var(--sh); }
.axis-card-header {
  display: flex; align-items: center; gap: 9px; margin-bottom: 11px;
}
.axis-icon  { font-size: 1.1rem; flex-shrink: 0; }
.axis-name  { flex: 1; font-weight: 700; font-size: .93rem; color: var(--navy-dark); }
.axis-score-num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1rem; color: var(--navy); }
.axis-score-num .max { font-size: .73rem; color: var(--text-muted); font-weight: 400; }
.axis-bar-track {
  height: 5px; background: var(--cream-dark); border-radius: 3px; margin-bottom: 9px; overflow: hidden;
}
.axis-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
  border-radius: 3px;
  transition: width 1.1s cubic-bezier(.4,0,.2,1);
}
.axis-stars { display: flex; gap: 3px; margin-bottom: 9px; }
.star { font-size: .9rem; }
.star.full  { color: var(--gold); }
.star.half  { color: var(--gold); opacity: .5; }
.star.empty { color: var(--cream-dark); }
.axis-comment {
  font-size: .8rem; color: var(--text-sub); line-height: 1.65;
  border-top: 1px solid var(--cream-dark); padding-top: 9px;
}

/* 課題カード */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px; margin-bottom: 18px;
}
.issue-card {
  background: #FEF9F9;
  border: 1.5px solid #FCA5A5;
  border-radius: var(--r); padding: 20px;
}
.issue-card-num {
  display: inline-block;
  background: var(--danger); color: #fff;
  font-size: .68rem; font-weight: 800;
  padding: 2px 11px; border-radius: var(--r-pill);
  margin-bottom: 9px; letter-spacing: .06em;
}
.issue-card-title {
  font-weight: 800; color: var(--danger);
  font-size: .93rem; margin-bottom: 7px; line-height: 1.45;
}
.issue-card-body { font-size: .8rem; color: #7F1D1D; line-height: 1.7; }

/* 安心メッセージ */
.issue-reassure {
  background: var(--navy);
  border-radius: var(--r); padding: 26px 32px;
  color: #fff; text-align: center; margin-top: 18px;
}
.issue-reassure p { font-size: .93rem; line-height: 1.85; color: rgba(255,255,255,.85); }
.issue-reassure strong { color: var(--gold-light); font-size: 1rem; }

/* ロードマップ — PDFのタイムライン */
.roadmap-advice {
  background: var(--gold-xpale);
  border: 1px solid rgba(200,150,60,.4);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 14px 18px; font-size: .86rem;
  color: var(--text-dark); margin-bottom: 22px;
  display: flex; align-items: flex-start; gap: 8px;
}
.roadmap-timeline { position: relative; padding-left: 30px; }
.roadmap-timeline::before {
  content: ''; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--navy) 0%, var(--gold) 100%);
  opacity: .25;
}
.roadmap-item { position: relative; padding: 0 0 26px 26px; }
.roadmap-item::before {
  content: ''; position: absolute;
  left: -20px; top: 14px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid currentColor;
}
.roadmap-phase-card {
  background: var(--cream-card);
  border-radius: var(--r); padding: 20px 24px;
  box-shadow: var(--sh-xs);
  border: 1px solid var(--cream-dark);
  border-left: 4px solid;
}
.roadmap-phase-badge {
  font-size: .7rem; font-weight: 800; letter-spacing: .1em;
  padding: 3px 12px; border-radius: var(--r-pill);
  display: inline-block; margin-bottom: 6px; color: #fff;
}
.roadmap-phase-title  { font-size: 1.02rem; font-weight: 800; color: var(--navy-dark); margin-bottom: 2px; }
.roadmap-phase-period { font-size: .76rem; color: var(--text-muted); margin-bottom: 12px; }
.roadmap-actions      { list-style: none; }
.roadmap-actions li {
  font-size: .86rem; color: var(--text-body);
  padding: 4px 0 4px 16px; position: relative; line-height: 1.55;
}
.roadmap-actions li::before { content: '→'; position: absolute; left: 0; color: var(--text-muted); font-size: .8rem; }
.roadmap-services {
  margin-top: 11px; padding-top: 9px;
  border-top: 1px solid var(--cream-dark);
  display: flex; flex-wrap: wrap; gap: 6px;
}
.roadmap-service-tag {
  font-size: .7rem;
  background: rgba(26,43,94,.07); color: var(--navy);
  padding: 3px 10px; border-radius: var(--r-pill); font-weight: 600;
}

/* CTA — PDFの「まず、ここから始めましょう」 */
.cta-box {
  background: #fff; border-radius: var(--r-lg);
  padding: 40px 40px;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--cream-dark);
}
.cta-title {
  font-size: 1.45rem; font-weight: 900;
  color: var(--navy-dark); text-align: center;
  margin-bottom: 6px; letter-spacing: .03em;
}
.cta-title-under {
  width: 40px; height: 3px;
  background: var(--gold); border-radius: 2px;
  margin: 0 auto 26px;
}
.cta-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }

/* CTAアイテム — PDFの3択カード */
.cta-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--cream); border: 1.5px solid var(--cream-dark);
  border-radius: var(--r); padding: 18px 22px;
  transition: all var(--ease); position: relative; overflow: hidden;
  cursor: pointer;
}
.cta-item:hover {
  border-color: var(--navy); box-shadow: var(--sh);
  transform: translateX(3px);
}
.cta-item--primary {
  background: var(--navy); border-color: var(--navy);
}
.cta-item--primary:hover { background: var(--navy-light); border-color: var(--navy-light); }
.cta-item--primary .cta-item-title { color: #fff; }
.cta-item--primary .cta-item-desc  { color: rgba(255,255,255,.65); }
.cta-item--primary .cta-arrow      { color: rgba(255,255,255,.55); }
.cta-item--primary .cta-item-icon  { background: rgba(255,255,255,.12); }
.cta-recommended {
  position: absolute; top: -1px; left: 18px;
  background: var(--gold); color: #fff;
  font-size: .66rem; font-weight: 800;
  padding: 3px 12px; border-radius: 0 0 8px 8px; letter-spacing: .06em;
}
.cta-item-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(26,43,94,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; flex-shrink: 0;
}
.cta-item-body { flex: 1; }
.cta-item-title { font-weight: 700; font-size: .93rem; color: var(--navy-dark); margin-bottom: 2px; }
.cta-item-desc  { font-size: .79rem; color: var(--text-sub); line-height: 1.5; }
.cta-arrow      { font-size: 1.35rem; color: var(--text-muted); flex-shrink: 0; }
.cta-contact {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--cream-dark);
  font-size: .8rem; color: var(--text-sub);
}

/* やり直しボタン */
.result-restart-area { text-align: center; padding: 24px 24px 40px; }
.btn-restart {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--cream-dark); color: var(--text-sub);
  font-size: .83rem; font-weight: 600;
  padding: 10px 24px; border-radius: var(--r-pill);
  border: 1px solid var(--text-muted);
  transition: all var(--ease);
}
.btn-restart:hover { background: var(--text-muted); color: #fff; }

/* ============================================================
   アニメーション
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.animate-in           { animation: fadeUp .5s ease both; }
.delay-1              { animation-delay: .1s; }
.delay-2              { animation-delay: .2s; }
.delay-3              { animation-delay: .3s; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 640px) {
  .start-card   { padding: 36px 24px; }
  .total-score-card  { flex-direction: column; align-items: center; padding: 24px 18px; }
  .total-score-right { min-width: unset; width: 100%; }
  .radar-wrap svg    { width: 180px; height: 180px; }
  .cta-box           { padding: 26px 18px; }
  .cta-contact       { flex-direction: column; align-items: center; gap: 8px; }
  .result-hero-stamp { display: none; }
  .result-hero-logo  { display: none; }
  .roadmap-timeline  { padding-left: 20px; }
  .question-main     { padding: 24px 16px; }
  .app-header        { padding: 0 14px; }
}
