/*
Theme Name: RIN-to
Theme URI: https://rin-to.typesinc.com/
Author: RIN-to
Description: RIN-toライティングスクール 公式テーマ
Version: 1.1.0
License: Private
Text Domain: rin-to
*/

/* ============================================================
   SPLASH SCREEN
   ============================================================ */

body.splash-active { overflow: hidden; }

#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity .9s ease;
}
#splash.splash-hide {
  opacity: 0;
  pointer-events: none;
}

/* ロゴ全体のラッパー */
.splash-logo-wrap {
  position: relative;
  width: min(220px, 52vw);
}

/* ── ベースロゴ（最初は非表示・飛行機が消えてから登場） ── */
.splash-base-logo {
  width: 100%;
  display: block;
  opacity: 0;
  transition: opacity .7s ease;
}
.splash-base-logo.show {
  opacity: 1;
}
.splash-base-logo.fade-out {
  opacity: 0;
  transition: opacity 1.1s ease;
}

/* ── 紙飛行機のみ（最初から表示・飛んでいく） ── */
.splash-plane-part {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  opacity: 0;
  animation: splashLogoIn .5s ease .1s forwards; /* 最初にフェードイン */
  transform-origin: 62% 28%;
  will-change: transform, opacity;
}
.splash-plane-part.fly {
  animation: splashPlaneOut .85s cubic-bezier(.3, 0, .15, 1) forwards;
}

/* ① フェードイン */
@keyframes splashLogoIn {
  to { opacity: 1; }
}

/* ② 紙飛行機が右斜め上へ飛んでいく */
@keyframes splashPlaneOut {
  0%  {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  20% {
    opacity: 1;
    transform: translate(12px, -22px) rotate(-7deg) scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translate(240px, -380px) rotate(-24deg) scale(.1);
  }
}


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

:root {
  /* Brand Colors */
  --pink:        #D7A2AE;
  --pink-light:  #F6F2EF;
  --pink-mid:    #EAC8CF;
  --beige:       #EFE6E2;
  --gray-light:  #EDEDED;
  --brown:       #6E4A3B;
  --brown-mid:   #9B6E5D;
  --brown-dark:  #4A2E22;
  --cream:       #F6F2EF;
  --white:       #FFFFFF;
  --text:        #3D2513;
  --text-mid:    #7A5A4A;

  /* CTA Gradient */
  --cta-grad: linear-gradient(90deg, #E36BA3, #F38CB4);
  --cta-grad-hover: linear-gradient(90deg, #d15f95, #e87ca5);

  /* Typography */
  --font-en-display: 'Krona One', sans-serif;
  --font-en-serif:   'Cormorant Garamond', Georgia, serif;
  --font-ja-body:    'Zen Maru Gothic', 'Noto Serif JP', sans-serif;
  --font-ja-heading: 'Shippori Mincho', 'Noto Serif JP', serif;

  /* Spacing */
  --section-pad: 108px 24px;
  --radius-card: 20px;
  --radius-btn:  50px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ============================================================
   UTILITIES
   ============================================================ */
.section-inner { max-width: 1040px; margin: 0 auto; }

.sec-en {
  font-family: var(--font-en-display);
  font-size: 0.68rem;
  letter-spacing: .22em;
  color: var(--pink);
  text-align: center;
  display: block;
  margin-bottom: 10px;
}

.sec-title {
  font-family: var(--font-ja-heading);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  color: var(--brown-dark);
  text-align: center;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 14px;
}

.sec-desc {
  text-align: center;
  color: var(--text-mid);
  font-size: 0.93rem;
  max-width: 560px;
  margin: 0 auto 64px;
  line-height: 2;
}

.divider {
  width: 36px; height: 2px;
  background: var(--pink);
  border-radius: 2px;
  margin: 0 auto 22px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cta-grad);
  color: var(--white);
  font-family: var(--font-ja-body);
  font-size: 0.97rem;
  font-weight: 700;
  padding: 17px 40px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 6px 24px rgba(227,107,163,.35);
  letter-spacing: .04em;
}
.btn-cta:hover {
  background: var(--cta-grad-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(227,107,163,.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--brown);
  font-family: var(--font-ja-body);
  font-size: 0.97rem;
  font-weight: 700;
  padding: 15px 36px;
  border-radius: var(--radius-btn);
  border: 2px solid var(--pink);
  cursor: pointer;
  transition: all .25s;
  letter-spacing: .04em;
}
.btn-outline:hover { background: var(--beige); }

/* LINE ボタン内アイコン画像 */
.btn-line-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #06C755;
  color: var(--white);
  font-family: var(--font-ja-body);
  font-size: 0.97rem;
  font-weight: 700;
  padding: 17px 40px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 6px 24px rgba(6,199,85,.3);
  letter-spacing: .04em;
}
.btn-line:hover { background: #05b34c; transform: translateY(-2px); }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(246, 242, 239, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pink-mid);
  padding: 0 32px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-en-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brown);
  letter-spacing: .08em;
}
.logo span { color: var(--pink); }

nav { display: flex; gap: 28px; align-items: center; }
nav a {
  font-family: var(--font-ja-body);
  font-size: 0.8rem;
  color: var(--text-mid);
  font-weight: 500;
  transition: color .2s;
  letter-spacing: .04em;
}
nav a:hover { color: var(--pink); }

.nav-cta {
  background: var(--cta-grad) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: var(--radius-btn);
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  transition: all .2s !important;
  box-shadow: 0 4px 14px rgba(227,107,163,.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(227,107,163,.4); }

/* ============================================================
   HERO (FIRST VIEW) — 背景全面画像 + テキストオーバーレイ
   ============================================================ */
#hero {
  padding-top: 66px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* 背景画像レイヤー */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
/* 背景プレースホルダー（画像未設定時） */
.hero-bg-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e8d5d8 0%, #d4b0b8 40%, #c49aA4 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
  color: rgba(110,74,59,.5);
}
.hero-bg-ph i { font-size: 3rem; }
.hero-bg-ph span { font-size: 0.82rem; line-height: 1.7; text-align: center; }

/* 画像全体に薄いオーバーレイ（テキスト可読性UP） */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.15) 0%,
    rgba(255,255,255,.05) 55%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* コンテンツラッパー */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 66px);
}

