/* =============================================
   CSS変数: 水彩画風カラーパレット
   イメージ: ダークインディゴの夜空 + ピンク/ローズの水彩にじみ + 三日月
============================================= */
:root {
  /* 背景色（深いインディゴ〜ネイビー） */
  --bg-primary: #0b1026;
  --bg-secondary: #131a3a;
  --bg-tertiary: #1a1f4e;

  /* 水彩にじみカラー（ピンク〜ローズ） */
  --watercolor-pink: rgba(200, 120, 160, 0.15);
  --watercolor-rose: rgba(180, 80, 120, 0.12);
  --watercolor-blush: rgba(230, 160, 190, 0.10);

  /* 火星カラー（赤〜ローズ、水彩風に柔らかく） */
  --mars-color: #c75b7a;
  --mars-light: #e8899e;
  --mars-glow: rgba(199, 91, 122, 0.25);

  /* 金星カラー（ピンク〜ブラッシュ、水彩風に柔らかく） */
  --venus-color: #d4a0b9;
  --venus-light: #ecc5d5;
  --venus-glow: rgba(212, 160, 185, 0.25);

  /* アクセント（月明かり〜淡いゴールド） */
  --accent-moon: #e8dcc8;
  --accent-gold: #c9a96e;

  /* テキスト */
  --text-primary: #d4cdc0;
  --text-white: #f0ece6;
  --text-muted: rgba(212, 205, 192, 0.6);

  /* カード */
  --card-bg: rgba(20, 25, 60, 0.6);
  --card-border: rgba(200, 160, 185, 0.12);
  --card-glass: rgba(255, 255, 255, 0.03);

  /* フォント */
  --font-serif: 'Noto Serif JP', 'Georgia', serif;
  --font-sans: 'Noto Sans JP', system-ui, sans-serif;
}

/* =============================================
   リセット・ベース
============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-serif);
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* 水彩風のにじみ背景（固定） */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(180, 80, 130, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(200, 100, 150, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 90% 70% at 60% 80%, rgba(160, 70, 110, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 70%, rgba(100, 60, 140, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 40%, var(--bg-tertiary) 70%, var(--bg-primary) 100%);
  pointer-events: none;
  z-index: 0;
}

/* =============================================
   星空背景
============================================= */
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.star {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(232, 220, 200, 0.8);
  animation: twinkle var(--twinkle-duration, 3s) ease-in-out infinite;
  animation-delay: var(--twinkle-delay, 0s);
}

/* =============================================
   画面切り替え（SPA）
============================================= */
.screen {
  display: none;
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-bottom: 60px;
}

.screen.active {
  display: block;
}

/* =============================================
   コンテナ
============================================= */
.container {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px;
}

.container--center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* =============================================
   三日月装飾
============================================= */
.crescent-moon {
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0 auto 20px;
}

.crescent-moon::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-moon);
  box-shadow: 0 0 20px rgba(232, 220, 200, 0.4), 0 0 60px rgba(232, 220, 200, 0.15);
}

.crescent-moon::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-primary);
}

/* =============================================
   カード（水彩ガラス風）
============================================= */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

/* カード内の水彩にじみ */
.card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, var(--watercolor-pink) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

/* 火星カード */
.card-mars {
  border-left: 3px solid var(--mars-color);
}

.card-mars::before {
  background: radial-gradient(ellipse, var(--mars-glow) 0%, transparent 70%);
}

/* 金星カード */
.card-venus {
  border-left: 3px solid var(--venus-color);
}

.card-venus::before {
  background: radial-gradient(ellipse, var(--venus-glow) 0%, transparent 70%);
}

/* 注意カード */
.card-caution {
  border-left: 3px solid var(--accent-gold);
}

/* =============================================
   フォーム
============================================= */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  color: var(--text-primary);
  font-size: 13px;
  margin-bottom: 6px;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

select,
input[type="text"],
input[type="email"] {
  width: 100%;
  background-color: rgba(20, 25, 60, 0.8);
  color: var(--text-white);
  border: 1px solid rgba(200, 160, 185, 0.15);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-serif);
  font-size: 15px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select:focus,
