/* ========================================
   Mirage Writer LP - Style Sheet
   Theme: Twilight Fantasy / Warm Pastel
   ======================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Palette */
  --pink:      #f472b6;
  --pink-soft: #fbb6d0;
  --pink-pale: #fce4ec;
  --lavender:  #a78bfa;
  --lavender-soft: #c4b5fd;
  --lavender-pale: #ede9fe;
  --peach:     #fb923c;
  --peach-soft: #fdba74;
  --peach-pale: #fff7ed;

  /* Neutral */
  --bg-cream:   #fdf8f5;
  --bg-white:   #ffffff;
  --bg-warm:    #fef7f0;
  --text-main:  #3d2c2e;
  --text-sub:   #6b5b5e;
  --text-light: #9b8b8e;
  --text-accent:#c2185b;
  --border-soft:#f3e8e2;

  /* Gradients */
  --grad-hero:    linear-gradient(135deg, #fce4ec 0%, #ede9fe 40%, #fff7ed 100%);
  --grad-pink:    linear-gradient(135deg, #f472b6, #a78bfa);
  --grad-warm:    linear-gradient(135deg, #fbb6d0 0%, #fdba74 100%);
  --grad-lavender:linear-gradient(135deg, #ede9fe, #fce4ec);
  --grad-cta:     linear-gradient(135deg, #f472b6 0%, #fb923c 100%);
  --grad-cta-hover: linear-gradient(135deg, #ec4899 0%, #f97316 100%);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(244,114,182,0.10);
  --shadow-md:  0 4px 20px rgba(244,114,182,0.15);
  --shadow-lg:  0 8px 40px rgba(244,114,182,0.20);
  --shadow-card:0 4px 24px rgba(167,139,250,0.12);
  --shadow-glow:0 0 30px rgba(244,114,182,0.25);

  /* Typography */
  --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-accent:'Zen Maru Gothic', 'Noto Sans JP', sans-serif;

  /* Spacing */
  --section-py: 80px;
  --container-max: 800px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background: var(--bg-cream);
  line-height: 1.9;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--pink);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--lavender);
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-accent { color: var(--text-accent); }
.text-pink   { color: var(--pink); }
.text-lavender { color: var(--lavender); }
.fw-bold     { font-weight: 700; }
.fw-black    { font-weight: 900; }

.accent-font {
  font-family: var(--font-accent);
}

/* ---------- Section Base ---------- */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-cream  { background: var(--bg-cream); }
.section-white  { background: var(--bg-white); }
.section-warm   { background: var(--bg-warm); }
.section-lavender { background: var(--lavender-pale); }
.section-pink   { background: var(--pink-pale); }

.section-heading {
  font-family: var(--font-accent);
  font-size: 1.85rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text-main);
}

.section-heading .highlight {
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-lead {
  text-align: center;
  color: var(--text-sub);
  font-size: 1.05rem;
  margin-bottom: 48px;
  line-height: 2;
}

/* Decorative divider */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 0;
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--grad-warm);
}

.section-divider .petal {
  font-size: 1.2rem;
  filter: drop-shadow(0 0 4px rgba(244,114,182,0.4));
  animation: petalsway 3s ease-in-out infinite;
}

@keyframes petalsway {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50%      { transform: rotate(8deg) translateY(-3px); }
}

/* ---------- CTA Button ---------- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-cta);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 20px 48px;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(244,114,182,0.4);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  line-height: 1.5;
}

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

.cta-button:hover {
  background: var(--grad-cta-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(244,114,182,0.35);
  color: #fff;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:active {
  transform: translateY(-1px);
}

.cta-sub-text {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-hero);
  overflow: hidden;
  padding: 60px 24px;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, 
    rgba(253,248,245,0.6) 0%, 
    rgba(253,248,245,0.3) 50%, 
    rgba(253,248,245,0.8) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: rgba(244,114,182,0.12);
  color: var(--pink);
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  border: 1px solid rgba(244,114,182,0.2);
  animation: fadeInDown 0.8s ease-out;
}

.hero-catch {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-catch .dilemma {
  display: inline;
  background: linear-gradient(transparent 60%, rgba(244,114,182,0.2) 60%);
  padding: 0 2px;
  font-weight: 700;
  color: var(--text-main);
}

.hero-main-title {
  font-family: var(--font-accent);
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.7;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-main-title .grad-text {
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 2.1;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero .cta-button {
  animation: fadeInUp 0.8s ease-out 0.8s both;
  font-size: 1.15rem;
  padding: 24px 40px;
}

/* Floating petals animation */
.floating-petals {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.floating-petal {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.5;
  animation: float-down linear infinite;
}

@keyframes float-down {
  0% {
    transform: translateY(-20px) rotate(0deg) translateX(0);
    opacity: 0;
  }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% {
    transform: translateY(100vh) rotate(360deg) translateX(100px);
    opacity: 0;
  }
}

/* ---------- Agitation (Block 2) ---------- */
.agitation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.agitation-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 28px;
  background: linear-gradient(135deg, var(--bg-white) 0%, rgba(252,228,236,0.25) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(244,114,182,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agitation-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.agitation-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-pale);
  border-radius: var(--radius-sm);
}

.agitation-img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.agitation-text {
  font-size: 1rem;
  line-height: 1.9;
}

.agitation-conclusion {
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-accent);
  padding: 24px 0;
  margin-top: 8px;
}

/* ---------- Story (Block 3) ---------- */
.story-block {
  position: relative;
}

.story-note {
  background: #fffef7;
  border: 1px solid #f0e8d0;
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  box-shadow: 2px 4px 12px rgba(200,180,140,0.12);
  transform: rotate(-0.5deg);
}


.story-note-title {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.story-wish-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.story-wish-list li {
  font-size: 1rem;
  padding: 12px 16px;
  background: rgba(251,146,60,0.06);
  border-radius: var(--radius-md);
  line-height: 1.8;
  position: relative;
  padding-left: 36px;
}

.story-wish-list li::before {
  content: '💭';
  position: absolute;
  left: 10px;
  top: 12px;
  font-size: 0.9rem;
}

.story-wish-list li.highlight-wish {
  background: rgba(244,114,182,0.1);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(244,114,182,0.12);
}

.story-wish-list li.highlight-wish::before {
  content: '🔥';
}

.story-narrative {
  font-size: 1rem;
  line-height: 2.1;
  color: var(--text-sub);
  margin-bottom: 28px;
}

.story-conclusion {
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  padding-top: 16px;
  line-height: 2;
}

.story-conclusion .trail {
  display: inline-block;
  animation: pulse-dots 2s ease-in-out infinite;
}

@keyframes pulse-dots {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* ---------- Product Reveal (Block 4) ---------- */
.reveal-section {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

.reveal-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.reveal-title {
  font-family: var(--font-accent);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.9;
  margin-bottom: 24px;
  color: var(--text-sub);
}

.product-name {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 900;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(244,114,182,0.15));
}

.meaning-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.meaning-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  border: 1px solid rgba(244,114,182,0.15);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.meaning-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.meaning-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.meaning-img {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px auto;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.meaning-label {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  color: var(--lavender);
  font-weight: 700;
  margin-bottom: 8px;
}

.meaning-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-sub);
}

/* ---------- Features (Block 5) ---------- */
.feature-intro {
  text-align: center;
  margin-bottom: 48px;
}

.feature-intro-title {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lavender);
  margin-bottom: 8px;
}

.steps-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.step-card {
  display: block;
  padding: 28px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-2px);
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-pink);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 900;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.step-card-header h4 {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.step-content p {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.9;
}

.step-auto-wrap {
  background: var(--grad-pink);
  margin: 0;
  padding: 48px 24px;
  text-align: center;
  color: #fff;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.8;
  position: relative;
}

.step-auto-arrow {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 4px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.step-auto-highlight {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 900;
  margin-top: 12px;
  background: #fff;
  color: var(--pink);
  padding: 8px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(244,114,182,0.15);
}

/* ---------- Recap (Block 9.3) ---------- */
.recap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.recap-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recap-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.recap-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lavender-pale);
  border-radius: var(--radius-sm);
}

.recap-body {
  flex: 1;
  min-width: 0;
}

.recap-title {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 4px 0;
  line-height: 1.5;
}

.recap-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.6;
}

