:root {
  --bg: #FBFCFF;
  --ink: #1E2140;
  --muted: #6B7090;
  --line: #E4E7F4;
  --blue: #4F6FEB;
  --blue-d: #3B57C9;
  --purple: #8B5CF6;
  --purple-d: #7345E0;
  --blue-t: #EEF2FF;
  --purple-t: #F3EEFF;
  --warn: #B45309;
  --warn-t: #FFF6E5;
  --white: #FFFFFF;
  --radius: 22px;
  --shadow: 0 8px 28px rgba(79, 111, 235, 0.08);
  --font-head: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', sans-serif;
  --font-body: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.35; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); }
a:hover { color: var(--blue-d); }
img { max-width: 100%; display: block; }
svg { display: block; }

.container { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; position: relative; overflow: hidden; }
.section-tint { background: var(--white); }
.section-purple { background: var(--purple-t); }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--blue-t); color: var(--blue);
  font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
}
.label.purple { background: var(--purple-t); color: var(--purple); }
.label.white { background: var(--white); color: var(--purple); border: 1px solid var(--line); }

.section-head { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-bottom: 32px; }
.section-head h2 { font-size: 28px; }
.section-head p { color: var(--muted); font-size: 15px; }
.em-blue { color: var(--blue); }
.em-purple { color: var(--purple); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 28px; border-radius: 999px;
  background: var(--purple); color: var(--white);
  font-family: var(--font-head); font-size: 17px; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.32);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: var(--purple-d); color: var(--white); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(139, 92, 246, 0.36); }
.btn-wide { width: 100%; }
.btn-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* decorative circles */
.blob { position: absolute; border-radius: 999px; pointer-events: none; z-index: 0; }
.blob-blue { background: var(--blue-t); }
.blob-purple { background: var(--purple-t); }