input[type="text"]:focus,
input[type="email"]:focus {
  border-color: var(--venus-color);
  box-shadow: 0 0 16px rgba(212, 160, 185, 0.15);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23d4a0b9' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

option {
  background-color: #131a3a;
  color: var(--text-white);
}

input::placeholder {
  color: var(--text-muted);
}

.form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}

.form-group--year { flex: 2; }
.form-group--month,
.form-group--day { flex: 1; }
.form-group--hour { flex: 1; }
.form-group--minute { flex: 1; }
.form-group--half { flex: 1; }

.form-note {
  font-size: 12px;
  color: var(--venus-light);
  opacity: 0.7;
  margin-bottom: 16px;
  text-align: center;
}

/* =============================================
   ボタン
============================================= */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--mars-color) 0%, var(--venus-color) 100%);
  color: var(--text-white);
  border: none;
  border-radius: 30px;
  padding: 16px 32px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.3s ease;
  text-align: center;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(199, 91, 122, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover:not(:disabled)::before {
  left: 100%;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(199, 91, 122, 0.35);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

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

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--venus-light);
  border: 1px solid rgba(212, 160, 185, 0.35);
  border-radius: 30px;
  padding: 14px 28px;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  text-align: center;
  letter-spacing: 0.05em;
}

.btn-secondary:hover {
  background-color: rgba(212, 160, 185, 0.08);
  border-color: var(--venus-color);
}

.btn-link {
  display: inline-block;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 205, 192, 0.2);
}

.btn-link:hover {
  opacity: 1;
}

.btn-back {
  display: inline-block;
  background: none;
  border: none;
  color: var(--venus-light);
  font-family: var(--font-serif);
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 12px;
  transition: opacity 0.2s ease;
  opacity: 0.8;
}

.btn-back:hover {
  opacity: 1;
}

.btn-full {
  display: block;
  width: 100%;
}

/* =============================================
   見出し
============================================= */
h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-moon);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.4;
}

h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.catchcopy {
  font-size: 17px;
  font-style: italic;
  color: var(--text-white);
  line-height: 1.7;
  opacity: 0.95;
}

/* =============================================
   セクション区切り線
============================================= */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 160, 185, 0.2), transparent);
  margin: 24px 0;
}

/* =============================================
   アニメーション
============================================= */
@keyframes twinkle {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.9; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes watercolorBlob {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.12;
  }
  50% {
    transform: scale(1.05) rotate(3deg);
    opacity: 0.18;
  }
}

.fade-in {
  animation: fadeInUp 0.7s ease-out both;
}

/* =============================================
   Screen 1: 入力画面
============================================= */
.intro-header {
  text-align: center;
  padding: 48px 0 32px;
  position: relative;
}

/* 惑星シンボル表示エリア */
.planet-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.planet-symbol {
  font-size: 28px;
  line-height: 1;
}

.mars-symbol {
  color: var(--mars-light);
  text-shadow: 0 0 20px var(--mars-glow);
}

.venus-symbol {
  color: var(--venus-light);
  text-shadow: 0 0 20px var(--venus-glow);
}

.planet-cross {
  font-size: 20px;
  color: var(--accent-moon);
  opacity: 0.6;
}

.main-catchcopy {
  font-size: 18px;
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.sub-catchcopy {
  font-size: 13px;
  color: var(--venus-light);
  opacity: 0.7;
  letter-spacing: 0.05em;
}

.intro-form h2 {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: center;
  color: var(--accent-moon);
  font-weight: 400;
  opacity: 0.85;
}

/* =============================================
   Screen 2: ローディング（火星x金星 軌道アニメーション）
============================================= */
.loading-inner {
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 400px;
}

/* -- 軌道アニメーション全体 -- */
.loading-orbit {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 36px;
}

/* 軌道リング */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 160, 185, 0.1);
}

.orbit-ring--outer {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: orbitPulse 4s ease-in-out infinite;
}