.recap-bonus-label {
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  color: var(--lavender);
  margin-bottom: 16px;
  padding-top: 8px;
}

.recap-grid-bonus {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}

.recap-card-sm {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--lavender-pale);
  border: 1px solid rgba(167,139,250,0.15);
}

.recap-card-sm:hover {
  background: rgba(167,139,250,0.12);
}

.recap-icon-sm {
  font-size: 1.3rem;
}

.recap-title-sm {
  font-family: var(--font-accent);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.4;
}

.recap-footer {
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 8px;
  line-height: 1.8;
}

.recap-footer strong {
  background: linear-gradient(transparent 60%, rgba(244,114,182,0.25) 60%);
}

@media (max-width: 768px) {
  .step-auto-wrap {
    margin: 0;
    padding: 36px 16px;
    font-size: 1.05rem;
  }
  .step-auto-highlight {
    font-size: 1.25rem;
    padding: 6px 16px;
  }
}

/* Evidence block — no box */
.evidence-block {
  padding: 20px 0;
  margin-bottom: 48px;
  text-align: center;
}

.evidence-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.evidence-text {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-sub);
}

.evidence-text strong {
  color: var(--text-main);
}

/* Feature cards */
.features-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
  color: #fff;
}

.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #fff;
  color: var(--text-main);
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.feature-card-title {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.6;
}

