/* くらしのお金教室 コツミ（架空の講座）の無料体験会の申込LP
   根拠：ポートフォリオ構成_Fable判断.md の W4、output/analysis/02_実サイト/analysis/ad_lp.json・members_club.json・personal_gym.json・clinic.json
   - 縦長の1本の列（PC は幅 720px、左右に飾りと目次）。スマホ優先
   - 地は生成りがかった白、主色は黄、文字は墨紺、申込ボタンは緑。見出しは丸ゴシック、数字は Poppins
   - 写真は使わず、SVG の図と顔のない人物のイラストで描く
   - 申込の入口は「無料体験会」の1つだけ。ボタンは4か所（最初の画面・料金・3ステップのあと・最後）＋追従
   - 金融商品の名前・利回り・「必ず増える」は書かない。勧誘と助言をしないこと、成果を保証しないことを注記 */
:root {
  --bg: #fffaf0;
  --bg-2: #fff3d9;
  --yellow: #ffc83d;
  --yellow-2: #fff1c7;
  --ink: #1f2a44;
  --muted: #4a5468;
  --green: #058743;  /* 白い文字と 4.61:1（小さいボタンの文字も読める） */
  --green-d: #03602f;
  --label: #8a5f00;
  --line: #1f2a44;
  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --sans: "Noto Sans JP", "Yu Gothic", sans-serif;
  --num: "Poppins", "Noto Sans JP", sans-serif;
  --col: 720px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .03em;
  background: #fbefcf radial-gradient(#f3dfa8 1.4px, transparent 1.6px) 0 0 / 22px 22px;
  -webkit-font-smoothing: antialiased; font-feature-settings: "palt" 1; line-break: strict; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
.nw { white-space: nowrap; }
.sp { display: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
section[id] { scroll-margin-top: 16px; }

/* ---------- 列（PC は 720px の1本） ---------- */
.col { position: relative; z-index: 1; max-width: var(--col); margin: 0 auto; background: var(--bg); box-shadow: 0 0 0 2px var(--line), 0 30px 80px rgba(31, 42, 68, .12); overflow: hidden; }
section { padding: 96px 48px; }
section:nth-of-type(even) { background: var(--bg-2); }

/* ---------- 共通の見出し・注釈 ---------- */
.en { font-family: var(--num); font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--label); text-align: center; }
.h2 { font-family: var(--round); font-weight: 700; font-size: 32px; line-height: 1.5; letter-spacing: .04em; text-align: center; margin-top: 6px; }
.mk { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 92%, transparent 92%) no-repeat 0 0 / 100% 100%; padding: 0 2px; }
.js [data-reveal] .mk { background-size: 0 100%; transition: background-size 1s .35s var(--ease); }
.js [data-reveal].is-in .mk { background-size: 100% 100%; }
.notes { margin-top: 20px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 申込ボタン（緑・ピル型。白い文字は太字 18px 以上） ---------- */
.cta { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 520px; min-height: 80px; margin: 0 auto;
  padding: 0 56px 0 24px; border: 0; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--round); font-weight: 700; font-size: 21px;
  letter-spacing: .04em; cursor: pointer; box-shadow: 0 6px 0 var(--green-d), 0 14px 26px rgba(3, 96, 47, .25); transition: transform .15s, box-shadow .15s; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: 26px; top: 50%; width: 11px; height: 11px; margin-top: -6px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: rotate(45deg); }