.orbit-ring--inner {
  top: 25%;
  left: 25%;
  width: 50%;
  height: 50%;
  border-color: rgba(200, 160, 185, 0.06);
  animation: orbitPulse 4s ease-in-out infinite 1s;
}

/* 火星（軌道上を周回） */
.orbit-planet {
  position: absolute;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-mars {
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  animation: orbitMars 3s ease-in-out infinite;
}

.orbit-venus {
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  animation: orbitVenus 3s ease-in-out infinite;
}

.orbit-glyph {
  font-size: 36px;
  line-height: 1;
}

.orbit-mars .orbit-glyph {
  color: var(--mars-light);
  text-shadow:
    0 0 16px var(--mars-glow),
    0 0 40px rgba(199, 91, 122, 0.3);
  filter: drop-shadow(0 0 8px rgba(199, 91, 122, 0.4));
}

.orbit-venus .orbit-glyph {
  color: var(--venus-light);
  text-shadow:
    0 0 16px var(--venus-glow),
    0 0 40px rgba(212, 160, 185, 0.3);
  filter: drop-shadow(0 0 8px rgba(212, 160, 185, 0.4));
}

/* 中央の三日月 */
.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
}

.orbit-crescent {
  position: relative;
  width: 100%;
  height: 100%;
}

.orbit-crescent::before {
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-moon);
  box-shadow: 0 0 20px rgba(232, 220, 200, 0.4);
  animation: moonGlow 3s ease-in-out infinite;
}

.orbit-crescent::after {
  content: '';
  position: absolute;
  top: -3px;
  left: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-primary);
}

/* 軌道上の光の粒 */
.orbit-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  animation: particleFloat 3s ease-in-out infinite;
}

.orbit-particle--1 {
  top: 30%;
  left: 5%;
  background: var(--mars-light);
  box-shadow: 0 0 6px var(--mars-glow);
  animation-delay: 0s;
}
.orbit-particle--2 {
  top: 15%;
  right: 20%;
  background: var(--venus-light);
  box-shadow: 0 0 6px var(--venus-glow);
  animation-delay: 0.5s;
}
.orbit-particle--3 {
  bottom: 25%;
  right: 8%;
  background: var(--accent-moon);
  box-shadow: 0 0 6px rgba(232, 220, 200, 0.3);
  animation-delay: 1.0s;
}
.orbit-particle--4 {
  bottom: 15%;
  left: 15%;
  background: var(--mars-light);
  box-shadow: 0 0 6px var(--mars-glow);
  animation-delay: 1.5s;
}
.orbit-particle--5 {
  top: 50%;
  right: 2%;
  width: 2px;
  height: 2px;
  background: var(--venus-light);
  box-shadow: 0 0 4px var(--venus-glow);
  animation-delay: 0.8s;
}
.orbit-particle--6 {
  top: 40%;
  left: 2%;
  width: 2px;
  height: 2px;
  background: var(--accent-moon);
  box-shadow: 0 0 4px rgba(232, 220, 200, 0.3);
  animation-delay: 2.0s;
}

/* -- テキスト -- */
.loading-text {
  font-size: 17px;
  color: var(--text-white);
  line-height: 1.9;
  margin-bottom: 10px;
  opacity: 0.9;
  animation: fadeInUp 0.6s ease-out both;
}

.loading-sub-text {
  font-size: 13px;
  color: var(--venus-light);
  opacity: 0;
  line-height: 1.7;
  margin-bottom: 28px;
  min-height: 1.7em;
  transition: opacity 0.6s ease;
}

.loading-sub-text.visible {
  opacity: 0.7;
}

/* -- プログレスバー -- */
.loading-progress {
  width: 200px;
  height: 2px;
  background: rgba(200, 160, 185, 0.1);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.loading-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--mars-color), var(--venus-color));
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(199, 91, 122, 0.4);
}

