@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --bg: #FDF7F8;
  --paper: #FFFFFF;
  --ink: #2E2226;
  --ink-soft: #7A6670;
  --accent: #D6698F;
  --accent-deep: #A84770;
  --accent-tint: #FBE6ED;
  --sage-tint: #F2E9EC;
  --line: #F0DCE2;
  --max: 920px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Noto Sans JP', sans-serif; font-size: 16px; line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-weight: 700; letter-spacing: .02em; line-height: 1.5; margin: 0; }
a { color: var(--accent-deep); }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(253,247,248,.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.3; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav a { color: var(--ink); text-decoration: none; }
.nav .nav-cta { background: var(--accent); color: #fff; padding: 6px 16px; border-radius: 999px; }
@media (max-width: 640px) { .nav a:not(.nav-cta) { display: none; } }

/* hero */
.hero { padding: 72px 0 56px; text-align: center; background: linear-gradient(180deg, var(--accent-tint) 0%, var(--bg) 100%); }
.eyebrow { color: var(--accent-deep); font-size: 14px; letter-spacing: .12em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(30px, 6.4vw, 52px); margin-bottom: 22px; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { max-width: 620px; margin: 0 auto 28px; color: var(--ink); }
.badge { display: inline-block; background: #fff; border: 1px solid var(--accent); color: var(--accent-deep); border-radius: 999px; padding: 6px 18px; font-size: 14px; margin-bottom: 22px; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; font-size: 14px; color: var(--ink-soft); list-style: none; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; padding: 15px 38px; border-radius: 999px; border: 0; font-size: 16px; cursor: pointer; }
.btn:hover { background: var(--accent-deep); }
.btn[aria-disabled="true"] { background: #D9C7CE; cursor: not-allowed; pointer-events: none; }
.btn.ghost { background: #fff; color: var(--accent-deep); border: 1px solid var(--accent); }

/* sections */
section { padding: 64px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-label { color: var(--accent); font-size: 13px; letter-spacing: .14em; text-align: center; margin-bottom: 8px; }
.sec-title { font-size: clamp(22px, 4.4vw, 32px); text-align: center; margin-bottom: 34px; }
.narrow { max-width: 680px; margin: 0 auto; }

.check-list { list-style: none; max-width: 640px; margin: 0 auto; display: grid; gap: 12px; }
.check-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px 14px 48px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 18px; top: 13px; color: var(--accent); font-weight: 700; }

.callout { background: var(--accent-tint); border-radius: 18px; padding: 28px 28px 14px; text-align: center; }
.callout h3 { font-size: clamp(20px, 4vw, 26px); margin-bottom: 14px; }
.small { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }

.profile { display: grid; gap: 14px; max-width: 680px; margin: 0 auto; }
.profile h3 { font-size: 22px; }

/* curriculum */
.chapter { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; max-width: 720px; margin-left: auto; margin-right: auto; }
.chapter summary { list-style: none; cursor: pointer; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.chapter summary::-webkit-details-marker { display: none; }
.ch-num { color: var(--accent); font-weight: 700; font-size: 14px; }
.ch-name { font-weight: 700; }
.ch-sub { color: var(--ink-soft); font-size: 14px; }
.chapter ul { padding: 0 18px 14px 38px; color: var(--ink); font-size: 15px; }
.chapter li { margin-bottom: 4px; }

/* plans */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 22px; display: flex; flex-direction: column; }
.plan.feature { border: 2px solid var(--accent); }
.plan .tag { font-size: 12px; color: var(--accent-deep); background: var(--accent-tint); border-radius: 999px; padding: 2px 12px; align-self: flex-start; margin-bottom: 10px; }
.plan h3 { font-size: 22px; margin-bottom: 4px; }
.price { font-size: 34px; font-weight: 700; color: var(--accent-deep); line-height: 1.3; margin-bottom: 4px; }
.price small { font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.plan .when { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.plan ul { list-style: none; margin: 0 0 22px; font-size: 15px; flex: 1; }
.plan li { padding: 6px 0 6px 22px; position: relative; border-bottom: 1px dashed var(--line); }
.plan li::before { content: "●"; position: absolute; left: 0; color: var(--accent); font-size: 10px; top: 12px; }
.plan li.off { color: #B5A3AB; }
.plan li.off::before { content: "–"; color: #B5A3AB; font-size: 14px; top: 6px; }
.plan .btn { text-align: center; padding: 14px 10px; }

.guarantee { max-width: 720px; margin: 0 auto; background: #fff; border: 2px solid var(--accent); border-radius: 20px; padding: 28px; text-align: center; }
.guarantee h3 { font-size: 24px; margin-bottom: 12px; color: var(--accent-deep); }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin: 0 auto 10px; max-width: 720px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; color: var(--accent); font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 18px 12px; font-size: 15px; }

.cta-band { text-align: center; padding: 56px 0; background: var(--accent-tint); }
.cta-band h2 { font-size: clamp(22px, 4.4vw, 30px); margin-bottom: 22px; }

/* footer */
.site-foot { padding: 40px 0 48px; font-size: 14px; color: var(--ink-soft); text-align: center; }
.site-foot a { color: var(--ink-soft); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 14px; }

/* sub pages (特商法・規約・プライバシー) */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: clamp(24px, 5vw, 32px); margin-bottom: 8px; }
.doc h2 { font-size: 19px; margin: 34px 0 10px; }
.doc .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 26px; }
.doc table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.doc th { width: 30%; background: var(--sage-tint); font-weight: 700; }
@media (max-width: 640px) { .doc th, .doc td { display: block; width: 100%; } .doc th { border-bottom: 0; } }
.doc ol, .doc ul { padding-left: 1.4em; }
.doc li { margin-bottom: .4em; }

/* 公開前の目印（check.sh が見つける）。公開前に必ず消す */
.todo { background: #FFF1A8; border-radius: 4px; padding: 0 4px; font-weight: 500; }
.draft-banner { background: #FFF1A8; padding: 12px 20px; text-align: center; font-size: 14px; }
