/* 学習塾 まどあかり（制作例）。demo_src/base.css と demo_src/themes/madoakari.css から書き出し */
/* ===== 全デモ共通の部品（デモ9以降）。色や形は各デモの themes/○○.css の :root で決める ===== */
:root {
  --main: #333; --main-dark: #222; --on-main: #fff;
  --accent: #888; --accent-dark: #666; --on-accent: #fff;
  --pale: #f6f6f6; --pale2: #fbfbfb;
  --bg: #fff; --paper: #fff; --ink: #2a2a2a; --muted: #666; --line: #e3e3e3;
  --radius: 14px; --btn-radius: 999px;
  --head: "Noto Sans JP", sans-serif; --head-weight: 700;
  --sans: "Noto Sans JP", "Yu Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .03em; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: var(--head-weight); line-height: 1.5; margin: 0; letter-spacing: .05em; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.nw { white-space: nowrap; display: inline-block; }
@media (min-width: 820px) { .sp, .sp-only { display: none !important; } }
.kakuu { display: inline-block; font-size: 11px; color: var(--muted); border: 1px dashed currentColor; border-radius: 6px; padding: 0 6px; margin-left: 4px; vertical-align: 2px; font-weight: 400; letter-spacing: 0; }

/* 制作例の帯 */
.demo-band { background: #2a2a2a; color: #fff; font-size: 12px; line-height: 1.6; letter-spacing: .02em; text-align: center; padding: 8px 16px; }
.demo-band a { color: #F3DDA8; margin-left: .5em; white-space: nowrap; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; max-width: 1180px; margin: 0 auto; padding: 10px 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo__mark { flex: none; }
.logo__text { font-family: var(--head); font-weight: var(--head-weight); font-size: 18px; line-height: 1.25; white-space: nowrap; }
.logo__text small { display: block; font-family: var(--sans); font-weight: 400; font-size: 10px; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 420px) { .logo__text { font-size: 16px; letter-spacing: .02em; } }
.nav-toggle { border: 1px solid var(--main); background: #fff; color: var(--main); white-space: nowrap; flex: none; font: inherit; font-size: 13px; padding: 5px 12px; border-radius: var(--btn-radius); cursor: pointer; }
.site-nav { display: none; }
.site-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100svh - 120px); overflow-y: auto; box-shadow: 0 14px 20px -16px rgba(0, 0, 0, .3); }
.site-nav ul { list-style: none; margin: 0; padding: 4px 16px 14px; }
.site-nav a { display: block; padding: 12px 4px; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 500; }
.site-nav a[aria-current="page"], .site-nav a.is-parent { color: var(--main); }
.nav-cta { display: none; }
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; background: none; border: 0; max-height: none; box-shadow: none; }
  .site-nav ul { display: flex; gap: 22px; padding: 0; }
  .site-nav a { border: 0; padding: 4px 0; font-size: 14px; }
  .site-nav a[aria-current="page"], .site-nav a.is-parent, .site-nav a:hover { color: var(--main); box-shadow: 0 2px 0 var(--main); }
  .site-nav .nav-hide-pc { display: none; }
  .nav-cta { display: inline-flex; align-items: center; padding: 9px 20px; border-radius: var(--btn-radius); background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; }
  .nav-cta:hover { background: var(--accent-dark); }
}

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 12px 28px; white-space: nowrap; border-radius: var(--btn-radius); border: 2px solid var(--main); background: var(--main); color: var(--on-main); font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--main-dark); border-color: var(--main-dark); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--line { background: #fff; color: var(--main); }
.btn--line:hover { background: var(--pale); color: var(--main-dark); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
.btn-row .btn { flex: 1 1 200px; }
@media (min-width: 820px) { .btn-row .btn { flex: 0 0 auto; } }

/* 共通のかたまり */
.section { padding: 72px 16px; }
.section--pale { background: var(--pale); }
.section--main { background: var(--main); color: var(--on-main); }
@media (min-width: 820px) { .section { padding: 100px 24px; } }
.container { max-width: 1060px; margin: 0 auto; }
.container--narrow { max-width: 780px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .15em; color: var(--accent-dark); margin-bottom: 6px; }
.section-title h2 { font-size: 25px; }
@media (min-width: 820px) { .section-title h2 { font-size: 30px; } }
@media (max-width: 819px) { .section-title h2, .page-head h1 { letter-spacing: .02em; } }
.section-title p { color: var(--muted); margin: 12px auto 0; max-width: 600px; }
.section--main .section-title span { color: var(--on-main); opacity: .8; }
.section--main .section-title p { color: var(--on-main); opacity: .85; }
.note { font-size: 13px; color: var(--muted); }
.lead { max-width: 660px; margin: 0 auto; text-align: center; }
.lead p { line-height: 2.2; }
@media (max-width: 819px) { .lead { text-align: left; } .lead p br { display: none; } }

/* カードの並び */
.cards { display: grid; gap: 18px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } .cards--2 { grid-template-columns: repeat(2, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.card__num { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 10px; border-radius: 999px; background: var(--main); color: var(--on-main); font-family: var(--head); font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; }
.card__label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--main-dark); background: var(--pale); border-radius: 999px; padding: 1px 12px; margin-bottom: 6px; }
.card__img { margin: -24px -22px 16px; }
.card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
a.card { display: block; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 28px -22px rgba(0, 0, 0, .5); }
.card__more { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--main); }
.card__more::after { content: " →"; }

/* 写真と文 */
.media { display: grid; gap: 26px; align-items: center; }
@media (min-width: 820px) { .media { grid-template-columns: 1fr 1fr; gap: 54px; } .media--reverse .media__img { order: 2; } }
.media__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.media__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--accent-dark); margin-bottom: 4px; }
.media h2 { font-size: 23px; margin-bottom: 14px; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.checks li { position: relative; padding: 10px 14px 10px 42px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.checks li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--main); }
.checks li::after { content: ""; position: absolute; left: 19px; top: 50%; width: 8px; height: 4px; margin-top: -4px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* 料金表 */
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 15px; border-radius: var(--radius); overflow: hidden; }
.price-table th, .price-table td { padding: 15px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table thead th { background: var(--main); color: var(--on-main); font-size: 14px; }
.price-table tbody th { white-space: nowrap; }
.price-table td.yen { font-family: var(--head); font-weight: 700; white-space: nowrap; text-align: right; }
.price-table small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
@media (max-width: 819px) {
  .price-table thead { display: none; }
  .price-table tr { display: grid; grid-template-columns: 1fr auto; padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .price-table th, .price-table td { padding: 2px 0; border: 0; }
  .price-table td.yen { grid-row: 1; grid-column: 2; }
  .price-table td.sub { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
}

/* 数字で見る */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 18px; } .stats--4 { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 12px 16px; text-align: center; }
.stat__label { font-size: 13px; font-weight: 700; color: var(--muted); margin: 0; }
.stat__num { font-family: var(--head); font-weight: 800; font-size: 38px; line-height: 1.2; color: var(--main); margin: 4px 0; }
.stat__num small { font-size: 15px; margin-left: 2px; }
.stat p { font-size: 12px; color: var(--muted); margin: 0; }

/* 流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: f; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(var(--flow-cols, 4), 1fr); gap: 16px; } }
.flow li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.flow li::before { counter-increment: f; content: counter(f); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; margin-bottom: 8px; }
.flow h3 { font-size: 17px; margin-bottom: 4px; }
.flow p { margin: 0; font-size: 14px; color: var(--muted); }

/* 年表・1日の流れ */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.timeline li { display: grid; grid-template-columns: 82px 1fr; gap: 0 20px; padding: 0 0 22px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 92px; top: 12px; bottom: -4px; border-left: 2px solid var(--line); }
.timeline li:last-child::before { display: none; }
.timeline time { font-family: var(--head); font-weight: 700; color: var(--main); text-align: right; }
.timeline div { position: relative; padding-left: 14px; }
.timeline div::before { content: ""; position: absolute; left: -15px; top: 10px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline h3 { font-size: 17px; margin-bottom: 2px; }
.timeline p { margin: 0; font-size: 14px; color: var(--muted); }

/* 人の紹介・社員の声 */
.people { display: grid; gap: 18px; }
@media (min-width: 820px) { .people { grid-template-columns: repeat(var(--people-cols, 3), 1fr); gap: 22px; } }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; border-top: 4px solid var(--main); }
.person__role { display: inline-block; font-size: 12px; font-weight: 700; color: var(--main-dark); background: var(--pale); border-radius: 999px; padding: 1px 12px; margin-bottom: 6px; }
.person h3 { font-size: 18px; }
.person__meta { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.person p { margin: 0; font-size: 15px; }
.quote-mark { font-family: var(--head); font-size: 34px; line-height: 1; color: var(--accent); display: block; }

/* 表 */
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); }
.info-table th, .info-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 7.5em; font-weight: 700; white-space: nowrap; font-size: 14px; color: var(--main-dark); }
.info-table td .note { display: block; }
@media (max-width: 819px) { .info-table { font-size: 14px; } .info-table th { width: 5.6em; white-space: normal; } }
.two { display: grid; gap: 28px; align-items: start; }
@media (min-width: 820px) { .two { grid-template-columns: 1fr 1fr; gap: 48px; } }
.map-box { display: grid; place-items: center; aspect-ratio: 4 / 3; width: 100%; border-radius: var(--radius); border: 1px dashed #b9b9b9; background: repeating-linear-gradient(45deg, #f6f6f3, #f6f6f3 12px, #eeeeea 12px, #eeeeea 24px); color: var(--muted); text-align: center; padding: 16px; }
.photo-under img { margin-top: 16px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.legal { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px; font-size: 14px; }
.legal h3 { font-size: 16px; margin-bottom: 8px; }
.legal dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.legal dt { font-weight: 700; color: var(--main-dark); }
.legal dd { margin: 0; }

/* よくある質問 */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 46px 16px 54px; position: relative; font-weight: 700; font-family: var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "問"; position: absolute; left: 14px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--main); color: var(--on-main); display: grid; place-items: center; font-size: 13px; }
.faq summary::after { content: "＋"; position: absolute; right: 18px; top: 15px; color: var(--main); }
.faq details[open] summary::after { content: "−"; }
.faq__a { padding: 0 20px 18px 54px; }