/* -- 軌道アニメーション keyframes -- */
@keyframes orbitMars {
  0% {
    top: -6px;
    left: 50%;
    transform: translateX(-50%) scale(1);
  }
  25% {
    top: 50%;
    left: -6px;
    transform: translate(0, -50%) scale(0.9);
  }
  50% {
    top: calc(100% - 42px);
    left: 50%;
    transform: translateX(-50%) scale(0.85);
  }
  75% {
    top: 50%;
    left: calc(100% - 42px);
    transform: translate(0, -50%) scale(0.9);
  }
  100% {
    top: -6px;
    left: 50%;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes orbitVenus {
  0% {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scale(1);
  }
  25% {
    bottom: 50%;
    left: calc(100% - 42px);
    transform: translate(0, 50%) scale(0.9);
  }
  50% {
    bottom: calc(100% - 42px);
    left: 50%;
    transform: translateX(-50%) scale(0.85);
  }
  75% {
    bottom: 50%;
    left: -6px;
    transform: translate(0, 50%) scale(0.9);
  }
  100% {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes orbitPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.03);
  }
}

@keyframes moonGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(232, 220, 200, 0.3);
  }
  50% {
    box-shadow: 0 0 36px rgba(232, 220, 200, 0.6), 0 0 60px rgba(232, 220, 200, 0.2);
  }
}

@keyframes particleFloat {
  0%, 100% {
    opacity: 0.2;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-6px) scale(1.3);
  }
}

/* =============================================
   Screen 3: 診断結果 -- ヒーローエリア
============================================= */
.result-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 20px;
}

.result-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 120% 80% at 50% 20%, rgba(180, 80, 130, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 80% 100% at 20% 60%, rgba(100, 60, 140, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse 80% 100% at 80% 60%, rgba(212, 160, 185, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.result-hero-content {
  position: relative;
  text-align: center;
  padding: 52px 0 24px;
}

.crescent-moon--result {
  margin-bottom: 24px;
}

.result-hero-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--venus-light);
  opacity: 0.5;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.result-hero-title {
  font-size: 22px;
  color: var(--accent-moon);
  margin-bottom: 28px;
}

/* 星座ペアのバッジ表示 */
.result-hero-signs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.result-sign-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 40px;
  background: rgba(20, 25, 60, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.result-sign-badge--mars {
  border: 1px solid rgba(199, 91, 122, 0.3);
}

.result-sign-badge--venus {
  border: 1px solid rgba(212, 160, 185, 0.3);
}

.result-sign-glyph {
  font-size: 22px;
  line-height: 1;
}

.result-sign-badge--mars .result-sign-glyph {
  color: var(--mars-light);
  text-shadow: 0 0 12px var(--mars-glow);
}

.result-sign-badge--venus .result-sign-glyph {
  color: var(--venus-light);
  text-shadow: 0 0 12px var(--venus-glow);
}

.result-sign-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: 0.04em;
}

.result-sign-cross {
  font-size: 16px;
  color: var(--accent-moon);
  opacity: 0.4;
}

/* =============================================
   診断結果 -- チャプター（火星/金星共通）
============================================= */
.result-chapter {
  padding: 32px 0;
  position: relative;
}

/* チャプターヘッダー: 惑星記号 + テキスト */
.chapter-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.chapter-planet-glyph {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.chapter-glyph--mars {
  color: var(--mars-light);
  background: rgba(199, 91, 122, 0.1);
  text-shadow: 0 0 20px var(--mars-glow);
}

.chapter-glyph--venus {
  color: var(--venus-light);
  background: rgba(212, 160, 185, 0.1);
  text-shadow: 0 0 20px var(--venus-glow);
}

.chapter-en {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 2px;
  color: var(--text-primary);
}

.chapter-title {
  font-size: 18px;
  font-weight: 700;
}

.chapter-title--mars { color: var(--mars-light); }
.chapter-title--venus { color: var(--venus-light); }

/* キャッチコピー */
.chapter-catchcopy {
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 28px;
  padding: 20px 0;
  position: relative;
}

.chapter-catchcopy--mars { color: var(--text-white); }
.chapter-catchcopy--venus { color: var(--text-white); }

.chapter-catchcopy::before {
  content: '\201C';
  position: absolute;
  top: 0;
  left: -4px;
  font-size: 48px;
  line-height: 1;
  opacity: 0.15;
  font-family: Georgia, serif;
}

/* チャプター本文ブロック */
.chapter-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 28px;
}

.chapter-block {
  position: relative;
}

.chapter-block--sub,
.chapter-block--warn,
.chapter-block--hint {
  padding: 20px;
  border-radius: 16px;
  position: relative;
}

.chapter-block--sub {
  background: rgba(255, 255, 255, 0.02);
}

.chapter-block--warn {
  background: rgba(199, 91, 122, 0.04);
  border: 1px solid rgba(199, 91, 122, 0.08);
}

.chapter-block--hint {
  background: rgba(212, 160, 185, 0.04);
  border: 1px solid rgba(212, 160, 185, 0.08);
}

.chapter-block-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-moon);
  opacity: 0.7;
  margin-bottom: 10px;
}