.cta::before { content: ""; position: absolute; top: 0; left: -40%; width: 28%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .3), transparent); animation: shine 3.8s 1.6s infinite; }
@keyframes shine { 0% { left: -40%; } 30%, 100% { left: 120%; } }
.cta:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--green-d); }
.cta__tag { flex: none; font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink); background: var(--yellow); border-radius: 999px; padding: 3px 11px; }
.cta.is-small { min-height: 56px; max-width: 200px; font-size: 18px; padding: 0 40px 0 20px; box-shadow: 0 4px 0 var(--green-d); }
.cta.is-small::after { right: 18px; width: 9px; height: 9px; margin-top: -5px; }
.cta.is-plan { min-height: 60px; font-size: 16px; padding: 0 30px 0 12px; white-space: nowrap; letter-spacing: .02em; box-shadow: 0 4px 0 var(--green-d); }
.cta.is-plan::after { right: 13px; width: 8px; height: 8px; margin-top: -5px; border-width: 2.5px; }
.assure { margin-top: 14px; text-align: center; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.assure::before { content: ""; display: inline-block; width: 9px; height: 5px; margin: 0 8px 4px 0; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.mid-cta { margin-top: 48px; }

/* ---------- ヘッダー ---------- */
.header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 28px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--round); font-weight: 700; font-size: 14px; letter-spacing: .06em; line-height: 1.2; }
.logo b { font-size: 21px; margin-left: 3px; letter-spacing: .1em; }
.logo__mark { position: relative; width: 24px; height: 24px; flex: none; }
.logo__mark::before, .logo__mark::after { content: ""; position: absolute; left: 0; width: 24px; height: 9px; border: 2.5px solid var(--line); border-radius: 50%; background: var(--yellow); }
.logo__mark::before { top: 12px; }
.logo__mark::after { top: 4px; }
.logo.is-light { color: #fff; }
.logo.is-light .logo__mark::before, .logo.is-light .logo__mark::after { border-color: #fff; }
.header__cta { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-family: var(--round); font-weight: 700; font-size: 14px; padding: 0 18px; border: 2px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 3px 0 var(--line); }

/* ---------- ① 最初の画面 ---------- */
.fv { padding: 12px 48px 56px; text-align: center; }
.fv__worry { display: inline-block; position: relative; font-weight: 700; font-size: 15px; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 9px 20px; }
.fv__worry::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 14px; height: 14px; margin-left: -7px; background: #fff; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(45deg); }
.fv__title { margin-top: 26px; font-family: var(--round); font-weight: 700; font-size: 44px; line-height: 1.42; letter-spacing: .03em; }
.fv__title .mk { animation: mk-in 1.1s .5s var(--ease) both; }
@keyframes mk-in { from { background-size: 0 100%; } to { background-size: 100% 100%; } }
.fv__sub { margin-top: 12px; font-size: 16px; font-weight: 500; color: var(--muted); }
.fv__art { max-width: 400px; margin: 10px auto 0; }
.art-coin { animation: coin 2.8s ease-in-out infinite; transform-origin: 261px 104px; }
@keyframes coin { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.fv__badges { display: flex; justify-content: center; gap: 14px; margin: 8px 0 26px; }
.fv__badges li { width: 100px; height: 100px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--round); font-weight: 700; font-size: 14px; line-height: 1.2; box-shadow: 0 4px 0 var(--line); }
.fv__badges b { font-family: var(--num); font-weight: 700; font-size: 30px; line-height: 1.05; }

/* ---------- ② 知りたいところへ ---------- */
.jump { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 0 48px 56px; }
.jump a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px 12px; background: #fff; border: 2px solid var(--line); border-radius: 16px;
  box-shadow: 0 4px 0 var(--line); font-family: var(--round); font-weight: 700; font-size: 15px; line-height: 1.3; transition: transform .15s, box-shadow .15s; }
.jump a:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--line); }
.jump svg { width: 28px; height: 28px; color: var(--ink); }

