/* =====================================================
 * デジタル監督診断 スタイル
 * 正: Figma セクション「診断コンテンツ」(1063:1846)
 * SP=375基準 / PC=1440基準（コンテンツ720中央・BP768px）
 * ===================================================== */

:root {
  --bg: #F5F5F2;
  --card: #FFFFFF;
  --text: #1A1A1A;
  --muted: #66718A;
  --border: #E2E8F1;
  --gold: #B09253;
  --gold-2: #C9C88D;
  --blue: #5380D3;
  --red: #D43F3F;
  --red-bg: #FDF1F1;
  --red-line: #F2C7C7;
  --amber: #A87718;
  --amber-bg: #FDF8EC;
  --amber-line: #ECD9A8;
  --green: #2E9E63;
  --yellow: #D99A26;
  --track: #DDE4EE;
  --track-2: #E6EBF3;
  --box: #F5F5F2;
  --radius: 6px;
  --pill: 40px;
  --shadow: 0 2px 12px rgba(22, 48, 90, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Zen Kaku Gothic New', "Hiragino Kaku Gothic ProN", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

/* ---------- サイトヘッダー（PCのみ・Figma: header） ---------- */
.site-header { display: none; }

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px 40px;
}

/* ---------- 画面切替 ---------- */
.screen { display: none; }
.screen.is-active { display: block; }

/* ---------- 共通パーツ ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 16px;
}

.card-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}
.heading-icon {
  /* 実体はFigma 24×40のPCサイズ×0.8。書き出しPNGはテクスチャの
     にじみを含む32×48(1x)のため、余白分をマージンで相殺する */
  width: 26px;
  height: 38px;
  margin: -3px;
  flex-shrink: 0;
}

.section-heading {
  font-size: 20px;
  font-weight: 700;
  margin: 16px 0;
}

.btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.75;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease, opacity 0.15s ease;
}
.btn:active { transform: scale(0.99); }

.btn-primary {
  background: var(--text);
  color: #fff;
  padding: 16px 0;
  font-size: 18px;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
  padding: 14.5px 0; /* border込みで高さ60px */
  margin-top: 16px;
}
.btn-ghost:hover { border-color: var(--muted); color: var(--text); }

/* ---------- ヒーロー（写真30% + ネイビーグラデ30%の2層） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 24px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero::before {
  background: url(/img/ds-shindan/hero.png) center / cover no-repeat;
  opacity: 0.3;
}
.hero::after {
  background: linear-gradient(143deg, #16305A, #0D1F3C);
  opacity: 0.3;
}
.hero > * { position: relative; z-index: 1; }

.hero-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #fff;
}

.hero-lead {
  font-size: 16px;
  font-weight: 400;
  color: #D6E0F0;
}
.hero-lead strong { font-weight: 400; }

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}
.hero-meta li {
  background: #fff;
  border-radius: var(--pill);
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.75;
}

/* ---------- スタート画面 ---------- */
.start-card {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.start-card .card-heading { margin-bottom: 0; }

.start-list { list-style: none; }
.start-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.start-list li:last-child { border-bottom: none; }
.start-list-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.6em;
}

.start-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- 質問画面 ---------- */
.q-header { margin-bottom: 16px; }

