:root {
  --bg: #110814;
  --bg-glow-1: rgba(225, 29, 72, 0.25);
  --bg-glow-2: rgba(124, 58, 237, 0.22);
  --panel-soft: rgba(27, 13, 34, 0.85);
  --border: rgba(255, 255, 255, 0.12);
  --text: #fff7ed;
  --text-muted: #c9b9c8;
  --red: #a30f24;
  --red-strong: #e11d48;
  --gold: #d6b35a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, var(--bg-glow-1), transparent 28rem),
    radial-gradient(circle at bottom right, var(--bg-glow-2), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", sans-serif;
  line-height: 1.7;
}

.app {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 16px 56px;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
}

.card {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(214, 179, 90, 0.35);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(214, 179, 90, 0.08);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 7vw, 40px);
  letter-spacing: -0.03em;
}

h2 {
  margin: 0 0 16px;
}

.intro-text {
  white-space: pre-line;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.lead-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-muted);
}

.primary-button {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--red-strong));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.25);
}

.primary-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.secondary-button {
  display: block;
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.secondary-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 質問画面: 進捗表示 */
.progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.progress-count {
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.progress-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.progress-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-strong), var(--gold));
  transition: width 0.25s ease;
}

.question-text {
  font-size: clamp(19px, 4.5vw, 24px);
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 20px;
}

.option-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-button {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  transition: 0.15s ease;
}

.option-button:hover,
.option-button.selected {
  border-color: rgba(214, 179, 90, 0.75);
  background: rgba(214, 179, 90, 0.12);
  transform: translateY(-1px);
}

.option-badge {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(225, 29, 72, 0.25);
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
}

.option-text {
  line-height: 1.6;
  padding-top: 4px;
}

.nav-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* 結果画面 */
.result-top {
  text-align: center;
  padding: 4px 0 18px;
}

.devil-image {
  display: block;
  width: clamp(200px, 85%, 320px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 8px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(225, 29, 72, 0.35));
}

.type-name {
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold);
  margin: 4px 0;
}

.muma-block {
  margin: 18px auto 4px;
  max-width: 420px;
}

.muma-meter {
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 10px;
}

.muma-meter-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #7c3aed, var(--red-strong), var(--gold));
}

.muma-score-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
}

.muma-score-label {
  color: var(--text-muted);
  font-size: 13px;
}

.muma-score-value {
  font-size: 30px;
  font-weight: 800;
  color: var(--gold);
}

.muma-level-label {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.result-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.result-box h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 14px;
}

.result-box p {
  margin: 0;
  color: var(--text);
  line-height: 1.8;
  white-space: pre-line;
}

.plain-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.plain-list li {
  margin-bottom: 6px;
}

.plain-list li.locked {
  color: var(--text-muted);
}

.plain-list li.locked::before {
  content: "🔒 ";
}

.axis-box {
  margin-bottom: 20px;
}

.axis-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.axis-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
}

.axis-item-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 7px;
  gap: 8px;
}

.axis-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.axis-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red-strong), var(--gold));
}

.axis-rank {
  flex-shrink: 0;
  width: 52px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
}

.axis-item.locked .axis-rank {
  color: var(--gold);
}

.axis-lockable {
  flex: 1;
  min-width: 0;
}

/* モザイク（有料で開示する要素）。中身は実データ・実文言のままブラーで隠す */
/* **ぼかしているのは伏せ字であって、本物ではない。**
   中身は `？？？` で、ブラーを外しても `？？？` しか出てこない。
   以前は本物をCSSでぼかしていたので開発者ツールから読めた
   （CLAUDE.md「有料コンテンツの置き場所」）。見た目だけがブラー */
.axis-item.locked .axis-lockable,
.paid-teaser-mask {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}


.locked-note {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
}

/* ブラーの上に重ねて表示する文言＋有料誘導ボタン */
.locked-overlay-wrap {
  position: relative;
}

.locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 0 16px;
}

.locked-overlay .locked-note {
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

/* ボタン内2行構成: メイン文言＋価格。有料・価格の事前明示（誤認防止・未成年配慮） */
.unlock-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-strong));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35);
}