/* ---------- ③ 悩みの吹き出し ---------- */
.worry__list { margin-top: 36px; display: grid; gap: 16px; }
.worry__list li { position: relative; width: 82%; padding: 16px 22px; background: #fff; border: 2px solid var(--line); border-radius: 22px; font-weight: 700; font-size: 16px; line-height: 1.7; }
.worry__list li::after { content: ""; position: absolute; bottom: -9px; width: 16px; height: 16px; background: #fff; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.worry__list li:nth-child(odd)::after { left: 38px; transform: rotate(45deg); }
.worry__list li:nth-child(even) { justify-self: end; }
.worry__list li:nth-child(even)::after { right: 38px; transform: rotate(45deg); }
.worry__person { width: 120px; margin: 26px auto 0; }

/* ---------- ④ 原因と解決（3コマ） ---------- */
.why__list { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why__list li { position: relative; padding: 16px 14px 20px; background: #fff; border: 2px solid var(--line); border-radius: 20px; text-align: center; }
.why__list li + li::before { content: ""; position: absolute; left: -22px; top: 50%; border: 9px solid transparent; border-left: 12px solid var(--line); margin-top: -9px; }
.why__list svg { width: 100%; max-width: 160px; margin: 6px auto 4px; }
.why__tag { display: inline-block; font-family: var(--round); font-weight: 700; font-size: 12.5px; padding: 2px 12px; border-radius: 999px; background: var(--yellow); }
.why__tag.is-cause { background: #e9ecf2; }
.why__list h3 { font-family: var(--round); font-weight: 700; font-size: 17px; line-height: 1.5; }
.why__list p:last-child { margin-top: 6px; font-size: 13.5px; line-height: 1.75; color: var(--muted); text-align: left; }
.why__lead { margin-top: 34px; text-align: center; font-family: var(--round); font-weight: 700; font-size: 19px; line-height: 1.7; }
.why__lead b { background: linear-gradient(transparent 62%, var(--yellow) 62%); }

/* ---------- ⑤ 特長 01〜04 ---------- */
.feature__list { margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature__list li { position: relative; padding: 24px 22px 22px; background: #fff; border: 2px solid var(--line); border-radius: 22px; }
.feature__list .no { position: absolute; top: -16px; left: 18px; font-family: var(--num); font-weight: 700; font-size: 15px; color: var(--ink); background: var(--yellow); border: 2px solid var(--line); border-radius: 999px; padding: 1px 12px; }
.feature__list svg { width: 48px; height: 48px; }
.feature__list h3 { margin-top: 10px; font-family: var(--round); font-weight: 700; font-size: 18px; line-height: 1.5; }
.feature__list p:last-child { margin-top: 8px; font-size: 14.5px; line-height: 1.8; color: var(--muted); }

/* ---------- ⑥ カリキュラム（開閉） ---------- */
.curriculum__meta { margin: 14px auto 0; width: fit-content; font-size: 13.5px; font-weight: 700; padding: 4px 16px; border-radius: 999px; background: #fff; border: 2px solid var(--line); }
.curriculum__list, .faq__list { margin-top: 30px; display: grid; gap: 12px; }
details { background: #fff; border: 2px solid var(--line); border-radius: 18px; overflow: hidden; }
summary { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 52px 16px 18px; cursor: pointer; list-style: none; font-family: var(--round); font-weight: 700; font-size: 17px; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary:focus-visible { outline-offset: -4px; border-radius: 14px; }
summary::before, summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 14px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
details p { padding: 0 20px 18px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.curriculum .num { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--num); font-size: 15px; }
.curriculum details p { padding-left: 74px; }

/* ---------- ⑦ 比較表（自社の列を太い枠で） ---------- */
.compare__wrap { margin-top: 32px; }
.compare__table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: #fff; border-radius: 18px; }
.compare__table th, .compare__table td { padding: 14px 6px; text-align: center; vertical-align: middle; border-bottom: 1.5px solid #e3dccb; font-size: 13.5px; line-height: 1.45; }
.compare__table thead th { font-family: var(--round); font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--line); padding: 14px 4px; }
.compare__table tbody th { text-align: left; padding-left: 14px; font-family: var(--round); font-weight: 700; font-size: 14px; width: 30%; word-break: keep-all; }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__table .is-us { background: var(--yellow-2); border-left: 3px solid var(--line); border-right: 3px solid var(--line); font-weight: 700; }
.compare__table thead .is-us { background: var(--ink); color: #fff; border-top: 3px solid var(--line); border-radius: 14px 14px 0 0; }
.compare__table tbody tr:last-child .is-us { border-bottom: 3px solid var(--line); border-radius: 0 0 14px 14px; }
.compare__table td span { display: block; margin-top: 5px; }
.m { display: inline-block; width: 22px; height: 22px; vertical-align: middle; position: relative; }
.m.is-o { border-radius: 50%; border: 3.5px solid var(--green); }
.m.is-o::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 2px solid var(--green); }
.m.is-t { width: 24px; background: #d98a00; clip-path: polygon(50% 4%, 100% 92%, 0 92%); }
.m.is-t::after { content: ""; position: absolute; inset: 0; background: #fff; clip-path: polygon(50% 34%, 78% 80%, 22% 80%); }
.m.is-x::before, .m.is-x::after { content: ""; position: absolute; left: 50%; top: 0; width: 3.5px; height: 22px; margin-left: -1.75px; background: #8b93a3; border-radius: 2px; transform: rotate(45deg); }
.m.is-x::after { transform: rotate(-45deg); }
.m.is-n::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; margin-top: -1.5px; background: #8b93a3; border-radius: 2px; }
.mlegend { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 12.5px; color: var(--muted); }
.mlegend span { display: inline-flex; align-items: center; gap: 6px; }
.mlegend .m { transform: scale(.8); }

/* ---------- ⑧ 講師 ---------- */
.teacher__card { margin-top: 32px; display: grid; grid-template-columns: 110px 1fr; gap: 22px; align-items: start; padding: 26px; background: #fff; border: 2px solid var(--line); border-radius: 22px; }
.teacher__initial { width: 110px; height: 110px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--line); display: grid; place-items: center; font-family: var(--round); font-weight: 700; font-size: 46px; box-shadow: 0 4px 0 var(--line); }
.teacher__role { font-size: 13px; font-weight: 700; color: var(--label); white-space: nowrap; }
p, li { text-wrap: pretty; }
.teacher__name { font-family: var(--round); font-weight: 700; font-size: 22px; line-height: 1.5; }
.teacher__name small { font-family: var(--sans); font-weight: 500; font-size: 12.5px; color: var(--muted); margin-left: 10px; letter-spacing: .08em; }
.teacher__card p:last-child { margin-top: 8px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.teacher__msg { position: relative; margin: 26px 0 0 auto; max-width: 88%; padding: 16px 22px; background: var(--yellow); border: 2px solid var(--line); border-radius: 20px; font-family: var(--round); font-weight: 700; font-size: 16px; line-height: 1.75; }
.teacher__msg::after { content: ""; position: absolute; top: -9px; left: 46px; width: 16px; height: 16px; background: var(--yellow); border-left: 2px solid var(--line); border-top: 2px solid var(--line); transform: rotate(45deg); }

/* ---------- ⑨ 声（横にめくる） ---------- */
.voice__wrap { margin-top: 32px; }
.voice__list { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px; padding: 4px 2px 10px; scrollbar-width: none; }
.voice__list::-webkit-scrollbar { display: none; }
.voice { padding-left: 32px; padding-right: 32px; }
.voice__list li { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; padding: 20px 16px; background: #fff; border: 2px solid var(--line); border-radius: 22px; }
.voice__head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--muted); }
.voice__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow-2); border: 2px solid var(--line); font-family: var(--num); font-size: 13px; color: var(--ink); }
.voice__title { margin-top: 12px; font-family: var(--round); font-weight: 700; font-size: 15px; letter-spacing: 0; line-height: 1.5; }
.voice__list li p:last-child { margin-top: 8px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.voice__ctrl { display: none; margin-top: 16px; align-items: center; justify-content: center; gap: 18px; }
.voice__ctrl button:disabled { opacity: .35; cursor: default; }
.voice__ctrl button { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 0 var(--line); }
.voice__ctrl button svg { width: 20px; height: 20px; }
.voice__dots { display: flex; gap: 8px; }
.voice__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d8cfb8; transition: background .2s, width .2s; }
.voice__dots i.is-on { width: 26px; border-radius: 6px; background: var(--ink); }

/* ---------- ⑩ 料金 ---------- */
.price { padding-left: 32px; padding-right: 32px; }
.price__lead { margin-top: 14px; text-align: center; font-size: 15px; font-weight: 500; color: var(--muted); }
.price__list { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 14px 20px; background: #fff; border: 2px solid var(--line); border-radius: 22px; text-align: center; }
.plan.is-main { border: 4px solid var(--green); padding-top: 30px; box-shadow: 0 10px 26px rgba(5, 135, 67, .18); transform: translateY(-8px); }
.plan__label { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--round); font-weight: 700; font-size: 13px; padding: 3px 14px; border-radius: 999px; background: var(--yellow); border: 2px solid var(--line); }
.plan__name { font-family: var(--round); font-weight: 700; font-size: 17px; }
.plan__price { margin-top: 6px; font-family: var(--round); font-weight: 700; font-size: 15px; line-height: 1.2; }
.plan__price b { font-family: var(--num); font-weight: 700; font-size: 34px; letter-spacing: 0; margin-right: 2px; }
.plan__price small { display: block; margin-top: 4px; font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--muted); }
.plan__items { margin: 14px 0 16px; padding-top: 14px; border-top: 1.5px dashed #d8cfb8; display: grid; gap: 6px; text-align: left; font-size: 13.5px; line-height: 1.6; }
.plan__items li { position: relative; padding-left: 20px; }
.plan__items li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 9px; height: 5px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.plan .cta, .plan__note { margin-top: auto; }
.plan__note { font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 10px 6px; background: var(--bg); border-radius: 12px; }

/* ---------- ⑪ 3ステップ ---------- */
.steps__list { margin-top: 34px; display: grid; gap: 18px; position: relative; }
.steps__list li { position: relative; display: grid; grid-template-columns: 76px 1fr 48px; gap: 16px; align-items: center; padding: 18px 20px; background: #fff; border: 2px solid var(--line); border-radius: 20px; }
.steps__list li + li::before { content: ""; position: absolute; left: 56px; top: -20px; height: 20px; border-left: 3px dotted var(--line); }
.steps__no { width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--num); font-weight: 700; font-size: 12px; letter-spacing: .08em; line-height: 1; }
.steps__no b { font-size: 26px; margin-top: 3px; letter-spacing: 0; }
.steps__list h3 { font-family: var(--round); font-weight: 700; font-size: 18px; line-height: 1.5; }
.steps__icon { width: 48px; height: 48px; }
.steps__list p { margin-top: 2px; font-size: 14.5px; line-height: 1.75; color: var(--muted); }

/* ---------- ⑫ よくある質問 ---------- */
/* 質問の頭に Q の丸、答えの頭に A を置く */
.faq summary { padding-left: 54px; }
.faq details { position: relative; }
.faq details::before { content: "Q"; position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--line); display: grid; place-items: center;
  font-family: var(--num); font-weight: 700; font-size: 14px; line-height: 1; pointer-events: none; }
.faq details p { padding-left: 54px; position: relative; }
.faq details p::before { content: "A"; position: absolute; left: 16px; top: 0; font-family: var(--num); font-weight: 700; font-size: 15px; color: var(--green-d); }

/* ---------- ⑬ 最終の申込 ---------- */
.entry { padding-bottom: 110px; }
.entry__card { padding: 34px 28px 30px; background: var(--yellow); border: 2.5px solid var(--line); border-radius: 26px; box-shadow: 0 8px 0 var(--line); text-align: center; }
.entry__lead { font-family: var(--round); font-weight: 700; font-size: 26px; line-height: 1.55; }
.fv__badges.is-small { margin: 18px 0 22px; gap: 10px; }
.fv__badges.is-small li { width: 84px; height: 84px; background: #fff; font-size: 12.5px; box-shadow: 0 3px 0 var(--line); }
.fv__badges.is-small b { font-size: 24px; }
.form { display: grid; gap: 14px; text-align: left; max-width: 520px; margin: 0 auto; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form input[type="text"], .form input[type="email"] { height: 52px; padding: 0 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font-size: 16px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.form .radio { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 12px; background: #fff; border: 2px solid var(--line); border-radius: 14px; font-size: 14px; cursor: pointer; }
.form .radio input { width: 18px; height: 18px; accent-color: var(--green); margin: 0; }
.form .cta { margin-top: 8px; }
.form .assure { margin-top: 4px; }
.form__msg { min-height: 1.5em; text-align: center; font-weight: 700; font-size: 14px; }

/* ---------- フッター ---------- */
.footer { background: var(--ink); color: #fff; padding: 52px 48px 120px; text-align: center; }
.footer .logo { justify-content: center; }
.footer__law { margin: 22px auto 0; display: grid; gap: 4px; font-size: 13px; line-height: 1.7; }
.footer__nav { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: 13px; }
.footer__nolink { margin-top: 4px; font-size: 12px; color: #d6dbe6; }
.footer__note { margin-top: 18px; font-size: 12px; line-height: 1.8; color: #d6dbe6; }

/* ---------- 追従の申込（最初の画面を過ぎてから） ---------- */
.sticky { position: fixed; z-index: 40; left: 50%; bottom: 14px; width: min(696px, calc(100% - 20px)); display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 10px 10px 22px; background: #fff; border: 2px solid var(--line); border-radius: 22px; box-shadow: 0 10px 30px rgba(31, 42, 68, .22);
  transform: translate(-50%, 160%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.sticky.is-shown { transform: translate(-50%, 0); visibility: visible; transition: transform .45s var(--ease); }
.sticky.is-shown.is-off { transform: translate(-50%, 160%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.sticky .cta { margin: 0; }
.sticky__text { font-family: var(--round); font-weight: 700; font-size: 20px; line-height: 1.3; }
.sticky__text span { display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; color: var(--muted); }

/* ---------- PC の左右（幅が広い画面だけ） ---------- */
.side, .pcnav { display: none; }
@media (min-width: 1240px) {
  .side { display: block; position: fixed; top: 0; bottom: 0; width: calc(50% - var(--col) / 2); pointer-events: none; }
  .side.is-left { left: 0; }
  .side.is-right { right: 0; }
  .doodle { position: absolute; }
  .d1 { width: 76px; left: 18%; bottom: 16%; transform: rotate(-12deg); }
  .d2 { width: 130px; left: 12%; bottom: 8%; }
  .d3 { width: 34px; left: 64%; bottom: 30%; }
  .d4 { width: 96px; right: 22%; top: 14%; transform: rotate(8deg); }
  .d5 { width: 64px; right: 52%; top: 34%; }
  .pcnav { display: block; position: fixed; z-index: 2; top: 90px; left: calc(50% - var(--col) / 2 - 250px); width: 210px; }
  .pcnav__logo { font-family: var(--round); font-weight: 700; font-size: 14px; line-height: 1.4; }
  .pcnav__logo b { display: block; font-size: 30px; letter-spacing: .12em; }
  .pcnav ul { margin-top: 20px; display: grid; gap: 8px; }
  .pcnav a { display: block; padding: 9px 16px; background: #fff; border: 2px solid var(--line); border-radius: 14px; font-family: var(--round); font-weight: 700; font-size: 14px; box-shadow: 0 3px 0 var(--line); }
  .pcnav a:hover { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
  /* PC の追従は右下の箱 */
  .sticky { left: auto; right: max(24px, calc(50% - var(--col) / 2 - 260px)); bottom: 32px; width: 230px; flex-direction: column; align-items: stretch; gap: 12px; padding: 18px 16px 16px; text-align: center;
    transform: translateY(140%); }
  .sticky.is-shown { transform: none; }
  .sticky.is-shown.is-off { transform: translateY(140%); }
  .sticky .cta.is-small { max-width: none; }
}

/* ---------- スマホ ---------- */
@media (max-width: 760px) {
  .sp { display: inline; }
  .pc { display: none; }
  body { font-size: 15px; background: var(--bg); }
  .col { box-shadow: none; }
  section { padding: 72px 20px; }
  .h2 { font-size: 25px; }
  .header { padding: 12px 16px; }
  .logo { font-size: 12.5px; gap: 7px; }
  .logo b { font-size: 18px; }
  .header__cta { font-size: 13px; padding: 6px 14px; }
  .fv { padding: 6px 20px 44px; }
  .fv__worry { font-size: 13.5px; padding: 8px 16px; }
  .fv__title { margin-top: 22px; font-size: 30px; line-height: 1.45; }
  .fv__sub { font-size: 14.5px; line-height: 1.7; }
  .fv__art { max-width: 320px; margin-top: 4px; }
  .fv__badges { gap: 10px; margin: 4px 0 22px; }
  .fv__badges li { width: 88px; height: 88px; font-size: 13px; }
  .fv__badges b { font-size: 26px; }
  .cta { min-height: 80px; font-size: 19px; padding: 0 44px 0 14px; gap: 8px; white-space: nowrap; }
  .cta::after { right: 20px; }
  .cta__tag { font-size: 12px; padding: 3px 9px; }
  .jump { padding: 0 20px 44px; gap: 8px; }
  .jump a { font-size: 13.5px; padding: 12px 4px 10px; }
  .worry__list li { width: 90%; font-size: 15px; padding: 14px 18px; }
  .why__list { grid-template-columns: 1fr; gap: 30px; }
  .why__list li + li::before { left: 50%; top: -26px; margin: 0 0 0 -9px; border: 9px solid transparent; border-top: 12px solid var(--line); }
  .why__list li { display: grid; grid-template-columns: 120px 1fr; gap: 0 12px; align-items: center; text-align: left; padding: 16px; }
  .why__list .why__tag { grid-column: 1 / -1; justify-self: start; }
  .why__list svg { grid-row: 2 / 4; margin: 6px 0 0; }
  .why__list h3 { font-size: 16px; align-self: end; margin-top: 6px; }
  .why__list p:last-child { font-size: 13.5px; align-self: start; }
  .why__lead { font-size: 17px; }
  .feature__list { grid-template-columns: 1fr; gap: 26px; }
  summary { font-size: 15.5px; padding: 14px 46px 14px 14px; gap: 12px; }
  summary::before, summary::after { right: 18px; }
  .curriculum .num { width: 34px; height: 34px; font-size: 13px; }
  .curriculum details p { padding-left: 60px; font-size: 14px; }
  .compare__table th, .compare__table td { padding: 12px 3px; font-size: 12px; }
  .compare__table thead th { font-size: 12.5px; }
  .compare__table tbody th { font-size: 12.5px; padding-left: 10px; width: 28%; }
  .m { width: 20px; height: 20px; }
  .m.is-x::before, .m.is-x::after { height: 20px; }
  .teacher__card { grid-template-columns: 80px 1fr; gap: 16px; padding: 20px; }
  .teacher__initial { width: 80px; height: 80px; font-size: 34px; }
  .teacher__name small { display: block; margin: 0; }
  .teacher__msg { max-width: 94%; font-size: 15px; }
  .voice { padding-left: 20px; padding-right: 20px; }
  .voice__list li { flex-basis: 84%; padding: 22px; }
  .voice__title { font-size: 17px; letter-spacing: .03em; }
  .voice__ctrl { display: flex; }
  .price { padding-left: 20px; padding-right: 20px; }
  .cta.is-plan { font-size: 18px; }
  .price__list { grid-template-columns: 1fr; gap: 26px; }
  .plan { padding: 24px 22px 20px; }
  .plan.is-main { transform: none; }
  .plan__items { font-size: 14px; }
  .steps__list li { grid-template-columns: 64px 1fr 36px; gap: 12px; padding: 16px; }
  .steps__icon { width: 36px; height: 36px; }
  .steps__no { width: 62px; height: 62px; }
  .steps__no b { font-size: 22px; }
  .steps__list li + li::before { left: 47px; }
  .faq details::before { left: 12px; top: 13px; width: 28px; height: 28px; font-size: 13px; }
  .faq summary { padding-left: 50px; }
  .faq details p { padding-left: 50px; font-size: 14px; }
  .faq details p::before { left: 14px; }
  .entry { padding-bottom: 100px; }
  .entry__card { padding: 28px 14px 24px; }
  .entry .cta { font-size: 17px; padding: 0 38px 0 12px; }
  .entry .cta::after { right: 16px; }
  .entry__lead { font-size: 21px; }
  .form fieldset { grid-template-columns: 1fr; }
  .footer { padding: 44px 20px 120px; }
  .sticky { bottom: 10px; padding: 8px 8px 8px 18px; border-radius: 20px; }
  .sticky__text { font-size: 18px; }
  .sticky .cta.is-small { max-width: 170px; min-height: 58px; font-size: 17px; }
}
@media (max-width: 383px) {
  .fv__title { font-size: 7.4vw; }
  .teacher__role { font-size: 12px; letter-spacing: 0; }
  .steps__list li { grid-template-columns: 56px 1fr 30px; gap: 10px; padding: 14px; }
  .steps__no { width: 54px; height: 54px; }
  .steps__icon { width: 30px; height: 30px; }
  .steps__list h3 { font-size: 16px; letter-spacing: 0; }
  .curriculum__meta { border-radius: 18px; text-align: center; }
}
@media (max-width: 350px) {
  .cta__tag { display: none; }
  .steps__list h3 { font-size: 15px; }
  .fv__badges li { width: 76px; height: 76px; }
  .fv__badges.is-small li { width: 76px; height: 76px; }
  .logo { font-size: 11px; white-space: nowrap; }
  .logo b { font-size: 16px; }
  .header__cta { font-size: 12px; padding: 0 12px; }
  .sticky__text { white-space: nowrap; font-size: 16px; }
  .sticky__text span { font-size: 11.5px; }
  .sticky .cta.is-small { max-width: 130px; font-size: 16px; }
  .form input[type="text"], .form input[type="email"] { width: 100%; min-width: 0; }
  .form .cta { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta::before, .art-coin, .fv__title .mk { animation: none; }
  .js [data-reveal], .sticky, .sticky.is-shown, .sticky.is-shown.is-off, .mk { transition: none; }
}
