/* スクール・教室のページ (2026-11-19 Shusuke「全部同じフォーマットで面白くない」)。
   構成: 教室の絵＋先生 → 月末の作業 → 月謝の一覧表 → 名前入りの一斉連絡 → 始め方3つ。色は site.css の :root だけ */

.sc-hero-art { position: relative; padding: 24px 0 26px; }
.sc-hero-frame { background: #fff; border-radius: 28px; padding: 18px; box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.sc-hero-frame .illust { display: block; width: 100%; height: auto; border-radius: 18px; background: var(--sky); }
.sc-hero-who { position: absolute; left: -26px; bottom: 0; display: grid; justify-items: start; gap: 8px; width: 220px; }
.sc-hero-who .bubble { background: var(--yellow); color: var(--navy); font-size: 13.5px; box-shadow: 0 10px 22px rgba(0,0,0,.2); }
.sc-hero-who .bubble::after { border-top-color: var(--yellow); left: 50px; }
.sc-hero-who .person { width: 100px; height: auto; display: block; background: #fff; border-radius: 50%; padding: 8px 8px 0; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.sc-hero-cal { position: absolute; right: -10px; top: 0; width: 78px; background: #fff; border-radius: 14px; overflow: hidden; text-align: center; box-shadow: 0 14px 30px rgba(0,0,0,.25); transform: rotate(6deg); }
.sc-hero-cal::before { content: ""; display: block; height: 18px; background: #b4561b; }
.sc-hero-cal b { display: block; font: 800 32px/1.1 var(--font-latin); color: var(--navy); padding-top: 6px; }
.sc-hero-cal small { display: block; font-size: 11px; font-weight: 800; color: #b4561b; padding-bottom: 8px; }

.sc-now { padding-top: 90px; }
.sc-now-grid { margin-top: 50px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; }
.sc-now-scene .scene .who { max-width: 300px; }
.sc-now-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: n; }
.sc-now-list li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; background: var(--paper); border-radius: 18px; padding: 16px 18px; box-shadow: 0 6px 18px rgba(20,40,80,.05); }
.sc-now-list li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fdf0e3; color: #b4561b; }
.sc-now-list svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-now-list b { display: block; font: 900 16.5px/1.5 var(--font-display); color: var(--ink); }
.sc-now-list p { margin-top: 2px; font-size: 14px; color: var(--ink-soft); line-height: 1.75; }

.sc-fee-wrap { margin-top: 50px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 30px; align-items: center; }
.sc-fee { background: var(--sky); border-radius: 26px; padding: 20px; }
.sc-fee-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sc-fee-head b { font: 900 16.5px var(--font-display); color: var(--brand); }
.sc-fee-head small { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); background: #fff; border-radius: 999px; padding: 1px 10px; }
.sc-fee table { width: 100%; border-collapse: separate; border-spacing: 6px; table-layout: fixed; }
.sc-fee thead th { font-size: 13px; font-weight: 800; color: var(--ink-soft); text-align: center; padding: 4px 0; }
.sc-fee thead th:first-child { text-align: left; width: 30%; }
.sc-fee thead th.now { color: #fff; background: var(--brand); border-radius: 999px; }
.sc-fee tbody th { text-align: left; background: #fff; border-radius: 12px; padding: 8px 12px; font: 900 15px/1.3 var(--font-display); color: var(--ink); }
.sc-fee tbody th small { display: block; font: 700 11px var(--font-body); color: var(--ink-soft); }
.sc-fee td { text-align: center; border-radius: 12px; font: 900 18px/1 var(--font-display); height: 50px; }
.sc-fee td.ok { background: #e6f4ee; color: #1d7a52; }
.sc-fee td.ng { background: #fff; color: #b4561b; box-shadow: inset 0 0 0 2px #b4561b; font-size: 16px; }
.sc-fee td.up { background: rgba(255,255,255,.5); color: var(--sky-2); }
.sc-fee tr.due th { box-shadow: inset 4px 0 0 #b4561b; }
.sc-sum { background: var(--navy); color: #fff; border-radius: 24px; padding: 22px; }
.sc-sum small { font-size: 12.5px; font-weight: 700; color: #c8d6e8; }
.sc-sum b { display: block; font: 800 52px/1.1 var(--font-latin); color: var(--yellow); }
.sc-sum b em { font: 700 16px var(--font-body); font-style: normal; margin-left: 4px; color: #fff; }
.sc-sum p { font-size: 14px; color: #dbe6f2; }
.sc-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 999px; }
.sc-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-fee-note { margin-top: 16px; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.sc-fee-note b { color: #b4561b; }

.sc-msg-grid { margin-top: 50px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: center; }
.sc-tpl { background: var(--paper); border-radius: 24px; padding: 22px; box-shadow: 0 10px 30px rgba(20,40,80,.07); border-top: 6px solid var(--yellow); }
.sc-tpl-head { display: flex; align-items: center; gap: 8px; color: var(--brand); }
.sc-tpl-head svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-tpl-head b { font: 900 16px var(--font-display); }
.sc-tpl-head small { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); background: var(--sky); border-radius: 999px; padding: 1px 10px; }
.sc-tpl > p { margin-top: 12px; font-size: 14.5px; line-height: 2.1; color: var(--ink); }
.sc-chip { display: inline-block; background: var(--sky); color: var(--brand); border: 1.5px dashed var(--steel); border-radius: 8px; padding: 0 8px; font-weight: 800; font-size: 13px; line-height: 1.7; white-space: nowrap; }
.sc-tpl-foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--sky-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); }
.sc-tpl-foot b { color: var(--ink); }
.sc-tpl-foot .sc-btn { margin-top: 0; }
.sc-arrow { color: var(--steel); }
.sc-arrow svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.sc-msgs { display: grid; gap: 12px; }
.sc-msg { background: #fff; border-radius: 6px 20px 20px 20px; padding: 12px 16px; box-shadow: 0 6px 18px rgba(20,40,80,.08); }
.sc-msg:nth-child(2) { margin-left: 22px; }
.sc-msg:nth-child(3) { margin-left: 44px; }
.sc-msg small { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--steel); }
.sc-msg small svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sc-msg p { margin-top: 4px; font-size: 13px; color: var(--ink); line-height: 1.7; }
.sc-msg p b { background: linear-gradient(transparent 55%, var(--yellow) 55%); }
.sc-msg-note { margin: 30px auto 0; max-width: 760px; text-align: center; font-size: 14.5px; color: var(--ink-soft); }

.sc-steps { max-width: 860px; margin-left: auto; margin-right: auto; }

@media (max-width: 900px) {
  .sc-hero-art { max-width: 460px; margin-left: 20px; }
  .sc-now-grid, .sc-fee-wrap { grid-template-columns: 1fr; }
  .sc-msg-grid { grid-template-columns: 1fr; }
  .sc-arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .sc-hero-art { margin-left: 0; padding-bottom: 40px; }
  .sc-hero-who { left: -6px; width: 180px; }
  .sc-hero-who .bubble { font-size: 12.5px; }
  .sc-hero-who .person { width: 78px; }
  .sc-hero-cal { width: 64px; right: -4px; } .sc-hero-cal b { font-size: 26px; }
  .sc-fee { padding: 14px 10px; }
  .sc-fee table { border-spacing: 4px; }
  .sc-fee thead th:first-child { width: 28%; }
  .sc-fee tbody th { padding: 6px 8px; font-size: 13.5px; }
  .sc-fee td { height: 42px; font-size: 16px; }
  .sc-now-list li { grid-template-columns: 40px 1fr; padding: 14px; }
  .sc-now-list li > span { width: 40px; height: 40px; }
  .sc-msg:nth-child(2) { margin-left: 12px; } .sc-msg:nth-child(3) { margin-left: 24px; }
}
