/* ═══════════════════════════════════════════
   RPG数秘 — 診断結果ページ 共通スタイル
   各キャラクターの numero-N.css で :root 変数を上書きする
═══════════════════════════════════════════ */

/* ─── デフォルト変数（No.1 勇者 基準）────── */
:root {
  /* 変わらない共通値 */
  --white:       #ffffff;
  --radius:      24px;
  --max-width:   980px;

  /* 以下は numero-N.css で上書きされる */
  --gold:        #ffd36a;
  --gold-2:      #ffecaf;
  --cream:       #fff8e9;
  --paper:       #fffaf4;
  --ink:         #2b2330;
  --muted:       #6c6170;
  --line-gold:   rgba(255, 211, 106, 0.55);
  --shadow:      0 16px 36px rgba(38, 8, 57, 0.24);
  --shadow-red:  0 16px 36px rgba(150, 0, 0, 0.28);

  /* テーマカラー（セマンティック名） */
  --accent:       #56136f;   /* No.1: purple / No.2: green */
  --accent-2:     #32104f;
  --deep:         #1a0628;   /* フッター背景など */
  --mid:          #2c0d44;
  --primary:      #ef1717;   /* ボタン・アクション色 */
  --primary-dark: #c20000;
  --body-bg:      #fdfcfe;

  /* ─── Hero ─────────────────────────────── */
  --hero-bg:
    radial-gradient(circle at 15% 10%, rgba(255, 100, 80, 0.3), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255, 211, 106, 0.18), transparent 22%),
    linear-gradient(160deg, #5a0000 0%, #a00000 40%, #600000 100%);
  --hero-moon-bg:        radial-gradient(circle at 35% 35%, #fffbe2, #ffd980 65%, rgba(255, 217, 128, 0.35) 100%);
  --hero-moon-glow:      rgba(255, 227, 155, 0.8);
  --hero-mountain-bg:    linear-gradient(180deg, rgba(60, 0, 0, 0.04), rgba(20, 0, 0, 0.85));
  --hero-num-color:      rgba(255, 140, 100, 0.18);
  --hero-star-dot-color: rgba(255, 211, 106, 0.75);
  --hero-h1-glow:        rgba(255, 200, 100, 0.3);
  --keyword-border:      rgba(255, 211, 106, 0.4);

  /* ─── ロゴ ──────────────────────────────── */
  --logo-border: rgba(255, 223, 146, 0.78);
  --logo-bg:     linear-gradient(180deg, rgba(120, 20, 20, 0.94), rgba(60, 5, 5, 0.97));
  --logo-inset:  rgba(255, 244, 210, 0.2);

  /* ─── セクション ────────────────────────── */
  --lavender-end:      #f7f0ff;
  --dark-section-glow: rgba(255, 211, 106, 0.14);
  --dark-section-bg:   linear-gradient(180deg, #31104d 0%, #56136f 100%);

  /* ─── types-frame ───────────────────────── */
  --frame-border: rgba(255, 218, 129, 0.9);
  --frame-bg:     linear-gradient(180deg, rgba(45, 14, 72, 0.92), rgba(20, 6, 33, 0.98));

  /* ─── バッジ ────────────────────────────── */
  --badge-border:          rgba(255, 211, 106, 0.85);
  --badge-text:            #fff3c8;
  --badge-bg:              linear-gradient(180deg, #6d2f98, #461263);
  --badge-diamond-bg:      #4a146f;
  --badge-diamond-border:  rgba(255, 211, 106, 0.6);

  /* ─── リボンタイトル ────────────────────── */
  --ribbon-border:          rgba(86, 19, 111, 0.5);
  --ribbon-bg:              linear-gradient(180deg, rgba(255, 248, 233, 0.9), rgba(255, 240, 210, 0.9));
  --ribbon-shadow:          rgba(86, 19, 111, 0.1);
  --ribbon-diamond-border:  rgba(86, 19, 111, 0.4);

  /* ─── カード・タイムライン ──────────────── */
  --point-border:          rgba(255, 211, 106, 0.38);
  --timeline-glow:         rgba(255, 211, 106, 0.6);
  --timeline-dot-shadow:   0 0 12px rgba(255, 211, 106, 0.8), 0 0 4px rgba(255, 211, 106, 0.5);
  --timeline-note-bg:      rgba(255, 211, 106, 0.1);

  /* ─── 相性カード ────────────────────────── */
  --compat-bg:
    radial-gradient(circle at 20% 20%, rgba(255, 211, 106, 0.14), transparent 32%),
    linear-gradient(135deg, #681d91, #250939);
  --compat-hover-shadow: rgba(38, 8, 57, 0.36);

  /* ─── ボタン ────────────────────────────── */
  --btn-primary-bg:        linear-gradient(180deg, #f8503a 0%, #ca0808 100%);
  --btn-primary-border:    #f7c09f;
  --btn-secondary-bg:      linear-gradient(180deg, #7a33a9 0%, #431162 100%);
  --btn-secondary-border:  rgba(255, 221, 140, 0.9);

  /* ─── CTAセクション ─────────────────────── */
  --cta-divider-bg: rgba(86, 19, 111, 0.2);

  /* ─── 相性チェックカード ────────────────── */
  --check-card-bg:           linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 248, 233, 0.98));
  --check-card-border:       rgba(229, 193, 101, 0.7);
  --check-card-shadow:       rgba(86, 19, 111, 0.1);
  --check-card-hover-shadow: rgba(86, 19, 111, 0.18);
  --check-card-hover-border: #ffe08a;

  /* ─── レアカード ────────────────────────── */
  --check-rare-border:    rgba(184, 118, 255, 0.85);
  --check-rare-glow:      rgba(221, 190, 255, 0.4);
  --check-rare-bg-end:    #fff4ff;
  --check-rare-badge-bg:  linear-gradient(135deg, #a040e0, #5a1290);

  /* ─── 有料レポートセクション ─────────────── */
  --paid-card-border:  rgba(255, 211, 106, 0.35);
  --paid-li-border:    rgba(255, 211, 106, 0.6);
  --paid-price-border: rgba(255, 211, 106, 0.3);
  --paid-star-2:       rgba(255, 211, 106, 0.4);
  --paid-star-3:       rgba(200, 160, 255, 0.35);

  /* ─── アニメーション ────────────────────── */
  --shooting-star-color: rgba(255, 211, 106, 0.55);
  --pulse-glow-1: rgba(255, 211, 106, 0.35);
  --pulse-glow-2: rgba(255, 211, 106, 0.72);
}

/* ═══════════════════════════════════════════
   ベーススタイル
═══════════════════════════════════════════ */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  background: var(--body-bg);
  color: var(--ink);
  line-height: 1.9;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.container.narrow {
  max-width: 820px;
}

.container.small {
  max-width: 520px;
}

/* ─── eyebrow ─────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

.eyebrow.dark {
  color: var(--accent);
}

/* ─── セクション共通 ────────────────────── */
.section {
  position: relative;
  padding: 72px 20px;
}

/* ═══════════════════════════════════════════
   HEROセクション
═══════════════════════════════════════════ */
.hero-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  padding-top: 52px;
  padding-bottom: 60px;
  background: var(--hero-bg);
}

/* 月 */
.hero-section::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: 12%;
  top: 54px;
  border-radius: 50%;
  background: var(--hero-moon-bg);
  box-shadow: 0 0 26px var(--hero-moon-glow);
  opacity: 0.9;
  animation: pulseGlow 3.8s ease-in-out infinite;
  z-index: 0;
}

/* 山型シルエット */
.hero-section::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 0;
  height: 32%;
  background: var(--hero-mountain-bg);
  clip-path: polygon(0% 100%, 0% 58%, 5% 64%, 9% 52%, 14% 61%, 18% 42%, 22% 56%, 26% 38%, 30% 62%, 36% 34%, 41% 61%, 46% 47%, 50% 58%, 54% 40%, 58% 53%, 62% 36%, 67% 58%, 72% 42%, 77% 61%, 82% 46%, 88% 63%, 94% 50%, 100% 59%, 100% 100%);
  z-index: 0;
}

/* 星空背景レイヤー */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* numero-N.css 側で content: "N N N" を上書きする */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--hero-num-color);
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 900;
  letter-spacing: 0.3em;
  transform: rotate(-9deg);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 1px, transparent 1px),
    radial-gradient(circle, var(--hero-star-dot-color) 1px, transparent 1px);
  background-size: 58px 58px, 112px 112px;
  opacity: 0.45;
  animation: twinkle 6s linear infinite;
}

