/*
Theme Name: Astro Fortune
Theme URI: https://astro-fortune.jp
Description: 深淵の星宮殿 — Art Deco × Cosmic Dark デザインの神秘的な占いサイト。古代の叡智と星の導きによるプレミアム占いサービス。
Author: Fumi
Author URI: https://astro-fortune.jp
Version: 2.0.1
Text Domain: mystical-fortune
Tags: astrology, fortune-telling, art-deco, cosmic, dark-theme, responsive
*/

/* ============================================================
   神秘の占い — Astro Fortune
   Design: 深淵の星宮殿 — Art Deco × Cosmic Dark
   Colors: Deep Space Black #0A0A14 × Ancient Gold #C9A84C
============================================================ */

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

:root {
  --bg:          #0A0A14;
  --bg-alt:      #0D0D20;
  --bg-card:     #111120;
  --bg-footer:   #0A0A0F;
  --text:        #EDE8E0;
  --text-muted:  #8A8070;
  --text-faint:  #5A5040;
  --gold:        #C9A84C;
  --gold-light:  #F0D98C;
  --gold-dark:   #8B6914;
  --border:      rgba(201,168,76,0.20);
  --border-h:    rgba(201,168,76,0.40);
  --glow:        0 0 20px rgba(201,168,76,0.30), 0 0 60px rgba(201,168,76,0.10);
  --glow-h:      0 0 40px rgba(201,168,76,0.50), 0 0 80px rgba(201,168,76,0.20);
  --font-display:'Cinzel Decorative', serif;
  --font-heading:'Cinzel', serif;
  --font-serif:  'Cormorant Garamond', serif;
  --font-body:   'Noto Serif JP', serif;
  --transition:  0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.30); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.60); }

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Gold gradient text */
.text-gold {
  background: linear-gradient(135deg, #C9A84C 0%, #F0D98C 40%, #C9A84C 60%, #8B6914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Animations ─────────────────────────────────────── */
@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 1; }
}
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes rotateSlowReverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 10px rgba(201,168,76,0.20); }
  50%       { box-shadow: 0 0 30px rgba(201,168,76,0.50), 0 0 60px rgba(201,168,76,0.20); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

.animate-fade-in-up { animation: fadeInUp 0.8s ease-out both; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navigation ─────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.5s ease, backdrop-filter 0.5s ease, border-bottom 0.5s ease;
}
#nav.scrolled {
  background: rgba(8,8,20,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.20);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.nav-logo { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.nav-logo-main {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #C9A84C, #F0D98C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo-sub {
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.60);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  list-style: none;
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(237,232,224,0.75);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover {
  background: linear-gradient(135deg, #C9A84C, #F0D98C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-cta {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(201,168,76,0.60);
  padding: 8px 20px;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: rgba(201,168,76,0.15);
  box-shadow: 0 0 20px rgba(201,168,76,0.20);
}
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gold);
  padding: 8px;
}
@media (min-width: 768px) { .nav-hamburger { display: none; } }
.nav-hamburger svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 24px 0;
  gap: 20px;
  background: rgba(8,8,20,0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201,168,76,0.20);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(237,232,224,0.75);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(201,168,76,0.10);
}
.nav-mobile .nav-cta {
  text-align: center;
  padding: 12px;
  margin-top: 8px;
}

/* ── Star Field ─────────────────────────────────────── */
.star-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.star {
  position: absolute;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
}

