/* ===== CSS Variables ===== */
:root {
  --bg-primary: #141b2d;
  --bg-secondary: #1a2340;
  --bg-card: #1e2a4a;
  --accent-gold: #d4aa4f;
  --accent-gold-light: #f0d078;
  --accent-blue: #6ec6ff;
  --accent-warm: #ff9d6c;
  --text-primary: #f5f5f7;
  --text-secondary: #b8c4d8;
  --text-muted: #7b8ba8;
  --border-color: #2e3a55;
  --header-bg: rgba(20, 27, 45, 0.88);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --radius: 14px;
  --max-width: 1100px;
  --transition: 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-gold-light);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-gold);
}
.header-logo img {
  width: 32px;
  height: 32px;
}

.header-nav {
  display: flex;
  gap: 24px;
}
.header-nav a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}
.header-nav a:hover {
  color: var(--accent-gold);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
  /* 暖かみのあるグラデーション背景 */
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 170, 79, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(110, 198, 255, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(255, 157, 108, 0.08) 0%, transparent 60%),
    var(--bg-primary);
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212, 170, 79, 0.15) 0%, rgba(110, 198, 255, 0.05) 40%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.hero-logo {
  width: 150px;
  height: 150px;
  margin-bottom: 28px;
  animation: floatLogo 4s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(212, 170, 79, 0.4)) drop-shadow(0 0 80px rgba(110, 198, 255, 0.15));
}

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

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 50%, var(--accent-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 44px;
  letter-spacing: 0.06em;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(212, 170, 79, 0.35);
}
.btn-primary:hover {
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 170, 79, 0.5);
}
.btn-primary svg {
  width: 20px;
  height: 20px;
}

/* ===== Sections ===== */
.section {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 48px;
  color: var(--text-primary);
}
.section-title span {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(30, 42, 74, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 170, 79, 0.4);
  box-shadow: 0 12px 40px rgba(212, 170, 79, 0.12);
}

.feature-icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 8px rgba(212, 170, 79, 0.3));
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--accent-gold-light);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== How It Works ===== */
.steps-bg {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
}

.steps-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(110, 198, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-warm) 100%);
  color: var(--bg-primary);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(212, 170, 79, 0.3);
}

.step-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.step-item p {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

/* ===== Pricing ===== */
.pricing-intro {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 36px;
  font-size: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.price-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(30, 42, 74, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.price-card:hover {
  border-color: rgba(212, 170, 79, 0.4);
  box-shadow: 0 8px 24px rgba(212, 170, 79, 0.1);
  transform: translateY(-3px);
}
.price-card.free {
  border-color: rgba(110, 198, 255, 0.3);
  background: linear-gradient(145deg, rgba(110, 198, 255, 0.08) 0%, var(--bg-card) 100%);
}
.price-card.free:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 8px 24px rgba(110, 198, 255, 0.15);
}

.price-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--accent-gold-light);
}
.price-card.free h3 {
  color: var(--accent-blue);
}

.price-card .amount {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.price-card .desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 20px 40px 20px 0;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  line-height: 1.6;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent-gold);
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ===== Footer ===== */
.site-footer {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0f1525 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}
.footer-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.03);
}
.footer-sns a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(212, 170, 79, 0.08);
  transform: translateY(-2px);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ===== Legal Pages ===== */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 24px 60px;
}

.legal-page h1 {
  font-size: 1.8rem;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.legal-page .last-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-top: 36px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 12px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page a {
  color: var(--accent-blue);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
  }
  .header-nav.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
  .hero-logo {
    width: 120px;
    height: 120px;
  }

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
}