.chapter-block-label--warn {
  color: var(--mars-light);
  opacity: 0.85;
}

.chapter-block-label--hint {
  color: var(--venus-light);
  opacity: 0.85;
}

.chapter-text {
  font-size: 15px;
  line-height: 2;
  color: var(--text-primary);
}

/* =============================================
   あやの先生コメント -- 引用デザイン
============================================= */
.ayano-quote {
  position: relative;
  padding: 24px 20px 20px 28px;
  margin-top: 8px;
}

.ayano-quote-deco {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  border-radius: 2px;
}

.ayano-quote--mars .ayano-quote-deco {
  background: linear-gradient(180deg, var(--mars-color) 0%, transparent 100%);
}

.ayano-quote--venus .ayano-quote-deco {
  background: linear-gradient(180deg, var(--venus-color) 0%, transparent 100%);
}

.ayano-quote-text {
  font-size: 14px;
  font-style: italic;
  line-height: 2;
  color: var(--text-white);
  opacity: 0.85;
}

.ayano-quote-name {
  font-size: 12px;
  color: var(--accent-moon);
  opacity: 0.5;
  margin-top: 12px;
  text-align: right;
  letter-spacing: 0.1em;
}

/* =============================================
   セクション区切り装飾
============================================= */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 0;
}

.section-divider-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-moon);
  opacity: 0.3;
}

.section-divider-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 220, 200, 0.2), transparent);
}

.section-divider-star {
  font-size: 14px;
  color: var(--accent-moon);
  opacity: 0.25;
  line-height: 1;
}

/* =============================================
   ギャップ解説 -- 新デザイン
============================================= */
.result-gap {
  padding: 36px 0;
  text-align: center;
}

.result-gap-header {
  margin-bottom: 24px;
}

.result-gap-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.gap-icon-mars {
  font-size: 20px;
  color: var(--mars-light);
  text-shadow: 0 0 12px var(--mars-glow);
}

.gap-icon-venus {
  font-size: 20px;
  color: var(--venus-light);
  text-shadow: 0 0 12px var(--venus-glow);
}

.gap-icon-arrow {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--mars-color), var(--venus-color));
  position: relative;
}

.gap-icon-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-moon);
  box-shadow: 0 0 8px rgba(232, 220, 200, 0.4);
}

.result-gap-title {
  font-size: 16px;
  font-weight: 400;
  color: var(--accent-moon);
  line-height: 1.7;
  opacity: 0.9;
}

.result-gap-text {
  font-size: 15px;
  line-height: 2.1;
  color: var(--text-primary);
  text-align: left;
  max-width: 440px;
  margin: 0 auto;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px solid rgba(200, 160, 185, 0.06);
}

/* =============================================
   結果画面ボタン群
============================================= */
.result-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  padding: 20px 0 32px;
}

/* =============================================
   Screen 4: 相性診断
============================================= */
.compat-header {
  padding: 28px 0 20px;
}

.compat-header h1 {
  margin-bottom: 8px;
}

.compat-subheader {
  font-size: 14px;
  color: var(--text-primary);
  opacity: 0.7;
}

.compat-form h2 {
  font-size: 16px;
  color: var(--accent-moon);
  margin-bottom: 20px;
  text-align: center;
  font-weight: 400;
}