/* テキストブロック（参考LPの白背景重ね） */
.hero-text {
  max-width: 540px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en-display);
  font-size: 0.62rem;
  letter-spacing: .22em;
  color: var(--white);
  margin-bottom: 16px;
  background: var(--pink);
  padding: 6px 16px;
  border-radius: 50px;
}

/* 白背景のキャッチコピーカード */
.hero-catchcopy {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(6px);
  padding: 28px 32px;
  margin-bottom: 16px;
  border-left: 4px solid var(--pink);
}

.hero-title {
  font-family: var(--font-ja-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.4;
  letter-spacing: .03em;
}
.hero-title em {
  font-style: normal;
  color: var(--pink);
}

/* サブコピーカード */
.hero-sub-block {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(6px);
  padding: 20px 28px;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 0.94rem;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ボタン群 */
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* スクロール誘導 */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en-display);
  font-size: 0.58rem;
  letter-spacing: .22em;
  color: var(--white);
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.9), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  70%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   PAIN (共感セクション)
   ============================================================ */
#pain {
  padding: var(--section-pad);
  background: var(--beige);
}

.pain-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.pain-image img,
.pain-image .img-ph {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
}

.pain-content .sec-en,
.pain-content .sec-title { text-align: left; }
.pain-content .divider { margin-left: 0; }

.pain-list { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 2px 14px rgba(110,74,59,.06);
}
.pain-item-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--pink-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--pink);
  font-size: 0.9rem;
}
.pain-item p {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brown);
  padding-top: 6px;
  line-height: 1.7;
}

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
#before-after {
  padding: var(--section-pad);
  background: var(--white);
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(110,74,59,.1);
}