/* 左上ロゴ */
.hero-logo {
  position: absolute;
  top: 22px;
  left: max(16px, calc((100vw - var(--max-width)) / 2));
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 15px 7px;
  border-radius: 12px;
  color: var(--gold-2);
  border: 1px solid var(--logo-border);
  background: var(--logo-bg);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38), inset 0 1px 0 var(--logo-inset);
}

.hero-logo strong {
  font-size: 1.2rem;
  line-height: 1.1;
  font-family: "Noto Serif JP", serif;
}

.hero-logo span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

/* ─── HERO グリッド ─────────────────────── */
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-no {
  margin: 0 0 4px;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  font-family: "Noto Serif JP", serif;
  color: var(--gold);
}

.hero-section h1 {
  margin: 0;
  font-size: 5rem;
  line-height: 1.05;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 1px var(--hero-h1-glow);
}

.hero-lead {
  margin: 14px 0 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}

.keyword-block {
  margin-top: 40px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--keyword-border);
  border-radius: 14px;
}

.keyword-title {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
}

.keyword-text {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.character-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.4));
  animation: floaty 4s ease-in-out infinite;
}

.center-title {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 48px 0 28px;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  color: var(--gold-2);
}

/* ─── 数秘特性 横3カラム ─────────────────── */
.points-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.point-group {
  padding: 22px 20px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--point-border);
  border-radius: 16px;
  text-align: center;
  transition: background 0.2s ease;
}