.q-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.q-category {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.q-category-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.imp-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius);
  padding: 4px 8px;
  line-height: 1.4;
}
.imp-must        { background: var(--red-bg);   color: var(--red); }
.imp-standard    { background: #FDF6E7;         color: var(--yellow); }
.imp-recommended { background: #EEFAF3;         color: var(--green); }

.q-counter {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.progress {
  height: 6px;
  background: var(--track);
  border-radius: var(--radius);
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: var(--radius);
  transition: width 0.3s ease;
}

.q-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.q-topic {
  align-self: flex-start;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  background: #EDF2FA;
  border-radius: var(--radius);
  padding: 8px;
  line-height: 1.75;
}

.q-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.q-divider {
  border: none;
  border-top: 1px solid var(--border);
}

.q-checkpoint {
  font-size: 14px;
  color: var(--muted);
}

.q-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 8px;
  row-gap: 16px; /* わからないボタンとの間隔（Figma: カードgap16） */
}

.btn-answer {
  padding: 14px 0; /* border 2px込みで高さ64px（Figma準拠） */
  font-size: 18px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: #fff;
}
.btn-yes { color: var(--text); }
.btn-yes:hover, .btn-yes.is-selected {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
.btn-no { color: var(--muted); }
.btn-no:hover, .btn-no.is-selected {
  background: var(--muted);
  border-color: var(--muted);
  color: #fff;
}
.btn-unknown {
  grid-column: 1 / -1;
  padding: 14px 0; /* border込みで高さ60px */
  font-size: 16px;
  background: #F5F7FA;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
}
.btn-unknown:hover, .btn-unknown.is-selected {
  background: var(--yellow);
  border-color: var(--yellow);
  border-style: solid;
  color: #fff;
}

.link-back {
  display: block;
  margin: 16px auto 0;
  background: none;
  border: none;
  font-family: inherit;
  letter-spacing: 0.04em;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
}
.link-back:hover { color: var(--text); }

.fade-in { animation: fadeIn 0.25s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Bバージョン：カテゴリ単位の設問ブロック ---------- */
.btn[disabled] {
  opacity: 0.35;
  pointer-events: none;
}

.qb-cat-intro {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
}
.qb-cat-intro-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.qb-cat-intro-text {
  font-size: 14px;
  color: var(--text);
}

.qb-item {
  padding: 24px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.qb-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qb-num {
  font-size: 14px;
  font-weight: 900;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  line-height: inherit; /* 質問文1行目と揃える */
}
.qb-topic { padding: 4px 8px; font-size: 12px; line-height: 1.4; }
.qb-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
  /* Q番号を行頭マーカーとして配置（折り返し行は番号の右に揃う） */
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.qb-checkpoint {
  font-size: 12px;
  color: var(--muted);
}
.qb-plain {
  font-size: 13px;
  color: var(--muted);
  background: var(--box);
  border-radius: var(--radius);
  padding: 8px 12px;
  line-height: 1.6;
}
.qb-plain-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 0 6px;
  margin-right: 8px;
  vertical-align: 1px;
  white-space: nowrap;
}
.qb-answers {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 8px;
  margin-top: 4px;
}
.qb-btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  padding: 10px 0;
  text-align: center;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--muted);
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.qb-yes { color: var(--text); }
.qb-yes:hover, .qb-yes.is-selected {
  background: var(--text); border-color: var(--text); color: #fff;
}
.qb-no:hover, .qb-no.is-selected {
  background: var(--muted); border-color: var(--muted); color: #fff;
}
.qb-unknown {
  background: #F5F7FA;
  border-style: dashed;
}
.qb-unknown:hover, .qb-unknown.is-selected {
  background: var(--yellow); border-color: var(--yellow); border-style: solid; color: #fff;
}

#btn-next { margin-top: 8px; }

.done-text {
  font-size: 14px;
  color: var(--text);
}
.done-note {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- カテゴリ間の挟み込み画面 ---------- */
#screen-interstitial { padding-top: 8px; padding-bottom: 24px; }

.inter-card {
  padding: 40px 24px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.inter-check {
  width: 48px;
  height: 48px;
  display: block;
}
.inter-done {
  font-size: 18px;
  font-weight: 700;
}
.inter-progress {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-top: -16px; /* 完了テキスト直下に詰める（Figma: gap0） */
  font-variant-numeric: tabular-nums;
}
.inter-next {
  width: 100%;
  background: var(--box);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.inter-next-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.inter-next-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}
.inter-next-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.inter-next-desc {
  font-size: 14px;
  color: var(--muted);
}
#btn-inter-next {
  font-size: 16px;
  line-height: 1.5;
  padding: 16px 0;
}

/* ---------- リード情報入力フォーム ---------- */
#screen-form { padding-top: 8px; }

.form-card {
  padding: 40px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.form-title {
  font-size: 18px;
  font-weight: 700;
}
.form-lead {
  font-size: 14px;
  color: var(--muted);
  margin-top: -8px;
}
#lead-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.form-req,
.form-opt {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius);
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: 2px;
}
.form-req { background: var(--red-bg); color: var(--red); }
.form-opt { background: var(--box); color: var(--muted); }

.form-field input {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--text);
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.15s ease;
}
.form-field input:focus { border-color: var(--text); }
.form-field input::placeholder { color: #B6BDCC; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}
.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.25em;
  accent-color: var(--text);
  flex-shrink: 0;
}
.form-consent a {
  color: var(--blue);
  text-decoration: underline;
}

.form-error {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-bg);
  border-radius: var(--radius);
  padding: 8px 16px;
}

/* 送信ボタン直前の注記（B案：開始時にデータ送信することの明示） */
.form-submit-note {
  font-size: 12px;
  color: var(--muted);
  background: var(--box);
  border-radius: var(--radius);
  padding: 12px 16px;
  line-height: 1.7;
}

/* ---------- 結果画面 ---------- */
#screen-result { padding-top: 8px; }

.result-mail-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 8px 16px;
  margin-bottom: 16px;
}

.result-header {
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.result-eyebrow {
  font-size: 12px;
  color: var(--muted);
}
.result-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.5;
}

/* 必須アラート */
.alert-card {
  background: var(--red-bg);
  border: 1.5px solid var(--red-line);
  box-shadow: none;
  padding: 24px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.alert-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
}
.alert-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.alert-list li {
  background: #fff;
  border-radius: var(--radius);
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.alert-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}
.alert-item-text {
  font-size: 14px;
  color: var(--text);
}

.clear-card {
  background: #EEFAF3;
  border: 1.5px solid #BFE6D0;
  box-shadow: none;
  margin-bottom: 16px;
  padding: 16px;
}
.clear-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}

