/* =============================================
   LP — チャッピーの次にやる7つのこと
   Theme: Warm Editorial
   Palette: Cream × Warm Dark × Amber
   Fonts: M PLUS Rounded 1c + Noto Sans JP
   ============================================= */

:root {
  --cream:        #FBF7F0;
  --cream-alt:    #F2E9DC;
  --dark:         #1A0D06;
  --navy:         #0D1F35;
  --amber:        #C95E0A;
  --amber-mid:    #E07030;
  --amber-pale:   #FFF1E4;
  --forest:       #2A6B47;
  --forest-pale:  #E5F2EB;
  --text:         #211509;
  --text-mid:     #5C4835;
  --text-muted:   #8C7060;
  --white:        #FFFFFF;
  --border:       rgba(26, 13, 6, 0.07);
  --radius:       16px;
  --radius-sm:    10px;
  --shadow-sm:    0 2px 12px rgba(26, 13, 6, 0.07);
  --shadow-md:    0 4px 24px rgba(26, 13, 6, 0.10);
  --shadow-lg:    0 8px 40px rgba(26, 13, 6, 0.13);
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: 76px 24px 60px;
  text-align: center;
}

/* Warm ambient glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(201, 94, 10, 0.09) 0%, transparent 68%),
    radial-gradient(ellipse 50% 35% at 85% 90%,  rgba(42, 107, 71, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Subtle dot pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,94,10,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--amber-pale);
  color: var(--amber);
  border: 1px solid rgba(201, 94, 10, 0.18);
  padding: 5px 18px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  animation: fadeUp 0.55s ease both;
}

.hero-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.65;
  color: var(--dark);
  margin-bottom: 22px;
  animation: fadeUp 0.55s ease 0.1s both;
}

.hero-accent {
  display: block;
  color: var(--amber);
  font-size: 30px;
  margin-top: 6px;
  position: relative;
}

/* Rough underline accent on hero accent */
.hero-accent::after {
  content: '';
  display: block;
  height: 3px;
  width: 80px;
  background: var(--amber);
  border-radius: 2px;
  margin: 10px auto 0;
  opacity: 0.35;
}

.hero-sub {
  font-size: 15px;
  line-height: 2;
  color: var(--text-mid);
  margin-bottom: 36px;
  animation: fadeUp 0.55s ease 0.2s both;
}

.hero-cta { animation: fadeUp 0.55s ease 0.3s both; }

.hero-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  letter-spacing: 0.03em;
  animation: fadeUp 0.55s ease 0.4s both;
}

/* Decorative ring */
.hero-ring {
  position: absolute;
  bottom: -80px;
  right: -50px;
  width: 220px;
  height: 220px;
  border: 1.5px solid rgba(201, 94, 10, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.hero-ring::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(201, 94, 10, 0.05);
  border-radius: 50%;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--amber);
  color: #fff;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(201, 94, 10, 0.32);
}
.btn-primary:hover {
  background: var(--amber-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(201, 94, 10, 0.40);
}
.btn-primary:active { transform: translateY(0); }

/* ---- Proof Bar ---- */
.proof-bar {
  background: var(--dark);
  padding: 28px 24px;
}
.proof-bar-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.proof-item { text-align: center; flex: 1; }
.proof-num {
  display: block;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--amber-mid);
  line-height: 1.15;
}
.proof-num small { font-size: 14px; font-weight: 700; }
.proof-label {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 5px;
  line-height: 1.55;
}
.proof-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  margin: 0 8px;
}

/* ---- Section Base ---- */
.section {
  padding: 64px 24px;
  max-width: 560px;
  margin: 0 auto;
}
.section-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 21px;
  font-weight: 900;
  text-align: center;
  color: var(--dark);
  margin-bottom: 36px;
}

/* ---- Pain ---- */
.pain { text-align: center; }

.pain-lead {
  font-size: 16px;
  line-height: 2;
  color: var(--text-mid);
  margin-bottom: 36px;
}
.pain-lead strong {
  display: block;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 19px;
  color: var(--dark);
  margin-top: 8px;
}

.pain-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  text-align: left;
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: transform 0.2s ease;
}
.pain-card:hover { transform: translateX(3px); }
.pain-icon { font-size: 26px; flex-shrink: 0; margin-top: 1px; }
.pain-card p { font-size: 14px; line-height: 1.8; color: var(--text-mid); }
.pain-card strong { color: var(--dark); }