.ba-col {
  padding: 52px 44px;
}
.ba-col.before { background: #F4F4F4; }
.ba-col.after  { background: linear-gradient(145deg, #fce8ee, #f9dce7); }

.ba-label {
  font-family: var(--font-en-display);
  font-size: 0.72rem;
  letter-spacing: .2em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.before .ba-label { color: #999; }
.after  .ba-label { color: var(--pink); }
.ba-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  border-radius: 2px;
}
.before .ba-label::before { background: #ccc; }
.after  .ba-label::before { background: var(--pink); }

.ba-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ba-list li {
  font-size: 0.9rem;
  color: var(--brown);
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.ba-list li::before {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  margin-top: 4px;
  flex-shrink: 0;
}
.before .ba-list li::before { content: '\f00d'; color: #bbb; }
.after  .ba-list li::before { content: '\f00c'; color: var(--pink); }

/* ============================================================
   ABOUT
   ============================================================ */
#about {
  padding: var(--section-pad);
  background: var(--cream);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-content .sec-en,
.about-content .sec-title { text-align: left; }
.about-content .divider { margin-left: 0; }

.about-lead {
  font-family: var(--font-ja-heading);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--brown-dark);
  line-height: 1.75;
  font-weight: 700;
  margin-bottom: 20px;
}
.about-lead em {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(215,162,174,.45) 62%);
}
.about-sub {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 2;
  margin-bottom: 36px;
}

.about-image img,
.about-image .img-ph {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* ============================================================
   PILLARS (3つの柱)
   ============================================================ */
#pillars {
  padding: var(--section-pad);
  background: var(--white);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar {
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: 44px 28px 36px;
  text-align: center;
  border-top: 3px solid var(--pink);
  transition: transform .25s, box-shadow .25s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(110,74,59,.1); }

.pillar-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--beige);
  border: 1.5px solid var(--pink-mid);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  color: var(--pink);
}

.pillar-num {
  font-family: var(--font-en-serif);
  font-size: 0.7rem;
  letter-spacing: .18em;
  color: var(--pink);
  margin-bottom: 8px;
}

.pillar-name {
  font-family: var(--font-ja-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 6px;
}
.pillar-sub {
  font-size: 0.72rem;
  color: var(--pink);
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.pillar p { font-size: 0.84rem; color: var(--text-mid); line-height: 1.85; }

/* ============================================================
   CURRICULUM (タイムライン)
   ============================================================ */
#curriculum {
  padding: var(--section-pad);
  background: var(--cream);
}

.timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--pink), var(--pink-mid));
}

.tl-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 0 0 56px 0;
  position: relative;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.tl-item:nth-child(1) .tl-circle { background: var(--pink-mid); }
.tl-item:nth-child(2) .tl-circle { background: var(--pink); }
.tl-item:nth-child(3) .tl-circle { background: #C07080; }

.tl-month {
  font-family: var(--font-en-display);
  font-size: 0.55rem;
  letter-spacing: .12em;
  color: var(--white);
  margin-top: 4px;
  opacity: .85;
}

.tl-body {
  background: var(--white);
  border-radius: 18px;
  padding: 28px 32px;
  flex: 1;
  box-shadow: 0 4px 24px rgba(110,74,59,.07);
  border: 1px solid var(--pink-light);
  margin-top: 12px;
}

.tl-heading {
  font-family: var(--font-ja-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tl-heading::before {
  content: '';
  display: inline-block;
  width: 4px; height: 20px;
  background: var(--pink);
  border-radius: 2px;
  flex-shrink: 0;
}

.tl-items-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.tl-items-list li {
  font-size: 0.87rem;
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
  line-height: 1.7;
}
.tl-items-list li::before {
  content: '';
  position: absolute; left: 0;
  top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pink);
}

/* ============================================================
   SUPPORT (サポート内容)
   ============================================================ */
#support {
  padding: var(--section-pad);
  background: var(--white);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.support-grid .support-wide {
  grid-column: span 2;
}

.support-card {
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  border: 1px solid var(--pink-light);
  transition: transform .2s, box-shadow .2s;
}
.support-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(110,74,59,.09); }

.support-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--beige);
  border: 1.5px solid var(--pink-mid);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.3rem;
  color: var(--pink);
}

.support-name {
  font-family: var(--font-ja-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 10px;
}
.support-card p { font-size: 0.85rem; color: var(--text-mid); line-height: 1.85; }

/* ============================================================
   PRICING
   ============================================================ */
#pricing {
  padding: var(--section-pad);
  background: var(--cream);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--white);
  border-radius: 28px;
  padding: 44px 36px;
  box-shadow: 0 4px 28px rgba(110,74,59,.08);
  border: 1.5px solid var(--pink-mid);
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--pink);
  background: linear-gradient(160deg, #fff 60%, #fce8ee 100%);
}

.price-badge {
  position: absolute;
  top: -15px; left: 50%;
  transform: translateX(-50%);
  background: var(--cta-grad);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 22px;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  letter-spacing: .06em;
}

.price-name {
  font-family: var(--font-ja-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-dark);
  text-align: center;
  margin-bottom: 26px;
  line-height: 1.55;
}

.price-amount {
  text-align: center;
  margin-bottom: 8px;
}
.price-amount .num {
  font-family: var(--font-en-serif);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--pink);
  letter-spacing: .02em;
}
.price-amount .unit { font-size: 0.85rem; color: var(--text-mid); }

.price-period {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-mid);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pink-light);
}

.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-features li {
  font-size: 0.86rem;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.65;
}
.price-features li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--pink);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.8rem;
}

.price-cta-btn {
  margin-top: 32px;
  display: block;
  text-align: center;
  padding: 15px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 0.92rem;
  transition: all .2s;
  letter-spacing: .04em;
}
.price-card .price-cta-btn {
  background: var(--beige);
  color: var(--brown);
  border: 1.5px solid var(--pink-mid);
}
.price-card.featured .price-cta-btn {
  background: var(--cta-grad);
  color: var(--white);
  border: none;
  box-shadow: 0 6px 20px rgba(227,107,163,.35);
}
.price-cta-btn:hover { opacity: .88; transform: translateY(-1px); }

