/* ピタガク 共通スタイル
   決まり: 白地・濃い紺の文字・柱ごとの淡い色。写真・「No.1」・ギフト券のバナーは使わない。
   色と書体は design-md/education-brands/brand-guide.html（第2版）に合わせる。 */

:root {
  --navy: #12284A;
  --navy-soft: #4A5B76;
  --white: #FFFFFF;
  --mint: #CFEFDD;     /* 学校 */
  --sky: #CFE3F8;      /* 塾 */
  --apricot: #F9D8BC;  /* 習い事 */
  --lemon: #FBEDB0;    /* お金 */
  --blue: #3D8FE8;     /* 強調 */
  --blue-deep: #2B74C9;
  --ring: #F2C230;     /* ロゴの輪 */
  --line: #D6DEE9;
  --track: #E8EDF4;
  --soft: #F5F7FA;
  --head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.num { font-family: var(--head); font-weight: 900; font-feature-settings: "palt"; letter-spacing: 0; }
.nowrap { white-space: nowrap; }

/* ---------- ヘッダー ---------- */
.site-header { background: var(--white); border-bottom: 1px solid transparent; }
.site-header-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 16px 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.logo { display: block; line-height: 0; }
.logo img { height: 30px; width: auto; display: block; }
.pillar-nav { display: flex; gap: 6px; }
.pn {
  font-family: var(--head); font-weight: 700; font-size: 14px; line-height: 1;
  text-decoration: none; padding: 9px 12px; border-radius: 10px; white-space: nowrap;
}
.pn-school { background: var(--mint); }
.pn-juku { background: var(--sky); }
.pn-lesson { background: var(--apricot); }
.pn-money { background: var(--lemon); }
.pn.is-on { box-shadow: inset 0 0 0 2px var(--navy); }
.pn:hover { filter: brightness(0.96); }

/* トップのスマホ幅は、見本どおりロゴを中央に大きく置く（下に4つの柱が並ぶので上の柱リンクは出さない） */
.page-home .site-header-inner { justify-content: center; padding-top: 30px; padding-bottom: 0; }
.page-home .logo img { height: 50px; }
.page-home .pillar-nav { display: none; }

/* ---------- 見出し ---------- */
.h-display {
  font-family: var(--head); font-weight: 900; font-size: clamp(24px, 8.2vw, 31px); line-height: 1.3;
  text-align: center; letter-spacing: 0.01em;
}
.h-section {
  font-family: var(--head); font-weight: 900; font-size: 24px; line-height: 1.35;
  padding-bottom: 12px; border-bottom: 2px solid var(--sky); margin-bottom: 20px;
}
.h-sub { font-family: var(--head); font-weight: 900; font-size: 19px; line-height: 1.4; margin-bottom: 10px; }
.lead { font-size: 16px; line-height: 1.9; }
.muted { color: var(--navy-soft); }
.small { font-size: 13px; line-height: 1.7; }
section { padding: 34px 0; }

/* ---------- トップ: 冒頭 ---------- */
.hero { padding: 14px 0 26px; text-align: center; }
.tagline {
  font-family: var(--head); font-weight: 900; line-height: 1.5; white-space: nowrap;
  font-feature-settings: "palt"; font-size: clamp(15px, calc((100vw - 36px) / 17.2), 24px);
}
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.pillar {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border-radius: var(--r-md); padding: 16px 4px 14px; text-decoration: none;
  font-family: var(--head); font-weight: 900; font-size: 17px; line-height: 1.2;
  transition: transform .15s ease;
}
.pillar svg { width: 40px; height: 40px; }
.pillar:hover { transform: translateY(-2px); }
.pillar small { font-family: var(--body); font-weight: 500; font-size: 11px; color: var(--navy-soft); display: none; }
.c-school { background: var(--mint); }
.c-juku { background: var(--sky); }
.c-lesson { background: var(--apricot); }
.c-money { background: var(--lemon); }

/* ---------- トップ: 学年 ---------- */
.grade { padding-top: 30px; text-align: center; }
.grade-buttons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 18px; }
.grade-btn {
  font-family: var(--head); font-weight: 900; font-size: 17px; line-height: 1;
  background: var(--white); border: 1.5px solid #C5CFDD; border-radius: var(--r-sm);
  padding: 15px 0; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.grade-btn:hover { border-color: var(--navy); }
.grade-btn[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.todo { padding-top: 26px; }
.todo-list { display: grid; gap: 12px; margin-top: 18px; text-align: left; }
.todo-item {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  border-radius: var(--r-md); padding: 16px 18px; min-height: 76px;
  transition: transform .15s ease;
}
.todo-item:hover { transform: translateX(3px); }
.todo-item svg { width: 40px; height: 40px; flex: none; }
.todo-title { font-family: var(--head); font-weight: 900; font-size: 20px; line-height: 1.35; display: block; }
.todo-desc { font-size: 13px; line-height: 1.6; display: block; margin-top: 2px; }
.soon {
  display: inline-block; font-family: var(--body); font-weight: 700; font-size: 11px; line-height: 1;
  background: var(--white); border: 1px solid var(--navy); border-radius: 6px; padding: 4px 6px;
  margin-left: 8px; vertical-align: 3px; white-space: nowrap;
}
[hidden] { display: none !important; }

/* ---------- お金のカード ---------- */
.money-card { background: var(--lemon); border-radius: var(--r-lg); padding: 26px 16px 18px; }
.money-head { text-align: center; }
.money-label { font-family: var(--head); font-weight: 900; font-size: 22px; line-height: 1.3; }
.money-total { font-family: var(--head); font-weight: 900; line-height: 1.05; margin-top: 2px; white-space: nowrap; }
.money-total .yaku, .money-total .unit { font-size: 30px; }
.money-total .fig { font-size: 78px; letter-spacing: -0.01em; }
.money-rows { background: var(--white); border-radius: var(--r-md); padding: 8px 16px; margin-top: 16px; }
.money-row { display: grid; grid-template-columns: 5.6em 1fr auto; align-items: center; gap: 10px; padding: 11px 0; }
.money-row + .money-row { border-top: 1px solid var(--track); }
.money-row .k { font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.35; }
.money-row .v { font-family: var(--head); font-weight: 700; font-size: 15px; white-space: nowrap; text-align: right; min-width: 5.4em; }
.money-row .v b { font-weight: 900; font-size: 19px; }
.bar { height: 16px; background: var(--track); border-radius: 5px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--blue); border-radius: 5px; width: 0; transition: width .35s ease; }
.btn {
  display: block; width: 100%; text-align: center; text-decoration: none; cursor: pointer; border: 0;
  background: var(--blue); color: var(--white); border-radius: var(--r-md);
  font-family: var(--head); font-weight: 900; font-size: 20px; line-height: 1.3; padding: 17px 16px;
  transition: background .15s;
}
.btn:hover { background: var(--blue-deep); }
.money-card .btn { margin-top: 14px; }
.btn-line {
  background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy);
  font-size: 16px; padding: 13px 16px;
}
.btn-line:hover { background: var(--soft); }
.premise { margin-top: 14px; font-size: 13px; line-height: 1.75; color: var(--navy-soft); }
.premise li { padding-left: 1em; text-indent: -1em; }
.premise li::before { content: "・"; }
.premise a { color: var(--navy); }

