/* ============================================
   COLOR TOKENS — extracted from Figma design
============================================ */
:root {
  --bg-page:       #F8F4EE;   /* warm cream page background */
  --bg-card:       #FCF6DC;   /* lighter cream for cards */
  --bg-pill:       #F2E4B8;   /* deeper cream for header pill */
  --purple:        #581987;   /* primary purple (buttons, dark card) */
  --purple-dark:   #1E1E1E;   /* heading text, deepest */
  --purple-deep:   #1E1E1E;   /* hover */
  --magenta:       #581987;   /* italic "verdade" accent */
  --yellow:        #E8C547;   /* pill highlight, badge */
  --yellow-dark:   #C9A82E;
  --gold:          #D4A82A;   /* price text */
  --gold-soft:     rgba(212, 168, 42, 0.3); /* kanji decor opacity */
  --cream-white:   #FAFAFA;   /* hero badge bg */
  --text:          #1E1E1E;
  --text-soft:     #555555;
  --text-mute:     #7D6BA1;
  --border:        rgba(88, 25, 135, 0.12);
  --border-strong: rgba(88, 25, 135, 0.22);

  --shadow-sm:     0 2px 8px rgba(88, 25, 135, 0.06);
  --shadow:        0 6px 22px rgba(88, 25, 135, 0.10);
  --shadow-lg:     0 14px 40px rgba(88, 25, 135, 0.16);
  --shadow-badge:  0 4px 14px rgba(44, 0, 77, 0.22);

  --radius:        8px;
  --radius-lg:     12px;
  --radius-pill:   999px;

  --font-serif:    'Playfair Display', 'Noto Serif JP', Georgia, serif;
  --font-sans:     'Noto Sans', 'Noto Sans JP', sans-serif;
  --font-jp:       'Noto Serif JP', 'Playfair Display', serif;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  padding-top: 64px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

main, header, footer { position: relative; z-index: 1; }

/* ============================================
   BACKGROUND KANJI DECOR (right edge)
============================================ */
.bg-kanji {
  position: absolute;
  top: 0;
  right: 0;
  width: 116px;
  height: 100vh;
  background-image: url('kanji-column.svg');
  background-repeat: repeat-y;
  background-size: 116px auto;
  background-position: top right;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

@media (max-width: 859px) {
  .bg-kanji {
    width: 80px;
    background-size: 80px auto;
    opacity: 0.55;
    top: 64px;
  }
}

.bg-kanji-main {
  position: absolute;
  bottom: 320px;
  right: -80px;
  width: 620px;
  height: 620px;
  background-image: url('kanji-bg.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

@media (max-width: 859px) {
  .bg-kanji-main {
    width: 320px;
    height: 320px;
    right: -60px;
    opacity: 0.35;
  }
}

.bg-kanji-left {
  position: absolute;
  top: 1000px;
  left: -80px;
  width: 620px;
  height: 620px;
  background-image: url('kanji-bg.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

@media (max-width: 859px) {
  .bg-kanji-left {
    width: 320px;
    height: 320px;
    left: -60px;
    opacity: 0.35;
  }
}

/* ============================================
   LAYOUT
============================================ */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 36px; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: var(--purple-dark);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-top: 10px;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 14px rgba(88, 25, 135, 0.30);
}
.btn-primary:hover { background: var(--purple-deep); transform: translateY(-1px); }

.btn-outline {
  background: #333333;
  color: #F3F3F3;
  border-color: #333333;
}
.btn-outline:hover { background: #444444; color: #F3F3F3; }

.btn-cream {
  background: #DCCCFF;
  color: #581987;
  border-color: #DCCCFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.btn-cream:hover { background: #ede0ff; transform: translateY(-1px); }

.btn-block { width: 100%; }

.price-card .btn { border-radius: 8px; }

.contact-form .btn {
  background: #581987;
  color: #FFFFFF;
  border: 1.5px solid #2C004D;
  box-shadow: none;
}
.contact-form .btn:hover { background: #2C004D; transform: translateY(-1px); }

/* ============================================
   HEADER NAV
============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  background: var(--bg-page);
}



.nav-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nav-brand-mark {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--bg-page);
  font-family: var(--font-jp);
  font-size: 1rem;
  font-weight: 700;
  margin-left: 4px;
}

.nav-links {
  display: none;
  align-items: center;
  list-style: none;
  gap: 4px;
}
.nav-links li { display: inline-flex; }
.nav-links a {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--purple-dark);
  transition: background 0.2s ease;
  white-space: nowrap;
}
.nav-links a:hover { background: rgba(88, 25, 135, 0.06); }
.nav-links a.is-pill {
  background: var(--purple);
  color: #fff;
  font-weight: 700;
}
.nav-links a.is-pill:hover { background: var(--purple-deep); color: #fff; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-lang {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-pill);
  padding: 3px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border);
  gap: 2px;
}
.nav-lang a {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-lang a:hover { color: var(--purple-dark); }
.nav-lang a.is-active {
  background: var(--yellow);
  color: var(--purple-dark);
  font-weight: 700;
}

.nav-currency {
  position: relative;
}
.nav-currency-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 12px 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color 0.2s ease;
}
.nav-currency-toggle:hover { color: var(--purple-dark); }
.nav-currency-caret {
  width: 10px;
  height: 10px;
  color: var(--text-soft);
  transition: transform 0.2s ease;
}
.nav-currency.is-open .nav-currency-toggle { color: var(--purple-dark); }
.nav-currency.is-open .nav-currency-caret { transform: rotate(180deg); }

.nav-currency-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 92px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 300;
}
.nav-currency.is-open .nav-currency-menu { display: block; }
.nav-currency-menu li {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-currency-menu li:hover { background: rgba(88, 25, 135, 0.06); color: var(--purple-dark); }
.nav-currency-menu li[aria-selected="true"] {
  background: rgba(88, 25, 135, 0.06);
  color: var(--purple-dark);
  font-weight: 700;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
}
.nav-toggle span {
  width: 20px; height: 2px; background: var(--purple-dark);
  border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0 28px;
  gap: 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(88, 25, 135, 0.10);
  z-index: 200;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  padding: 16px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--purple-dark);
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--purple); padding-left: 6px; }

/* ============================================
   HERO
============================================ */
.hero { padding: 56px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 18px;
  opacity: 0.78;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--purple-dark);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.hero-title .accent {
  color: var(--magenta);
  font-style: italic;
  font-weight: 800;
}

.hero-subtitle {
  color: var(--purple-dark);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 32px;
  max-width: 440px;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-actions .btn {
  padding: 9px 20px;
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 5 / 4;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.hero-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 18px rgba(51, 51, 51, 0.25);
}

.hero-badge {
  position: absolute;
  left: -16px;
  bottom: -28px;
  background: var(--cream-white);
  color: var(--purple-dark);
  padding: 14px 22px;
  border-radius: 8px;
  z-index: 2;
  box-shadow: var(--shadow-badge);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-badge .ja {
  font-family: var(--font-jp);
  font-size: 1.55rem;
  font-weight: 700;
  color: #2C004D;
  line-height: 1;
}
.hero-badge .pt {
  font-size: 0.78rem;
  color: #1E1E1E;
  letter-spacing: 0.06em;
  font-weight: 400;
}

/* ============================================
   FAMILIAR (pain points)
============================================ */
.section-familiar { padding-top: 24px; padding-bottom: 24px; }

.familiar-head { max-width: 640px; margin-bottom: 24px; }

.familiar-title {
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  font-weight: 800;
  color: var(--purple-dark);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.familiar-subtitle {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.familiar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.familiar-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
}

.familiar-quote {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
  flex-shrink: 0;
}

.familiar-item p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   ABOUT (photo LEFT, text RIGHT)
============================================ */
.section-about { padding-top: 96px; }

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

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 445px;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.about-visual picture {
  display: block;
  position: absolute;
  top: -40px;
  right: 0;
  bottom: 0;
  left: 0;
}
.about-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-name {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.about-tag {
  color: var(--magenta);
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 22px;
  font-weight: 500;
}

.about-text {
  color: var(--text-soft);
  margin-bottom: 14px;
  font-size: 0.94rem;
  line-height: 1.7;
}
.about-text strong { color: var(--purple-dark); }

/* ============================================
   COURSE COMPARISON
============================================ */
.section-compare { padding-top: 56px; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 780px;
  margin: 0 auto;
}

.compare-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.compare-card.is-featured {
  border: 2px solid var(--purple);
  box-shadow: var(--shadow);
}

.compare-name {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 14px;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.compare-list li::before {
  content: '•';
  position: absolute;
  left: 2px;
  color: var(--text-mute);
}

.compare-card.is-featured .compare-list li {
  color: var(--purple-dark);
}

.compare-card.is-featured .compare-list li::before {
  content: '✓';
  color: var(--purple);
  font-weight: 700;
}

@media (min-width: 700px) {
  .compare-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

/* ============================================
   FLASHCARD APP
============================================ */
.section-flashcard { padding-top: 56px; }

.flashcard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.flashcard-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  margin: 0 auto;
}
.flashcard-visual img { width: 100%; height: auto; display: block; }

.flashcard-title {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--purple-dark);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.flashcard-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.flashcard-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.flashcard-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(88, 25, 135, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
}
.flashcard-icon svg { width: 20px; height: 20px; }

.flashcard-feature-title {
  font-weight: 700;
  color: var(--purple-dark);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.flashcard-feature-desc {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ============================================
   HOW CLASSES WORK
============================================ */
.section-howto { padding-top: 56px; }

.howto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.howto-card {
  background: #FFFFFF;
  border: 1px solid #DCCCFF;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.howto-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(88, 25, 135, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  margin-bottom: 14px;
}
.howto-icon svg { width: 20px; height: 20px; }

.howto-title {
  font-weight: 700;
  color: var(--purple-dark);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.howto-list {
  list-style: disc;
  padding-left: 1.1em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.howto-list li {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ============================================
   PRICING
============================================ */
.section-pricing { padding-top: 56px; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.price-card {
  background: #FFFFFF;
  border: 1px solid #DCCCFF;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: var(--shadow-sm);
  color: #000000;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card.is-featured {
  background: #581987;
  color: #F3F3F3;
  border-color: #2C004D;
  box-shadow: var(--shadow);
}
.price-card.is-featured .price-name { color: #F3F3F3; }
.price-card.is-featured .price-description { color: rgba(243, 243, 243, 0.85); }
.price-card.is-featured .price-amount .per { color: rgba(243, 243, 243, 0.75); }

.price-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--yellow);
  color: var(--purple-dark);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(232, 197, 71, 0.4);
}

.price-name {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.price-amount {
  font-family: var(--font-sans);
  color: #000000;
  line-height: 1;
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
.price-card.is-featured .price-amount { color: #F3F3F3; }
.price-card.is-featured .price-amount .currency,
.price-card.is-featured .price-amount .value { color: #F3F3F3; }
.price-amount .currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: inherit;
}
.price-amount .value {
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: inherit;
}
.price-amount .per {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-soft);
  margin-left: 4px;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  align-self: center;
}

.price-description {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 26px;
  flex-grow: 1;
}

/* ============================================
   TESTIMONIAL
============================================ */
.section-testimonial { padding-bottom: 24px; }

.testimonial-card {
  max-width: 760px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  color: var(--gold);
  margin-bottom: 22px;
  position: relative;
}
.testimonial-stars svg { width: 14px; height: 14px; }

.testimonial-quote {
  position: relative;
}

.testimonial-quote p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 18px;
}
.testimonial-quote p:last-child { margin-bottom: 0; }

.testimonial-attribution {
  margin-top: 26px;
  font-weight: 700;
  color: var(--purple-dark);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 640px) {
  .testimonial-card { padding: 36px 24px; }
}

/* ============================================
   FAQ
============================================ */
.section-faq { padding-top: 96px; padding-bottom: 96px; }

.faq-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: #F3F3F3;
  border: 1px solid #D9D9D9;
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1E1E1E;
  gap: 16px;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}
.faq-icon::before { content: none; }
.faq-icon::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--purple);
  border-bottom: 2px solid var(--purple);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%) rotate(45deg);
  transition: border-color 0.25s ease;
}
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}
.faq-item.is-open .faq-icon::after { border-color: var(--purple); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 22px 20px;
  color: #1E1E1E;
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-answer-inner p + p { margin-top: 12px; }
.faq-answer-inner strong { color: #1E1E1E; }
.faq-item.is-open .faq-answer { max-height: 600px; }

/* ============================================
   CONTACT
============================================ */
.section-contact { padding-top: 96px; padding-bottom: 120px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.contact-title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--purple-dark);
  line-height: 1.05;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.contact-lead {
  color: var(--text-soft);
  font-size: 1rem;
  max-width: 360px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #F3F3F3;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid #D9D9D9;
  box-shadow: var(--shadow-sm);
}
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2C2C2C;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #D9D9D9;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.92rem;
  color: #1E1E1E;
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(88, 25, 135, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; }

/* ============================================
   FOOTER
============================================ */
.footer {
  padding: 28px 0;
  text-align: center;
  background: #1E1E1E;
  color: #F8F4EE;
  font-size: 0.82rem;
  border-top: none;
  margin-top: 24px;
}

/* ============================================
   RESPONSIVE — DESKTOP
============================================ */
@media (min-width: 860px) {
  .section { padding: 96px 0; }
  .hero { padding: 80px 0 110px; }

  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
  }

  .hero-visual { max-width: 100%; margin-right: 0; }
  .hero-badge { left: -32px; bottom: -32px; padding: 16px 26px; }
  .hero-badge .ja { font-size: 1.85rem; }
  .hero-badge .pt { font-size: 0.85rem; }

  .about-grid {
    grid-template-columns: 0.85fr 1fr;
    gap: 64px;
  }
  .about-visual { max-width: 420px; margin: 0; }

  .flashcard-grid {
    grid-template-columns: 0.85fr 1fr;
    gap: 64px;
  }
  .flashcard-visual { max-width: 360px; margin: 0; }

  .howto-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .price-card.is-featured {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  .price-card.is-featured:hover { transform: translateY(-12px); }

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

  .nav-links { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ============================================
   RESPONSIVE — MOBILE
============================================ */
@media (max-width: 859px) {
  .nav-links { display: none; }
  .nav-brand-mark { display: none; }
  .nav-right { width: 100%; justify-content: space-between; }

  .hero { padding: 36px 0 56px; }
  .hero-visual { display: none; }
  .hero-badge { display: none; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }

  .section { padding: 56px 0; }
  .section-about { padding-top: 72px; }
  .about-visual { max-width: 280px; }

  .price-card { padding: 26px 22px; }
  .price-amount .value { font-size: 2.4rem; }

  .footer { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 2.1rem; }
  .nav-wrap { padding: 5px 8px 5px 5px; }
  .nav-brand-mark { width: 34px; height: 34px; }
}