/* ── Hero ───────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663380987751/Nyc75ZwLECjXD6doNn77uc/hero-bg-XtMmDEvoioUAhEpJAP6t6g.webp');
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,6,20,0.70) 0%, rgba(6,6,20,0.50) 50%, rgba(8,8,20,1.00) 100%);
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.hero-ornament { display: flex; justify-content: center; margin-bottom: 32px; }
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.80);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero-title-en {
  font-family: var(--font-heading);
  font-size: clamp(18px, 3vw, 28px);
  letter-spacing: 0.3em;
  color: rgba(237,232,224,0.80);
  margin-bottom: 32px;
}
.hero-desc {
  font-family: var(--font-body);
  font-size: clamp(14px, 2vw, 18px);
  line-height: 2;
  color: rgba(237,232,224,0.75);
  max-width: 600px;
  margin: 0 auto 48px;
}
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
@media (min-width: 640px) { .hero-btns { flex-direction: row; } }
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0A0A14;
  background: linear-gradient(135deg, rgba(201,168,76,0.90), rgba(139,105,20,0.90));
  text-decoration: none;
  box-shadow: 0 0 30px rgba(201,168,76,0.30);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  box-shadow: 0 0 50px rgba(201,168,76,0.50);
  transform: translateY(-2px);
  color: #0A0A14;
}
.btn-secondary {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(201,168,76,0.60);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(201,168,76,0.10);
  box-shadow: 0 0 30px rgba(201,168,76,0.20);
}
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s ease-in-out infinite;
}
.scroll-indicator span {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.50);
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.50), transparent);
}

/* ── Art Deco Divider ───────────────────────────────── */
.deco-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0;
}
.deco-line-l {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.40));
}
.deco-line-r {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,168,76,0.40), transparent);
}
.deco-diamond {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: rgba(201,168,76,0.60);
  flex-shrink: 0;
}

/* ── Section Base ───────────────────────────────────── */
section { position: relative; overflow: hidden; }
.section-alt { background: var(--bg-alt); }
.section-py { padding: 112px 0; }
.section-label {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}
.section-center { text-align: center; }
.section-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 2;
  color: var(--text-muted);
}