.unknown-card {
  background: var(--amber-bg);
  border: 1.5px solid var(--amber-line);
  box-shadow: none;
  margin-bottom: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.unknown-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
}
.unknown-text {
  font-size: 14px;
  color: var(--text);
}

/* スコアカード */
.score-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.score-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.score-rank { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.rank-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #fff;
  background: var(--blue);
}
/* ランク別カラー（色だけに依存させず、ランク文字＋ラベルを併記） */
.rank-badge[data-rank="S"] { background: var(--gold); }
.rank-badge[data-rank="A"] { background: var(--green); }
.rank-badge[data-rank="B"] { background: var(--blue); }
.rank-badge[data-rank="C"] { background: var(--yellow); }
.rank-badge[data-rank="D"] { background: var(--red); }

/* ランクラベル・スコアバーもランク色に連動 */
.score-card[data-rank="S"] .rank-label,
.score-card[data-rank="S"] .score-number { color: var(--gold); }
.score-card[data-rank="A"] .rank-label,
.score-card[data-rank="A"] .score-number { color: var(--green); }
.score-card[data-rank="B"] .rank-label,
.score-card[data-rank="B"] .score-number { color: var(--blue); }
.score-card[data-rank="C"] .rank-label,
.score-card[data-rank="C"] .score-number { color: var(--yellow); }
.score-card[data-rank="D"] .rank-label,
.score-card[data-rank="D"] .score-number { color: var(--red); }

.score-card[data-rank="S"] .score-bar-fill { background: var(--gold); }
.score-card[data-rank="A"] .score-bar-fill { background: var(--green); }
.score-card[data-rank="B"] .score-bar-fill { background: var(--blue); }
.score-card[data-rank="C"] .score-bar-fill { background: var(--yellow); }
.score-card[data-rank="D"] .score-bar-fill { background: var(--red); }