.point-group:hover {
  background: rgba(255, 255, 255, 0.15);
}

.point-icon {
  margin: 0 0 10px;
  font-size: 1.6rem;
  line-height: 1;
}

.point-group h3 {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.point-group p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

/* ═══════════════════════════════════════════
   ライトセクション
═══════════════════════════════════════════ */

/* ─── クリーム系セクション ──────────────── */
.section-cream {
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  color: var(--ink);
}

/* ─── 薄色グラデセクション ──────────────── */
.section-lavender {
  background: linear-gradient(180deg, var(--body-bg) 0%, var(--lavender-end) 100%);
  color: var(--ink);
}

/* ─── ダーク系セクション ────────────────── */
.section-purple {
  background:
    radial-gradient(circle at 50% 0%, var(--dark-section-glow), transparent 30%),
    var(--dark-section-bg);
  color: var(--white);
}

/* ─── types-frame（金枠ラッパー） ────────── */
.types-frame {
  position: relative;
  border: 1px solid var(--frame-border);
  border-radius: 28px;
  padding: 22px 22px 30px;
  background: var(--frame-bg);
  box-shadow: inset 0 0 44px rgba(255, 255, 255, 0.05), 0 18px 40px rgba(0, 0, 0, 0.36);
}

/* ─── リボン見出しバッジ ─────────────────── */
.ribbon-title-badge {
  position: relative;
  width: fit-content;
  margin: -42px auto 28px;
  padding: 10px 26px;
  border: 1px solid var(--badge-border);
  border-radius: 14px;
  color: var(--badge-text);
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  background: var(--badge-bg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.ribbon-title-badge::before,
.ribbon-title-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--badge-diamond-bg);
  border: 1px solid var(--badge-diamond-border);
  transform: translateY(-50%) rotate(45deg);
}

.ribbon-title-badge::before { left: -7px; }
.ribbon-title-badge::after  { right: -7px; }

/* ─── セクション見出し（クリーム・薄色セクション用） */
.ribbon-title {
  position: relative;
  width: fit-content;
  margin: 0 auto 32px;
  padding: 8px 28px;
  border: 1px solid var(--ribbon-border);
  border-radius: 14px;
  color: var(--accent);
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  background: var(--ribbon-bg);
  box-shadow: 0 6px 14px var(--ribbon-shadow);
}

.ribbon-title::before,
.ribbon-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: var(--cream);
  border: 1px solid var(--ribbon-diamond-border);
  transform: translateY(-50%) rotate(45deg);
}

.ribbon-title::before { left: -6px; }
.ribbon-title::after  { right: -6px; }

/* ─── テキストブロック ─────────────────── */
.text-block {
  max-width: 760px;
  margin: 0 auto;
}

.text-block p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.95;
}

.section-cream .text-block p,
.section-lavender .text-block p {
  color: var(--ink);
}

/* ═══════════════════════════════════════════
   運勢タイムライン
═══════════════════════════════════════════ */
.fortune-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.timeline {
  position: relative;
  padding-left: 54px;
  margin-bottom: 20px;
}

.timeline-line {
  position: absolute;
  left: 12px;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 10px var(--timeline-glow);
}

.timeline-item {
  position: relative;
  padding-bottom: 34px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -48px;
  top: 10px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: var(--timeline-dot-shadow);
}

.timeline-age {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 900;
  font-family: "Noto Serif JP", serif;
  line-height: 1;
  color: var(--gold);
}

.timeline-content {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
}

.timeline-note {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.8;
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--timeline-note-bg);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  color: rgba(255, 255, 255, 0.88);
}

/* ═══════════════════════════════════════════
   相性カード
═══════════════════════════════════════════ */
.compatibility-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.compatibility-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 26px;
  border-radius: 22px;
  background: var(--compat-bg);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow);
  align-items: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.compatibility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px var(--compat-hover-shadow);
}