/* ---------- 路線図（準備中） ---------- */
.route-box { position: relative; border-radius: var(--r-lg); background: var(--soft); padding: 18px 16px 20px; overflow: hidden; }
.route-box svg { display: block; width: 100%; max-width: 620px; height: auto; }
.route-note { margin-top: 6px; }
.badge-soon {
  display: inline-block; font-family: var(--head); font-weight: 900; font-size: 14px; line-height: 1;
  background: var(--navy); color: var(--white); border-radius: 8px; padding: 8px 12px; margin-bottom: 10px;
}
.station-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.station-chip {
  display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none;
  background: var(--mint); border-radius: 10px; padding: 8px 12px; font-size: 14px; line-height: 1.4;
}
.station-chip b { font-family: var(--head); font-weight: 900; font-size: 15px; }

/* ---------- 学校の一覧 ---------- */
.school-grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.school-card {
  display: block; text-decoration: none; border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 16px 16px 14px; background: var(--white); transition: border-color .15s, transform .15s;
}
.school-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.school-card .name { display: block; font-family: var(--head); font-weight: 900; font-size: 20px; line-height: 1.35; }
.school-card .meta { display: block; font-size: 13px; color: var(--navy-soft); margin-top: 2px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.fact { border-radius: 10px; padding: 9px 8px 8px; text-align: center; }
.fact .k { display: block; font-size: 11px; line-height: 1.4; font-weight: 500; }
.fact .v { display: block; font-family: var(--head); font-weight: 900; font-size: 17px; line-height: 1.3; white-space: nowrap; }
.fact .v small { font-size: 11px; font-weight: 700; }
.fact .v.pending { font-size: 13px; padding-top: 3px; color: var(--navy-soft); }
.fact .v.name { font-size: 13px; line-height: 1.3; padding-top: 2px; white-space: normal; }
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chip-btn {
  font-family: var(--head); font-weight: 700; font-size: 14px; line-height: 1; cursor: pointer;
  background: var(--white); border: 1.5px solid #C5CFDD; border-radius: 10px; padding: 10px 12px;
}
.chip-btn[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }

.event-list { display: grid; gap: 8px; }
.event {
  display: grid; grid-template-columns: 4.6em 1fr; gap: 12px; align-items: center; text-decoration: none;
  background: var(--mint); border-radius: var(--r-sm); padding: 12px 14px;
}
.event .d { font-family: var(--head); font-weight: 900; font-size: 22px; line-height: 1.1; white-space: nowrap; }
.event .d small { display: block; font-size: 11px; font-weight: 700; margin-top: 3px; }
.event .t { font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.45; }
.event .s { font-size: 12px; line-height: 1.5; color: var(--navy-soft); display: block; font-family: var(--body); font-weight: 400; }

/* ---------- 学校ページ ---------- */
.crumb { font-size: 12px; color: var(--navy-soft); padding-top: 6px; }
.crumb a { color: var(--navy-soft); }
.school-hero { padding: 10px 0 8px; }
.school-name { font-family: var(--head); font-weight: 900; font-size: 44px; line-height: 1.15; letter-spacing: 0.01em; }
.school-name.long { font-size: 32px; }
.school-sub { font-family: var(--head); font-weight: 700; font-size: 18px; margin-top: 6px; }
.tiles { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 20px; }
.tile {
  border-radius: var(--r-md); padding: 14px 6px 12px; text-align: center; min-width: 0;
  display: flex; flex-direction: column; align-items: center;
}
.tile svg { width: 38px; height: 38px; }
.tile .k { font-family: var(--head); font-weight: 700; font-size: 13px; line-height: 1.35; margin-top: 4px; }
.tile .v { font-family: var(--head); font-weight: 900; line-height: 1.1; margin-top: 4px; white-space: nowrap; }
.tile .v .fig { font-size: 34px; }
.tile .v .u { font-size: 14px; }
.tile .v.pending { font-size: 15px; padding: 10px 0 6px; color: var(--navy-soft); white-space: normal; }
.tile .sub { font-size: 11px; line-height: 1.4; margin-top: 3px; color: var(--navy-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.summary { margin-top: 20px; }

.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { text-align: left; padding: 11px 6px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.6; }
.tbl th { font-weight: 500; }
.tbl td.amt { text-align: right; white-space: nowrap; font-family: var(--head); font-weight: 900; font-size: 17px; }
.tbl tr.total th, .tbl tr.total td { border-bottom: 0; border-top: 2px solid var(--navy); font-family: var(--head); font-weight: 900; font-size: 18px; }
.tbl tr.total td.amt { font-size: 22px; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 700; line-height: 1; border-radius: 6px; padding: 4px 6px;
  margin-left: 6px; vertical-align: 2px; white-space: nowrap; background: var(--track);
}
.tag.once { background: var(--lemon); }
.tag.pub { background: var(--mint); }
.tag.est { background: var(--white); box-shadow: inset 0 0 0 1.2px var(--navy); }
.tile .k .tag { margin-left: 2px; vertical-align: 1px; }
.sy-total { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sy-total .num { font-size: 34px; line-height: 1.2; }
.sy-total .tag { font-size: 13px; padding: 6px 8px; margin: 0; }
.note-box { background: var(--soft); border-radius: var(--r-sm); padding: 12px 14px; font-size: 14px; line-height: 1.75; margin-top: 12px; }
.source { margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--navy-soft); }
.source a { color: var(--navy-soft); word-break: break-all; }
.pending-box {
  border: 1.5px dashed #AEBBCC; border-radius: var(--r-md); padding: 16px; font-size: 14px; line-height: 1.75;
}
.pending-box .badge-soon { margin-bottom: 8px; }

.station-rows { display: grid; gap: 8px; }
.station-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; background: var(--mint); border-radius: var(--r-sm); padding: 12px 14px; }
.station-row .st { font-family: var(--head); font-weight: 900; font-size: 18px; line-height: 1.3; }
.station-row .ln { font-size: 12px; line-height: 1.5; display: block; font-family: var(--body); font-weight: 400; }
.station-row .wk { font-family: var(--head); font-weight: 900; font-size: 22px; white-space: nowrap; }
.station-row .wk small { font-size: 12px; font-weight: 700; }

.exam-list { display: grid; gap: 10px; }
.exam { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.exam-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.exam-name { font-family: var(--head); font-weight: 900; font-size: 18px; }
.exam-date { font-family: var(--head); font-weight: 900; font-size: 24px; white-space: nowrap; }
.exam-date small { font-size: 13px; font-weight: 700; }
.exam dl { display: grid; grid-template-columns: 6.2em 1fr; gap: 3px 10px; font-size: 14px; margin-top: 8px; line-height: 1.7; }
.exam dt { color: var(--navy-soft); }

.faq dt { font-family: var(--head); font-weight: 900; font-size: 17px; line-height: 1.5; padding-top: 14px; }
.faq dd { font-size: 15px; line-height: 1.8; padding: 4px 0 14px; border-bottom: 1px solid var(--line); }
.cta-row { display: grid; gap: 10px; margin-top: 16px; }
.cta-row .btn { display: flex; align-items: center; justify-content: center; min-height: 58px; }

/* ---------- 塾ページ ---------- */
.three { display: flex; align-items: center; gap: 14px; margin: 22px 0 6px; }
.three .ico svg { width: 64px; height: 64px; display: block; }
.three p { display: flex; flex-direction: column; }
.three .lbl { font-family: var(--head); font-weight: 900; font-size: 20px; line-height: 1.3; }
.three .amt { font-size: 46px; line-height: 1.1; }
div.school-card:hover { border-color: var(--line); transform: none; }

/* ---------- お金の計算 ---------- */
.calc { display: grid; gap: 20px; }
.calc-result { position: sticky; top: 8px; z-index: 5; }
.calc-result .money-card { padding: 16px 14px 10px; box-shadow: 0 6px 20px rgba(18, 40, 74, 0.10); }
.calc-result .money-total .fig { font-size: 60px; }
.calc-result .money-total .yaku, .calc-result .money-total .unit { font-size: 24px; }
.calc-result .money-label { font-size: 17px; }
.calc-result .money-rows { padding: 2px 12px; margin-top: 10px; }
.calc-result .money-row { padding: 7px 0; grid-template-columns: 5.2em 1fr auto; }
.calc-result .money-row .k { font-size: 13px; }
.calc-result .money-row .v b { font-size: 16px; }
.calc-result .bar { height: 12px; }
.fieldset { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.fieldset + .fieldset { margin-top: 12px; }
.fieldset h3 { font-family: var(--head); font-weight: 900; font-size: 19px; line-height: 1.4; display: flex; align-items: center; gap: 8px; }
.fieldset h3 .dot { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.fieldset .hint { font-size: 13px; line-height: 1.7; color: var(--navy-soft); margin-top: 4px; }
.field { margin-top: 12px; }
.field label, .field .lbl { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inp {
  width: 100%; border: 1.5px solid #C5CFDD; border-radius: 10px; padding: 11px 12px; background: var(--white);
  font-family: var(--head); font-weight: 700; font-size: 17px; line-height: 1.3; min-height: 48px;
}
select.inp { appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2312284A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px; }
.inp:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(61, 143, 232, 0.25); }
.inp-unit { position: relative; }
.inp-unit .inp { padding-right: 44px; text-align: right; }
.inp-unit span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--navy-soft); pointer-events: none; }
.sub-total { margin-top: 12px; text-align: right; font-family: var(--head); font-weight: 900; font-size: 18px; }
.sub-total small { font-size: 12px; font-weight: 700; color: var(--navy-soft); margin-right: 6px; }
.src-list { font-size: 13px; line-height: 1.75; }
.src-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.src-list b { font-family: var(--head); font-weight: 900; }
.src-list a { word-break: break-all; color: var(--navy-soft); }

/* ---------- 準備中のページ ---------- */
.soon-hero { border-radius: var(--r-lg); padding: 28px 18px; text-align: center; }
.soon-hero svg { width: 56px; height: 56px; }
.soon-hero h1 { font-family: var(--head); font-weight: 900; font-size: 30px; line-height: 1.3; margin-top: 6px; }
.plan-list { display: grid; gap: 10px; }
.plan-list li { border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: 15px; line-height: 1.7; }
.plan-list b { font-family: var(--head); font-weight: 900; display: block; }

/* ---------- フッター ---------- */
.site-footer { background: var(--soft); margin-top: 30px; padding: 30px 0 34px; }
.footer-logo img { height: 28px; width: auto; display: block; }
.footer-tag { font-family: var(--head); font-weight: 700; font-size: 15px; margin-top: 8px; }
.promise { margin-top: 14px; font-size: 13px; line-height: 1.75; }
.promise li { padding-left: 1em; text-indent: -1em; }
.promise li::before { content: "・"; }
.footer-links { display: flex; gap: 16px; margin-top: 16px; font-family: var(--head); font-weight: 700; font-size: 15px; }
.footer-note { margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--navy-soft); }

/* ---------- 少し広いスマホ ---------- */
@media (min-width: 380px) {
  .pillar { font-size: 20px; padding: 20px 4px 16px; }
  .pillar svg { width: 48px; height: 48px; }
  .todo-title { font-size: 22px; }
  .todo-item svg { width: 44px; height: 44px; }
  .h-display { font-size: 34px; }
  .grade-btn { font-size: 19px; padding: 17px 0; }
  .tile .v .fig { font-size: 40px; }
}

/* ---------- タブレット以上 ---------- */
@media (min-width: 720px) {
  .wrap { padding: 0 28px; }
  .site-header-inner, .page-home .site-header-inner { justify-content: space-between; padding: 18px 28px 14px; }
  .logo img, .page-home .logo img { height: 38px; }
  .page-home .pillar-nav { display: flex; }
  .pn { font-size: 15px; padding: 11px 18px; }
  section { padding: 46px 0; }
  .hero { padding: 40px 0 34px; }
  .tagline { font-size: 34px; }
  .pillars { gap: 14px; max-width: 860px; margin: 30px auto 0; }
  .pillar { font-size: 24px; padding: 28px 8px 22px; border-radius: var(--r-lg); gap: 8px; }
  .pillar svg { width: 60px; height: 60px; }
  .pillar small { display: block; font-size: 13px; }
  .h-display { font-size: 44px; }
  .h-section { font-size: 30px; }
  .grade-buttons { max-width: 640px; margin: 24px auto 0; gap: 10px; }
  .grade-btn { font-size: 22px; padding: 19px 0; border-radius: var(--r-md); }
  .todo-list { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
  .todo-item { flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 22px 20px; border-radius: var(--r-lg); min-height: 170px; }
  .todo-item svg { width: 48px; height: 48px; }
  .todo-title { font-size: 23px; }
  .todo-desc { font-size: 14px; margin-top: 6px; }
  .money-card { padding: 36px 36px 30px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px 36px; align-items: center; }
  .money-head { grid-row: span 2; }
  .money-label { font-size: 28px; }
  .money-total .fig { font-size: 112px; }
  .money-total .yaku, .money-total .unit { font-size: 40px; }
  .money-rows { margin-top: 0; padding: 10px 22px; }
  .money-row { grid-template-columns: 6.4em 1fr auto; padding: 14px 0; }
  .money-row .k { font-size: 17px; }
  .money-row .v b { font-size: 22px; }
  .money-card .btn { margin-top: 4px; }
  .route-box { padding: 28px; }
  .school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .event-list { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .school-name { font-size: 64px; }
  .school-name.long { font-size: 48px; }
  .school-sub { font-size: 22px; }
  .tiles { gap: 14px; max-width: 760px; }
  .tile { padding: 22px 12px 20px; border-radius: var(--r-lg); }
  .tile svg { width: 48px; height: 48px; }
  .tile .k { font-size: 16px; }
  .tile .v .fig { font-size: 54px; }
  .tile .v .u { font-size: 19px; }
  .tile .sub { font-size: 13px; }
  .exam-list { grid-template-columns: repeat(2, 1fr); }
  .three .amt { font-size: 64px; }
  .three .lbl { font-size: 26px; }
  .three .ico svg { width: 84px; height: 84px; }
  .cta-row { grid-template-columns: repeat(2, 1fr); }
  .soon-hero { padding: 44px 24px; }
  .soon-hero h1 { font-size: 40px; }
  .plan-list { grid-template-columns: repeat(3, 1fr); }
  .calc-result .money-card { display: block; }
}

/* ---------- パソコン ---------- */
@media (min-width: 1000px) {
  .school-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .event-list.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .school-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 48px; align-items: start; }
  .school-cols section { padding: 30px 0; }
  .school-cols .exam-list, .school-cols .event-list { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr 400px; align-items: start; gap: 36px; }
  .calc-form { order: 1; }
  .calc-result { order: 2; top: 20px; }
  .calc-result .money-card { padding: 26px 22px 18px; }
  .calc-result .money-total .fig { font-size: 84px; }
  .calc-result .money-total .yaku, .calc-result .money-total .unit { font-size: 30px; }
  .calc-result .money-label { font-size: 20px; }
  .calc-result .money-row { padding: 10px 0; }
  .calc-result .money-row .k { font-size: 15px; }
  .calc-result .money-row .v b { font-size: 18px; }
  .calc-result .bar { height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header .pillar-nav, .btn, .calc-result { position: static; }
}

/* ---------- 習い事 ---------- */
.nar-co { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px 16px 14px; margin-top: 14px; background: var(--white); scroll-margin-top: 12px; }
.nar-co h3 { font-family: var(--head); font-weight: 900; font-size: 20px; line-height: 1.35; }
.nar-co .tbl { margin-top: 6px; }
.nar-co .note-box { margin-top: 10px; }
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-block; text-decoration: none; background: var(--apricot); border-radius: 10px; padding: 9px 13px; font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.3; }
.chip-link:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }

/* ---------- 一覧のカードの中のリンク・広告のリンク ---------- */
.card-link { display: inline-block; margin-top: 10px; font-size: 13px; }
.ad-box { margin-top: 12px; border: 1.5px dashed var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: 15px; }
.ad-tag { display: inline-block; font-family: var(--head); font-weight: 900; font-size: 12px; line-height: 1; border: 1.5px solid var(--navy); border-radius: 6px; padding: 4px 7px; margin-right: 8px; vertical-align: 1px; }
.ad-box p { margin-top: 6px; }

/* ---------- 文章のページ（運営者情報・数字の集め方・プライバシーポリシー） ---------- */
.doc p { font-size: 15px; line-height: 1.9; }
.doc .h-section { margin-top: 30px; }
.doc .tbl th { white-space: nowrap; width: 7.5em; color: var(--navy-soft); }
.doc-list { font-size: 15px; line-height: 1.85; margin-top: 4px; }
.doc-list li { padding-left: 1em; text-indent: -1em; margin-top: 6px; }
.doc-list li::before { content: "・"; }
.footer-sub { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; }

/* ---------- 計算: 講習費を足す ---------- */
label.check { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.5; cursor: pointer; }
label.check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--blue); }