/* フォーム（送信されない見本） */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; max-width: 780px; margin: 0 auto; }
@media (min-width: 820px) { .form { padding: 40px 44px; } }
.form h3 { font-size: 20px; margin-bottom: 14px; }
.form__row { margin-bottom: 18px; }
.form__row label, .form legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.form__req { font-size: 11px; color: #fff; background: var(--accent-dark); border-radius: 4px; padding: 1px 6px; margin-left: 6px; vertical-align: 2px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: 10px; background: #fcfcfc; }
.form textarea { min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--main); outline-offset: 1px; background: #fff; }
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form__checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.form__check { display: flex; gap: 8px; align-items: center; font-weight: 500; font-size: 15px; }
.form__check input { width: 20px; height: 20px; accent-color: var(--main); }
.form__note { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }
.forms { display: grid; gap: 24px; }
@media (min-width: 960px) { .forms { grid-template-columns: 1fr 1fr; } .forms .form { margin: 0; } }

/* 予約・問い合わせの帯 */
.cta { text-align: center; background: var(--main); color: var(--on-main); border-radius: calc(var(--radius) + 8px); padding: 40px 20px; }
.cta h2 { font-size: 24px; margin-bottom: 8px; }
@media (max-width: 819px) { .cta h2 { font-size: 21px; letter-spacing: .02em; } }
.cta p { opacity: .9; margin-bottom: 18px; }
.cta__tel { font-family: var(--head); font-weight: 700; font-size: 26px; opacity: 1 !important; margin-bottom: 4px !important; letter-spacing: .06em; }
.cta__btns { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
@media (min-width: 720px) { .cta__btns { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.cta .btn--line { border-color: #fff; }
.cta .btn span { line-height: 1.35; }
.cta .btn small { display: block; font-size: 11px; font-weight: 500; opacity: .85; }

/* 下層ページの見出し */
.page-head { background: var(--pale); padding: 18px 16px 46px; }
.page-head__inner { max-width: 1060px; margin: 0 auto; }
.crumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: 12px; color: var(--muted); }
.crumb li + li::before { content: "›"; margin-right: 6px; }
.crumb a { color: var(--main); }
.page-head span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--accent-dark); }
.page-head h1 { font-size: 26px; }
.page-head p { color: var(--muted); margin: 8px 0 0; max-width: 36em; }
@media (min-width: 820px) { .page-head { padding: 22px 24px 66px; } .page-head h1 { font-size: 34px; } }

/* 口コミの入口（エンレビューの見本） */
.review__inner { display: grid; gap: 44px; max-width: 920px; margin: 0 auto; align-items: center; }
@media (min-width: 820px) { .review__inner { grid-template-columns: 290px 1fr; gap: 64px; } }
.pop-stand { margin: 0 auto; width: 100%; max-width: 250px; text-align: center; }
.pop { background: #fff; border-radius: var(--radius); overflow: hidden; text-align: center; box-shadow: 0 20px 32px -22px rgba(0, 0, 0, .55), 0 0 0 1px var(--line); }
.pop__head { background: var(--main); color: var(--on-main); padding: 14px 14px 12px; font-family: var(--head); font-weight: 700; }
.pop__head small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; opacity: .9; }
.pop__head p { margin: 2px 0 0; font-size: 16px; line-height: 1.5; }
.pop__body { padding: 16px 14px; }
.pop__qr { display: block; width: 132px; height: 132px; margin: 0 auto 10px; }
.pop__small { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0; }
.pop-stand__base { height: 10px; width: 64%; margin: 0 auto; border-radius: 0 0 8px 8px; background: var(--line); }
.pop-stand figcaption { font-size: 12px; color: var(--muted); margin-top: 16px; }
.review__text > p { margin-bottom: 22px; }
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.steps__num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--pale); color: var(--main-dark); display: grid; place-items: center; font-weight: 700; }
.steps b { display: block; font-family: var(--head); font-size: 16px; line-height: 1.5; }
.steps small { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; }
.btn--review { width: 100%; max-width: 360px; }
.demo-note { font-size: 12px; color: var(--muted); border-left: 3px solid var(--accent); padding: 4px 0 4px 10px; margin-top: 16px; }
.rv-dialog { width: min(540px, calc(100% - 24px)); max-height: calc(100svh - 24px); border: 0; padding: 0; border-radius: var(--radius); background: #fff; color: var(--ink); }
.rv-dialog::backdrop { background: rgba(20, 20, 20, .55); }
.rv-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: var(--main); color: var(--on-main); position: sticky; top: 0; }
.rv-head strong { font-family: var(--head); }
.rv-close { border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: inherit; padding: 4px 8px; }
.rv-body { padding: 20px 18px 24px; }
.rv-progress { font-size: 12px; font-weight: 700; color: var(--main); margin-bottom: 6px; }
.rv-bar { height: 6px; background: var(--pale); border-radius: 6px; margin-bottom: 18px; overflow: hidden; }
.rv-bar span { display: block; height: 100%; background: var(--main); transition: width .2s; }
.rv-q { font-family: var(--head); font-weight: 700; font-size: 19px; margin-bottom: 16px; }
.rv-choices { display: grid; gap: 10px; }
.rv-choice { min-height: 52px; padding: 10px 16px; text-align: left; border: 1px solid #cfcfcf; background: #fff; border-radius: 12px; font: inherit; font-size: 15px; cursor: pointer; color: var(--ink); }
.rv-choice:hover, .rv-choice:focus-visible { border-color: var(--main); background: var(--pale); }
.rv-text { width: 100%; min-height: 110px; padding: 10px 12px; font: inherit; font-size: 16px; border: 1px solid #cfcfcf; border-radius: 12px; }
.rv-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; }
.rv-back { border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }
.rv-draft-label { display: inline-block; background: var(--accent-dark); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
.rv-draft { width: 100%; min-height: 170px; padding: 12px; font: inherit; font-size: 15px; line-height: 1.8; border: 2px solid var(--main); border-radius: 12px; }

/* フッター */
.site-footer { background: var(--main-dark); color: rgba(255, 255, 255, .88); padding: 56px 16px 28px; font-size: 14px; }
.site-footer__inner { max-width: 1060px; margin: 0 auto; display: grid; gap: 30px; }
@media (min-width: 820px) { .site-footer__inner { grid-template-columns: 1.2fr 1fr; } }
.site-footer .logo__text { color: #fff; }
.site-footer .logo__text small { color: rgba(255, 255, 255, .7); }
.site-footer__info { margin-top: 16px; line-height: 2; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer a { color: rgba(255, 255, 255, .9); }
.footer-tel { display: inline-block; margin-top: 6px; color: #fff !important; font-family: var(--head); font-weight: 700; font-size: 21px; text-decoration: none; }
.copyright { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .6); margin: 40px 0 0; }

/* スマホの下に固定するボタン */
.bottom-bar { display: none; }
@media (max-width: 819px) {
  body { padding-bottom: 64px; }
  .bottom-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 16px -12px rgba(0, 0, 0, .3); }
  .bottom-bar--3 { grid-template-columns: repeat(3, 1fr); }
  .bottom-bar a { display: grid; place-items: center; height: 60px; text-decoration: none; font-weight: 700; font-size: 14px; color: var(--main-dark); line-height: 1.3; text-align: center; }
  .bottom-bar a + a { border-left: 1px solid var(--line); }
  .bottom-bar a:last-child { background: var(--accent); color: var(--on-accent); border-left: 0; }
  .bottom-bar small { display: block; font-size: 10px; font-weight: 500; opacity: .85; }
}

/* 上に戻るボタン */
.to-top { position: fixed; right: 16px; bottom: 24px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: var(--main); color: var(--on-main); border: 0; cursor: pointer; line-height: 1; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top span { font-size: 18px; font-weight: 700; }
.to-top small { font-size: 9px; font-weight: 700; margin-top: 2px; }
.to-top:hover { background: var(--main-dark); }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 819px) { .to-top { bottom: 76px; right: 12px; width: 46px; height: 46px; } }

/* お知らせ（制作例のため〜） */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #2a2a2a; color: #fff; font-size: 14px; padding: 12px 18px; border-radius: 12px; width: max-content; max-width: calc(100% - 32px); text-align: center; transition: opacity .2s, transform .2s; }
@media (max-width: 819px) { .toast { bottom: 80px; } }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* スクロールでふわっと出す */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== ここから下は、各デモらしさ（themes/○○.css） ===== */

/* 学習塾 まどあかり：黒板の深い緑（面として大きく敷く）と、ノートの白い方眼、赤ペンの紅。
   見出しは BIZ UDPMincho（細く、字の間を広く）、黒板の上の短い言葉だけ Yomogi（チョークの手書き）。
   最初の画面は「上が黒板、下がノート」の2段。写真はノートに貼ったように少し傾けて、黒板の下の端に重ねる。
   箱は使わない：区切りは余白・細い横線（罫線）・方眼の地・黒板の地・写真を暗く敷いた帯で（2026-10-20 そらいろの雰囲気） */
:root {
  --main: #24524A; --main-dark: #183B35; --on-main: #F1F0E6;
  --accent: #E64A5E; --accent-dark: #C9384B; --on-accent: #fff;
  --pale: #EAF0EC; --pale2: #F1F5F2;
  --bg: #F6F7F2; --paper: #fff; --ink: #23302D; --muted: #5C6965; --line: #D3DDD9;
  --grid: #DCE5E2; --chalk: #F1F0E6; --red-pale: #FCE4E7;
  --radius: 3px; --btn-radius: 6px;
  --head: "BIZ UDPMincho", "Yu Mincho", "Hiragino Mincho ProN", serif; --head-weight: 400;
  --hand: "Yomogi", "BIZ UDPMincho", serif;
  --board: radial-gradient(ellipse 55% 38% at 18% 26%, rgba(255, 255, 255, .07), transparent 70%),
           radial-gradient(ellipse 45% 30% at 82% 72%, rgba(255, 255, 255, .055), transparent 70%),
           radial-gradient(ellipse 30% 22% at 60% 12%, rgba(255, 255, 255, .04), transparent 70%),
           linear-gradient(180deg, #275A51, #22504A);
}
body { background: var(--bg); color: var(--ink); line-height: 2; }
@media (min-width: 820px) { body { font-size: 16px; line-height: 2.1; } }
h1, h2, h3 { letter-spacing: .1em; }

/* ヘッダー */
.site-header { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.logo__mark { position: relative; width: 28px; height: 28px; border-radius: 3px; background: var(--main); }
.logo__mark::before { content: ""; position: absolute; inset: 5px; background:
  linear-gradient(var(--main), var(--main)) 50% 0 / 2px 100% no-repeat,
  linear-gradient(var(--main), var(--main)) 0 50% / 100% 2px no-repeat,
  #F6E3A2; box-shadow: 0 0 8px rgba(246, 227, 162, .7); }
.logo__text { letter-spacing: .1em; }
.site-nav a[aria-current="page"], .site-nav a.is-parent { color: var(--main); }
.nav-cta { background: var(--accent); }
.nav-cta:hover { background: var(--accent-dark); }

/* ボタン */
.btn { font-weight: 500; letter-spacing: .08em; }
.btn span { line-height: 1.35; text-align: center; }
.btn small { display: block; font-size: 11px; font-weight: 400; opacity: .9; letter-spacing: .04em; }
.btn--line { background: #fff; border-width: 1px; }
.section2--board .btn--line, .board-cta .btn--line { background: transparent; }
.btn--line:hover { background: var(--pale); }

/* 共通の部品の色 */
.media__label, .page-head span { color: var(--main); }
.info-table { background: transparent; }
.info-table th { color: var(--main); font-weight: 500; }
.info-table th, .info-table td { padding: 15px 8px; }
.note { color: var(--muted); }
.text-link { display: inline-block; margin-top: 14px; color: var(--main); text-underline-offset: 5px; font-family: var(--head); letter-spacing: .08em; }
.text-link::after { content: " →"; }
.site-footer { background: #183B35; }
.footer-tel { color: var(--chalk) !important; }
.bottom-bar a { color: var(--main-dark); }
.to-top { background: var(--main); }
.container--mid { max-width: 860px; margin: 0 auto; }
.container--narrow { max-width: 760px; }

/* 下層ページの見出し：黒板の帯 */
.page-head { background: var(--board); color: var(--chalk); padding: 18px 20px 54px; position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: linear-gradient(180deg, #8C6C4C, #6E5338); }
.page-head .crumb { color: rgba(241, 240, 230, .7); }
.page-head .crumb a { color: var(--chalk); }
.page-head span { color: rgba(241, 240, 230, .8); font-weight: 400; letter-spacing: .3em; font-size: 12px; }
.page-head h1 { font-family: var(--hand); font-weight: 400; font-size: 32px; letter-spacing: .12em; margin-top: 6px; }
.page-head p { color: rgba(241, 240, 230, .85); margin-top: 10px; }
@media (min-width: 820px) { .page-head { padding: 22px 28px 76px; } .page-head h1 { font-size: 44px; } }

/* ===== 区切り（余白を広く） ===== */
.section2 { padding: 96px 20px; position: relative; }
@media (min-width: 820px) { .section2 { padding: 146px 28px; } }
.section2--white { background: #fff; }
.section2--mint { background: var(--pale); }
/* ノートの方眼の地（1マス16px） */
.section2--grid, .grid-bg { background-color: var(--bg); background-image:
  linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 16px 16px; background-position: -1px -1px; }
/* 黒板の地（チョークの粉のような、ごくうすいむら） */
.section2--board { background: var(--board); color: var(--chalk); }
.section2--tail { padding-bottom: 110px; }
@media (min-width: 820px) { .section2--tail { padding-bottom: 140px; } }

/* 見出し（細く、小さな日本語のひとこと＋短い線を上に） */
.title2 { margin-bottom: 48px; }
.title2 span { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .28em; color: var(--main); margin-bottom: 10px; }
.title2 span::before { content: ""; width: 26px; border-top: 1px solid var(--accent); }
.title2 h2 { font-weight: 400; font-size: 26px; line-height: 1.7; letter-spacing: .14em; }
.title2 p { color: var(--muted); margin: 18px 0 0; max-width: 640px; }
.title2--center { text-align: center; }
.title2--center p { margin-left: auto; margin-right: auto; }
@media (min-width: 820px) { .title2 h2 { font-size: 34px; } .title2 { margin-bottom: 68px; } }
@media (max-width: 819px) { .title2 h2 { letter-spacing: .08em; } .title2--center p { text-align: left; } }
.section2--board .title2 span { color: rgba(241, 240, 230, .82); }
.section2--board .title2 span::before { border-top-color: rgba(241, 240, 230, .6); }
.section2--board .title2 h2 { font-family: var(--hand); color: var(--chalk); letter-spacing: .12em; }
.section2--board .title2 p { color: rgba(241, 240, 230, .82); }

.h3line { font-size: 21px; line-height: 1.7; letter-spacing: .12em; margin-bottom: 14px; }
@media (min-width: 820px) { .h3line { font-size: 24px; } }
.mini-head { font-family: var(--head); font-size: 15px; letter-spacing: .14em; color: var(--main); margin: 30px 0 6px; display: flex; align-items: center; gap: 10px; }
.mini-head::before { content: ""; width: 14px; border-top: 2px solid var(--accent); }
.mark-red { font-weight: 500; background: linear-gradient(transparent 70%, var(--red-pale) 70%); }
.red-line { display: inline; background: linear-gradient(transparent 82%, var(--accent) 82%, var(--accent) 90%, transparent 90%); }

/* 細い横線で区切った並び（箱を使わない） */
.lines { list-style: none; margin: 18px 0 0; padding: 0; }
.lines li { position: relative; padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); line-height: 1.85; }
.lines li:first-child { border-top: 1px solid var(--line); }
.lines li::before { content: ""; position: absolute; left: 2px; top: 25px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--accent); }
.lines--narrow { max-width: 760px; margin: 70px auto 0; }
.dash-list { list-style: none; margin: 22px 0 0; padding: 0; font-size: 14px; color: var(--muted); }
.dash-list li { padding-left: 1.2em; text-indent: -1.2em; }
.dash-list li::before { content: "・"; }

/* ボタンの上の小さな1行 */
.btn-hint { display: inline-block; position: relative; margin: 0 0 14px; padding: 4px 16px; border-radius: 16px; background: var(--red-pale); color: #A92E3F; font-size: 12.5px; line-height: 1.7; letter-spacing: .06em; }
.btn-hint::after { content: ""; position: absolute; left: 24px; bottom: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--red-pale); }
.btn-hint--dark { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-hint--dark::after { left: 50%; margin-left: -6px; border-top-color: rgba(255, 255, 255, .14); }
.section2--board .btn-hint, .board-cta .btn-hint { background: rgba(241, 240, 230, .14); color: var(--chalk); }
.section2--board .btn-hint::after, .board-cta .btn-hint::after { border-top-color: rgba(241, 240, 230, .14); }

/* ===== 1 最初の画面：上が黒板、下がノート ===== */
.fv.fvm { position: relative; background-color: var(--bg); background-image:
  linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 16px 16px; padding-bottom: 40px; }
.fvm__board { position: relative; background: var(--board); color: var(--chalk); padding: 24px 20px 84px; }
.fvm__board::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: linear-gradient(180deg, #8C6C4C, #6B5036); box-shadow: 0 3px 6px -3px rgba(0, 0, 0, .35); }
.fvm__boardin { max-width: 1120px; margin: 0 auto; }
.fvm__small { display: block; font-size: 11.5px; letter-spacing: .14em; color: rgba(241, 240, 230, .78); margin-bottom: 10px; }
.fvm__small::before { content: ""; display: inline-block; width: 18px; border-top: 1px solid var(--accent); vertical-align: middle; margin-right: 10px; }
.fvm h1 { font-family: var(--hand); font-weight: 400; color: var(--chalk); font-size: clamp(28px, calc((100vw - 44px) / 7.7), 46px); line-height: 1.42; letter-spacing: .06em; margin: 0 0 12px; text-shadow: 0 0 1px rgba(241, 240, 230, .45); }
.fvm__line { display: block; white-space: nowrap; }
.fvm__lead { font-size: 13px; line-height: 1.85; color: rgba(241, 240, 230, .86); margin: 0 0 14px; }
.fvm__name { font-family: var(--head); font-size: 18px; letter-spacing: .22em; margin: 0; }
.fvm__hours { font-size: 11.5px; line-height: 1.75; color: rgba(241, 240, 230, .8); margin: 2px 0 0; }
.fvm__week { margin-top: 14px; display: flex; justify-content: flex-end; }
.week-chalk { border-collapse: collapse; font-family: var(--hand); color: var(--chalk); text-align: center; }
.week-chalk caption { caption-side: top; text-align: left; font-size: 13px; letter-spacing: .12em; padding-bottom: 2px; color: rgba(241, 240, 230, .85); }
.week-chalk th, .week-chalk td { width: 28px; padding: 2px 0; font-weight: 400; }
.week-chalk th { font-size: 13px; border-bottom: 1px solid rgba(241, 240, 230, .45); }
.week-chalk td { font-size: 14px; }
.week-chalk td.off { color: rgba(241, 240, 230, .5); }
.fvm__note { position: relative; padding: 0 20px; }
.fvm__photo { position: relative; z-index: 2; width: 84%; max-width: 380px; margin: -58px auto 0; transform: rotate(-1.6deg); background: #fff; padding: 7px; box-shadow: 0 16px 26px -18px rgba(20, 40, 36, .55); }
.fvm__photo::before { content: ""; position: absolute; z-index: 1; left: 50%; top: -12px; width: 90px; height: 24px; margin-left: -45px; background: rgba(230, 74, 94, .28); transform: rotate(2.5deg); }
.fvm__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.fvm__cta { text-align: center; margin-top: 30px; }
.fvm__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.fvm__btns .btn { flex: 1 1 140px; max-width: 240px; min-height: 56px; padding: 10px 14px; }
@media (min-width: 820px) {
  .fv.fvm { padding-bottom: 64px; }
  .fvm__board { padding: 54px 28px 130px; }
  .fvm__boardin { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
  .fvm__small { font-size: 13px; margin-bottom: 16px; }
  .fvm h1 { font-size: clamp(40px, 4.3vw, 60px); margin-bottom: 18px; }
  .fvm__lead { font-size: 15px; margin-bottom: 20px; }
  .fvm__name { font-size: 22px; }
  .fvm__hours { font-size: 13px; }
  .fvm__week { margin: 0 0 6px; }
  .week-chalk caption { font-size: 17px; padding-bottom: 6px; }
  .week-chalk th, .week-chalk td { width: 44px; font-size: 19px; padding: 4px 0; }
  .fvm__note { max-width: 1176px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
  .fvm__photo { width: 100%; max-width: none; margin: -104px 0 0; transform: rotate(-1.4deg); padding: 9px; }
  .fvm__photo img { aspect-ratio: 3 / 2; }
  .fvm__cta { text-align: left; margin-top: 0; padding-top: 10px; }
  .fvm__btns { justify-content: flex-start; }
  .fvm__btns .btn { max-width: 230px; }
}

/* 最初の画面の下：お知らせ1行 */
.news-line { display: flex; gap: 14px; align-items: baseline; max-width: 1040px; margin: 0 auto; padding: 16px 20px; text-decoration: none; font-size: 13px; border-bottom: 1px solid var(--line); }
.news-line__label { font-family: var(--head); color: var(--main); letter-spacing: .2em; white-space: nowrap; }
.news-line time { color: var(--muted); letter-spacing: .05em; white-space: nowrap; }
.news-line span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-line::after { content: "→"; margin-left: auto; color: var(--accent); }

/* ===== 3 こんなときに（黒板にチョークの手書き） ===== */
.chalk-list { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; }
.chalk-list li { position: relative; padding: 18px 4px 18px 34px; font-family: var(--hand); font-size: 18px; line-height: 1.7; letter-spacing: .06em; color: var(--chalk);
  background: linear-gradient(90deg, rgba(241, 240, 230, .38), rgba(241, 240, 230, .22) 40%, rgba(241, 240, 230, .34) 70%, rgba(241, 240, 230, .18)) 0 100% / 100% 1px no-repeat; }
.chalk-list li::before { content: ""; position: absolute; left: 6px; top: 27px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(241, 240, 230, .85); transform: rotate(-20deg); border-right-color: transparent; }
@media (min-width: 820px) { .chalk-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; } .chalk-list li { font-size: 21px; padding: 24px 4px 24px 40px; } .chalk-list li::before { top: 36px; } }

/* ===== 4 まどあかりの3つ（写真と文を左右交互・大きな細い数字） ===== */
.three { display: grid; gap: 80px; }
.three__item { display: grid; gap: 34px; align-items: center; }
.three__photo { position: relative; margin: 0; }
.three__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.three__num { position: absolute; left: -6px; top: -46px; font-family: var(--head); font-size: 76px; line-height: 1; color: var(--main); letter-spacing: 0; }
.three__num::after { content: ""; display: block; width: 34px; margin-top: 4px; border-top: 2px solid var(--accent); }
.three__body h3 { font-size: 21px; line-height: 1.75; letter-spacing: .1em; margin-bottom: 14px; }
.three__body p { color: var(--muted); margin: 0; }
.three__photo--art { background-color: var(--bg); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 16px 16px; aspect-ratio: 3 / 2; display: grid; place-items: center; border-radius: var(--radius); }
.sum-art { width: 72%; font-family: var(--hand); color: #34433F; transform: rotate(-1.2deg); }
.sum-art p { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 4px 2px; font-size: 16px; line-height: 1.6; }
.sum-art i { font-style: normal; color: var(--muted); }
.sum-art__total { margin-top: 8px !important; padding-top: 10px !important; border-top: 4px double var(--accent); font-size: 18px !important; }
.sum-art__total i { color: var(--accent) !important; }
@media (max-width: 819px) { .three__photo { margin-top: 30px; } .sum-art { width: 82%; } .sum-art p { font-size: 14px; } }
@media (min-width: 820px) {
  .three { gap: 130px; }
  .three__item { grid-template-columns: 1.25fr 1fr; gap: 80px; }
  .three__item:nth-child(even) { grid-template-columns: 1fr 1.05fr; }
  .three__item:nth-child(even) .three__photo { order: 2; width: 88%; justify-self: end; }
  .three__num { font-size: 110px; top: -66px; left: -14px; }
  .three__body h3 { font-size: 25px; }
  .sum-art p { font-size: 19px; }
  .sum-art__total { font-size: 22px !important; }
}
.three ~ .btn-row { margin-top: 80px; }

/* ===== 5 授業の80分（縦の時間の目盛り） ===== */
.lesson { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; position: relative; }
.lesson::before { content: ""; position: absolute; left: 62px; top: 8px; bottom: 8px; border-left: 1px solid var(--main); }
.lesson li { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 0 26px; padding: 0 0 46px; }
.lesson li::before { content: ""; position: absolute; left: 58px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--main); }
.lesson li:nth-child(4)::before { background: var(--accent); border-color: var(--accent); }
.lesson__min { font-family: var(--head); font-size: 30px; line-height: 1.1; color: var(--main); text-align: right; padding-right: 14px; }
.lesson__min small { font-size: 13px; margin-left: 2px; }
.lesson__body h3 { font-size: 19px; line-height: 1.6; margin: 2px 0 8px; }
.lesson__body p { margin: 0; color: var(--muted); font-size: 15px; }
.lesson__photo { grid-column: 2; margin: 18px 0 0; }
.lesson__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.lesson__note { max-width: 980px; margin: 10px auto 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (min-width: 820px) {
  .lesson::before { left: 110px; }
  .lesson li { grid-template-columns: 110px 1fr 340px; gap: 0 46px; padding-bottom: 58px; align-items: start; }
  .lesson li::before { left: 106px; top: 18px; }
  .lesson__min { font-size: 44px; padding-right: 26px; }
  .lesson__body h3 { font-size: 22px; }
  .lesson__photo { grid-column: 3; grid-row: 1; margin: 0; }
}

/* ===== 6 写真を暗く敷いた帯 ===== */
.dark-band { position: relative; display: grid; place-items: center; min-height: 460px; padding: 90px 22px; color: #fff; overflow: hidden; }
.dark-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dark-band::before { content: ""; position: absolute; inset: 0; background: rgba(18, 40, 36, .62); z-index: 1; }
.dark-band__inner { position: relative; z-index: 2; text-align: center; max-width: 760px; }
.dark-band__big { font-family: var(--head); font-size: 24px; line-height: 1.9; letter-spacing: .14em; margin-bottom: 24px; }
.dark-band .btn-row { margin-top: 6px; }
@media (min-width: 820px) { .dark-band { min-height: 580px; } .dark-band__big { font-size: 36px; } }

/* ===== 7 時間割（縦の線は引かず、横の細い線だけ） ===== */
.tt-wrap { max-width: 980px; margin: 0 auto; }
.tt { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: center; font-size: 12px; line-height: 1.5; }
.tt th, .tt td { padding: 14px 1px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tt thead th { font-family: var(--head); font-weight: 400; font-size: 14px; color: var(--main); border-top: 1px solid var(--main); border-bottom-color: var(--main); }
.tt thead th:first-child { width: 64px; }
.tt tbody th { font-weight: 400; font-size: 11px; color: var(--muted); text-align: left; white-space: normal; line-height: 1.4; }
.tt td { font-weight: 500; color: var(--ink); }
.tt td.e { color: var(--main); font-weight: 700; }
.tt td.off { color: #A7B3AF; font-weight: 400; }
@media (min-width: 820px) {
  .tt { font-size: 15px; }
  .tt th, .tt td { padding: 20px 6px; }
  .tt thead th { font-size: 17px; }
  .tt thead th:first-child { width: 150px; }
  .tt tbody th { font-size: 14px; }
}
.tt-legend { max-width: 980px; margin: 14px auto 0; font-size: 12.5px; color: var(--muted); }
.tt-legend__e { color: var(--main); font-weight: 700; }
.tt-notes { list-style: none; max-width: 980px; margin: 44px auto 0; padding: 0; display: grid; gap: 4px; }
.tt-notes li { font-family: var(--head); font-size: 16px; letter-spacing: .08em; padding-left: 26px; position: relative; line-height: 1.8; }
.tt-notes li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; border-top: 2px solid var(--accent); }
@media (min-width: 820px) { .tt-notes { grid-template-columns: 1fr 1fr; gap: 30px; } .tt-notes li { font-size: 18px; } }

/* ===== 8 夜の自習室と、送り迎え ===== */
.night { display: grid; gap: 44px; align-items: start; }
.night + .night { margin-top: 100px; }
.night__photo { margin: 0; }
.night__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.night__photos { position: relative; padding-bottom: 46px; }
.night__big { width: 86%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.night__small { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3; object-fit: cover; border: 7px solid var(--pale); border-radius: var(--radius); }
.section2--white .night__small { border-color: #fff; }
.night p { color: var(--ink); }
@media (min-width: 820px) {
  .night { grid-template-columns: 1.15fr 1fr; gap: 80px; }
  .night + .night { margin-top: 150px; }
  .night--rev { grid-template-columns: 1fr 1.1fr; }
  .night--rev > :first-child { order: 2; }
  .night__photo { position: sticky; top: 120px; }
  .night__photos { padding-bottom: 70px; }
}
.hours { width: 100%; border-collapse: collapse; text-align: center; font-size: 14px; margin-top: 22px; table-layout: fixed; }
.hours th, .hours td { padding: 11px 1px; border-bottom: 1px solid var(--line); }
.hours thead th { font-weight: 400; font-family: var(--head); color: var(--muted); border-top: 1px solid var(--main); }
.hours thead th:first-child { width: 96px; }
.hours tbody th { font-weight: 400; font-size: 11.5px; text-align: left; line-height: 1.45; padding-right: 4px; }
.hours td { color: var(--main); }
.hours td.off { color: #A7B3AF; }
.hours td.few { color: var(--accent); font-weight: 700; }
.hours__q th, .hours__q td { color: var(--accent); }
.hours__note { font-size: 12px; color: var(--muted); margin: 10px 0 0; line-height: 1.8; }
.rules3 { list-style: none; margin: 0; padding: 0; }
.rules3 li { display: grid; grid-template-columns: 30px 1fr; padding: 12px 0; border-bottom: 1px solid var(--line); line-height: 1.8; }
.rules3 li:first-child { border-top: 1px solid var(--line); }
.rules3 span { font-family: var(--head); font-size: 18px; color: var(--accent); line-height: 1.5; }

/* ===== 9 写真だけの帯 ===== */
.photo-band { margin: 0; }
.photo-band img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 820px) { .photo-band img { aspect-ratio: 21 / 8; } }
.photo-band--short img { aspect-ratio: 21 / 9; }
@media (min-width: 820px) { .photo-band--short img { aspect-ratio: 3 / 1; } }

/* ===== 10 料金と、1年の総額 ===== */
.fee { display: grid; gap: 64px; align-items: start; }
@media (min-width: 900px) { .fee { grid-template-columns: 1fr 1fr; gap: 72px; } }
.fee-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fee-table th, .fee-table td { padding: 12px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.fee-table thead th { font-weight: 400; font-size: 12px; color: var(--muted); border-top: 1px solid var(--main); border-bottom-color: var(--main); }
.fee-table .yen { text-align: right; white-space: nowrap; font-family: var(--head); font-size: 16px; }
.fee-table thead .yen { font-family: var(--sans); font-size: 12px; }
.fee-table tbody th { font-weight: 500; white-space: nowrap; }
.fee-table td { color: var(--muted); font-size: 13px; }
.fee-table td.yen { color: var(--ink); }
.fee-table__group th { padding-top: 22px !important; font-family: var(--head); font-weight: 400 !important; font-size: 17px; color: var(--main); letter-spacing: .1em; border-bottom: 1px solid var(--main) !important; }
.fee-table__group small { margin-left: 10px; font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.fee-table--other td.yen { font-size: 15px; line-height: 1.7; }
@media (min-width: 820px) { .fee-table { font-size: 15px; } .fee-table td { font-size: 14px; } .fee-table .yen { font-size: 18px; } }
.sum { position: relative; font-family: var(--hand); color: #2E3B38; padding: 6px 2px 0; }
.sum__title { font-family: var(--head); font-size: 19px; letter-spacing: .1em; color: var(--ink); margin: 0 0 16px; line-height: 1.6; }
.sum__title small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.sum__tag { display: inline-block; font-size: 13px; color: #fff; background: var(--main); padding: 2px 12px; margin-right: 10px; vertical-align: 3px; letter-spacing: .14em; border-radius: 2px; }
.sum dl { margin: 0; }
.sum dl div { display: grid; grid-template-columns: 4.2em 1fr auto; gap: 0 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed #B8C6C1; }
.sum dt { font-size: 17px; }
.sum__calc { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.sum__yen { margin: 0; font-size: 19px; text-align: right; white-space: nowrap; }
.sum__total { margin: 16px 0 0; padding-top: 14px; border-top: 5px double var(--accent); display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 10px; }
.sum__total span { font-size: 19px; }
.sum__total b { font-weight: 400; font-size: 32px; color: var(--accent); letter-spacing: .02em; line-height: 1.3; }
.sum__total small { grid-column: 1 / -1; text-align: right; font-size: 15px; color: var(--ink); }
@media (min-width: 820px) { .sum dt { font-size: 19px; } .sum__calc { font-size: 14px; } .sum__yen { font-size: 22px; } .sum__total b { font-size: 40px; } }
.sum-notes { list-style: none; margin: 24px 0 0; padding: 0; font-size: 13px; color: var(--muted); line-height: 1.8; }
.sum-notes li { padding-left: 1.2em; text-indent: -1.2em; }
.sum-notes li::before { content: "※"; }
.fee__promise { text-align: center; font-family: var(--head); font-size: 19px; letter-spacing: .12em; margin: 72px auto 0; max-width: 640px; padding: 20px 0; border-top: 1px solid var(--main); border-bottom: 1px solid var(--line); }
@media (min-width: 820px) { .fee__promise { font-size: 22px; margin-top: 96px; } }
.sum2 { display: grid; gap: 70px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 900px) { .sum2 { grid-template-columns: 1fr 1fr; gap: 72px; } }
.sum2 + .sum-notes { max-width: 1000px; margin: 34px auto 0; }
.koshu-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: right; }
.koshu-table th, .koshu-table td { padding: 14px 6px; border-bottom: 1px solid var(--line); }
.koshu-table thead th { font-weight: 400; font-size: 12px; color: var(--muted); border-top: 1px solid var(--main); border-bottom-color: var(--main); }
.koshu-table th:first-child { text-align: left; }
.koshu-table tbody th { font-weight: 500; line-height: 1.5; }
.koshu-table tbody th small { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); }
.koshu-table td { font-family: var(--head); font-size: 15px; white-space: nowrap; }
@media (min-width: 820px) { .koshu-table { font-size: 15px; } .koshu-table td { font-size: 18px; } }

/* ===== 11 面談と1年の流れ ===== */
.year-scroll { overflow-x: auto; margin: 0 -20px; padding: 0 20px 8px; -webkit-overflow-scrolling: touch; }
.year { min-width: 760px; max-width: 1060px; margin: 0 auto; }
.year__months, .year__lane { display: grid; grid-template-columns: repeat(12, 1fr); }
.year__months { border-bottom: 1px solid var(--main); }
.year__months span { font-family: var(--head); font-size: 14px; color: var(--main); padding: 0 0 8px 6px; border-left: 1px solid var(--line); }
.year__lane { min-height: 58px; align-items: center; border-bottom: 1px solid var(--line); background: repeating-linear-gradient(90deg, transparent 0, transparent calc(100% / 12 - 1px), var(--line) calc(100% / 12 - 1px), var(--line) calc(100% / 12)); }
.year__lane i, .year__lane b { font-style: normal; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.year__lane .bar { display: block; margin: 0 4px; padding: 6px 8px; background: var(--main); color: var(--chalk); border-radius: 2px; overflow: hidden; text-overflow: ellipsis; }
.year__lane .bar--late { margin-left: 40%; }
.year__lane .dot, .year__lane .ring { display: flex; align-items: center; gap: 6px; padding-left: 6px; }
.year__lane .dot::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.year__lane .dot--ring::before { background: transparent; border: 2px solid var(--accent); }
.year__lane .ring::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--main); }
.year__lane .ring { color: var(--main); }
.year__lane b { font-weight: 400; color: var(--muted); padding-left: 6px; }
.year-legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 20px 0 0; padding: 0; font-size: 13px; color: var(--muted); }
.year-legend i { display: inline-block; vertical-align: -1px; margin-right: 6px; }
.lg-bar { width: 22px; height: 10px; background: var(--main); border-radius: 2px; }
.lg-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.lg-ring2 { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--accent); }
.lg-ring { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--main); }
.year-hint { text-align: center; font-size: 12px; color: var(--main); margin: 6px 0 0; }
@media (min-width: 820px) { .year-scroll { margin: 0; padding: 0; overflow: visible; } .year-hint { display: none; } .year__lane { min-height: 66px; } .year__lane i, .year__lane b { font-size: 13px; } }
.mendan2 { display: grid; gap: 44px; margin-top: 100px; align-items: start; }
.mendan2__photo { margin: 0; }
.mendan2__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 820px) { .mendan2 { grid-template-columns: 1fr 1.1fr; gap: 80px; margin-top: 140px; } }
.mendan2 + .btn-row { margin-top: 70px; }
/* ふり返りシート：影や枠のない、紙の絵 */
.sheet { margin: 26px 0 0; }
.sheet__paper { background-color: #FBFBF7; background-image: linear-gradient(transparent 31px, #E2E8E5 31px); background-size: 100% 32px; padding: 18px 20px 14px; transform: rotate(.8deg); }
.section2--white .sheet__paper { background-color: #F3F6F2; }
.sheet__head { font-family: var(--head); font-size: 17px; letter-spacing: .14em; margin: 0 0 6px; color: var(--main); }
.sheet__head small { font-family: var(--sans); font-size: 11px; color: var(--muted); margin-left: 10px; letter-spacing: .04em; }
.sheet__row { padding: 6px 0 8px; }
.sheet__row b { display: block; font-size: 13px; font-weight: 500; color: var(--ink); }
.sheet__row .scr { display: block; height: 7px; margin: 10px 0 0; border-radius: 4px; background: #C5D0CC; }
.sheet__why { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--hand); font-size: 14px; color: var(--muted); }
.sheet__why li::before { content: "□"; margin-right: 4px; }
.sheet__why li.on { color: var(--accent); }
.sheet__why li.on::before { content: "☑"; }
.sheet figcaption { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.8; }

/* ===== 12 塾長と、英語の先生 ===== */
.teachers { display: grid; gap: 60px; align-items: center; }
.teachers + .teachers { margin-top: 110px; }
.teachers__photos { position: relative; padding-bottom: 54px; }
.teachers__big { width: 86%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.teachers__small { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3; object-fit: cover; border: 7px solid var(--bg); border-radius: var(--radius); }
.teachers__photos:not(:has(.teachers__small)) { padding-bottom: 0; }
.teachers__photos:not(:has(.teachers__small)) .teachers__big { width: 100%; }
@media (min-width: 820px) {
  .teachers { grid-template-columns: 1.05fr 1fr; gap: 90px; }
  .teachers + .teachers { margin-top: 150px; }
  .teachers--rev > :first-child, .teachers--rev2 > :first-child { order: 2; }
  .teachers__photos { padding-bottom: 76px; }
}
.profile { margin: 26px 0 0; }
.profile div { padding: 16px 0; border-top: 1px solid var(--line); }
.profile div:last-child { border-bottom: 1px solid var(--line); }
.profile dt { font-family: var(--head); font-size: 16px; letter-spacing: .14em; color: var(--main); margin-bottom: 4px; }
.profile dd { margin: 0; font-size: 14px; line-height: 1.85; }
.profile dd span { display: inline-block; min-width: 6.4em; font-size: 12px; color: var(--muted); }
.num-board { background: var(--board); color: var(--chalk); padding: 56px 16px 40px; }
.num-board__list { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 0; text-align: center; }
.num-board__list li + li { border-left: 1px solid rgba(241, 240, 230, .25); }
.num-board__list li:nth-child(3) { border-left: 0; }
.num-board__list b { display: block; font-family: var(--hand); font-weight: 400; font-size: 46px; line-height: 1.15; }
.num-board__list span { display: block; font-size: 12px; line-height: 1.6; color: rgba(241, 240, 230, .82); padding: 0 8px; }
.num-board__note { text-align: center; font-size: 11px; color: rgba(241, 240, 230, .7); margin: 26px 0 0; }
@media (min-width: 820px) {
  .num-board { padding: 70px 24px 50px; }
  .num-board__list { grid-template-columns: repeat(4, 1fr); }
  .num-board__list li:nth-child(3) { border-left: 1px solid rgba(241, 240, 230, .25); }
  .num-board__list b { font-size: 64px; }
  .num-board__list span { font-size: 13px; }
}

/* ===== 13 勉強のコラム（一覧の見本・線で囲まない） ===== */
.column { list-style: none; margin: 0 -20px; padding: 0 20px 6px; display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.column li { scroll-snap-align: start; }
.column figure { position: relative; margin: 0; }
.column img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.column figure span { position: absolute; left: 0; top: 0; background: var(--main); color: #fff; font-size: 12px; letter-spacing: .14em; padding: 4px 12px; border-radius: var(--radius) 0 var(--radius) 0; }
.column time { display: block; font-size: 12px; color: var(--muted); margin-top: 14px; letter-spacing: .06em; }
.column p { margin: 4px 0 0; font-family: var(--head); line-height: 1.8; letter-spacing: .08em; font-size: 16px; }
.column__note { text-align: center; font-size: 12.5px; color: var(--muted); margin: 32px 0 0; }
@media (min-width: 820px) { .column { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 40px; overflow: visible; } .column p { font-size: 17px; } }

/* ===== お知らせの一覧 ===== */
.container--news { max-width: 880px; }
.news { list-style: none; margin: 0; padding: 0; }
.news li { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 18px; align-items: baseline; padding: 22px 2px; border-bottom: 1px solid #C9D5D1; }
.news li:first-child { border-top: 1px solid var(--main); }
.news time { font-size: 13px; color: var(--muted); letter-spacing: .05em; }
.news__cat { font-size: 12px; letter-spacing: .1em; color: var(--main); background: #fff; padding: 1px 12px; border-radius: 999px; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(36, 82, 74, .35); }
.news p { margin: 0; font-family: var(--head); letter-spacing: .06em; line-height: 1.8; }
@media (max-width: 819px) { .news li { grid-template-columns: auto 1fr; } .news li .news__cat { justify-self: start; } .news p { grid-column: 1 / -1; } }
.news__note { font-size: 12px; color: var(--muted); margin: 14px 0 0; }

/* ===== 14 無料体験（黒板）と、アクセス（方眼） ===== */
.tsteps { list-style: none; margin: 0 auto; padding: 0; max-width: 1060px; display: grid; gap: 34px; }
.tsteps li { position: relative; padding-left: 58px; }
.tsteps__num { position: absolute; left: 0; top: -4px; font-family: var(--hand); font-size: 40px; line-height: 1; color: var(--chalk); }
.tsteps__num::after { content: ""; position: absolute; left: -6px; top: 2px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(241, 240, 230, .55); border-left-color: transparent; transform: rotate(30deg); }
.tsteps h3 { font-family: var(--hand); font-weight: 400; font-size: 21px; line-height: 1.6; letter-spacing: .08em; margin: 0 0 6px; }
.tsteps p { margin: 0; font-size: 14px; line-height: 1.85; color: rgba(241, 240, 230, .84); }
@media (min-width: 900px) {
  .tsteps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .tsteps li { padding: 64px 0 0; }
  .tsteps__num { top: 0; font-size: 46px; }
  .tsteps li + li::before { content: "→"; position: absolute; left: -32px; top: 8px; font-family: var(--hand); font-size: 24px; color: rgba(241, 240, 230, .6); }
}
.promise-chalk { max-width: 820px; margin: 90px auto 0; }
.promise-chalk__title { font-family: var(--hand); font-size: 22px; letter-spacing: .14em; text-align: center; margin: 0 0 18px; }
.promise-chalk__title small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: rgba(241, 240, 230, .75); }
.promise-chalk ul { list-style: none; margin: 0; padding: 0; }
.promise-chalk li { position: relative; padding: 14px 0 14px 32px; line-height: 1.8; border-bottom: 1px solid rgba(241, 240, 230, .25); }
.promise-chalk li:first-child { border-top: 1px solid rgba(241, 240, 230, .25); }
.promise-chalk li::before { content: "×"; position: absolute; left: 4px; top: 13px; font-family: var(--hand); font-size: 18px; color: #FF9BA8; }
.board-btns { text-align: center; margin-top: 70px; }
.btns3 { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
@media (min-width: 720px) { .btns3 { grid-template-columns: 1.2fr 1fr 1fr; } }
.btns3 .btn { min-height: 60px; }
.section2--board .btn--line, .board-cta .btn--line { color: var(--chalk); border-color: rgba(241, 240, 230, .7); }
.section2--board .btn--line:hover, .board-cta .btn--line:hover { background: rgba(241, 240, 230, .1); color: #fff; }
.access2 { display: grid; gap: 56px; align-items: start; }
@media (min-width: 820px) { .access2 { grid-template-columns: 1fr 1.05fr; gap: 80px; } }
.tel-big { font-family: var(--head); font-size: 30px; letter-spacing: .1em; color: var(--main); margin: 28px 0 0; }
.map-embed { aspect-ratio: 4 / 3; width: 100%; background: #E4EAE7; border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.75); }
.map-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.access2__photo { margin: 34px 0 0; }
.access2__photo img { width: 72%; margin-left: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); transform: rotate(1.2deg); background: #fff; padding: 6px; }
.access2__photos { display: grid; gap: 30px; margin-top: 70px; }
.access2__photos figure { margin: 0; }
.access2__photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.access2__photos figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
@media (min-width: 820px) { .access2__photos { grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 100px; } }

/* ===== 15 ページの最後の大きな写真 ===== */
.last-photo { margin: 0; background: #183B35; }
.last-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.last-photo figcaption { text-align: center; color: var(--chalk); font-family: var(--hand); font-size: 17px; letter-spacing: .1em; line-height: 1.8; padding: 34px 20px 40px; }
@media (min-width: 820px) { .last-photo img { aspect-ratio: 16 / 6; } .last-photo figcaption { font-size: 22px; padding: 44px 20px 50px; } }

/* ===== 下層ページの部品 ===== */
.media2 { display: grid; gap: 44px; align-items: center; }
.media2__photo { margin: 0; }
.media2__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.media2__photo--wide { max-width: 900px; margin: 0 auto 70px; }
.media2__photo--wide img { aspect-ratio: 21 / 9; }
@media (min-width: 820px) {
  .media2 { grid-template-columns: 1.1fr 1fr; gap: 80px; }
  .media2--rev > :first-child { order: 2; }
  .media2--flat { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 90px; }
}
@media (max-width: 819px) { .media2--flat { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 60px; } }
.three-text { list-style: none; margin: 0 auto; padding: 0; max-width: 1060px; display: grid; gap: 54px; }
.three-text span { display: block; font-family: var(--head); font-size: 60px; line-height: 1; color: var(--main); }
.three-text span::after { content: ""; display: block; width: 30px; margin: 10px 0 18px; border-top: 2px solid var(--accent); }
.three-text h3 { font-size: 20px; line-height: 1.75; margin-bottom: 12px; }
.three-text p { color: var(--muted); margin: 0; }
.three-text .text-link { margin-left: 8px; margin-top: 0; }
@media (min-width: 820px) { .three-text { grid-template-columns: repeat(3, 1fr); gap: 56px; } .three-text span { font-size: 84px; } }
.promise { max-width: 760px; margin: 0 auto; padding: 44px 4px; border-top: 1px solid var(--main); border-bottom: 1px solid var(--line); }
.promise__title { font-family: var(--head); font-size: 21px; letter-spacing: .16em; text-align: center; margin: 0 0 22px; }
.promise__title small { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.promise ul { list-style: none; margin: 0; padding: 0; }
.promise li { position: relative; padding: 8px 0 8px 30px; line-height: 1.8; }
.promise li::before { content: "×"; position: absolute; left: 4px; top: 8px; color: var(--accent); font-family: var(--head); }
.course-list { display: grid; gap: 80px; }
.course { display: grid; gap: 30px; align-items: center; }
.course figure { margin: 0; }
.course img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.course__grade { display: inline-block; font-size: 13px; letter-spacing: .14em; color: #fff; background: var(--main); padding: 2px 12px; border-radius: 2px; }
.course h3 { font-size: 25px; margin: 12px 0 4px; }
.course__sub { font-size: 14px; color: var(--main); margin: 0 0 12px; }
.course p { color: var(--muted); }
.course .course__yen { color: var(--ink); font-family: var(--head); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 18px 0 0; letter-spacing: .06em; }
@media (min-width: 820px) { .course { grid-template-columns: 1.05fr 1fr; gap: 70px; } .course:nth-child(even) figure { order: 2; } .course-list { gap: 120px; } }
.course-list + .btn-row { margin-top: 80px; }
.floor-wrap { max-width: 620px; margin: 0 auto; }
.floor { margin: 0; }
.floor svg { display: block; width: 100%; height: auto; }
.floor figcaption { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }
.fl-head { font-family: "BIZ UDPMincho", serif; font-size: 15px; fill: #24524A; }
.fl-wall { fill: #F6F7F2; stroke: #24524A; stroke-width: 1.5; }
.fl-room { fill: #fff; stroke: #B9C8C3; stroke-width: 1; }
.fl-board { fill: #24524A; }
.fl-table { fill: #E9DCC6; stroke: #B49A74; stroke-width: 1; }
.fl-desk { fill: #E9DCC6; stroke: #B49A74; stroke-width: .8; }
.fl-window { stroke: #8FB5D0; stroke-width: 5; }
.fl-door { stroke: #E64A5E; stroke-width: 4; }
.fl-text { font-family: "Noto Sans JP", sans-serif; font-size: 12px; fill: #23302D; }
.fl-text--s { font-size: 10px; fill: #5C6965; }
/* よくある質問：箱をやめて、細い横線で */
.faq2 { max-width: 860px; margin: 0 auto; }
.faq2 details { border-bottom: 1px solid var(--line); }
.faq2 details:first-child { border-top: 1px solid var(--main); }
.faq2 summary { list-style: none; cursor: pointer; position: relative; padding: 22px 40px 22px 44px; font-family: var(--head); font-size: 17px; letter-spacing: .08em; line-height: 1.7; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary::before { content: "問"; position: absolute; left: 4px; top: 21px; font-family: var(--hand); font-size: 20px; color: var(--main); }
.faq2 summary::after { content: "＋"; position: absolute; right: 8px; top: 22px; color: var(--accent); }
.faq2 details[open] summary::after { content: "−"; }
.faq2__a { position: relative; padding: 0 10px 24px 44px; color: var(--muted); }
.faq2__a::before { content: "答"; position: absolute; left: 4px; top: -2px; font-family: var(--hand); font-size: 20px; color: var(--accent); }
/* フォーム：外の枠をやめて、白い紙の地に */
.form { border: 0; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 30px -26px rgba(20, 40, 36, .4); }
.form__req { background: var(--accent); }
.form input[type="text"], .form input[type="tel"], .form select, .form textarea { border-color: #C9D5D1; border-radius: 4px; background: #FBFCFA; }
.form__hint { text-align: center; font-size: 13px; color: #A92E3F; margin: 8px 0 12px; }
.ways2 { display: grid; gap: 60px; max-width: 980px; }
.ways2 > div { border-top: 1px solid var(--main); padding-top: 24px; }
.ways2__label { display: block; font-size: 12px; letter-spacing: .28em; color: var(--main); }
.ways2 h3 { font-size: 22px; margin: 6px 0 4px; }
.ways2 .tel-big { margin: 6px 0 4px; }
.ways2 p { color: var(--muted); }
.ways2 .btn { margin-top: 6px; min-width: 220px; }
@media (min-width: 820px) { .ways2 { grid-template-columns: 1fr 1fr; gap: 80px; } }
/* 下層ページの最後：黒板の帯 */
.board-cta { background: var(--board); color: var(--chalk); padding: 90px 20px; text-align: center; }
.board-cta__inner { max-width: 860px; margin: 0 auto; }
.board-cta__big { font-family: var(--hand); font-size: 28px; letter-spacing: .1em; line-height: 1.6; margin: 0 0 10px; }
.board-cta p:not(.board-cta__big):not(.btn-hint) { color: rgba(241, 240, 230, .85); margin-bottom: 24px; }
@media (min-width: 820px) { .board-cta { padding: 120px 28px; } .board-cta__big { font-size: 40px; } }

/* ===== トップの長さを抑える（パソコンでおよそ14,000px に） ===== */
.more { text-align: center; margin: 56px 0 0; }
.more .text-link { margin-top: 0; }
@media (min-width: 820px) {
  .section2 { padding: 136px 28px; }
  .title2 { margin-bottom: 58px; }
  /* 3つ：パソコンでは横に3つ並べ、まん中を下げてずらす */
  .three { grid-template-columns: repeat(3, 1fr); gap: 0 46px; align-items: start; }
  .three__item, .three__item:nth-child(even) { grid-template-columns: 1fr; gap: 26px; }
  .three__item:nth-child(even) .three__photo { order: 0; width: 100%; }
  .three__item:nth-child(2) { margin-top: 96px; }
  .three__num { font-size: 92px; top: -54px; left: -8px; }
  .three__body h3 { font-size: 21px; }
  .sum-art { width: 80%; }
  .sum-art p { font-size: 16px; padding: 2px; }
  .sum-art__total { font-size: 18px !important; }
  /* 80分 */
  .lesson li { grid-template-columns: 110px 1fr 280px; padding-bottom: 40px; }
  .lesson__photo img { aspect-ratio: 3 / 2; }
  /* 夜の時間 */
  .night + .night { margin-top: 110px; }
  .night__photo img { aspect-ratio: 3 / 2; }
  .night__photos { padding-bottom: 56px; }
  .night__big, .night__small { aspect-ratio: 3 / 2; }
  /* 面談：文とふり返りシートを左右に。シートの中は3つを横に */
  .mendan2 { grid-template-columns: 1fr 1.7fr; gap: 64px; margin-top: 96px; align-items: center; }
  .mendan2 .sheet { margin: 0; }
  .sheet__paper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 26px; }
  .sheet__head { grid-column: 1 / -1; }
  /* 帯 */
  .dark-band { min-height: 480px; }
  .photo-band img { aspect-ratio: 21 / 7; }
  .promise-chalk { margin-top: 70px; }
  .board-btns { margin-top: 56px; }
  .container--news { margin-top: 130px; }
}
@media (max-width: 819px) { .container--news { margin-top: 96px; } .mendan2 { margin-top: 70px; } }
.night__photo--top { margin-bottom: 8px; }
.lesson-wrap { display: grid; gap: 50px; max-width: 1060px; margin: 0 auto; }
.lesson-wrap .lesson__note { grid-column: 1 / -1; }
.lesson-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lesson-photos figure { margin: 0; }
.lesson-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.lesson-photos figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.6; }
.trial-bottom { display: grid; }
@media (min-width: 820px) {
  .night > .reveal:first-child { position: static; }
  .lesson-wrap { grid-template-columns: 1.35fr 1fr; gap: 0 64px; align-items: start; }
  .lesson-wrap .lesson li { grid-template-columns: 110px 1fr; padding-bottom: 34px; }
  .lesson-photos { grid-template-columns: 1fr; gap: 28px; }
  .lesson-photos img { aspect-ratio: 3 / 2; }
  .lesson-wrap .lesson__note { text-align: left; }
  .trial-bottom { grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; max-width: 1060px; margin: 70px auto 0; }
  .trial-bottom .promise-chalk { margin: 0; }
  .trial-bottom .board-btns { margin: 0; }
  .trial-bottom .btns3 { grid-template-columns: 1fr; }
}
@media (min-width: 820px) { .lesson-wrap .lesson-photos { grid-column: 2; grid-row: 1; } .lesson-wrap .lesson { grid-column: 1; grid-row: 1; } }
@media (min-width: 820px) {
  .tt th, .tt td { padding: 15px 6px; }
  .tt-notes { margin-top: 30px; }
  .more { margin-top: 40px; }
  .fee-table th, .fee-table td { padding: 10px 6px; }
  .fee__promise { margin-top: 64px; }
  .container--news { margin-top: 104px; }
  .three__item:nth-child(2) { margin-top: 72px; }
  .night .lines li { padding: 11px 0 11px 22px; font-size: 15px; }
  .night .lines li::before { top: 22px; }
  .info-table th, .info-table td { padding: 12px 8px; }
}
@media (max-width: 819px) {
  .lesson__min { font-size: 25px; white-space: nowrap; padding-right: 12px; }
  .lesson__min small { font-size: 11px; }
  .fee__promise { font-size: 16px; letter-spacing: .06em; }
}

/* 無料体験のページ：体験の流れ（白い地の版） */
.tsteps2 { list-style: none; margin: 0 auto; padding: 0; max-width: 1060px; display: grid; gap: 0; }
.tsteps2 li { display: grid; grid-template-columns: 52px 1fr; gap: 0 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.tsteps2 li:first-child { border-top: 1px solid var(--main); }
.tsteps2__num { grid-row: 1 / span 2; font-family: var(--head); font-size: 40px; line-height: 1; color: var(--main); }
.tsteps2 h3 { font-size: 19px; line-height: 1.6; margin: 0 0 6px; }
.tsteps2 p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 900px) {
  .tsteps2 { grid-template-columns: repeat(4, 1fr); gap: 0 36px; }
  .tsteps2 li, .tsteps2 li:first-child { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid var(--main); padding-top: 22px; }
  .tsteps2__num { grid-row: auto; font-size: 54px; margin-bottom: 14px; }
  .tsteps2__num::after { content: ""; display: block; width: 26px; margin-top: 10px; border-top: 2px solid var(--accent); }
}