/* シャイン演出 */
.compatibility-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(120deg, transparent 44%, rgba(255, 255, 255, 0.12), transparent 56%);
  transform: translateX(-80%) rotate(10deg);
  transition: transform 0.55s ease;
  border-radius: 22px;
}

.compatibility-card:hover::before {
  transform: translateX(80%) rotate(10deg);
}

.compatibility-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.compat-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 14px;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.35));
  animation: floaty 4s ease-in-out infinite;
}

.compatibility-body h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  color: var(--gold);
}

.compatibility-body p {
  margin: 0 0 10px;
  font-size: 0.97rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
}

.compatibility-body p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════════════════════
   ボタン
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  filter: brightness(1.07);
}

.btn-red {
  color: #fff;
  background: var(--btn-primary-bg);
  border: 2px solid var(--btn-primary-border);
}

.btn-red::before {
  content: "⚔";
  margin-right: 9px;
}

.btn-purple {
  color: #fff;
  background: var(--btn-secondary-bg);
  border: 2px solid var(--btn-secondary-border);
}

.btn-green {
  background: #14b94b;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ═══════════════════════════════════════════
   CTAセクション
═══════════════════════════════════════════ */
.cta-section {
  padding-top: 64px;
  padding-bottom: 72px;
  text-align: center;
}

.share-lead {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--accent);
  font-family: "Noto Serif JP", serif;
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.share-btn {
  width: 100%;
  max-width: 320px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.share-btn-x {
  background: #000;
  color: #fff;
}

.share-btn-line {
  background: #06c755;
  color: #fff;
}

.cta-divider {
  width: 48px;
  height: 2px;
  background: var(--cta-divider-bg);
  margin: 28px auto;
  border-radius: 999px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.cta-buttons .btn {
  width: 100%;
  max-width: 320px;
}

/* ═══════════════════════════════════════════
   大切な人との相性チェックセクション
═══════════════════════════════════════════ */
.check-section {
  padding-top: 68px;
  padding-bottom: 72px;
  text-align: center;
}

.check-lead {
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.9;
  color: var(--muted);
}

.check-type-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.check-type-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px 12px;
  border-radius: 14px;
  background: var(--check-card-bg);
  border: 1px solid var(--check-card-border);
  box-shadow: 0 6px 16px var(--check-card-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  color: var(--ink);
}

/* シャイン */
.check-type-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(120deg, transparent 44%, rgba(255, 255, 255, 0.65), transparent 56%);
  transform: translateX(-80%) rotate(10deg);
  transition: transform 0.5s ease;
}

.check-type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 24px var(--check-card-hover-shadow);
  border-color: var(--check-card-hover-border);
}

.check-type-card:hover::before {
  transform: translateX(80%) rotate(10deg);
}

.check-type-card img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.2));
  transition: transform 0.22s ease;
}

.check-type-card:hover img {
  transform: scale(1.07);
}

.check-type-num {
  margin: 0 0 2px;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--primary);
  font-family: "Noto Serif JP", serif;
}

.check-type-name {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* レアタイプ */
.check-type-rare {
  border-color: var(--check-rare-border);
  background:
    radial-gradient(circle at 50% 0%, var(--check-rare-glow), transparent 36%),
    linear-gradient(180deg, #fff, var(--check-rare-bg-end));
}

.check-type-rare::after {
  content: "✦ RARE";
  position: absolute;
  top: 0;
  right: 0;
  padding: 3px 7px;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--check-rare-badge-bg);
  border-radius: 0 14px 0 10px;
  z-index: 2;
}

.check-cta-note {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.check-cta-note strong {
  color: var(--accent);
}

/* ── 相性チェック 生年月日フォーム ───────────────────────── */
.check-birth-form {
  margin: 0 auto 28px;
  max-width: 480px;
}

.check-form-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid var(--check-card-border);
  border-radius: 16px;
  padding: 10px 10px 10px 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(6px);
}

.check-form-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.check-form-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  min-width: 0;
}

.check-form-input::placeholder {
  color: #aaa;
  font-weight: 400;
}

.check-form-btn {
  flex-shrink: 0;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}

.check-form-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.check-date-preview {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  min-height: 1.2em;
  text-align: center;
}

.check-or-label {
  margin: 0 0 20px;
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.check-or-label::before,
.check-or-label::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--check-card-border);
}

/* ═══════════════════════════════════════════
   有料レポートセクション
═══════════════════════════════════════════ */
.paid-section {
  padding-top: 80px;
  padding-bottom: 88px;
  overflow: hidden;
}