.rank-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.score-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.score-number {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.score-unit {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: 0.02em;
}
.score-label {
  font-size: 16px;
  color: var(--muted);
  font-weight: 700;
  margin-right: 4px;
}

.score-bar {
  width: 100%;
  height: 10px;
  background: var(--track-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.score-bar-fill {
  height: 100%;
  width: 0;
  background: var(--gold);
  border-radius: var(--radius);
  transition: width 0.8s ease;
}
.score-comment {
  width: 100%;
  font-size: 14px;
  text-align: left;
  background: var(--box);
  border-radius: var(--radius);
  padding: 16px;
}

/* レーダー */
.radar-card {
  margin-top: 16px;
  padding: 24px 16px 16px;
}
.radar-card .card-heading { margin-bottom: 8px; }
.radar-wrap { max-width: 303px; margin: 0 auto; }
.radar-wrap svg { width: 100%; height: auto; display: block; }

.radar-grid  { fill: none; stroke: #DBE3EF; stroke-width: 1; }
.radar-axis  { stroke: #DBE3EF; stroke-width: 1; }
.radar-score { fill: rgba(83, 128, 211, 0.28); stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; }
.radar-dot   { fill: var(--blue); }
.radar-label { font-size: 12px; font-weight: 700; fill: #1A2333; letter-spacing: 0.04em; }
.radar-label-pct { font-size: 11px; font-weight: 700; fill: var(--muted); }

/* アドバイス */
.advice-card {
  margin-bottom: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.advice-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}
.advice-title { font-size: 16px; font-weight: 700; }
.advice-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.advice-score {
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.advice-score small { font-size: 16px; color: var(--text); font-weight: 900; }

.advice-bar {
  height: 7px;
  background: var(--track-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.advice-bar-fill { height: 100%; border-radius: var(--radius); }
.advice-bar-fill.level-high { background: var(--green); }
.advice-bar-fill.level-mid  { background: var(--yellow); }
.advice-bar-fill.level-low  { background: var(--red); }

.advice-text { font-size: 14px; color: var(--text); }

/* CTA（ヒーローと同じ2層背景） */
.cta-card {
  position: relative;
  overflow: hidden;
  /* 地はLPヒーローと同じ #BFC6D3 を起点にする。ただしLPヒーローの白文字は
     80px/900だから1.73:1でも成立しているだけで、ここは見出し20px・本文12px。
     同じ色味のまま紺(#16305A)を0.55だけ重ねて、白が読める明るさまで落とす */
  background: #BFC6D3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.cta-card::before,
.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-card::before {
  background: url(/img/ds-shindan/hero.png) center / cover no-repeat;
  opacity: 0.12;
}
.cta-card::after {
  background: #16305A;
  opacity: 0.55;
}
.cta-card > * { position: relative; z-index: 1; }

.cta-heading {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.cta-text {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.9;
  color: #fff;
}
/* ボタンだけ少し離して、押す対象として独立させる */
.cta-card .btn-cta {
  margin-top: 16px;
}
.btn-cta {
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  color: #fff;
  border-radius: var(--pill);
  padding: 16px 0;
  font-size: 16px;
  line-height: 1.75;
  box-shadow: 0 4px 14px rgba(176, 146, 83, 0.35);
}
.btn-cta:hover { opacity: 0.9; }

/* ---------- アイコン・フッター ---------- */
.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  margin-top: 0.28em;
}
.alert-heading,
.clear-heading,
.unknown-heading {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer {
  text-align: center;
  color: var(--muted);
  padding: 0 0 32px;
  font-size: 12px;
}

/* =====================================================
 * PC（Figma 1440フレーム: コンテンツ720中央・ヘッダーあり）
 * ===================================================== */
@media (min-width: 768px) {
  .site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
  }
  /* ロゴ素材は白抜き（Figma原本）のためフィルターで黒に変換 */
  .site-header img { width: 297px; height: auto; display: block; filter: brightness(0); }

  /* ヘッダー約80px + 24px = Figmaルートpt104 */
  .container { padding: 24px 0 64px; }

  .br-sp { display: none; }

  /* ヒーロー */
  .hero { padding: 64px 32px 32px; }
  .hero-title { font-size: 40px; }
  .hero-lead { color: #fff; }
  .hero-meta li { font-size: 14px; }

  /* スタート */
  .card { padding: 24px 32px; }
  .card-heading { font-size: 24px; }
  .with-icon { gap: 16px; }
  .heading-icon { width: 32px; height: 48px; margin: -4px; }
  .section-heading { font-size: 24px; }
  .start-list li { font-size: 16px; }
  .start-note { color: var(--text); }

  /* 質問 */
  .q-category { font-size: 24px; }
  .q-card { padding: 32px; }
  .q-text { font-size: 20px; line-height: 1.5; }
  .q-buttons { column-gap: 16px; }

  /* Bバージョン */
  .qb-item { padding: 24px 32px; }
  .qb-text { font-size: 18px; }
  .qb-checkpoint { font-size: 13px; }
  .qb-cat-intro-text { font-size: 16px; }
  .qb-plain { font-size: 14px; }
  .qb-answers { gap: 16px; }
  .qb-btn { font-size: 16px; padding: 12px 0; }

  /* フォーム */
  .form-card { padding: 64px 64px 32px; }
  .form-title { font-size: 20px; line-height: 1.5; }
  .form-lead { font-size: 16px; }

  /* 挟み込み */
  .inter-card { padding: 64px 64px 32px; }
  .inter-check { width: 56px; height: 56px; }
  .inter-done { font-size: 20px; line-height: 1.5; }
  .inter-next { padding: 24px; }
  .inter-next-name { font-size: 24px; }
  .inter-next-sub { font-size: 12px; }
  .inter-next-desc { font-size: 16px; }

  /* 結果 */
  .result-title { font-size: 24px; }
  .alert-card { padding: 24px 32px; }
  .alert-list li { padding: 16px; }
  .alert-item-title { font-size: 16px; }
  .unknown-card { padding: 16px 32px; }
  .unknown-heading { font-size: 16px; }
  .rank-badge { width: 80px; height: 80px; font-size: 40px; }
  .rank-label { font-size: 14px; }
  .score-comment { font-size: 16px; }
  .radar-card { padding: 24px 32px 16px; }
  .radar-wrap { max-width: 460px; margin: 0 auto; }
  .radar-label { font-size: 14px; }
  .radar-label-pct { font-size: 12px; }
  .advice-card { padding: 24px 32px; }
  .advice-title { font-size: 18px; }
  .cta-card { padding: 32px; }
  .cta-heading { font-size: 20px; line-height: 1.5; }
  .cta-text { font-size: 14px; }
  .btn-cta { width: auto; padding: 16px 64px; font-size: 18px; }
}

/* 行頭の始め括弧をぶら下げる（LP側 .ds-hang と同じ考え方）。
   中央揃えのテキストには効かせない（左に寄って軸がずれるため） */
.hang {
  text-indent: -0.58em;
}