/* ── About ──────────────────────────────────────────── */
#about { padding: 112px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-img-wrap {
  display: flex;
  justify-content: center;
}
.about-img-circle {
  position: relative;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.30);
  box-shadow: 0 0 60px rgba(201,168,76,0.15), inset 0 0 40px rgba(8,8,20,0.50);
}
@media (min-width: 768px) { .about-img-circle { width: 384px; height: 384px; } }
.about-img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: rotateSlow 30s linear infinite;
}
.about-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.15);
  pointer-events: none;
}
.about-ring-1 { inset: -16px; }
.about-ring-2 { inset: -32px; animation: rotateSlowReverse 20s linear infinite; border-style: dashed; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  display: block;
}
.stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* ── Services ───────────────────────────────────────── */
#services { padding: 112px 0; background: var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  position: relative;
  padding: 32px;
  background: linear-gradient(135deg, #111120, #0D0D1C);
  border: 1px solid rgba(201,168,76,0.20);
  transition: all var(--transition);
  cursor: default;
}
.service-card:hover {
  background: linear-gradient(135deg, #141428, #111120);
  border-color: rgba(201,168,76,0.40);
  box-shadow: 0 0 40px rgba(201,168,76,0.15);
}
/* Corner decorations */
.service-card::before, .service-card::after,
.service-card .corner-bl, .service-card .corner-br {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
}
.service-card::before {
  top: 12px; left: 12px;
  border-top: 1px solid rgba(201,168,76,0.40);
  border-left: 1px solid rgba(201,168,76,0.40);
}
.service-card::after {
  top: 12px; right: 12px;
  border-top: 1px solid rgba(201,168,76,0.40);
  border-right: 1px solid rgba(201,168,76,0.40);
}
.corner-bl {
  position: absolute;
  bottom: 12px; left: 12px;
  width: 16px; height: 16px;
  border-bottom: 1px solid rgba(201,168,76,0.40);
  border-left: 1px solid rgba(201,168,76,0.40);
}
.corner-br {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 16px; height: 16px;
  border-bottom: 1px solid rgba(201,168,76,0.40);
  border-right: 1px solid rgba(201,168,76,0.40);
}
.service-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
  text-shadow: 0 0 20px rgba(201,168,76,0.40);
}
.service-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.service-subtitle {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(201,168,76,0.70);
  margin-bottom: 16px;
}
.service-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,168,76,0.60), transparent);
  margin-bottom: 16px;
}
.service-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 2;
  color: rgba(140,130,110,1);
  margin-bottom: 24px;
}
.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-duration {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.service-price {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg, #C9A84C, #F0D98C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Reader ─────────────────────────────────────────── */
#reader { padding: 112px 0; }
.reader-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}
@media (min-width: 1024px) { .reader-grid { grid-template-columns: 1fr 1fr; } }
.reader-text { order: 2; }
@media (min-width: 1024px) { .reader-text { order: 1; } }
.reader-img-wrap {
  order: 1;
  display: flex;
  justify-content: center;
  position: relative;
}
@media (min-width: 1024px) { .reader-img-wrap { order: 2; } }
.reader-img-frame {
  position: relative;
  width: 288px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.30);
  box-shadow: 0 0 60px rgba(201,168,76,0.10);
}
@media (min-width: 768px) { .reader-img-frame { width: 320px; } }
.reader-img-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.reader-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,20,0.80) 0%, transparent 50%);
}
.reader-nameplate {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  text-align: center;
  padding: 12px;
  background: rgba(8,8,20,0.80);
  border: 1px solid rgba(201,168,76,0.30);
  backdrop-filter: blur(8px);
}
.reader-nameplate span {
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #C9A84C, #F0D98C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.reader-corner-tl, .reader-corner-br {
  position: absolute;
  width: 32px;
  height: 32px;
}
.reader-corner-tl {
  top: -16px; left: -16px;
  border: 1px solid rgba(201,168,76,0.40);
}
.reader-corner-br {
  bottom: -16px; right: -16px;
  border: 1px solid rgba(201,168,76,0.40);
}
.reader-text h2 { margin-bottom: 8px; }
.reader-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 2;
  color: rgba(200,190,175,1);
  margin-bottom: 16px;
}
.credentials { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.credential-item { display: flex; align-items: center; gap: 12px; }
.credential-dot {
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: var(--gold);
  flex-shrink: 0;
}
.credential-item span {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(160,150,130,1);
}

/* ── Zodiac ─────────────────────────────────────────── */
#zodiac { padding: 80px 0; background: #0D0D1C; }
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .zodiac-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1024px) { .zodiac-grid { grid-template-columns: repeat(12, 1fr); } }
.zodiac-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid rgba(201,168,76,0.10);
  background: transparent;
}
.zodiac-card:hover {
  background: rgba(201,168,76,0.10);
  border-color: rgba(201,168,76,0.30);
}
.zodiac-card-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.zodiac-card-disabled:hover {
  background: transparent;
  border-color: rgba(201,168,76,0.10);
  transform: none;
}
.zodiac-card-disabled:hover .zodiac-symbol {
  color: rgba(200,185,160,1);
  text-shadow: none;
}
.zodiac-symbol {
  font-size: 24px;
  color: rgba(200,185,160,1);
  transition: all var(--transition);
  line-height: 1;
}
.zodiac-card:hover .zodiac-symbol {
  color: var(--gold);
  text-shadow: 0 0 15px rgba(201,168,76,0.60);
}
.zodiac-name {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.3;
}

/* ── Crystal ────────────────────────────────────────── */
#crystal { padding: 112px 0; }
.crystal-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
@media (min-width: 1024px) { .crystal-flex { flex-direction: row; } }
.crystal-img-wrap { position: relative; flex-shrink: 0; }
.crystal-ball {
  width: 256px;
  height: 256px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.30);
  animation: pulseGold 3s ease-in-out infinite;
}
@media (min-width: 768px) { .crystal-ball { width: 320px; height: 320px; } }
.crystal-ball img { width: 100%; height: 100%; object-fit: cover; }
.crystal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.15);
  pointer-events: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.crystal-ring-1 { width: calc(100% + 32px); height: calc(100% + 32px); animation: rotateSlow 20s linear infinite; }