/* ============================================================
   FAQ (アコーディオン)
   ============================================================ */
#faq {
  padding: var(--section-pad);
  background: var(--white);
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item { border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 2px 16px rgba(110,74,59,.06); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}
.faq-question:hover { background: var(--cream); }

.faq-q-badge {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--gray-light);
  color: var(--brown-mid);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-en-serif);
}

.faq-question p {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--brown-dark);
  flex: 1;
  line-height: 1.6;
  font-family: var(--font-ja-body);
}

.faq-chevron {
  font-size: 0.8rem;
  color: var(--pink);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 28px 26px calc(28px + 34px + 16px);
}
.faq-item.open .faq-answer { display: block; }

.faq-a-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.faq-a-badge {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--pink);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-en-serif);
}
.faq-answer p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.9;
  padding-top: 4px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
#cta {
  padding: var(--section-pad);
  background: linear-gradient(135deg, #D7A2AE 0%, #B07A8A 100%);
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}
#cta::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-text .sec-en { color: rgba(255,255,255,.7); text-align: left; letter-spacing: .22em; }
.cta-text .sec-title { color: var(--white); text-align: left; }
.cta-text .sec-desc { color: rgba(255,255,255,.85); text-align: left; margin: 0 0 36px; }

#cta .btn-line { box-shadow: 0 6px 24px rgba(0,0,0,.15); }
#cta .btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
#cta .btn-outline:hover { background: rgba(255,255,255,.12); }

.cta-image { width: 260px; flex-shrink: 0; }
.cta-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
}

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */
.img-ph {
  background: var(--beige);
  border: 2px dashed var(--pink-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--pink);
  text-align: center;
  user-select: none;
  width: 100%;
}
.img-ph i { font-size: 2rem; opacity: .5; }
.img-ph span { font-size: 0.76rem; color: var(--text-mid); line-height: 1.65; }

.img-ph--voice {
  width: 72px; height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}
.img-ph--voice i { font-size: 1.1rem; }
.img-ph--voice span { display: none; }

.img-ph--cta {
  width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
}
.img-ph--cta i { color: rgba(255,255,255,.5); }
.img-ph--cta span { color: rgba(255,255,255,.65); }

/* ============================================================
   VOICE (受講生の声)
   ============================================================ */
#voice {
  padding: var(--section-pad);
  background: var(--cream);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px 26px;
  border: 1px solid var(--pink-light);
  box-shadow: 0 2px 16px rgba(110,74,59,.05);
}

.voice-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.voice-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--pink-mid);
}
.voice-meta { flex: 1; }
.voice-name { font-size: 0.9rem; font-weight: 700; color: var(--brown-dark); margin-bottom: 3px; font-family: var(--font-ja-heading); }
.voice-tag  { font-size: 0.72rem; color: var(--pink); font-weight: 500; }
.voice-text { font-size: 0.85rem; color: var(--text-mid); line-height: 1.9; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,.55);
  padding: 56px 24px 36px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-en-display);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.footer-logo span { color: var(--pink); }

footer > p { font-size: 0.8rem; line-height: 1.9; font-family: var(--font-ja-body); }

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 22px 0;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color .2s;
  font-family: var(--font-ja-body);
}
.footer-links a:hover { color: var(--white); }

.footer-sns { display: flex; gap: 16px; justify-content: center; margin: 16px 0; }
.sns-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.65) !important;
  font-size: 0.8rem;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(255,255,255,.2);
  transition: all .2s;
  font-family: var(--font-ja-body);
}
.sns-link:hover { color: var(--white) !important; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }

.footer-copy { font-size: 0.7rem; margin-top: 28px; color: rgba(255,255,255,.3); font-family: var(--font-en-serif); }

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  nav { display: none; }
  .hero-inner { padding: 60px 24px; align-items: flex-end; min-height: calc(100vh - 66px); }
  .hero-text { max-width: 100%; }
  .hero-scroll { right: 24px; bottom: 24px; }
  .pain-layout { grid-template-columns: 1fr; }
  .pain-image { display: none; }
  .ba-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr 1fr; }
  .support-grid .support-wide { grid-column: span 2; }
  .voice-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-layout { grid-template-columns: 1fr; text-align: center; }
  .cta-text .sec-en,
  .cta-text .sec-title,
  .cta-text .sec-desc { text-align: center; }
  .cta-image { width: 100%; }
  .img-ph--cta { width: 100%; aspect-ratio: 16 / 7; border-radius: var(--radius-card); }
  section { padding: 80px 20px; }
}

@media (max-width: 600px) {
  .support-grid { grid-template-columns: 1fr; }
  .support-grid .support-wide { grid-column: span 1; }
  .ba-col { padding: 36px 28px; }
  .hero-title { font-size: 2rem; }
}