.pain-empathy {
  display: inline-block;
  background: var(--amber-pale);
  border-left: 3px solid var(--amber);
  padding: 14px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 16px;
  color: var(--text);
  text-align: left;
  line-height: 1.7;
}
.pain-empathy strong { color: var(--amber); }

/* ---- Story ---- */
.story-section {
  background: var(--cream-alt);
  padding: 64px 24px;
}
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  max-width: 520px;
  margin: 0 auto;
}

.story-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(26, 13, 6, 0.12);
}
.story-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--amber-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  border: 1.5px solid rgba(201, 94, 10, 0.15);
}
.story-handle {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.story-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.story-quote {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 28px;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--amber-pale);
  font-style: normal;
}
.story-quote em {
  font-style: normal;
  font-weight: 700;
  color: var(--amber);
}

/* Timeline */
.story-timeline { margin-bottom: 24px; }
.tl-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.before .tl-dot { background: var(--text-muted); }
.after  .tl-dot { background: var(--forest); }
.tl-connector {
  width: 1px;
  height: 20px;
  background: var(--cream-alt);
  margin-left: 5px;
  margin-top: 4px;
  margin-bottom: 4px;
}
.tl-body {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.8;
}
.before .tl-body {
  background: var(--cream);
  color: var(--text-muted);
}
.after .tl-body {
  background: var(--forest-pale);
  color: var(--text);
}
.tl-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 2px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
}
.before .tl-label { background: rgba(140,112,96,0.14); color: var(--text-muted); }
.after  .tl-label { background: var(--forest); color: #fff; }
.after  .tl-body strong { color: var(--forest); }

.story-close {
  text-align: center;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  padding-top: 20px;
  border-top: 1px dashed rgba(26, 13, 6, 0.10);
}

/* ---- Benefits ---- */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.benefit-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--amber-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-item strong {
  display: block;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.benefit-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- For Whom ---- */
.for-whom { background: var(--cream); }
.for-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.for-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.for-check {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 900;
  font-size: 15px;
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 1px;
}
.for-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-mid);
}

/* ---- Steps ---- */
.steps-section {
  background: var(--cream-alt);
  padding: 64px 24px;
}
.steps-inner {
  max-width: 520px;
  margin: 0 auto;
}
.steps-inner .section-title { margin-bottom: 32px; }

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s ease;
}
.step-item:hover { transform: translateX(4px); }
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-body strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}
.step-body p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.faq-item {
  background: var(--white);
  border: 1px solid rgba(26, 13, 6, 0.09);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item[open] { box-shadow: var(--shadow-md); }

.faq-item summary {
  padding: 17px 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 18px;
  color: var(--amber);
  flex-shrink: 0;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 900;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 14px 20px 18px;
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.85;
  border-top: 1px solid rgba(26, 13, 6, 0.05);
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--dark);
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 55% at 50% 0%, rgba(201, 94, 10, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 260px;
  height: 260px;
  border: 1.5px solid rgba(201, 94, 10, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--amber-mid);
  margin-bottom: 18px;
}
.cta-headline {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 20px;
}
.cta-body {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 2;
  margin-bottom: 36px;
}
.cta-btn {
  display: flex;
  width: 100%;
  font-size: 15px;
  padding: 17px;
}
.cta-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 14px;
  letter-spacing: 0.06em;
}

/* ---- Fixed Bottom Bar ---- */
.fixed-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 11px 16px;
  padding-bottom: max(11px, env(safe-area-inset-bottom));
  background: rgba(26, 13, 6, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.fixed-bar.visible { transform: translateY(0); }
.fixed-bar-btn {
  display: flex;
  width: 100%;
  font-size: 14px;
  padding: 13px;
}

/* ---- Footer ---- */
.footer {
  text-align: center;
  padding: 28px 24px;
  padding-bottom: max(28px, calc(env(safe-area-inset-bottom) + 80px));
  font-size: 12px;
  color: var(--text-muted);
}

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

/* ---- Desktop ---- */
@media (min-width: 768px) {
  .hero { padding: 112px 40px 84px; }
  .hero-title { font-size: 38px; }
  .hero-accent { font-size: 42px; }

  .section { padding: 80px 40px; max-width: 640px; }
  .section-title { font-size: 24px; }

  .pain-cards { flex-direction: row; }
  .pain-card {
    flex: 1;
    flex-direction: column;
    text-align: center;
  }

  .story-card { padding: 40px 36px; }

  .steps-inner { max-width: 580px; }

  .cta-headline { font-size: 36px; }

  .fixed-bar { display: none; }

  .footer { padding-bottom: 28px; }

  .proof-num { font-size: 36px; }
}