.unlock-button-label {
  /* 375px幅の端末でも「上位3つの正体を確認する（有料）」が1行に収まるように可変。
     **2026-08-17に一回り大きくした**（本人指摘「字が小さい」）。
     いまの文言は「🔒を外す（有料）」と短いので、上限を上げても溢れない */
  font-size: clamp(15px, 4.4vw, 18px);
  white-space: nowrap;
  font-weight: 800;
  line-height: 1.3;
}

.unlock-button-price {
  /* 同上。11pxは注記としても小さすぎた */
  font-size: 13px;
  font-weight: 600;
  opacity: 0.92;
  line-height: 1.3;
}

/* ラップした上位3軸の行間（.axis-listのgapと揃える） */
.locked-axis-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ヒント欄は文言＋ボタン＋価格注記が収まる高さを確保する */
.one-liner {
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1.5px solid var(--red-strong);
  background: rgba(225, 29, 72, 0.08);
  border-radius: 14px;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

/* 「悪魔の一言」見出し＋本文。見出しを本文と同じ四角枠の中に収める。
   見出しは他の項目見出し（.result-box h3、ゴールド）とは意図的に雰囲気を変え、
   赤・斜体・広めの字間で少し禍々しく見せる */
.one-liner-block {
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1.5px solid var(--red-strong);
  background: rgba(225, 29, 72, 0.08);
  border-radius: 14px;
}

.one-liner-block .one-liner {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

/* 一言が2つ並ぶとき（無料で見た型の一言＋サブタイプ固有の一言）。
   **置き換えではなく追加**という設計なので、両方を対等に見せる */
.one-liner-list {
  margin: 0;
  padding-left: 1.15em;
  list-style: none;
}

.one-liner-list .one-liner {
  position: relative;
  margin: 0 0 10px;
}

.one-liner-list .one-liner:last-child {
  margin-bottom: 0;
}

.one-liner-list .one-liner::before {
  content: "・";
  position: absolute;
  left: -1.15em;
}

.one-liner-heading {
  margin: 0 0 8px;
  color: var(--red-strong);
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.14em;
  text-shadow: 0 0 10px rgba(225, 29, 72, 0.45);
}

.one-liner-heading::before {
  content: "† ";
  font-style: normal;
}

.share-row-block {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1.5px solid rgba(255, 247, 237, 0.55);
  border-radius: 16px;
  background: rgba(255, 247, 237, 0.2);
}

.share-row-label {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  text-align: center;
}

.share-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.share-icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}

.share-icon-button:hover {
  transform: translateY(-2px);
}

.share-icon-x {
  background: #0b0b0d;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 17px;
}

.share-icon-line {
  background: #06c755;
  font-size: 9px;
  letter-spacing: 0.01em;
}

.share-icon-facebook {
  background: #1877f2;
  font-size: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.share-icon-pinterest {
  background: #e60023;
  font-size: 19px;
}

.disclaimer {
  white-space: pre-line;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 8px 0 24px;
}

.paid-notice {
  color: var(--red-strong);
  font-weight: 800;
  margin-bottom: 20px;
}

#paid-content .result-box {
  margin-bottom: 14px;
}

.paid-subtitle {
  color: var(--gold);
  font-weight: 800;
  margin: 0 0 18px;
}

.self-check-cue {
  color: var(--gold);
  font-weight: 800;
  margin: 0 0 8px !important;
}

.prescription-item {
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.8;
}

.prescription-item b {
  color: var(--gold);
}

.prescription-caution {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.axis-desc {
  margin: 6px 0 0 !important;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  white-space: normal;
}

.paid-bonus-divider {
  margin: 26px 0 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.paid-bonus-heading {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 14px;
}

.paid-bonus-intro {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
}

@media (max-width: 480px) {
  .result-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- 495円で開くものの予告 ----
 *
 * **有料の本文はここに来ない。**出しているのは見出しと本数だけで、
 * 中身は伏せ字（？）。ブラーは見た目だけで、外しても `？` しか出てこない。
 *
 * **カルテと同じ形で並べる**（2026-08-16）。カルテは項目ごとに `.result-box` で
 * 囲み、見出しを金色にしている（karte.css の .karte-box h2）。
 * **買ったあとの画面と同じ見た目にすることで、何が開くのかが伝わる。**
 * 無料ページは karte.css を読まないので、同じ値をここにも書いてある。
 */
.paid-teaser {
  margin: 0 0 18px;
}

.paid-teaser-item {
  margin-bottom: 16px;
}

/* karte.css の .karte-box h2 と同じ値。**変えるときは両方直す** */
.paid-teaser-item h2 {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 800;
}

/* 伏せ字。**本物を隠しているのではなく、伏せ字そのものを描いている。**
   ブラーは上のまとめて指定しているほうでかかる。
   ブラーで滲むぶん、色は濃いめにして「文字がある」ことを見せる */
.paid-teaser-mask {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  letter-spacing: 0.06em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

.paid-teaser-mask + .paid-teaser-mask {
  width: 70%;
}

/* **実物で出すぶん**（2026-08-17）。NG行動の1本目とセルフチェックの見出し。
   伏せ字（.paid-teaser-mask）と同じ大きさで、**ぼかさず、色を明るくする。**
   同じ行に伏せ字が並ぶので、明暗の差がそのまま「ここまでが無料」の線になる */
.paid-teaser-shown {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

/* セルフチェックの「いつ使うか」の合図。
   **買ったあとの画面と同じ見た目にする**（2026-08-17・本人指示）。
   karte.css の `.karte .karte-cue` と同じ値——金色の縦線・薄い金の下地・太字。
   無料ページは karte.css を読まないので、同じ値をここにも書いてある。
   **変えるときは両方直す** */
.paid-teaser-cue {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-left: 3px solid var(--gold);
  background: rgba(214, 179, 90, 0.08);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.7;
}

/* 「ほか2つ」「3種」。**伏せ字より短く、量を正確に伝える** */
.paid-teaser-more {
  margin: 8px 0 0;
  color: var(--gold);
  font-size: 12px;
}

/* 箇条書きの項目。**中黒はブラーの外に出す。**
   点が3つ並べば「3本ある」が数字を読まずに伝わる */
.paid-teaser-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
}

.paid-teaser-bullets li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.paid-teaser-bullets li:last-child {
  margin-bottom: 0;
}

.paid-teaser-bullets li::before {
  content: "・";
  color: var(--gold);
  flex: none;
}

.paid-teaser-bullets .paid-teaser-mask,
.paid-teaser-bullets .paid-teaser-shown {
  flex: 1;
  min-width: 0;
}

/* **閉じている行の隣に置く鍵**（2026-08-17・本人指示）。
   実物を出した項目では見出しから鍵を外してあるので、これが唯一の合図になる。
   置き方は「8つの軸」の1位・2位に付いている 🔒 と同じ考え方。
   **ぼかさない**——中黒と同じくブラーの外に出す */
.paid-teaser-bullet-lock {
  flex: none;
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.85;
}

/* 箇条書きでない伏せ字（セルフチェックの本文）に鍵を添えるための行 */
.paid-teaser-mask-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.paid-teaser-mask-row .paid-teaser-mask {
  flex: 1;
  min-width: 0;
}

/* 課金の案内。**ブラーの上に重ねる**（軸ブロックと同じ作り）。
   **背景は敷かない。**暗いグラデーションを敷いたら、下のラベルが読めなくなった
   （2026-08-16・本人指摘）。軸ブロックと同じく、文字側の影だけで読ませる。
   位置決めは .locked-overlay がやる */
/* 課金の案内の置き場所。
 *
 * **重ねるのをやめた**（2026-08-17・本人指示）。以前は項目の上へ絶対配置で
 * 重ね、`top` の％で位置を合わせていた。**その調整が破綻した**——
 * 36%→44%→64%と動かしても、項目の高さが変わるたびに何かと被る。
 * 実物を出し始めて高さがさらに変わり、追いきれなくなった。
 *
 * **いまは普通に流し込むだけ。**置き場所は2か所（app.js が同じ部品を2回作る）——
 *   ① 予告のすぐ下（「沼から抜け出すヒント」と「8つの軸」の間）
 *   ② 990円「脈あり・好意分析」の枠の手前
 * 何とも重ならないので、項目が増えても位置の調整が要らない */
.paid-teaser-cta {
  display: flex;
  justify-content: center;
  margin: 4px 0 22px;
}

.paid-teaser-cta .locked-note {
  color: var(--text);
}

/* **文言とボタンを載せる板**（2026-08-17・本人指摘「景色に馴染んで目立たない」）。
 *
 * 浮かせているのは3つ。**濃い下地・金の細枠・下に落ちる影。**
 * 重ねるのをやめたので、板が後ろの文字を潰す心配は無くなった。
 * それでも下地を残してあるのは、**周りより暗いことが「ここは別物」の合図**に
 * なるため（本人の指定は「ボタン周りとボタンの上の文言周りだけ背景を暗くする」）。 */
.paid-teaser-cta-panel {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  border: 1px solid rgba(214, 179, 90, 0.45);
  border-radius: 20px;
  background: rgba(17, 8, 20, 0.88);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35);
}

/* **字を大きくする**（2026-08-17・本人指摘「字が小さい」）。
   共通の .locked-note（13px・軸ブロックで使う）より一回り大きい */
.paid-teaser-note {
  font-size: 15px;
  line-height: 1.7;
}

.paid-teaser-button {
  width: 100%;
  max-width: 340px;
}

/* **ボタン自体も一段持ち上げる。**板に載せただけだと、板と同化して
   「押せるもの」に見えない。影を強めて、赤の縁を一枚足す */
.paid-teaser-cta-panel .unlock-button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 26px rgba(225, 29, 72, 0.5),
    0 2px 0 rgba(0, 0, 0, 0.25);
}

/* ---- 1問目に出す一時案内（ふわっと出て、ふわっと消える） ---- */
.quiz-toast {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  /* 消えている間は下の選択肢を押せるようにする（この幕は無いのと同じ扱い） */
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  /* 消えるときだけ、透明になりきってから当たり判定を外す。
     出るときは `visibility` を待たせない（下の .is-visible が上書きする） */
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

/* **出ている間はタップを通さない**（2026-08-17・本人指摘）。
   画面全体を覆う案内なので、**下の選択肢を誤って押すと1問目が答え済みになる。**
   幕自身が当たり判定を持つので、下へは何も届かない。
   **消えるのは「理解した」を押したときだけ**——時間では消えない */
.quiz-toast.is-visible {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}

/* **出ている間はタップを通さない**（2026-08-17・本人指摘）。
   画面全体を覆う案内なので、**下の選択肢を誤って押すと1問目が答え済みになる。**
   出ている間だけこの幕がタップを受け止める。
   **アニメーションの終わりは `visibility: hidden`** なので、
   終わったあとは（このクラスが付いたままでも）当たり判定が消える。
   受け止めたタップは案内を閉じるのに使う（app.js）——
   押しても何も起きないと、固まったように見えるため */
.quiz-toast.is-visible {
  pointer-events: auto;
  cursor: pointer;
}

/* 画面いっぱいに大きく見せる。囲みは作らず、画面全体を暗くした上に大きな文字を置く */
.quiz-toast {
  background: rgba(9, 4, 11, 0.82);
}

.quiz-toast p {
  margin: 0;
  max-width: 14em;
  color: var(--text);
  /* 375px幅で約41px、大画面で最大72px。既定の本文サイズの約3〜5倍 */
  font-size: clamp(30px, 11vw, 72px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

/* **時間で消すのをやめた**（2026-08-17・本人指示）。
   以前は約2.9秒で自動的に消えていた（`quiz-toast-fade`）。
   画面全体を覆う案内なので、**消えるのを待たずに触ると
   1問目を答えたことになってしまう。**
   いまは「理解した」を押すまで出したままにする（閉じるのは app.js）。 */

/* 案内の中身。文言の下にボタンを置く */
.quiz-toast-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* **押す場所をはっきりさせる。**文言がかなり大きいので、ボタンが小さいと
   「読むだけの画面」に見えて、どこを押せば進めるのか分からなくなる */
.quiz-toast-button {
  padding: 15px 40px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--red-strong));
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.35);
}

/* 動きを減らす設定の環境では、フェードもやめて即座に出し入れする */
@media (prefers-reduced-motion: reduce) {
  .quiz-toast,
  .quiz-toast.is-visible {
    transition-duration: 0s;
  }
}

/* ---- 沼らせる側の診断へのクロス導線 ---- */
.cross-box {
  margin-bottom: 20px;
  text-align: center;
}

/* aタグに .primary-button を当てているため、下線だけ打ち消す */
.cross-button {
  margin-top: 14px;
  text-decoration: none;
}

/* ---- 990円「脈あり・好意分析」への従CTA ----
   **主CTA（赤いグラデーションのボタン）と同じ強さで出さない。**
   このページの主役は無料の結果と、沼る側では495円のほうで、
   ここは「もう一つ別の商品がある」と伝えるだけの枠にする。
   枠線と金色だけで組み、影と塗りつぶしは使わない */
.paid-cross-box {
  margin-bottom: 20px;
  border: 1px solid rgba(214, 179, 90, 0.45);
  background: none;
}

.paid-cross-box h3 {
  color: var(--gold);
}

.paid-cross-box p {
  white-space: pre-line;
}

/* 990円「脈あり・好意分析」への従CTA。
   **495円（金色）とも、悪魔の一言（赤）とも違う色にする**（2026-08-16・本人指示）。
   背景の紫（--bg-glow-2）と同系にして、サイトの中で浮かないようにしてある。
   **主CTAより弱く見せる**という決めごと（docs/monetization.md 5章）は保つので、
   塗りつぶさず、枠と文字だけに色を置く */
.paid-cross-button {
  display: block;
  margin-top: 14px;
  padding: 13px 18px;
  border: 1px solid rgba(167, 139, 250, 0.75);
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.14);
  color: #c4b5fd;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.paid-cross-button:hover {
  background: rgba(124, 58, 237, 0.24);
}


.one-liner {
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1.5px solid var(--red-strong);
  background: rgba(225, 29, 72, 0.08);
  border-radius: 14px;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

/* 「悪魔の一言」見出し＋本文。見出しを本文と同じ四角枠の中に収める。
   見出しは他の項目見出し（.result-box h3、ゴールド）とは意図的に雰囲気を変え、
   赤・斜体・広めの字間で少し禍々しく見せる */
.one-liner-block {
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1.5px solid var(--red-strong);
  background: rgba(225, 29, 72, 0.08);
  border-radius: 14px;
}

.one-liner-block .one-liner {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
}

.one-liner-heading {
  margin: 0 0 8px;
  color: var(--red-strong);
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.14em;
  text-shadow: 0 0 10px rgba(225, 29, 72, 0.45);
}

.one-liner-heading::before {
  content: "† ";
  font-style: normal;
}

.share-row-block {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1.5px solid rgba(255, 247, 237, 0.55);
  border-radius: 16px;
  background: rgba(255, 247, 237, 0.2);
}

.share-row-label {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  text-align: center;
}

.share-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.share-icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}

.share-icon-button:hover {
  transform: translateY(-2px);
}

.share-icon-x {
  background: #0b0b0d;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 17px;
}

.share-icon-line {
  background: #06c755;
  font-size: 9px;
  letter-spacing: 0.01em;
}

.share-icon-facebook {
  background: #1877f2;
  font-size: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.share-icon-pinterest {
  background: #e60023;
  font-size: 19px;
}

.disclaimer {
  white-space: pre-line;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 8px 0 24px;
}

@media (max-width: 480px) {
  .result-grid {
    grid-template-columns: 1fr;
  }
}

/* 「これは占いではない」ただし書き（固定文）。
   立ち位置を明示する防御的な表現なので、免責より前・本文と同じ読みやすさで出す。
   詳細は CLAUDE.md「禁止用語」と myakuari_bunseki_spec.md 5章⓪ */
.not-uranai {
  white-space: pre-line;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-muted);
  border-left: 2px solid var(--gold);
  padding: 2px 0 2px 14px;
  margin: 24px 0 20px;
}

/* 法務ページへの導線。診断カードの外、画面最下部に置く */
.site-footer {
  margin: 28px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--text-muted);
  margin: 0 10px;
  white-space: nowrap;
}

/* ---- ホームへ戻る（2026-08-17追加） ----
 *
 * **診断の入口には出口が無かった**（本人指摘）。トップ画面にあるのは
 * 「診断を始める」だけで、他の診断を見に行くにはブラウザの戻るしかなかった。
 * 販売ページ・購入前チェックの通過／不通過画面も同じ状態だった。
 *
 * **主ボタンと張り合わせない。**塗りつぶさず、枠と文字だけに色を置く
 * （990円への従CTAと同じ考え方。`docs/monetization.md` 5章）。
 * **`.site-footer` のリンクとは別物**——あちらは法務と復旧の入口で、
 * 診断を選び直すための導線ではない
 */
.home-back-row {
  margin: 20px 0 0;
  text-align: center;
}

.home-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.home-back-link:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}