.paid-section .types-frame {
  position: relative;
  padding-top: 28px;
}

.paid-section .ribbon-title-badge {
  margin-top: 0;
}

/* 星空背景 */
.paid-section .types-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    radial-gradient(circle, var(--paid-star-2) 1px, transparent 1px),
    radial-gradient(circle, var(--paid-star-3) 1px, transparent 1px);
  background-size: 72px 72px, 110px 110px, 55px 55px;
  animation: starDrift 24s linear infinite;
}

.paid-section .types-frame > * {
  position: relative;
  z-index: 1;
}

.paid-lead {
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.9;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.9);
}

.paid-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--paid-card-border);
  border-radius: 20px;
  padding: 34px 38px;
  max-width: 560px;
  margin: 0 auto;
}

.paid-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.paid-list li {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  border-left: 3px solid var(--paid-li-border);
}

.paid-price {
  text-align: center;
  margin-bottom: 28px;
  padding: 18px;
  border-top: 1px solid var(--paid-price-border);
  border-bottom: 1px solid var(--paid-price-border);
}

.paid-price-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.paid-price-value {
  font-size: 2rem;
  font-weight: 900;
  font-family: "Noto Serif JP", serif;
  color: var(--white);
}

.paid-card .btn-red {
  display: flex;
  width: 100%;
  font-size: 1.05rem;
}

/* 宝箱 */
.treasure {
  position: absolute;
  right: 16px;
  bottom: -16px;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.treasure img {
  animation: floaty 3.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   フッター
═══════════════════════════════════════════ */
.footer {
  background: var(--deep);
  color: var(--white);
  padding-bottom: 28px;
}

.footer-inner {
  padding: 34px 20px 0;
  text-align: center;
}

.footer-brand {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 18px;
  color: var(--gold-2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ─── 流れ星 ────────────────────────────── */
.shooting-star {
  position: absolute;
  width: 130px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.88) 60%, var(--shooting-star-color));
  pointer-events: none;
  z-index: 2;
  animation: shootingStarMove 0.75s ease-out forwards;
}

/* ─── スクロールリビール ─────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   アニメーション
═══════════════════════════════════════════ */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 0 10px var(--pulse-glow-1)); }
  50%       { filter: drop-shadow(0 0 20px var(--pulse-glow-2)); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.56; }
}

@keyframes shootingStarMove {
  0%   { opacity: 1; transform: translateX(0) translateY(0); }
  100% { opacity: 0; transform: translateX(-340px) translateY(200px); }
}

@keyframes starDrift {
  from { background-position: 0 0, 30px 30px, 15px 15px; }
  to   { background-position: -240px 240px, -210px 270px, -180px 180px; }
}

/* ═══════════════════════════════════════════
   レスポンシブ 900px
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-section h1 {
    font-size: 3.6rem;
  }

  .hero-no {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1.15rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .character-img {
    max-width: 280px;
    margin: 0 auto;
  }

  .keyword-block {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .compatibility-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .compatibility-image {
    justify-content: center;
  }

  .hero-section::before {
    right: 6%;
    top: 68px;
  }

  .hero-logo {
    left: 16px;
  }

  .check-type-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ═══════════════════════════════════════════
   レスポンシブ 640px
═══════════════════════════════════════════ */
@media (max-width: 640px) {
  .section {
    padding: 56px 16px;
  }

  .hero-section {
    padding-top: 60px;
    padding-bottom: 48px;
  }

  .hero-section::before {
    width: 72px;
    height: 72px;
    right: 4%;
    top: 60px;
  }

  .hero-no {
    font-size: 1.8rem;
  }

  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .center-title {
    font-size: 1.3rem;
    margin-top: 36px;
  }

  .ribbon-title {
    font-size: 1.35rem;
  }

  .paid-card {
    padding: 24px 20px;
  }

  .paid-price-value {
    font-size: 1.6rem;
  }

  .btn {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    font-size: 0.97rem;
  }

  .share-btn {
    font-size: 0.95rem;
  }

  .types-frame {
    padding: 18px 14px 26px;
    border-radius: 20px;
  }

  .ribbon-title-badge {
    font-size: 0.95rem;
    padding: 8px 18px;
  }

  .compatibility-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .treasure {
    width: 88px;
    right: 10px;
    bottom: -10px;
  }

  .footer-brand {
    font-size: 1.15rem;
  }

  .check-type-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .check-type-card img {
    width: 58px;
    height: 58px;
  }
}

/* ═══════════════════════════════════════════
   アクセシビリティ: モーション軽減
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