/* hero */
.hero { padding: 40px 0 56px; overflow: hidden; }
.hero .container { position: relative; z-index: 1; display: grid; gap: 32px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-name { font-size: 15px; color: var(--blue); font-family: var(--font-head); font-weight: 700; letter-spacing: 0.04em; margin-top: 16px; }
.hero h1 { font-size: 30px; font-weight: 900; margin-top: 8px; }
.hero-sub { font-size: 17px; color: var(--muted); margin-top: 14px; }
.hero-tag { display: inline-flex; margin-top: 14px; padding: 8px 16px; border-radius: 12px; background: var(--purple-t); color: var(--purple); font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.fact { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.fact span { font-size: 11px; color: var(--muted); font-family: var(--font-head); letter-spacing: 0.08em; }
.fact strong { font-size: 15px; font-family: var(--font-head); }
.hero-price { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; padding: 20px; border-radius: 20px; background: var(--white); border: 1px solid #DDD3FA; box-shadow: var(--shadow); }
.hero-price .now { display: flex; align-items: baseline; gap: 8px; }
.hero-price .now strong { font-family: var(--font-head); font-size: 40px; font-weight: 900; color: var(--purple); line-height: 1; }
.hero-price .now small { font-size: 14px; color: var(--muted); }
.hero-price .was { font-size: 14px; color: var(--muted); }
.hero-price .was s { margin-right: 6px; }
.hero-price .until { display: inline-flex; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--warn-t); color: var(--warn); font-size: 12px; font-weight: 700; }
.hero-cta { margin-top: 24px; }

.mock { position: relative; display: none; }
.mock-back { position: absolute; left: 40px; top: 0; width: 380px; height: 280px; border-radius: 22px; background: var(--purple-t); transform: rotate(6deg); }
.mock-win { position: relative; width: 380px; border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(79, 111, 235, 0.14); overflow: hidden; margin-top: 30px; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 999px; display: block; }
.mock-bar .u { flex: 1; height: 10px; border-radius: 999px; background: var(--blue-t); margin-left: 10px; }
.mock-body { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.mock-body i { display: block; border-radius: 999px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mock-grid i { height: 52px; border-radius: 12px; }
.mock-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(139, 92, 246, 0.14); font-size: 13px; font-weight: 700; }
.mock-chip svg { color: var(--purple); }

/* cards */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.card h3 { font-size: 19px; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--blue-t); color: var(--blue); flex-shrink: 0; }
.icon.purple { background: var(--purple-t); color: var(--purple); }
.icon.small { width: 40px; height: 40px; border-radius: 12px; }

.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.check-list li svg { color: var(--purple); flex-shrink: 0; margin-top: 4px; }

/* timeline */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.tl-item { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; position: relative; }
.num { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--blue); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 16px; flex-shrink: 0; }
.num.purple { background: var(--purple); }
.num.ghost { background: var(--white); color: var(--muted); border: 2px solid var(--line); }
.tl-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.tl-date { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: 0.04em; }
.tl-body h3 { font-size: 18px; }
.tl-body p { font-size: 14px; color: var(--muted); }
.tl-body.plain { background: transparent; border: none; padding: 10px 0; }

/* teacher */
.teacher { display: grid; gap: 24px; align-items: center; }
.avatar { width: 120px; height: 120px; border-radius: 999px; background: var(--blue-t); border: 3px solid var(--white); box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; color: var(--blue); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.teacher h3 { font-size: 24px; }
.teacher .role { color: var(--muted); font-size: 14px; }
.teacher .bio { margin-top: 12px; font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.stat { padding: 14px 10px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--purple); line-height: 1.2; }
.stat span { font-size: 12px; color: var(--muted); }

/* price */
.price-wrap { display: grid; gap: 20px; }
.price-card { padding: 28px 24px; border-radius: 26px; background: var(--white); border: 1px solid #DDD3FA; box-shadow: 0 20px 50px rgba(139, 92, 246, 0.14); display: flex; flex-direction: column; gap: 16px; }
.price-card .was { font-size: 15px; color: var(--muted); }
.price-card .was s { margin-right: 6px; }
.price-card .now { display: flex; align-items: baseline; gap: 8px; }
.price-card .now strong { font-family: var(--font-head); font-size: 52px; font-weight: 900; color: var(--purple); line-height: 1; }
.price-card .now small { font-size: 15px; color: var(--muted); }
.price-card .until { display: inline-flex; align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--warn-t); color: var(--warn); font-size: 13px; font-weight: 700; }
.price-card hr { border: none; border-top: 1px solid var(--line); margin: 4px 0; }
.includes { display: flex; flex-direction: column; gap: 10px; }
.includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.includes li svg { color: var(--purple); flex-shrink: 0; margin-top: 5px; }
.roi { padding: 24px; border-radius: 22px; background: var(--blue-t); display: flex; flex-direction: column; gap: 10px; }
.roi h3 { font-size: 21px; }
.roi p { font-size: 15px; color: var(--ink); }
.roi small { font-size: 12px; color: var(--muted); }

/* info table */
.info { display: grid; gap: 0; border-radius: 20px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.info-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--line); font-size: 15px; }
.info-row:first-child { border-top: none; }
.info-row span { color: var(--muted); font-size: 13px; font-weight: 700; padding-top: 3px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 18px; background: var(--white); border: 1px solid var(--line); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; background: var(--purple-t); color: var(--purple); font-size: 13px; flex-shrink: 0; }
.faq summary .plus { margin-left: auto; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .a { padding: 0 0 18px 42px; font-size: 15px; color: var(--muted); }

/* final cta */
.final { text-align: center; padding: 72px 0 88px; overflow: hidden; }
.final .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final h2 { font-size: 28px; font-weight: 900; }
.final p { color: var(--muted); font-size: 15px; }
.final .final-price { display: flex; align-items: baseline; gap: 10px; color: var(--ink); margin-top: 6px; }
.final .final-price s { font-size: 18px; color: var(--muted); }
.final .final-price .arrow { color: var(--purple); font-weight: 700; }
.final .final-price strong { font-family: var(--font-head); font-size: 40px; font-weight: 900; color: var(--purple); line-height: 1; }
.final .final-price small { font-size: 13px; color: var(--muted); }

footer { padding: 28px 0 110px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer .container { display: flex; flex-direction: column; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--blue); }

/* sticky CTA (mobile) */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 252, 255, 0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.sticky .p { display: flex; flex-direction: column; line-height: 1.2; }
.sticky .p strong { font-family: var(--font-head); font-size: 18px; color: var(--purple); }
.sticky .p span { font-size: 11px; color: var(--muted); }
.sticky .btn { flex: 1; min-height: 50px; font-size: 15px; padding: 10px 16px; }

/* subpages */
.doc { padding: 48px 0 80px; }
.doc h1 { font-size: 26px; margin-bottom: 8px; }
.doc .lead { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc h2 { font-size: 18px; margin: 32px 0 10px; }
.doc p, .doc li { font-size: 15px; }
.doc ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.doc .back { display: inline-flex; margin-top: 36px; }
.doc table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.doc tr:first-child th, .doc tr:first-child td { border-top: none; }
.doc th { width: 150px; color: var(--muted); font-weight: 700; background: #F7F8FC; }
.ph { background: var(--warn-t); color: var(--warn); padding: 0 6px; border-radius: 6px; font-weight: 700; }

.steps { display: flex; flex-direction: column; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.steps li strong { display: block; font-family: var(--font-head); font-size: 16px; }
.steps li p { font-size: 14px; color: var(--muted); }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (min-width: 720px) {
  .section { padding: 88px 0; }
  .section-head h2 { font-size: 34px; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero { padding: 72px 0 88px; }
  .hero h1 { font-size: 44px; }
  .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .teacher { grid-template-columns: 160px 1fr; }
  .avatar { width: 160px; height: 160px; }
  .price-wrap { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .info-row { grid-template-columns: 160px 1fr; }
  .final h2 { font-size: 36px; }
  .doc h1 { font-size: 32px; }
}
@media (min-width: 960px) {
  .hero .container { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .hero h1 { font-size: 50px; }
  .mock { display: block; height: 420px; }
  .sticky { display: none; }
  footer { padding-bottom: 40px; }
}
