/* =========================================================
   S-Core — 塾LP（B案）。余白・行の高さは 8px の倍数
   ========================================================= */

/* ---------- Hero ---------- */
.hero__grid { grid-template-columns: 7fr 5fr; border-top: 0; }
.hero__body { display: flex; flex-direction: column; justify-content: center; padding-block: var(--s12); }
.tag { display: inline-flex; align-items: center; gap: var(--s1); align-self: flex-start; padding: 4px 12px; border: 1px solid var(--line); font-size: 12px; line-height: 24px; color: var(--fg-2); }
.pulse { width: 8px; height: 8px; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px transparent; } }
.hero__title { margin-top: var(--s4); font-size: 56px; line-height: 72px; font-weight: 700; letter-spacing: -.01em; }
.hero__lead { margin-top: var(--s3); max-width: 34em; color: var(--fg-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }

.hero__visual { display: grid; place-items: center; padding: var(--s6); }
.plan { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--fg); box-shadow: 8px 8px 0 var(--fg); }
.plan__head { display: flex; justify-content: space-between; padding: var(--s1) var(--s2); border-bottom: 1px solid var(--line); }
.plan__who { color: var(--blue); }
.plan__title { padding: var(--s2) var(--s2) 0; font-weight: 700; }
.plan__list li { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 12px; padding: var(--s1) var(--s2); border-top: 1px solid var(--line); font-size: 13px; line-height: 24px; }
.plan__list li:first-child { border-top: 0; }
.box { position: relative; width: 16px; height: 16px; border: 1px solid var(--fg); }
.is-done .box { background: var(--blue); border-color: var(--blue); }
.is-done .box::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.is-done span:nth-child(2) { color: var(--mute); text-decoration: line-through; }
.plan__bar { height: 4px; margin: var(--s1) var(--s2) 0; background: var(--line); }
.plan__bar span { display: block; height: 100%; background: var(--blue-bright); }
.plan__msg { margin: var(--s2); padding: var(--s1) var(--s2); background: var(--soft); border-left: 2px solid var(--blue); font-size: 13px; line-height: 24px; }

.stats { grid-template-columns: repeat(4, 1fr); }
.stats dd { margin-top: var(--s1); font-family: var(--num); font-weight: 600; font-size: 40px; line-height: 48px; letter-spacing: -.02em; }
.stats dd small { margin-left: 4px; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.stats p { font-size: 13px; line-height: 24px; color: var(--mute); }

/* ---------- 見出し（LP） ---------- */
.lp-title { margin-top: var(--s2); font-size: 40px; line-height: 56px; font-weight: 700; letter-spacing: -.005em; }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s3); flex-wrap: wrap; }

.problem h3 { margin-top: var(--s5); font-size: 20px; line-height: 32px; }
.problem p:last-child { margin-top: var(--s1); color: var(--fg-2); font-size: 14px; line-height: 24px; }

/* Matrix */
.table-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.matrix { width: 100%; min-width: 760px; border-collapse: collapse; }
.matrix th, .matrix td { padding: var(--s2) var(--pad); text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; font-size: 14px; line-height: 24px; }
.matrix th + th, .matrix td, .matrix th + td { border-left: 1px solid var(--line); }
.matrix thead th { font-weight: 700; background: var(--soft); }
.matrix tbody th { color: var(--fg-2); width: 22%; }
.matrix td { color: var(--fg-2); width: 26%; }
.matrix .is-us { background: var(--blue-soft); color: var(--fg); }
.matrix thead .is-us { background: var(--blue); color: #fff; }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix b { font-family: var(--num); font-size: 18px; }
.ok, .x { display: inline-flex; align-items: center; gap: var(--s1); }
.ok::before { content: ""; flex: none; width: 10px; height: 6px; border: solid var(--blue); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-2px); }
.x { color: var(--mute); }
.x::before { content: ""; flex: none; width: 8px; height: 1px; background: var(--mute); }

