/* ============================================================
   たかはし音楽教室 デザインカンプ P1「えほん」
   バナー実測パレット: cream #FDF8F0 / beige #F3E9D6 / sage #627351
                       coral #FE7985 / brown #5E492F / gold #D9A26E
   Fonts: Zen Maru Gothic(見出し) / Noto Sans JP(本文)
   方針: 丸い・やわらかい・絵本のページ。波の区切り、ぽってりカード。
   ============================================================ */
:root {
  --cream: #FDF8F0; --cream-2: #F9F4EB; --beige: #F3E9D6; --beige-2: #E6D5AA;
  --sage: #627351; --sage-2: #77865D; --sage-pale: #E7ECDF;
  --coral: #FE7985; --coral-2: #F59F98; --coral-pale: #FDE3E2;
  --brown: #5E492F; --brown-2: #90684B; --gold: #D9A26E;
  --line: #06C755; --line-dark: #05a847;
  --ink: var(--brown); --muted: #8A7560;
  --radius: 26px; --radius-s: 16px;
  --shadow: 0 18px 40px -22px rgba(94,73,47,.28);
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: "Noto Sans JP", sans-serif; font-size: 16px; line-height: 1.9;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; word-break: auto-phrase; text-wrap: pretty;
}
a { color: var(--sage); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
sup { font-size: .55em; vertical-align: super; }
.pc { display: inline; } .sp { display: none; }
@media (max-width: 700px) { .pc { display: none; } .sp { display: inline; } }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.wrap--wide { max-width: 1200px; }
.wrap--mid { max-width: 860px; }
.center { text-align: center; }
.sec { padding: 84px 0; position: relative; }
[id] { scroll-margin-top: 84px; }

.eyebrow { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .14em; color: var(--coral); margin: 0 0 12px; text-align: center; }
.eyebrow::before { content: "♪"; margin-right: .5em; color: var(--gold); }
.eyebrow--light { color: #fff; } .eyebrow--light::before { color: #FFE2B8; }
.h2 { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: clamp(25px, 4.4vw, 36px); line-height: 1.5; letter-spacing: .02em; text-align: center; color: var(--brown); margin-bottom: 28px; }
.h2--light { color: #fff; }
.lead { font-size: 16.5px; max-width: 680px; margin: 0 auto 36px; }
.note { font-size: 13px; color: var(--muted); margin-top: 20px; line-height: 1.7; }

/* ---- 仮置きハイライト（カンプ用） ---- */
.show-tbd .tbd { outline: 2px dashed var(--coral); outline-offset: 3px; position: relative; }
.show-tbd .tbd::after { content: "仮 " attr(data-tbd); position: absolute; left: 0; top: 100%; z-index: 5; font-size: 11px; line-height: 1.4; background: var(--coral); color: #fff; padding: 2px 7px; border-radius: 6px; white-space: nowrap; max-width: 320px; overflow: hidden; text-overflow: ellipsis; font-family: "Noto Sans JP", sans-serif; font-weight: 500; pointer-events: none; }
.show-tbd img.tbd::after { display: none; }

/* ---- devbar ---- */
.devbar { position: fixed; bottom: 14px; right: 14px; z-index: 300; display: flex; align-items: center; gap: 6px; background: rgba(94,73,47,.92); color: #fff; padding: 6px 8px 6px 12px; border-radius: 999px; font-size: 12px; backdrop-filter: blur(8px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.devbar__label { font-weight: 700; margin-right: 4px; }
.devbar__sep { opacity: .7; }
.devbar__btn { appearance: none; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font: inherit; font-size: 12px; padding: 4px 10px; border-radius: 999px; cursor: pointer; }
.devbar__btn.is-on { background: #fff; color: var(--brown); border-color: #fff; font-weight: 700; }
.devbar__btn--tbd[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); }
@media (max-width: 700px) { .devbar { bottom: 86px; right: 8px; left: 8px; justify-content: center; } }

/* ---- header ---- */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: rgba(253,248,240,.9); backdrop-filter: blur(10px); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(94,73,47,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--brown); }
.logo__mark { width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 22px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 18px; }
.logo__sub { font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__link { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 14.5px; color: var(--brown); position: relative; padding: 6px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--coral); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; background: var(--line); color: #fff; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 14px; padding: 11px 18px; border-radius: 999px; box-shadow: 0 8px 18px rgba(6,199,85,.3); transition: transform .25s var(--ease); }
.nav__cta:hover { transform: translateY(-2px); }
.line-dot { width: 18px; height: 18px; border-radius: 50%; background: #fff; display: inline-block; position: relative; flex: none; }
.line-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50% 50% 50% 10%; background: var(--line); }
.menu-btn { display: none; appearance: none; border: 0; background: transparent; width: 46px; height: 46px; padding: 11px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 3px; border-radius: 3px; background: var(--brown); transition: transform .3s var(--ease), opacity .2s; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }
@media (max-width: 960px) { .nav { display: none; } .menu-btn { display: flex; } }

.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(94,73,47,.35); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 84vw); background: var(--cream); padding: 90px 26px 30px; display: flex; flex-direction: column; gap: 4px; transform: translateX(100%); transition: transform .4s var(--ease); border-radius: 28px 0 0 28px; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel a { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 17px; color: var(--brown); padding: 13px 10px; border-bottom: 1px dashed var(--beige-2); }
.drawer__panel .drawer__cta { margin-top: 18px; background: var(--line); color: #fff; border: 0; border-radius: 999px; text-align: center; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 15px; }
body.drawer-open { overflow: hidden; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 16px; padding: 15px 28px; border-radius: 999px; transition: transform .25s var(--ease), box-shadow .25s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn--line { background: var(--line); color: #fff; box-shadow: 0 10px 22px rgba(6,199,85,.32); }
.btn--ghost { background: #fff; color: var(--sage); border: 2px solid var(--sage); }
.btn--lg { font-size: 18px; padding: 18px 36px; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; }
html:not([data-copy="b"]) .hero__b { display: none; }
html[data-copy="b"] .hero__a { display: none; }
.hero__banner img { width: 100%; height: auto; }
.hero__a-body { text-align: center; padding: 34px 20px 54px; }
.hero__a-title { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: clamp(22px, 3.6vw, 32px); line-height: 1.55; color: var(--sage); margin-bottom: 14px; }
.hero__lead { font-size: 16px; color: var(--ink); max-width: 720px; margin: 0 auto 24px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 700px) {
  .hero__banner { aspect-ratio: 3 / 2; overflow: hidden; }
  .hero__banner img { width: 100%; height: 100%; object-fit: cover; object-position: 21% 50%; }
  .hero__btns { flex-direction: column; } .hero__btns .btn { width: 100%; }
}
.hero__eyebrow { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; color: var(--coral); letter-spacing: .1em; font-size: 14px; margin-bottom: 14px; }
.hero__eyebrow::before { content: "♪ "; color: var(--gold); }
.hero__b { position: relative; min-height: 600px; display: grid; align-items: center; background: radial-gradient(60% 80% at 80% 50%, var(--beige) 0, transparent 70%), var(--cream); }
.hero__b-visual { position: absolute; right: -6%; top: 50%; transform: translateY(-50%); width: 62%; aspect-ratio: 3 / 2; border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%; overflow: hidden; box-shadow: var(--shadow); }
.hero__b-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__b-body { position: relative; z-index: 1; padding: 70px 20px; max-width: 1200px; width: 100%; }
.hero__b-title { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: clamp(30px, 4.8vw, 50px); line-height: 1.4; color: var(--brown); margin-bottom: 20px; max-width: 12em; }
.hero__b .hero__lead { margin: 0 0 26px; max-width: 30em; }
.hero__b .hero__btns { justify-content: flex-start; }
@media (max-width: 860px) {
  .hero__b { min-height: 0; display: block; }
  .hero__b-visual { position: relative; right: auto; top: auto; transform: none; width: calc(100% - 40px); margin: 20px auto 0; aspect-ratio: 4 / 3; }
  .hero__b-body { padding: 28px 20px 48px; }
  .hero__b-title { max-width: none; }
}

/* ---- 波の区切り ---- */
.worry, .promise, .teacher, .access { background: var(--cream); }
.yukkuri, .course, .faq { background: var(--beige); }
.flow, .trial { background: var(--cream-2); }
.yukkuri::before, .course::before, .faq::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 42px; background: var(--cream) ; clip-path: ellipse(60% 100% at 50% 0); }
.yukkuri::before, .course::before, .faq::before { background: var(--cream); }
.course::before { background: var(--cream); }

/* ---- worry ---- */
.worry { padding-top: 70px; }
.worry__list { max-width: 640px; margin: 0 auto 28px; display: grid; gap: 10px; }
.worry__list li { background: #fff; border-radius: var(--radius-s); padding: 14px 18px 14px 16px; display: flex; align-items: center; gap: 12px; font-weight: 500; box-shadow: 0 10px 24px -18px rgba(94,73,47,.35); }
.worry__check { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--coral); position: relative; flex: none; }
.worry__check::after { content: ""; position: absolute; left: 8px; top: 3px; width: 6px; height: 12px; border: solid var(--coral); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.worry__answer { text-align: center; font-size: 17px; }
.worry__answer strong { color: var(--sage); background: linear-gradient(transparent 60%, var(--coral-pale) 60%); padding: 0 .1em; }

/* ---- yukkuri ---- */
.yukkuri__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.yukkuri .eyebrow, .yukkuri .h2 { text-align: left; }
.yukkuri__text p + p { margin-top: 14px; }
.yukkuri__points { margin: 26px 0 0; display: grid; gap: 10px; }
.yukkuri__points li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; background: #fff; border-radius: var(--radius-s); padding: 14px 18px; }
.yukkuri__points b { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; color: var(--coral); font-size: 17px; white-space: nowrap; }
.yukkuri__points span { font-size: 15px; }
.yukkuri__fig img { border-radius: var(--radius); box-shadow: var(--shadow); }
.quote { margin-top: 18px; background: #fff; border-radius: var(--radius-s); padding: 18px 22px 18px 44px; position: relative; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; color: var(--sage); line-height: 1.8; }
.quote__mark { position: absolute; left: 16px; top: 8px; font-size: 40px; color: var(--coral); line-height: 1; }
@media (max-width: 860px) { .yukkuri__grid { grid-template-columns: 1fr; gap: 28px; } .yukkuri .h2 { text-align: center; } .yukkuri .eyebrow { text-align: center; } }

/* ---- promise ---- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.promise__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.promise__card { padding: 30px 26px 28px; position: relative; }
.promise__num { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 15px; color: #fff; background: var(--sage); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; }
.promise__card h3 { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 19px; color: var(--brown); margin-bottom: 8px; }
.promise__card p { font-size: 15px; }
.promise__photo { max-width: 520px; margin: 0 auto; }
.promise__photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 860px) { .promise__grid { grid-template-columns: 1fr; } }

/* ---- flow ---- */
.flow__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.flow__item { background: #fff; border-radius: var(--radius-s); padding: 22px 18px 20px; text-align: center; position: relative; }
.flow__step { width: 44px; height: 44px; border-radius: 50%; background: var(--coral); color: #fff; font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 20px; display: grid; place-items: center; margin: 0 auto 12px; }
.flow__item b { display: block; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 16px; color: var(--brown); margin-bottom: 6px; line-height: 1.5; }
.flow__item div span { font-size: 14px; color: var(--muted); display: block; line-height: 1.7; }
.flow__item:not(:last-child)::after { content: "▶"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 12px; }
@media (max-width: 760px) {
  .flow__list { grid-template-columns: 1fr; }
  .flow__item { display: grid; grid-template-columns: auto 1fr; gap: 14px; text-align: left; align-items: center; }
  .flow__step { margin: 0; }
  .flow__item:not(:last-child)::after { content: "▼"; right: auto; left: 30px; top: auto; bottom: -16px; transform: none; }
}

/* ---- course ---- */
.course__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.course__card { overflow: hidden; display: flex; flex-direction: column; }
.course__img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.course__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.course__age { display: inline-block; align-self: flex-start; background: var(--coral-pale); color: var(--coral); font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 13px; padding: 3px 12px; border-radius: 999px; margin-bottom: 8px; }
.course__name { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 21px; color: var(--brown); margin-bottom: 8px; }
.course__desc { font-size: 14.5px; margin-bottom: 16px; flex: 1; }
.course__spec { border-top: 1px dashed var(--beige-2); padding-top: 12px; display: grid; gap: 6px; }
.course__spec div { display: grid; grid-template-columns: 52px 1fr; gap: 8px; font-size: 14px; }
.course__spec dt { color: var(--muted); font-weight: 500; }
.course__spec dd { font-weight: 700; color: var(--brown); }
@media (max-width: 900px) { .course__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* ---- cta band ---- */
.cta-band { background: linear-gradient(135deg, var(--sage) 0%, var(--sage-2) 100%); color: #fff; padding: 76px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: "♪"; position: absolute; font-family: "Zen Maru Gothic", sans-serif; font-size: 160px; color: rgba(255,255,255,.08); line-height: 1; }
.cta-band::before { left: 4%; top: -20px; } .cta-band::after { right: 5%; bottom: -40px; content: "♫"; }
.cta-band .h2 { margin-bottom: 18px; }
.cta-band__price { display: inline-flex; align-items: center; gap: 14px; background: rgba(255,255,255,.14); border-radius: 999px; padding: 10px 26px; margin-bottom: 14px; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; }
.cta-band__old { text-decoration: line-through; opacity: .85; font-size: 16px; }
.cta-band__new { font-size: 30px; font-weight: 900; color: #FFE2B8; }
.cta-band__how { margin-bottom: 22px; font-size: 15.5px; }
.cta-band__alt { margin-top: 18px; font-size: 13.5px; opacity: .9; }
.cta-band__alt a { color: #fff; text-decoration: underline; }

/* ---- teacher ---- */
.teacher__grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; margin-bottom: 44px; }
.teacher__fig img { border-radius: 50%; box-shadow: var(--shadow); border: 8px solid #fff; }
.teacher .eyebrow, .teacher .h2 { text-align: left; }
.teacher__name { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 20px; color: var(--sage); margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; }
.teacher__name small { font-size: 13px; color: var(--muted); font-weight: 500; }
.teacher__text p + p { margin-top: 12px; }
.teacher__home { background: var(--beige); border-radius: var(--radius-s); padding: 14px 18px; font-size: 15px; }
.voices { background: #fff; border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); }
.voices__title { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; color: var(--brown); font-size: 18px; margin-bottom: 14px; }
.voices__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.voices__list li { background: var(--coral-pale); color: var(--brown); border-radius: 999px; padding: 8px 18px; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; }
@media (max-width: 860px) { .teacher__grid { grid-template-columns: 1fr; gap: 24px; } .teacher__fig { max-width: 220px; margin: 0 auto; } .teacher .eyebrow, .teacher .h2 { text-align: center; } }

/* ---- trial ---- */
.trial__list { display: grid; gap: 12px; max-width: 640px; margin: 0 auto 32px; counter-reset: t; }
.trial__list li { background: #fff; border-radius: var(--radius-s); padding: 16px 20px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; }
.trial__num { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: #fff; font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; display: grid; place-items: center; font-size: 18px; }
.trial__list b { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 16.5px; color: var(--brown); }
.trial__list span:last-child { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.trial__photo { max-width: 420px; margin: 0 auto; }
.trial__photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }

/* ---- faq ---- */
.faq__list { display: grid; gap: 10px; }
.faq__item { background: #fff; border-radius: var(--radius-s); padding: 0 22px; }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 36px; position: relative; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 16px; color: var(--brown); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "Q"; position: absolute; left: 0; top: 17px; color: var(--coral); font-weight: 900; font-size: 18px; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--sage); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 18px 36px; font-size: 15px; position: relative; }
.faq__a::before { content: "A"; position: absolute; left: 0; top: -2px; color: var(--sage); font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 18px; }

/* ---- access ---- */
.access__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.access__photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.access__dl { display: grid; gap: 0; background: #fff; border-radius: var(--radius-s); padding: 8px 20px; margin-bottom: 16px; }
.access__dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--beige-2); font-size: 15px; }
.access__dl div:last-child { border-bottom: 0; }
.access__dl dt { color: var(--muted); font-weight: 500; }
.access__map { background: var(--sage-pale); border-radius: var(--radius-s); aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--sage); font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; }
@media (max-width: 860px) { .access__grid { grid-template-columns: 1fr; } }

/* ---- final ---- */
.final { background: var(--coral-pale); padding: 80px 0 110px; text-align: center; position: relative; }
.final::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 42px; background: var(--cream); clip-path: ellipse(60% 100% at 50% 0); }
.final__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (max-width: 700px) { .final__btns { flex-direction: column; } .final__btns .btn { width: 100%; } }

/* ---- footer ---- */
.footer { background: var(--brown); color: #F3E9D6; padding: 46px 0 110px; }
.footer__name { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; font-size: 20px; margin-bottom: 14px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 16px; }
.footer__nav a, .footer__sns a { color: #F3E9D6; font-size: 14px; }
.footer__sns { display: flex; justify-content: center; gap: 18px; margin-bottom: 18px; }
.footer__sns a { text-decoration: underline; }
.footer__copy { font-size: 12px; opacity: .7; }
@media (min-width: 701px) { .footer { padding-bottom: 46px; } }

/* ---- sticky ---- */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: rgba(253,248,240,.95); backdrop-filter: blur(10px); border-top: 1px solid var(--beige); transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky.is-visible { transform: none; }
.sticky__inner { max-width: 640px; margin: 0 auto; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: .8fr 1.4fr; gap: 10px; }
.sticky__sub, .sticky__line { display: flex; align-items: center; justify-content: center; gap: 8px; font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 15px; padding: 13px 8px; border-radius: 999px; }
.sticky__sub { background: #fff; border: 2px solid var(--sage); color: var(--sage); }
.sticky__line { background: var(--line); color: #fff; box-shadow: 0 8px 18px rgba(6,199,85,.35); }
@media (min-width: 701px) { .sticky { display: none; } }

/* ---- reveal ---- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.promise__grid.is-in .promise__card, .course__grid.is-in .course__card, .flow__list.is-in .flow__item { animation: pop .6s var(--ease) both; }
.promise__card:nth-child(2), .course__card:nth-child(2), .flow__item:nth-child(2) { animation-delay: .1s !important; }
.promise__card:nth-child(3), .course__card:nth-child(3), .flow__item:nth-child(3) { animation-delay: .2s !important; }
.flow__item:nth-child(4) { animation-delay: .3s !important; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .promise__grid.is-in .promise__card, .course__grid.is-in .course__card, .flow__list.is-in .flow__item { animation: none; }
  .btn, .nav__cta { transition: none; }
}

/* 一覧へ戻る（確認用） */
.devbar__back { text-decoration: none; color: #fff; }