.feature-card-body {
  padding: 28px 32px;
  font-size: 1rem;
  line-height: 2;
  color: var(--text-sub);
}

.feature-base-img {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 24px auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.feature-base-img {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 24px auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.feature-card-body .amazing {
  display: block;
  margin-top: 16px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(244,114,182,0.06), rgba(167,139,250,0.06));
  border-radius: var(--radius-md);
  border: 1px solid rgba(167,139,250,0.15);
  font-size: 0.95rem;
}

.feature-card-body .amazing strong {
  color: var(--lavender);
}

.feature-tag {
  display: inline-block;
  background: var(--grad-warm);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-left: 8px;
}

.feature-card-body .note {
  display: block;
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Feature: Simple / Detail layers */
.feature-simple {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.9;
  margin-bottom: 16px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(244,114,182,0.05), rgba(167,139,250,0.05));
  border-radius: var(--radius-md);
}

.feature-simple strong {
  color: var(--pink);
}

.feature-detail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: none;
  border-radius: var(--radius-full);
  padding: 10px 24px;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(245,158,11,0.25);
}

.feature-detail-toggle:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245,158,11,0.35);
}

.feature-detail-toggle .toggle-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.feature-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.feature-detail.open {
  max-height: 2000px;
}

.feature-detail-toggle.open .toggle-arrow {
  transform: rotate(180deg);
}

.feature-detail-inner {
  padding-top: 12px;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--text-sub);
}

/* ---------- Demerit (Block 6) ---------- */
.demerit-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.demerit-item {
  padding: 28px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(251,146,60,0.15);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.demerit-item h4 {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--peach);
  margin-bottom: 10px;
}

.demerit-item p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-sub);
}

.honesty-message {
  text-align: center;
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  padding: 40px 24px;
  background: var(--grad-pink);
  margin: 0 calc(-50vw + 50%) 32px;
  line-height: 1.9;
}

@media (max-width: 640px) {
  .honesty-message {
    margin-left: -20px;
    margin-right: -20px;
    padding: 32px 20px;
    font-size: 1.15rem;
  }
}