/* Reasons */
.reason__no { display: flex; align-items: baseline; gap: var(--s1); }
.reason__no span:first-child { font-family: var(--num); font-size: 56px; line-height: 56px; font-weight: 600; letter-spacing: -.04em; }
.reason h3 { margin-top: var(--s5); font-size: 18px; line-height: 32px; }
.reason > p:not(.reason__no) { margin-top: var(--s2); color: var(--fg-2); font-size: 14px; line-height: 24px; }

/* Steps */
.step { position: relative; }
.step h3 { margin-top: var(--s4); font-size: 18px; line-height: 32px; }
.step p:last-child { margin-top: var(--s1); color: var(--fg-2); font-size: 14px; line-height: 24px; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 50%; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; background: var(--bg); border: 1px solid var(--line); font-family: var(--mono); font-size: 10px; line-height: 16px; transform: translateY(-50%); }

/* App */
.app-item { display: flex; flex-direction: column; }
.app-item .phone { order: -1; margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) var(--s4); padding: var(--s4); border-bottom: 1px solid var(--line); }
.phone__screen { aspect-ratio: 9 / 17; overflow: hidden; max-width: 280px; margin-inline: auto; background: #f3f4f7; border: 1px solid var(--fg); box-shadow: 8px 8px 0 var(--fg); }
.phone__screen img { display: block; width: 100%; height: auto; }
.app-item__title { margin-top: var(--s1); font-size: 20px; line-height: 32px; }
.app-item__title small { display: inline-block; margin-left: var(--s1); font-size: 12px; font-weight: 400; color: var(--mute); }
.app-item__text { margin-top: var(--s1); font-size: 14px; line-height: 24px; color: var(--fg-2); }
.note-row { border-top: 1px solid var(--line); padding-block: var(--s2); font-size: 12px; line-height: 24px; color: var(--mute); }

/* ---------- 探究クエストの紹介（塾LPから探究へ） ---------- */
.pillar { grid-template-columns: 7fr 5fr; border-top: 0; }
.pillar__body { display: flex; flex-direction: column; gap: var(--s4); }
.pillar__facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--fg); }
.pillar__facts > div { padding: var(--s2) var(--s2) var(--s2) 0; border-bottom: 1px solid var(--line); }
.pillar__facts > div + div { padding-left: var(--s2); border-left: 1px solid var(--line); }
.pillar__facts dt { font-size: 12px; line-height: 24px; color: var(--mute); }
.pillar__facts dd { font-weight: 700; }
.pillar__links { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pillar__stage { display: grid; place-items: center; padding: var(--s6) var(--s5); }
.pillar__stage .win { width: 100%; max-width: 400px; }
.mini { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: var(--s1); border-bottom: 1px solid rgba(255,255,255,.25); }
.mini__name { font-size: 20px; line-height: 32px; }
.mini__gain { font-size: 20px; line-height: 32px; color: var(--gold); }
.mini svg { display: block; }
.mini-radar { display: block; width: 100%; height: auto; margin-top: var(--s2); }
.mini-radar .ring { fill: none; stroke: rgba(255,255,255,.18); }
.mini-radar .ring--outer { stroke: rgba(255,255,255,.4); }
.mini-radar .start { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 1.5; stroke-dasharray: 4 4; }
.mini-radar .now { fill: rgba(58,173,254,.3); stroke: var(--blue-win); stroke-width: 2; stroke-linejoin: round; }
.mini-radar text { fill: #fff; font-family: var(--sans); font-size: 13px; font-weight: 500; }
.mini-radar text.gift { fill: var(--gold); }
.mini__caption { margin-top: var(--s1); font-size: 12px; line-height: 24px; color: rgba(255,255,255,.7); }

/* ---------- Price ---------- */
.price-lead { max-width: 28em; color: var(--fg-2); font-size: 14px; line-height: 24px; }

.price { display: flex; flex-direction: column; }
.price__name { display: flex; align-items: center; gap: var(--s1); font-size: 14px; line-height: 24px; font-weight: 700; color: var(--blue); }
.price__badge { padding: 0 var(--s1); font-size: 11px; line-height: 24px; font-weight: 500; background: var(--blue); color: #fff; }
.price h3 { margin-top: var(--s1); font-size: 18px; line-height: 32px; }
.price__val { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1); margin-top: var(--s3); }
.price__n { font-family: var(--num); font-weight: 600; font-size: 56px; line-height: 64px; letter-spacing: -.03em; }
.price__u { font-size: 13px; line-height: 24px; color: var(--mute); }
.price__plus { font-size: 14px; line-height: 32px; color: var(--fg-2); }
.price__plus b { font-family: var(--num); font-size: 20px; line-height: 24px; font-weight: 600; }
.price__for { min-height: 72px; margin: var(--s2) 0 var(--s3); font-size: 14px; line-height: 24px; }
.price__for span { display: block; font-size: 12px; color: var(--mute); }
.price__list { padding-top: var(--s2); border-top: 1px solid var(--line); font-size: 13px; line-height: 24px; color: var(--fg-2); }
.price__list li { position: relative; padding-left: var(--s2); }
.price__list li + li { margin-top: var(--s1); }
.price__list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 1px; background: var(--fg); }
.price--feature { background: var(--fg); color: #fff; }
.price--feature .price__name { color: #3aadfe; }
.price--feature .price__badge { background: #fff; color: var(--fg); }
.price--feature .mono, .price--feature .price__u, .price--feature .price__for span, .price--feature .price__plus { color: rgba(255,255,255,.6); }

#lessonsField.is-off { opacity: .4; }
.price--feature .price__list { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.2); }
.price--feature .price__list li::before { background: #fff; }

/* Simulator */
.sim { grid-template-columns: 1fr 1fr; }
.sim__title { margin: var(--s1) 0 var(--s4); font-size: 24px; line-height: 32px; }
.field { display: block; margin-bottom: var(--s3); }
.field__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s1); font-size: 13px; line-height: 24px; font-weight: 500; }
.field__label em { margin: 0 auto 0 var(--s1); font-style: normal; font-size: 11px; color: var(--blue); }
.field__label output { color: var(--fg); font-size: 13px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--fg); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--fg); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; background: var(--blue); border: 2px solid #fff; outline: 1px solid var(--blue); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; background: var(--blue); border: 2px solid #fff; }
.field__scale { display: flex; justify-content: space-between; }

.seg { display: flex; border: 1px solid var(--line); }
.seg label { position: relative; flex: 1; }
.seg label + label { border-left: 1px solid var(--line); }
.seg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; height: 48px; font-size: 13px; line-height: 24px; transition: background .2s, color .2s; }
.seg input:checked + span { background: var(--fg); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: -2px; }