.crystal-ring-2 { width: calc(100% + 64px); height: calc(100% + 64px); animation: rotateSlowReverse 30s linear infinite; border-style: dashed; }
.crystal-ring-3 { width: calc(100% + 96px); height: calc(100% + 96px); animation: rotateSlow 40s linear infinite; }
.crystal-text { max-width: 480px; }
.crystal-text h2 { margin-bottom: 8px; }
.crystal-text p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 2;
  color: rgba(200,190,175,1);
  margin-bottom: 16px;
}
.crystal-text .btn-secondary { margin-top: 16px; }

/* ── Testimonials ───────────────────────────────────── */
#testimonials { padding: 112px 0; background: var(--bg-alt); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  position: relative;
  padding: 40px 32px 32px;
  background: linear-gradient(135deg, #111120, #0D0D1C);
  border: 1px solid rgba(201,168,76,0.20);
  transition: all var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 0 30px rgba(201,168,76,0.10);
}
.testimonial-card::before {
  top: 12px; left: 12px;
  border-top: 1px solid rgba(201,168,76,0.40);
  border-left: 1px solid rgba(201,168,76,0.40);
}
.testimonial-card::after {
  bottom: 12px; right: 12px;
  border-bottom: 1px solid rgba(201,168,76,0.40);
  border-right: 1px solid rgba(201,168,76,0.40);
}
.testimonial-card::before, .testimonial-card::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 60px;
  line-height: 1;
  color: rgba(201,168,76,0.30);
  position: absolute;
  top: 16px;
  left: 28px;
}
.stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 2;
  color: rgba(180,170,150,1);
  margin-bottom: 24px;
}
.testimonial-author {
  padding-top: 16px;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.author-name {
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text);
  display: block;
}
.author-age {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* ── Booking ────────────────────────────────────────── */
#booking { padding: 112px 0; }
.booking-bg-img {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663380987751/Nyc75ZwLECjXD6doNn77uc/crystal-ball-jD3w7NmjsDGFbs32NATMZY.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  display: none;
}
@media (min-width: 1024px) { .booking-bg-img { display: block; } }
.booking-wrap {
  max-width: 672px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
.booking-form {
  padding: 40px;
  background: linear-gradient(135deg, #111120, #0D0D1C);
  border: 1px solid rgba(201,168,76,0.25);
  position: relative;
}
.booking-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 24px; height: 24px;
  border-top: 1px solid rgba(201,168,76,0.50);
  border-left: 1px solid rgba(201,168,76,0.50);
}
.booking-form::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 24px; height: 24px;
  border-top: 1px solid rgba(201,168,76,0.50);
  border-right: 1px solid rgba(201,168,76,0.50);
}
.form-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.80);
}
.form-input, .form-select, .form-textarea {
  background: #0D0D1C;
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(237,232,224,0.30); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(201,168,76,0.60);
}
.form-select { cursor: pointer; }
.form-select option { background: #0D0D1C; color: var(--text); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  padding: 16px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0A0A14;
  background: linear-gradient(135deg, rgba(201,168,76,0.90), rgba(139,105,20,0.90));
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(201,168,76,0.20);
  transition: all var(--transition);
  margin-top: 8px;
}
.form-submit:hover {
  box-shadow: 0 0 50px rgba(201,168,76,0.40);
  transform: translateY(-1px);
}
.form-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(140,130,110,1);
  margin-top: 16px;
}
.form-success {
  text-align: center;
  padding: 64px 40px;
  background: linear-gradient(135deg, #111120, #0D0D1C);
  border: 1px solid rgba(201,168,76,0.25);
  display: none;
}
.form-success-icon {
  font-size: 48px;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
}
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.form-success p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 2;
  color: rgba(160,150,130,1);
}