.roi-box {
  padding: 32px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  font-size: 1rem;
  line-height: 2.1;
  color: var(--text-sub);
}

.roi-box strong {
  color: var(--text-main);
}

/* ---------- Offer (Block 7) ---------- */
.offer-section {
  position: relative;
  overflow: hidden;
}

.offer-reason {
  margin-bottom: 40px;
}

.offer-reason h3 {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lavender);
  margin-bottom: 12px;
}

.offer-reason p {
  font-size: 1rem;
  line-height: 2.1;
  color: var(--text-sub);
}

.offer-highlight {
  padding: 28px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(167,139,250,0.25);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.offer-highlight h3 {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-pink);
  display: block;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(244,114,182,0.2);
}

.offer-highlight p {
  font-size: 1rem;
  line-height: 2.1;
  color: var(--text-sub);
}

/* Price breakdown — Prominent design */
.price-breakdown {
  margin-bottom: 40px;
  padding: 40px 32px;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  box-shadow: 0 8px 40px rgba(30,27,75,0.3);
}

.price-breakdown h3 {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 28px;
  color: #fff;
}

.price-table {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row.total {
  background: rgba(255,255,255,0.15);
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
}

.price-row .label {
  flex: 1;
}

.price-row .label small {
  color: #fbbf24 !important;
}

.price-row .amount {
  font-family: var(--font-accent);
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
  font-size: 1.15rem;
}

.price-row .amount.strike {
  text-decoration: line-through;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

@media (max-width: 640px) {
  .price-breakdown {
    padding: 28px 20px;
  }
  .price-row {
    flex-direction: column;
    gap: 6px;
    padding: 16px 20px;
  }
  .price-row .amount {
    align-self: flex-end;
  }
}

/* Special price callout */
.special-price {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--pink-soft);
  position: relative;
  overflow: hidden;
}

.special-price::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--grad-cta);
}

.special-price .badge {
  display: inline-block;
  background: var(--grad-cta);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 24px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.special-price .old-price {
  font-size: 1.2rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 8px;
}

.special-price .new-price {
  font-family: var(--font-accent);
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.special-price .tax {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.special-price .saving {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--peach);
  margin-bottom: 8px;
}

/* ---------- Plans (Block 7.5) ---------- */
.plans-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.plan-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--border-soft);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.plan-card.recommended {
  border-color: var(--pink);
  box-shadow: var(--shadow-lg);
}

.plan-card.recommended::after {
  content: '一番人気';
  position: absolute;
  top: -12px; right: 20px;
  background: var(--grad-cta);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.plan-card.vip {
  border-color: var(--lavender);
}



.plan-tier {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--lavender);
  margin-bottom: 4px;
}

.plan-name {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  margin: 0 -10px 0 -10px; /* カード内で横幅を広くとるための調整 */
  text-align: center;
  letter-spacing: 0.05em;
}

.plan-price {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 900;
  color: var(--pink);
  margin-bottom: 12px;
}

.plan-price .yen {
  font-size: 1rem;
  font-weight: 700;
}

.plan-price .tax {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
}

.plan-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-features li {
  font-size: 0.85rem;
  color: var(--text-sub);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 700;
}

.plan-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
  line-height: 1.6;
}
/* Plan comparison table */
.plan-compare {
  margin: 40px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.plan-compare-title {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-main);
  margin-bottom: 20px;
}

.plan-compare table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: 0.9rem;
}

.plan-compare thead th {
  background: linear-gradient(135deg, rgba(244,114,182,0.08), rgba(167,139,250,0.08));
  font-family: var(--font-accent);
  font-weight: 700;
  padding: 16px 12px;
  text-align: center;
  color: var(--text-main);
  border-bottom: 2px solid var(--border-soft);
  white-space: nowrap;
}

.plan-compare thead th:first-child {
  text-align: left;
  padding-left: 20px;
  min-width: 180px;
}

.plan-compare thead th .plan-compare-price {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-sub);
  margin-top: 4px;
}

.plan-compare tbody td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-sub);
  line-height: 1.6;
}