.sim__result { display: flex; flex-direction: column; background: var(--soft); }
.sim__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--s2); padding-bottom: var(--s2); border-bottom: 1px solid var(--line); }
.sim__monthly span { font-family: var(--num); font-weight: 600; font-size: 32px; line-height: 40px; letter-spacing: -.02em; }
.sim__annual span { font-family: var(--num); font-weight: 600; font-size: 56px; line-height: 64px; letter-spacing: -.03em; color: var(--blue); }
.cmp-bars { display: grid; gap: var(--s2); margin-top: var(--s2); }
.cmp-bar { display: grid; grid-template-columns: 88px 1fr auto; align-items: center; gap: var(--s2); font-size: 12px; line-height: 24px; }
.cmp-bar__track { height: 16px; background: #fff; border: 1px solid var(--line); }
.cmp-bar__fill { display: block; height: 100%; background: var(--blue-bright); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.cmp-bar--them .cmp-bar__fill { background: var(--fg); opacity: .18; }
.sim__note { margin-top: auto; padding-top: var(--s3); font-size: 12px; line-height: 24px; color: var(--mute); }

/* Profile */
.profile { grid-template-columns: 4fr 8fr; border-top: 0; }
/* 代表写真は <img> ではなく背景画像で表示（画像検索に登録されにくくするため） */
.profile__photo { min-height: 432px; padding: 0; background: url("img/portrait-a.jpg") center 30% / cover no-repeat, var(--soft); }
.profile__body { padding-block: var(--s10); }
.profile__body .lp-title { margin-bottom: var(--s3); }
.profile__body > p:not(.mono) { max-width: 40em; color: var(--fg-2); }
.profile__body > p + p { margin-top: var(--s2); }
.profile__meta { margin-top: var(--s5); border-top: 1px solid var(--line); }
.profile__meta div { display: grid; grid-template-columns: 96px 1fr; padding: var(--s1) 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 32px; }

/* FAQ */
.faq-grid { grid-template-columns: 4fr 8fr; border-top: 0; }
.faq { display: grid; gap: 1px; background: var(--line); }
.faq details { padding: 0; }
.faq summary { position: relative; padding: var(--s3) var(--s8) var(--s3) var(--pad); list-style: none; cursor: pointer; font-weight: 500; transition: background .2s; }
.faq summary:hover { background: var(--soft); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 18px; color: var(--mute); }
.faq details[open] summary::after { content: "−"; color: var(--blue); }
.faq details p { max-width: 46em; padding: 0 var(--pad) var(--s3); color: var(--fg-2); font-size: 14px; line-height: 24px; }

/* Apply */
.apply__grid { grid-template-columns: 5fr 7fr; border-top: 0; }
.apply__intro { padding-block: var(--s10); background: var(--fg); color: #fff; }
.apply__intro .sec-head__no { color: #3aadfe; }
.apply__title { margin-top: var(--s2); font-size: 48px; line-height: 64px; }
.apply__steps { margin-top: var(--s6); border-top: 1px solid rgba(255,255,255,.18); }
.apply__steps li { display: flex; gap: var(--s2); padding: var(--s1) 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 14px; line-height: 32px; }
.apply__steps .mono { color: rgba(255,255,255,.5); line-height: 32px; }
.apply__note { margin-top: var(--s3); font-size: 13px; line-height: 24px; color: rgba(255,255,255,.6); }

.form { padding-block: var(--s10); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select {
  width: 100%; height: 48px; padding: 0 var(--s2); background: #fff; border: 1px solid var(--line); transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.form select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%230b0b0c'/%3E%3C/svg%3E") right 16px center no-repeat; }
.form input:hover, .form select:hover { border-color: var(--mute); }
.form input:focus, .form select:focus { border-color: var(--fg); outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }
.form .is-invalid { border-color: var(--danger) !important; }
.check { display: flex; align-items: center; gap: var(--s1); margin: var(--s1) 0 var(--s3); font-size: 13px; line-height: 24px; cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--fg); }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.form__msg { min-height: 24px; margin-top: var(--s2); font-size: 13px; line-height: 24px; }
.form__msg.is-ok { color: var(--blue); }
.form__msg.is-ng { color: var(--danger); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__title { font-size: 48px; line-height: 64px; }
}
@media (max-width: 960px) {
  .hero__grid, .pillar, .sim, .profile, .faq-grid, .apply__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2)::after { display: none; }
  .profile__photo { min-height: 0; aspect-ratio: 1 / 1; background-position: center 20%; }
  .hero__body { padding-block: var(--s8); }
}
@media (max-width: 720px) {
  .hero__title { font-size: 40px; line-height: 56px; }
  .hero__body { padding-block: var(--s6); }
  .hero__visual { padding: var(--s4) var(--s2); }
  .stats dd { font-size: 32px; line-height: 40px; }
  .lp-title { font-size: 24px; line-height: 40px; }
  .step::after { display: none; }
  .app-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .app-list::-webkit-scrollbar { display: none; }
  .app-item { scroll-snap-align: start; }
  .pillar__facts { grid-template-columns: 1fr; }
  .pillar__facts > div + div { padding-left: 0; border-left: 0; }
  .pillar__stage { padding: var(--s4) var(--s2); }
  .price__n { font-size: 48px; line-height: 56px; }
  .sim__annual span { font-size: 40px; line-height: 48px; }
  .cmp-bar { grid-template-columns: 72px 1fr auto; gap: var(--s1); }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .apply__title { font-size: 32px; line-height: 48px; }
  .profile__body, .apply__intro, .form { padding-block: var(--s6); }
}

/* =========================================================
   理念（ページを開いて最初に見るセクション）
   ========================================================= */
.philo__head { padding-block: var(--s14) var(--s8); }
.philo__q { font-size: 24px; line-height: 40px; font-weight: 500; color: var(--mute); }
.philo__a { max-width: 18em; margin-top: var(--s3); font-size: 64px; line-height: 88px; font-weight: 700; letter-spacing: -.01em; }

.philo__track { padding-block: var(--s5) var(--s6); border-top: 1px solid var(--line); }
.track { display: grid; gap: var(--s2); }
.track__row { display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: var(--s2); }
.track__label { font-size: 14px; line-height: 24px; font-weight: 700; }
.track__label--us { color: var(--blue); }
.track__line { position: relative; display: block; height: 4px; transform-origin: left center; }
.track__line--self { background: var(--fg); }
.track__line--self::after { content: ""; position: absolute; right: -2px; top: -6px; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent var(--fg); }
.track__line--us { width: 80%; background: linear-gradient(90deg, var(--blue-bright) 0 55%, rgba(58,173,254,0) 100%); }
.track__marks { display: grid; grid-template-columns: repeat(5, 1fr); margin-left: calc(160px + var(--s2)); margin-top: var(--s1); }
.track__marks li { padding-left: var(--s1); border-left: 1px solid var(--line); font-size: 13px; line-height: 24px; color: var(--mute); }
.track__marks li:nth-child(4) { color: var(--fg); font-weight: 700; border-left-color: var(--fg); }
.philo__track figcaption { margin-top: var(--s3); }

.philo__wall { padding-block: var(--s5); }
.philo__end { grid-template-columns: 5fr 7fr; }
.philo__so { padding-block: var(--s6); background: var(--fg); color: #fff; }
.philo__so-main { font-size: 40px; line-height: 56px; font-weight: 700; }
.philo__so .t-body { margin-top: var(--s2); color: rgba(255,255,255,.75); }
.philo__goals { padding-block: var(--s6); }
.philo__goals li + li { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
.philo__goals .t-body { margin-top: var(--s1); }

/* 開いたときの1回だけの動き：問い → 答え → 線が引かれる */
@media (prefers-reduced-motion: no-preference) {
  .philo__q { animation: philo-in .6s ease both; }
  .philo__a { animation: philo-in .8s ease .35s both; }
  .track__line { animation: philo-draw 1.2s cubic-bezier(.2,.8,.2,1) .9s both; }
  .track__line--us { animation-delay: 1.2s; }
}
@keyframes philo-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes philo-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1080px) {
  .philo__a { font-size: 48px; line-height: 64px; }
}
@media (max-width: 960px) {
  .philo__end { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .philo__head { padding-block: var(--s8) var(--s5); }
  .philo__q { font-size: 18px; line-height: 32px; }
  .philo__a { margin-top: var(--s2); font-size: 32px; line-height: 48px; }
  .philo__track { padding-block: var(--s4); }
  .track__row { grid-template-columns: 1fr; gap: var(--s1); }
  .track__marks { margin-left: 0; }
  .track__marks li { padding-left: 4px; font-size: 12px; }
  .philo__so-main { font-size: 24px; line-height: 40px; }
  .philo__wall, .philo__so, .philo__goals { padding-block: var(--s4); }
}

/* LPの探究紹介：スキルは数値にせず、ラベルとして表示 */
.mini__skills { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s1); margin-top: var(--s2); padding-top: var(--s1); border-top: 1px solid rgba(255,255,255,.25); font-size: 13px; line-height: 32px; color: var(--gold); }
.mini__skills .dot { padding: 0 var(--s1); font-size: 13px; line-height: 24px; background: var(--gold); color: var(--win); }

/* 本文中のリンク（例：選ばれる理由 → 講師紹介） */
.text-link { display: inline-block; margin-top: var(--s2); font-size: 14px; line-height: 24px; font-weight: 700; color: var(--blue); border-bottom: 2px solid var(--blue); }
.text-link:hover { color: var(--fg); border-bottom-color: var(--fg); }

/* =========================================================
   塾の方針（トップページの冒頭）
   ========================================================= */
.u-mark { background: linear-gradient(transparent 58%, rgba(8,236,192,.45) 58%, rgba(8,236,192,.45) 92%, transparent 92%); padding-inline: 2px; white-space: nowrap; }

.policy__head { padding-block: var(--s14) var(--s8); }
.policy__label { display: inline-block; padding: 0 var(--s1); font-size: 13px; line-height: 24px; font-weight: 700; color: #fff; background: var(--fg); }
.policy__q { margin-top: var(--s4); font-size: 24px; line-height: 40px; font-weight: 500; color: var(--mute); }
.policy__a { margin-top: var(--s2); max-width: 16em; font-size: 64px; line-height: 96px; font-weight: 700; letter-spacing: -.01em; }
.policy__sub { margin-top: var(--s4); max-width: 36em; font-size: 18px; line-height: 32px; color: var(--fg-2); }

.policy__track { padding-block: var(--s5) var(--s6); border-top: 1px solid var(--line); }
.policy__track figcaption { margin-top: var(--s3); }

.policy__stance { padding-block: var(--s8); border-top: 1px solid var(--line); background: var(--soft); }
.policy__stance-line { font-size: 40px; line-height: 72px; font-weight: 700; }
.policy__stance-line + .policy__stance-line { margin-top: var(--s1); }

.policy__promise-head { padding-block: var(--s6) var(--s3); border-top: 1px solid var(--line); }
.promises { border-top: 1px solid var(--line); }
.promise { display: flex; flex-direction: column; gap: var(--s2); }
.promise__no { font-family: var(--num); font-size: 48px; line-height: 56px; font-weight: 600; color: var(--blue); }
.promise__title { font-size: 20px; line-height: 32px; }
.promise__text { font-size: 14px; line-height: 24px; color: var(--fg-2); }

.voices { grid-template-columns: 4fr 8fr; }
.voices__head { display: flex; flex-direction: column; justify-content: center; gap: var(--s1); }
.voices__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.voice dt { font-size: 13px; line-height: 24px; color: var(--fg-2); }
.voice dt b { display: block; font-family: var(--num); font-size: 32px; line-height: 48px; font-weight: 600; color: var(--fg); }
.voice dd { margin-top: var(--s1); font-size: 14px; line-height: 24px; font-weight: 700; }

.policy__close { padding-block: var(--s6); border-top: 1px solid var(--line); background: var(--fg); color: #fff; font-size: 28px; line-height: 48px; font-weight: 700; }

@media (prefers-reduced-motion: no-preference) {
  .policy__q { animation: philo-in .6s ease both; }
  .policy__a { animation: philo-in .8s ease .35s both; }
  .policy__track .track__line { animation: philo-draw 1.2s cubic-bezier(.2,.8,.2,1) .9s both; }
  .policy__track .track__line--us { animation-delay: 1.2s; }
}

@media (max-width: 1080px) {
  .policy__a { font-size: 48px; line-height: 72px; }
  .policy__stance-line { font-size: 32px; line-height: 56px; }
}
@media (max-width: 960px) {
  .voices { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .policy__head { padding-block: var(--s8) var(--s5); }
  .policy__q { margin-top: var(--s3); font-size: 18px; line-height: 32px; }
  .policy__a { font-size: 32px; line-height: 56px; }
  .policy__sub { font-size: 16px; }
  .policy__track { padding-block: var(--s4); }
  .policy__stance { padding-block: var(--s5); }
  .policy__stance-line { font-size: 22px; line-height: 40px; }
  .voices__list { grid-template-columns: 1fr; }
  .policy__close { padding-block: var(--s4); font-size: 20px; line-height: 40px; }
}

/* 塾の方針：ラベルを外し、メッセージそのものを大きく */
.policy__q { margin-top: 0; }
.policy__a { max-width: 14em; font-size: 80px; line-height: 112px; }
.policy__stance-line { font-size: 48px; line-height: 80px; }
@media (max-width: 1080px) {
  .policy__a { font-size: 56px; line-height: 80px; }
  .policy__stance-line { font-size: 36px; line-height: 56px; }
}
@media (max-width: 720px) {
  .policy__a { font-size: 36px; line-height: 56px; }
  .policy__stance-line { font-size: 24px; line-height: 40px; }
}

/* 見出しを大きくしたぶん、周りの余白も広げる */
.policy__promise-head { padding-block: var(--s8) var(--s4); }
.voices__head { padding-block: var(--s6); }

/* 料金：プラン以外の費用（追加の授業・入塾金） */
.fees { border-top: 1px solid var(--line); }
.fee { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); flex-wrap: wrap; padding-block: var(--s3); }
.fee dt { font-size: 14px; line-height: 32px; font-weight: 700; }
.fee dd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 var(--s1); font-size: 14px; line-height: 32px; }
.fee dd b { font-family: var(--num); font-size: 32px; line-height: 40px; font-weight: 600; }
.fee dd small { flex-basis: 100%; text-align: right; font-size: 12px; line-height: 24px; color: var(--mute); }

/* 申込：公式LINE */
.line-box { display: flex; flex-direction: column; justify-content: center; gap: var(--s3); padding-block: var(--s10); }
.line-box__title { font-size: 24px; line-height: 40px; }
.line-box__body { display: grid; grid-template-columns: 200px 1fr; gap: var(--s4); align-items: center; }
.line-box__qr { display: block; width: 200px; height: 200px; border: 1px solid var(--line); }
.line-box__side { display: flex; flex-direction: column; gap: var(--s3); }
.btn--line { background: #06c755; border-color: #06c755; color: #fff; font-weight: 700; }
.btn--line:hover { background: #05a647; border-color: #05a647; }
@media (max-width: 720px) {
  .line-box { padding-block: var(--s6); }
  .line-box__title { font-size: 20px; line-height: 32px; }
  .line-box__body { grid-template-columns: 1fr; }
  .line-box__qr { width: 160px; height: 160px; }
}

/* 料金の比較バー：金額欄を両方の行で同じ幅にして、バーの長さをそろえる */
.cmp-bar { grid-template-columns: 88px 1fr 80px; }
.cmp-bar__val { text-align: right; }
@media (max-width: 720px) { .cmp-bar { grid-template-columns: 72px 1fr 64px; } }

/* 家庭の声：数字は出さず、声そのものを大きく */
.voice dt { font-size: 13px; line-height: 24px; color: var(--mute); }
.voice dd { margin-top: var(--s1); font-size: 18px; line-height: 32px; font-weight: 700; }

/* 1週間の流れ：プランごとの範囲を横棒で */
.coverage { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: var(--s1); padding: var(--s3) 0; border-top: 1px solid var(--line); }
.coverage__bar { display: flex; align-items: baseline; gap: var(--s2); margin-inline: var(--pad); padding: var(--s1) var(--s2); font-size: 13px; line-height: 24px; color: var(--fg); }
.coverage__bar b { font-size: 14px; }
.coverage__bar--std { grid-column: 1 / 4; background: var(--blue-bright); }
.coverage__bar--pre { grid-column: 1 / 5; background: linear-gradient(90deg, #e6c35c, var(--premium)); }
.step__plans { display: none; }
.pl { display: inline-block; padding: 0 var(--s1); font-size: 11px; line-height: 24px; font-weight: 700; color: var(--fg); }
.pl + .pl { margin-left: 4px; }
.pl--std { background: var(--blue-bright); }
.pl--pre { background: var(--premium); }
@media (max-width: 1080px) {
  .coverage { display: none; }
  .step__plans { display: block; margin-top: var(--s2) !important; }
}

/* 料金：プレミアムのカードに金色の目印 */
.price--premium { box-shadow: inset 0 4px 0 var(--premium); }
.price--premium .price__name { color: var(--premium-ink); }
#how .step:last-child > .mono { color: var(--premium-ink); font-weight: 700; }
@media (max-width: 720px) {
  .step:not(:last-child)::after { display: none; }
}

/* 料金シミュレーター：選んだプランを、プランの色で塗る */
.seg .seg__std input:checked + span { background: var(--blue-bright); color: var(--fg); font-weight: 700; }
.seg .seg__pre input:checked + span { background: var(--premium); color: var(--fg); font-weight: 700; }
.field__hint { display: block; margin: calc(-1 * var(--s1)) 0 var(--s1); font-size: 12px; line-height: 24px; color: var(--mute); }
.cmp-bar__fill.is-premium { background: var(--premium); }