/* ── Footer ─────────────────────────────────────────── */
footer {
  background: #0A0A0F;
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #C9A84C, #F0D98C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.50);
  display: block;
  margin-bottom: 16px;
}
.footer-brand-desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 2;
  color: rgba(120,110,90,1);
}
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 24px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(120,110,90,1);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.footer-contact-label {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.60);
  flex-shrink: 0;
  width: 48px;
}
.footer-contact-val {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(120,110,90,1);
}
.footer-bottom {
  border-top: 1px solid rgba(201,168,76,0.10);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(80,70,55,1);
}
.footer-policy-links { display: flex; gap: 24px; }
.footer-policy-links a {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(80,70,55,1);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-policy-links a:hover { color: rgba(201,168,76,0.60); }

/* ── Latest Blog Posts ─────────────────────────────── */
#latest-posts { padding: 112px 0; background: var(--bg-alt); }

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: linear-gradient(135deg, #111120, #0D0D1C);
  border: 1px solid rgba(201,168,76,0.20);
  transition: all var(--transition);
  overflow: hidden;
}
.blog-card:hover {
  border-color: rgba(201,168,76,0.40);
  box-shadow: 0 0 40px rgba(201,168,76,0.15);
  transform: translateY(-4px);
}
.blog-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, rgba(201,168,76,0.10), rgba(201,168,76,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-content {
  padding: 24px;
}
.blog-date {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.blog-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text);
}
.blog-excerpt {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.blog-read-more {
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

/* ── Mobile Content Fix ─────────────────────────────── */
/* スマホでコンテンツが横幅からはみ出さないように */
article img,
.blog-card img,
.entry-content img,
.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

article,
.entry-content,
.post-content {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

article pre,
.entry-content pre,
.post-content pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

article table,
.entry-content table,
.post-content table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

/* WordPress default content styles */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

/* Ensure all content respects viewport */
body {
  width: 100%;
  overflow-x: hidden;
}

* {
  max-width: 100vw;
}

/* ============================================================
   Blog Sitemap & Category Tags
============================================================ */

.category-tag {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(201,168,76,0.10);
  border: 1px solid rgba(201,168,76,0.30);
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all var(--transition);
  border-radius: 2px;
}

.category-tag:hover {
  background: rgba(201,168,76,0.20);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.sitemap-category-section {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

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

/* ============================================================
   Front Page: Daily Fortune Ranking & Lucky Items
============================================================ */

#daily-ranking .btn-secondary {
  font-size: 14px;
  padding: 10px 24px;
}

#lucky-items {
  background: rgba(10,10,20,0.50);
}

#cta-affiliate .btn-primary,
#cta-affiliate .btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

#cta-affiliate .btn-primary:hover,
#cta-affiliate .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.40);
}

/* Responsive adjustments for front page sections */
@media (max-width: 768px) {
  #daily-ranking h3 {
    font-size: 22px;
  }
  
  #cta-affiliate h2 {
    font-size: 20px;
  }
  
  #cta-affiliate .btn-primary,
  #cta-affiliate .btn-secondary {
    font-size: 13px;
    padding: 12px 16px;
  }
}

/* ============================================================
   Post Content Styles
   記事本文内の基本スタイル（single.php, archive.php用）
============================================================ */

.post-content h2,
.entry-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 4vw, 28px);
  color: var(--gold) !important;
  margin: 48px 0 24px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(201,168,76,0.30);
  line-height: 1.4;
}

.post-content h3,
.entry-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(18px, 3.5vw, 22px);
  color: rgba(220,210,195,1) !important;
  margin: 36px 0 16px 0;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
  line-height: 1.4;
}

.post-content h4,
.entry-content h4 {
  font-family: var(--font-heading);
  font-size: clamp(16px, 3vw, 18px);
  color: rgba(200,190,175,1) !important;
  margin: 24px 0 12px 0;
  line-height: 1.5;
}

.post-content p,
.entry-content p {
  margin-bottom: 20px;
  line-height: 2;
  color: rgba(200,190,175,1) !important;
}