.plan-compare tbody td:first-child {
  text-align: left;
  padding-left: 20px;
  font-weight: 500;
  color: var(--text-main);
}

.plan-compare tbody tr:last-child td {
  border-bottom: none;
}

.plan-compare tbody tr:hover {
  background: rgba(244,114,182,0.03);
}

.plan-compare .check {
  color: var(--pink);
  font-weight: 700;
  font-size: 1.1rem;
}

.plan-compare .dash {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Guarantee */
.guarantee-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(167,139,250,0.2);
}

.guarantee-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.guarantee-text h4 {
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lavender);
  margin-bottom: 8px;
}

.guarantee-text p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text-sub);
}

/* ---------- Bonuses (Block 8) ---------- */
.bonus-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.bonus-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease;
}

.bonus-card:hover {
  transform: translateY(-2px);
}

.bonus-num {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-warm);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.bonus-content h4 {
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--pink);
  margin-bottom: 12px;
  border-bottom: 2px dashed #fbcfe8;
  padding-bottom: 8px;
}

.bonus-content p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text-sub);
}

.ekohiiki-box {
  text-align: left;
  padding: 32px 24px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, rgba(244,114,182,0.06), rgba(251,146,60,0.06));
  border-radius: var(--radius-lg);
  border: 1px dashed var(--peach-soft);
}

.ekohiiki-box p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-sub);
}

.ekohiiki-box strong {
  color: var(--text-main);
}

/* ---------- FAQ (Block 9) ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  line-height: 1.6;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(244,114,182,0.04);
}

.faq-question .q-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-pink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  border-radius: 50%;
}

.faq-question .arrow {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--text-light);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 24px 64px;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--text-sub);
}

/* ---------- Warning (Block 9.5) ---------- */
.warning-section {
  border: 2px solid var(--peach-soft);
}

.warning-content {
  text-align: center;
}

.warning-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.warning-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.warning-list li {
  font-size: 1rem;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(251,146,60,0.06), rgba(251,146,60,0.02));
  border-radius: var(--radius-md);
  border: 1px solid rgba(251,146,60,0.15);
  color: var(--text-sub);
  line-height: 1.8;
}

.warning-conclusion {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-accent);
  margin-top: 24px;
  line-height: 1.8;
}

/* ---------- Closing (Block 10) ---------- */
.closing-section {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

.closing-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.closing-message {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  line-height: 2.2;
  color: var(--text-sub);
  margin-bottom: 40px;
}

.closing-signature {
  font-family: var(--font-accent);
  font-weight: 700;
  color: var(--pink);
  font-size: 1rem;
  margin-bottom: 40px;
}

/* ---------- Footer ---------- */
.lp-footer {
  padding: 40px 24px;
  text-align: center;
  background: var(--bg-cream);
  border-top: 1px solid var(--border-soft);
}

.lp-footer p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.8;
}

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Post-Purchase Flow ---------- */
.flow-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 28px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  width: 100%;
  transition: transform 0.3s ease;
}

.flow-step:hover {
  transform: translateX(4px);
}

.flow-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-pink);
  color: #fff;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 900;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.flow-step-body h4 {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.flow-step-body p {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.flow-step-body small {
  color: var(--text-light);
}

.flow-arrow {
  text-align: center;
  font-size: 1.2rem;
  color: var(--pink-soft);
  padding: 8px 0;
  letter-spacing: 4px;
}

/* PC only / SP only helpers */
.pc-only { display: inline; }