.compat-result {
  margin-top: 28px;
}

/* 相性ヒーロー（キャッチコピー） */
.compat-hero {
  text-align: center;
  padding: 28px 0;
}

.compat-hero-catchcopy {
  font-size: 22px;
  font-style: italic;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.7;
}

/* 相性チャプター */
.compat-chapter {
  padding: 24px 0;
}

.compat-chapter-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.compat-ch-mars {
  font-size: 20px;
  color: var(--mars-light);
  text-shadow: 0 0 10px var(--mars-glow);
}

.compat-ch-venus {
  font-size: 20px;
  color: var(--venus-light);
  text-shadow: 0 0 10px var(--venus-glow);
}

.compat-ch-cross {
  font-size: 14px;
  color: var(--accent-moon);
  opacity: 0.4;
}

.compat-chapter-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-moon);
  opacity: 0.65;
  text-align: center;
  margin-bottom: 16px;
}

.compat-chapter-text {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 2;
}

/* 相性インサイト */
.compat-insight {
  padding: 20px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.compat-insight--caution {
  background: rgba(199, 91, 122, 0.04);
  border: 1px solid rgba(199, 91, 122, 0.06);
}

.compat-insight-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--venus-light);
  opacity: 0.7;
  margin-bottom: 10px;
}

.compat-insight-label--caution {
  color: var(--mars-light);
}

.compat-insight-text {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 2;
}

.compat-actions {
  margin-top: 20px;
  padding-bottom: 16px;
}

/* =============================================
   Screen 5: メール登録
============================================= */
.registration-header {
  text-align: center;
  padding: 48px 0 28px;
}

.registration-header h1 {
  font-size: 21px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.registration-sub {
  font-size: 14px;
  color: var(--text-primary);
  opacity: 0.75;
  line-height: 1.7;
}

/* あやの先生プロフィール */
.ayano-profile {
  padding: 20px;
}

.ayano-profile-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ayano-photo {
  width: 80px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(200, 160, 185, 0.2);
  flex-shrink: 0;
}

.ayano-profile-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-moon);
  margin-bottom: 6px;
}

.ayano-profile-desc {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.6;
  opacity: 0.8;
}

/* セミナー告知バナー */
.seminar-notice {
  text-align: center;
  background: linear-gradient(135deg, rgba(200, 160, 185, 0.08), rgba(20, 25, 60, 0.5));
  border: 1px solid rgba(200, 160, 185, 0.15);
  border-radius: 20px;
  padding: 22px;
}

.seminar-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--mars-color), var(--venus-color));
  color: var(--text-white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  padding: 4px 16px;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.seminar-text {
  font-size: 14px;
  color: var(--text-white);
  line-height: 1.8;
  opacity: 0.85;
}

.registration-form {
  text-align: center;
}

.privacy-note {
  font-size: 11px;
  color: var(--text-primary);
  opacity: 0.4;
  margin-top: 14px;
  line-height: 1.6;
}

/* 登録完了メッセージ */
.registration-success {
  text-align: center;
  padding: 44px 24px;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--mars-color), var(--venus-color));
  color: var(--text-white);
  font-size: 24px;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(199, 91, 122, 0.3);
}

.success-text {
  font-size: 16px;
  color: var(--text-white);
  line-height: 1.8;
  margin-bottom: 24px;
}

.registration-footer {
  text-align: center;
  padding: 8px 0 16px;
}

/* =============================================
   レスポンシブ: 768px以上（PC表示）
============================================= */
@media (min-width: 768px) {
  .container {
    max-width: 600px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .main-catchcopy {
    font-size: 20px;
  }

  .catchcopy {
    font-size: 19px;
  }

  .result-item-text,
  .compat-text,
  .gap-text {
    font-size: 16px;
  }

  .intro-header {
    padding: 64px 0 40px;
  }

  .loading-planet {
    font-size: 64px;
  }

  .card {
    padding: 32px 28px;
  }
}

/* =============================================
   ユーティリティ
============================================= */
.text-center {
  text-align: center;
}

.hidden {
  display: none !important;
}