.post-content ul,
.entry-content ul,
.post-content ol,
.entry-content ol {
  margin: 24px 0;
  padding-left: 32px;
  line-height: 2;
  color: rgba(200,190,175,1) !important;
}

.post-content li,
.entry-content li {
  margin-bottom: 12px;
  color: rgba(200,190,175,1) !important;
}

.post-content ul li::marker,
.entry-content ul li::marker {
  color: var(--gold);
}

.post-content ol li::marker,
.entry-content ol li::marker {
  color: var(--gold);
  font-weight: bold;
}

.post-content a,
.entry-content a {
  color: var(--gold) !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.30);
  transition: all 0.3s ease;
}

.post-content a:hover,
.entry-content a:hover {
  color: var(--gold-light) !important;
  border-bottom-color: var(--gold);
}

.post-content blockquote,
.entry-content blockquote {
  margin: 32px 0;
  padding: 24px;
  background: rgba(201,168,76,0.05);
  border-left: 4px solid var(--gold);
  font-style: italic;
  color: rgba(220,210,195,1) !important;
}

.post-content table,
.entry-content table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  background: rgba(201,168,76,0.03);
  border: 1px solid rgba(201,168,76,0.20);
}

.post-content th,
.entry-content th {
  background: rgba(201,168,76,0.15);
  color: var(--gold) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid rgba(201,168,76,0.20);
}

.post-content td,
.entry-content td {
  padding: 12px 16px;
  border: 1px solid rgba(201,168,76,0.20);
  color: rgba(200,190,175,1) !important;
}

.post-content tr:hover,
.entry-content tr:hover {
  background: rgba(201,168,76,0.05);
}

.post-content code,
.entry-content code {
  background: rgba(201,168,76,0.10);
  color: var(--gold-light);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
}

.post-content pre,
.entry-content pre {
  background: rgba(10,10,20,1);
  color: rgba(220,210,195,1);
  padding: 20px;
  border-radius: 4px;
  border: 1px solid rgba(201,168,76,0.20);
  overflow-x: auto;
  margin: 24px 0;
}

.post-content pre code,
.entry-content pre code {
  background: none;
  padding: 0;
}

.post-content strong,
.entry-content strong {
  color: var(--gold) !important;
  font-weight: 600;
}

.post-content em,
.entry-content em {
  color: var(--gold-light) !important;
  font-style: italic;
}

.post-content hr,
.entry-content hr {
  border: none;
  border-top: 1px solid rgba(201,168,76,0.20);
  margin: 40px 0;
}

/* アフィリエイトCTAボックス */
.post-content .affiliate-cta-mid,
.entry-content .affiliate-cta-mid,
.post-content .affiliate-cta-end,
.entry-content .affiliate-cta-end {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(201,168,76,0.10), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.30);
  border-radius: 8px;
}

.post-content .affiliate-cta-end,
.entry-content .affiliate-cta-end {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.post-content .affiliate-cta-end h3,
.entry-content .affiliate-cta-end h3 {
  color: white;
  border: none;
  margin-top: 0;
  padding: 0;
}

.post-content .affiliate-cta-end p,
.entry-content .affiliate-cta-end p,
.post-content .affiliate-cta-end ul,
.entry-content .affiliate-cta-end ul,
.post-content .affiliate-cta-end li,
.entry-content .affiliate-cta-end li {
  color: white;
}

/* レスポンシブ調整 */
@media (max-width: 640px) {
  .post-content h2,
  .entry-content h2 {
    font-size: 20px;
    margin: 32px 0 16px 0;
  }
  
  .post-content h3,
  .entry-content h3 {
    font-size: 18px;
    margin: 24px 0 12px 0;
  }
  
  .post-content ul,
  .entry-content ul,
  .post-content ol,
  .entry-content ol {
    padding-left: 24px;
  }
  
  .post-content table,
  .entry-content table {
    font-size: 14px;
  }
  
  .post-content th,
  .entry-content th,
  .post-content td,
  .entry-content td {
    padding: 8px 12px;
  }
}