/* IntersectionObserver driven animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.10s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.20s; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .fade-in:nth-child(6) { transition-delay: 0.30s; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  :root {
    --section-py: 48px;
  }

  html { font-size: 16px; }

  .container {
    padding: 0 20px;
  }

  .hero {
    min-height: auto;
    padding: 80px 20px 56px;
  }

  .hero-catch {
    font-size: 1.15rem;
    line-height: 1.9;
  }

  .hero-main-title {
    font-size: 1.35rem;
    line-height: 1.8;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .cta-button {
    font-size: 1.1rem;
    padding: 16px 20px;
    width: 100%;
  }

  .section-heading {
    font-size: 1.35rem;
    line-height: 1.7;
  }

  .section-lead {
    font-size: 0.95rem;
  }

  .meaning-cards {
    grid-template-columns: 1fr;
  }

  .product-name {
    font-size: 1.8rem;
  }

  .special-price .new-price {
    font-size: 2.2rem;
  }

  .plan-price {
    font-size: 1.5rem;
  }

  .evidence-block {
    flex-direction: column;
    gap: 12px;
  }

  .guarantee-box {
    flex-direction: column;
    gap: 12px;
  }

  .bonus-card {
    flex-direction: column;
    gap: 12px;
  }

  .step-card {
    padding: 20px;
  }
  
  .step-card-header {
    margin-bottom: 16px;
  }

  .step-card-header h4 {
    font-size: 1.05rem;
  }


  .agitation-item {
    flex-direction: column;
    gap: 12px;
  }

  .price-row {
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px;
  }

  .price-row .amount {
    align-self: flex-end;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 16px 16px;
  }

  .faq-answer-inner {
    padding: 0 16px 20px 16px;
  }

  .offer-highlight {
    padding: 24px 20px;
  }

  .sub-features {
    grid-template-columns: 1fr !important;
  }

  .plan-card {
    padding: 24px;
  }

  .feature-card {
    padding: 24px;
  }

  .ekohiiki-box {
    padding: 24px 20px;
  }

  .sp-only { display: inline !important; }
  .pc-only { display: none !important; }

  .flow-step {
    padding: 16px 16px;
    gap: 12px;
  }

  .flow-step-num {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .flow-step-body h4 {
    font-size: 1rem;
  }

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

  .recap-grid-bonus {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .recap-card {
    padding: 16px;
  }

  .recap-card-sm {
    padding: 14px 10px;
  }

  .recap-title-sm {
    font-size: 0.78rem;
  }

  /* ===== スマホ表示時のボックス内余白を縮小 ===== */
  /* feature-card の本文エリア */
  .feature-card-body {
    padding: 20px 16px !important;
  }

  /* feature-card ヘッダー */
  .feature-card-header {
    padding: 16px 16px;
  }

  /* プランカード内の注意書き・説明ボックス */
  .plan-note {
    padding: 14px 12px !important;
  }

  .plan-desc {
    padding: 12px !important;
  }

  .plan-features {
    padding-left: 20px;
  }

  /* ROI計算ボックス */
  .roi-box {
    padding: 24px 16px;
  }

  /* 価格内訳ボックス */
  .price-breakdown {
    padding: 24px 14px;
  }

  /* 特別価格ボックス */
  .special-price {
    padding: 32px 16px;
  }

  /* 保証ボックス */
  .guarantee-box {
    padding: 24px 16px;
  }

  /* ボーナスカード */
  .bonus-card {
    padding: 20px 14px;
  }

  /* えこひいきボックス */
  .ekohiiki-box {
    padding: 20px 14px;
  }

  /* お問い合わせ枠 */
  .contact-area {
    padding: 24px 16px;
  }

  /* 比較表 */
  .plan-compare {
    padding: 16px 0;
    margin-left: -20px;
    margin-right: -20px;
  }

  .plan-compare-title {
    padding: 0 20px;
  }

  .plan-compare-scroll-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 12px;
  }

  .plan-compare table {
    min-width: 520px;
    font-size: 0.8rem;
  }

  .plan-compare thead th {
    padding: 12px 8px;
    font-size: 0.8rem;
  }

  .plan-compare thead th:first-child {
    min-width: 140px;
    padding-left: 12px;
  }

  .plan-compare tbody td {
    padding: 10px 8px;
    font-size: 0.8rem;
  }

  .plan-compare tbody td:first-child {
    padding-left: 12px;
  }
}
