/* ピタガク 共通スタイル
   決まり: 白地・濃い紺の文字・柱ごとの淡い色。写真・「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); }

/* ==========================================================================
   作り直し（2026-11-21）: 絵・今週の日程・保存・「くわしく」
   ========================================================================== */

/* ---------- 絵（Codex の画像生成で作ったイラスト。写真・実在の建物は使わない） ---------- */
.illust { display: block; width: 100%; height: auto; }
.hero-illust { border-radius: var(--r-lg); margin: 14px auto 4px; max-width: 560px; }
.grade-q { margin-top: 18px; }
.grade-illust { border-radius: var(--r-md); margin: 0 0 14px; aspect-ratio: 2 / 1; object-fit: cover; }
.todo-panel .h-display { font-size: clamp(22px, 7vw, 30px); }
.todo-item { position: relative; padding-right: 40px; }
.todo-item .arrow { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-family: var(--head); font-weight: 900; font-size: 22px; color: var(--blue); }
.pillar-head { display: flex; align-items: center; gap: 14px; border-radius: var(--r-lg); padding: 10px 16px 10px 10px; margin: 8px 0 14px; }
.pillar-head .h-display { text-align: left; font-size: clamp(21px, 6.2vw, 30px); }
.ph-illust { width: 92px; height: 92px; border-radius: var(--r-md); flex: none; }

/* ---------- 今週・来週 ---------- */
.week { padding-top: 26px; }
.wk-list { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.wk-list > * { min-width: 0; }
.wk { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 8px 10px 8px 8px; background: var(--white); }
.wk-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wk-d { flex: none; width: 4.1em; text-align: center; background: var(--sky); border-radius: var(--r-sm); padding: 8px 0 6px; font-size: 20px; line-height: 1.05; }
.wk-d small { display: block; font-size: 12px; font-weight: 700; margin-top: 3px; }
.wk-t { flex: 1; min-width: 0; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.wk-n { font-family: var(--head); font-weight: 900; font-size: 16px; line-height: 1.35; }
.wk-l { font-family: var(--head); font-weight: 700; font-size: 12px; line-height: 1; border-radius: 6px; padding: 5px 7px; white-space: nowrap; }
.wk-s { flex-basis: 100%; font-size: 12px; line-height: 1.45; color: var(--navy-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-more { margin-top: 10px; }

/* ---------- 更新 ---------- */
.upd { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 4px 16px; }
.upd li { display: grid; grid-template-columns: 3.6em 1fr; gap: 10px; padding: 11px 0; font-size: 15px; line-height: 1.6; }
.upd li + li { border-top: 1px solid var(--track); }
.upd-d { font-size: 16px; background: var(--sky); border-radius: 8px; text-align: center; align-self: start; padding: 2px 0; }

/* ---------- 4つの柱（絵つき） ---------- */
.pillar-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pillar-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--r-lg); overflow: hidden; padding: 0 0 14px; transition: transform .15s ease; }
.pillar-card:hover { transform: translateY(-2px); }
.pc-illust { aspect-ratio: 1 / 1; object-fit: cover; }
.pillar-card > svg { width: 56px; height: 56px; margin: 18px 14px 6px; }
.pc-t { font-family: var(--head); font-weight: 900; font-size: 22px; line-height: 1.2; padding: 10px 14px 0; display: flex; align-items: baseline; gap: 8px; }
.pc-t small { font-size: 13px; font-weight: 700; color: var(--navy-soft); }
.pc-d { font-size: 13px; line-height: 1.55; padding: 4px 14px 0; }

/* ---------- 保存 ---------- */
.save-btn {
  display: inline-flex; align-items: center; gap: 6px; flex: none; cursor: pointer;
  background: var(--white); border: 1.5px solid var(--navy); border-radius: var(--r-sm);
  font-family: var(--head); font-weight: 900; font-size: 16px; line-height: 1; padding: 11px 14px; white-space: nowrap;
}
.save-btn .star::before { content: "☆"; font-size: 1.15em; }
.save-btn[aria-pressed="true"] { background: var(--ring); border-color: var(--ring); }
.save-btn[aria-pressed="true"] .star::before { content: "★"; }
.save-btn.mini { font-size: 13px; padding: 8px 10px; border-color: var(--blue); color: var(--blue-deep); }
.save-btn.mini[aria-pressed="true"] { color: var(--navy); border-color: var(--ring); }
.name-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.name-row .save-btn { margin-top: 6px; }
.card-wrap { position: relative; }
.card-wrap .school-card { height: 100%; padding-right: 96px; }
.card-wrap > .save-btn { position: absolute; top: 12px; right: 12px; }
.saved-fab {
  position: fixed; right: 12px; bottom: 12px; z-index: 20; display: inline-flex; align-items: center; gap: 6px;
  background: var(--navy); color: var(--white); text-decoration: none; border-radius: 999px;
  font-family: var(--head); font-weight: 900; font-size: 14px; line-height: 1; padding: 12px 16px;
  box-shadow: 0 6px 18px rgba(18, 40, 74, 0.25);
}
.saved-fab .star::before { content: "★"; color: var(--ring); }
.compare-link { margin-top: 14px; }

/* ---------- 学校・塾ページ: 最初の画面 ---------- */
.tile .k { margin-top: 0; }
.next-band {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin-top: 10px; text-decoration: none;
  background: var(--mint); border-radius: var(--r-md); padding: 14px 18px;
}
.next-band .k { font-family: var(--head); font-weight: 900; font-size: 17px; }
.next-band .v { font-family: var(--head); font-weight: 900; }
.next-band .fig { font-size: 30px; line-height: 1.1; }
.next-band .w { font-size: 15px; }
.next-band .v.none { font-size: 17px; color: var(--navy-soft); }
.next-band .sub { flex-basis: 100%; font-size: 13px; line-height: 1.5; color: var(--navy-soft); }
.three-band { background: var(--sky); }

/* ---------- 「くわしく」 ---------- */
.h-fold { font-family: var(--head); font-weight: 900; font-size: 22px; margin: 28px 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--sky); }
.folds { display: grid; gap: 8px; }
.fold { border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--white); scroll-margin-top: 10px; }
.fold > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--head); font-weight: 900; font-size: 17px; line-height: 1.4; padding: 15px 16px;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: "▼"; font-size: 13px; color: var(--navy-soft); transition: transform .15s; flex: none; }
.fold[open] > summary::after { transform: rotate(180deg); }
.fold[open] > summary { border-bottom: 1px solid var(--track); }
.fold-body { padding: 14px 16px 18px; }
.fold-plain { border: 0; margin-top: 8px; }
.fold-plain > summary { font-size: 14px; padding: 10px 2px; color: var(--navy-soft); }
.fold-plain .fold-body { padding: 0 2px 4px; }

/* ---------- 比べる ---------- */
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -16px 8px; padding: 0 16px; }
.cmp { border-collapse: separate; border-spacing: 0; font-size: 14px; line-height: 1.55; }
.cmp th, .cmp td { padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; min-width: 9.5em; }
.cmp th[scope="row"] { position: sticky; left: 0; background: var(--white); min-width: 6.5em; font-weight: 700; color: var(--navy-soft); font-size: 13px; }
.cmp th[scope="col"] { font-family: var(--head); font-weight: 900; font-size: 16px; }
.cmp th[scope="col"] a { color: var(--navy); }
.cmp th[scope="col"] .m { display: block; font-family: var(--body); font-weight: 400; font-size: 12px; color: var(--navy-soft); margin: 2px 0 8px; }
.cmp .num { font-size: 18px; }
.cmp .pending { color: var(--navy-soft); }

@media (min-width: 720px) {
  .hero-illust { margin-top: 22px; }
  .todo-panel .grade-illust { max-width: 640px; margin: 0 auto 18px; }
  .todo-item { padding-right: 22px; }
  .todo-item .arrow { top: auto; bottom: 16px; transform: none; }
  .pillar-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .wk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .folds { max-width: 860px; }
  .next-band { max-width: 760px; }
  .ph-illust { width: 120px; height: 120px; }
}
.name-row .school-name { font-size: clamp(28px, 8.6vw, 44px); }
.name-row .school-name.long { font-size: clamp(24px, 7vw, 32px); }
@media (max-width: 719px) { .name-row .save-btn { font-size: 15px; padding: 9px 11px; } }
@media (min-width: 720px) { .name-row .school-name { font-size: 64px; } .name-row .school-name.long { font-size: 48px; } }
.site-footer { padding-bottom: 84px; }

/* ==========================================================================
   PDCA 1回目（2026-11-21）: AIっぽさを減らす
   - 角を小さく（pill に見えない）・淡い色面の箱を減らす・人物の定番の絵を外す
   ========================================================================== */
:root { --r-lg: 10px; --r-md: 8px; --r-sm: 6px; }
.pn { border-radius: 4px; }
.tag, .wk-l, .soon { border-radius: 3px; }
.btn { border-radius: 6px; }

/* トップ冒頭 */
.hero { padding-top: 10px; }
.hero-facts { font-size: 13px; line-height: 1.7; color: var(--navy-soft); margin-top: 6px; }
.hero-facts b { font-size: 16px; color: var(--navy); margin: 0 1px; }
.hero-illust { border-radius: 0; max-width: 720px; margin: 10px auto 0; aspect-ratio: 3 / 1; object-fit: cover; }
.grade-q { font-family: var(--head); font-weight: 900; font-size: 22px; line-height: 1.35; text-align: left; margin-top: 16px; }
.grade-buttons { gap: 0; border: 1.5px solid var(--navy); border-radius: 6px; overflow: hidden; margin-top: 10px; }
.grade-btn { border: 0; border-radius: 0; padding: 13px 0; font-size: 17px; }
.grade-btn + .grade-btn { border-left: 1.5px solid var(--navy); }
.grade-btn:hover { background: var(--soft); }
.grade-btn[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.todo { padding-top: 18px; text-align: left; }
.todo-h { font-family: var(--head); font-weight: 900; font-size: 24px; line-height: 1.35; }
.todo-list { display: block; margin-top: 8px; border-top: 2px solid var(--navy); }
.todo-list li { border-bottom: 1px solid var(--line); }
.todo-row { display: grid; grid-template-columns: 3.4em 1fr; gap: 2px 12px; padding: 14px 2px; text-decoration: none; }
.todo-row:hover .todo-title { text-decoration: underline; }
.todo-k { grid-row: span 2; align-self: start; margin-top: 3px; font-family: var(--head); font-weight: 900; font-size: 12px; line-height: 1; text-align: center; padding: 6px 0; border-radius: 3px; }
.k-school { background: var(--mint); } .k-juku { background: var(--sky); } .k-lesson { background: var(--apricot); } .k-money { background: var(--lemon); }
.todo-row .todo-title { font-size: 18px; }
.todo-row .todo-desc { font-size: 13px; color: var(--navy-soft); margin-top: 0; }

/* 今週・来週: 日付ごと */
.wk-list { display: block; }
.wk-day + .wk-day { margin-top: 18px; }
.wk-dh { display: flex; align-items: baseline; gap: 4px; font-family: var(--head); font-weight: 900; font-size: 17px; padding-bottom: 6px; border-bottom: 2px solid var(--navy); }
.wk-dh .num { font-size: 20px; }
.wk-dh .rel { font-size: 13px; color: var(--white); background: var(--blue); border-radius: 3px; padding: 2px 6px; margin-left: 4px; }
.wk-dh .rel:empty { display: none; }
.wk-dh .cnt { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--navy-soft); }
.wk { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0; gap: 10px; align-items: flex-start; }
.wk-main { align-items: flex-start; gap: 10px; }
.wk-l { flex: none; width: 4.6em; text-align: center; margin-top: 2px; padding: 5px 0; }
.wk-t { display: block; }
.wk-n { display: block; font-size: 16px; }
.wk-s { display: block; white-space: normal; overflow: visible; font-size: 13px; line-height: 1.55; margin-top: 1px; }
.save-btn.mini { border-radius: 4px; padding: 7px 8px; }
.save-btn { border-radius: 6px; }

/* お金のカード: 色の面をやめて、白地に紺の枠 */
.money-card { background: var(--white); border: 2px solid var(--navy); }
.money-rows { background: var(--soft); }

/* 更新 */
.upd { border: 0; border-top: 2px solid var(--navy); border-radius: 0; padding: 0; }
.upd li { border-bottom: 1px solid var(--line); }
.upd li + li { border-top: 0; }
.upd-d { background: none; text-align: left; font-size: 15px; }

/* 4つの柱: 罫線のリスト */
.pl-list { border-top: 2px solid var(--navy); }
.pl-list li { border-bottom: 1px solid var(--line); }
.pl-row { display: grid; grid-template-columns: 4.2em 4em 1fr; align-items: center; gap: 10px; padding: 14px 2px; text-decoration: none; }
.pl-row:hover .pl-d { text-decoration: underline; }
.pl-k { font-family: var(--head); font-weight: 900; font-size: 15px; text-align: center; padding: 7px 0; border-radius: 3px; }
.pl-n { font-size: 18px; }
.pl-d { font-size: 14px; }

/* 下の固定のバー（浮きボタンをやめる） */
.saved-fab { left: 0; right: 0; bottom: 0; border-radius: 0; justify-content: center; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 10px rgba(18, 40, 74, 0.15); font-size: 15px; }

/* 学校・塾ページ */
.tile { background: var(--white) !important; border: 1.5px solid var(--line); border-top: 5px solid var(--navy); border-radius: 6px; }
.tile.c-money { border-top-color: #E0B400; }
.tile.c-school { border-top-color: #3FAE78; }
.tile.c-juku { border-top-color: var(--blue); }
.next-band { background: var(--white); border: 1.5px solid var(--line); border-left: 5px solid #3FAE78; border-radius: 6px; }
.three-band { border-left-color: var(--blue); }
.next-none { margin-top: 10px; font-size: 13px; line-height: 1.6; color: var(--navy-soft); }
.folds { gap: 18px; }
.fold-group { display: grid; gap: 0; }
.fg-h { font-family: var(--head); font-weight: 900; font-size: 15px; color: var(--navy-soft); margin-bottom: 6px; }
.fold { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.fold-group .fold:last-child { border-bottom: 1px solid var(--line); }
.fold > summary { padding: 13px 2px; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; }
.fold > summary .pv { font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--navy-soft); white-space: nowrap; }
.fold-body { padding: 4px 2px 18px; }
.pillar-head { border-radius: 6px; }
.ph-illust { width: 72px; height: 72px; border-radius: 4px; }

/* 一覧のカード */
.school-card { border-radius: 6px; }
.fact { border-radius: 4px; }
.chip-btn { border-radius: 4px; }

/* ==========================================================================
   PDCA 2回目（2026-11-21）
   ========================================================================== */
/* 文の折り返し: 語の途中や「ます。」だけが次の行に落ちないように（対応しているブラウザだけ） */
.todo-title, .todo-desc, .h-section, .todo-h, .grade-q, .wk-s, .hero-facts, .lead, .next-none, .pl-d { word-break: auto-phrase; text-wrap: pretty; }

/* 冒頭の数字の帯 */
.facts-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); margin-top: 10px; }
.facts-strip a { display: block; text-decoration: none; padding: 10px 4px 8px; text-align: center; }
.facts-strip a + a { border-left: 1px solid var(--line); }
.facts-strip b { display: block; font-size: 30px; line-height: 1.05; }
.facts-strip span { display: block; font-size: 12px; line-height: 1.4; margin-top: 2px; }
.hero-facts { margin-top: 8px; text-align: left; font-size: 12px; }
.hero-illust { margin-top: 6px; }

/* 今週・来週: 学校ごとに1行・星だけの保存 */
.wk { padding: 9px 0; }
.wk-t { display: block; }
.wk-n { display: inline; font-size: 16px; }
.wk-l { display: inline; width: auto; margin: 0 0 0 8px; padding: 0; background: none; font-size: 12px; color: var(--blue-deep); font-weight: 900; }
.wk-s { display: block; }
.save-btn.icon { border: 0; background: none; padding: 4px 6px; font-size: 22px; color: var(--navy-soft); }
.save-btn.icon .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.save-btn.icon[aria-pressed="true"] { background: none; color: #D9A400; }
.wk-rest > summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--blue-deep); padding: 9px 0; list-style: none; }
.wk-rest > summary::-webkit-details-marker { display: none; }
.wk-rest > summary::after { content: " ＋"; }
.wk-rest[open] > summary::after { content: " −"; }

/* 保存の案内 */
.cmp-cta p { font-size: 14px; line-height: 1.7; margin-bottom: 10px; }

/* 学校の一覧のカード */
.sc-money { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 4px; margin-top: 10px; }
.sc-money .k { font-size: 12px; color: var(--navy-soft); margin-right: 6px; }
.sc-money b { font-size: 26px; line-height: 1.1; }
.sc-money small { font-family: var(--head); font-weight: 700; font-size: 13px; }
.sc-money .pending { color: var(--navy-soft); font-size: 14px; }
.sc-line { display: block; font-size: 13px; line-height: 1.6; margin-top: 4px; }
.fresh { font-size: 13px; color: var(--navy-soft); margin: 4px 0 8px; }
.fresh b { color: var(--navy); font-family: var(--head); }

/* ==========================================================================
   PDCA 3回目（2026-11-21）
   ========================================================================== */
/* 今週・来週: いちばん近い日だけ1校ずつ。ほかの日は学校名を1行に並べる */
.wk-day .wk-x { display: none; }
.wk-day.show-all .wk-x { display: flex; }
.wk-more-day { margin-top: 2px; background: none; border: 0; padding: 9px 0; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--blue-deep); }
.wk-more-day::after { content: " ＋"; }
.wk-day.compact .wk-dh { border-bottom-width: 1px; font-size: 15px; padding-bottom: 4px; }
.wk-day.compact .wk-dh .num { font-size: 16px; }
.wk-day.compact ul { display: block; padding: 6px 0 0; font-size: 14px; line-height: 1.9; }
.wk-day.compact .wk, .wk-day.compact .wk-x { display: inline; border: 0; padding: 0; }
.wk-day.compact .wk + .wk::before { content: "・"; color: var(--navy-soft); }
.wk-day.compact .wk-main { display: inline; }
.wk-day.compact .wk-t, .wk-day.compact .wk-n { display: inline; font-size: 14px; }
.wk-day.compact .wk-n { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.wk-day.compact .wk-l { font-size: 11px; margin-left: 3px; }
.wk-day.compact .wk-s, .wk-day.compact .save-btn, .wk-day.compact .wk-more-day { display: none; }
.wk-day + .wk-day.compact { margin-top: 12px; }
.wk-day.is-first + .wk-day { margin-top: 20px; }

/* 冒頭の絵は低く */
.hero-illust { aspect-ratio: 4 / 1; object-fit: cover; }

/* お金 */
.money-note { font-size: 12px; line-height: 1.6; color: var(--navy-soft); margin-top: 10px; text-align: left; }
.six-range { font-size: 14px; line-height: 1.8; margin-top: 12px; }
.six-range b { font-size: 17px; }
.six-range a { color: var(--navy); }
.hero-illust { aspect-ratio: 3 / 1; object-fit: contain; max-width: 520px; }

/* ==========================================================================
   PDCA 4回目（2026-11-21）
   ========================================================================== */
/* 冒頭の絵はさらに小さく */
.hero-illust { max-width: 300px; }
/* やることの札は1色（色の違いに意味を持たせない） */
.todo-k { background: none !important; border: 1.5px solid var(--navy); font-size: 11px; padding: 5px 0; }
/* 今週・来週: どの日も同じ1行の形（学校名＋種別＋☆）。説明は学校のページで */
.wk-day .wk-s { display: none; }
.wk-day:not(.compact) .wk { padding: 7px 0; align-items: center; }
.wk-day.compact ul { display: block; padding: 0; font-size: inherit; line-height: inherit; }
.wk-day.compact .wk { display: flex; border-bottom: 1px solid var(--line); padding: 7px 0; align-items: center; }
.wk-day.compact .wk-x { display: none; }
.wk-day.compact.show-all .wk-x { display: flex; }
.wk-day.compact .wk + .wk::before { content: none; }
.wk-day.compact .wk-main { display: flex; }
.wk-day.compact .wk-t { display: block; }
.wk-day.compact .wk-n { display: inline; font-size: 16px; text-decoration: none; }
.wk-day.compact .wk-l { font-size: 12px; margin-left: 8px; }
.wk-day.compact .save-btn, .wk-day.compact .wk-more-day { display: inline-flex; }
.wk-day.compact .wk-dh { border-bottom-width: 2px; font-size: 17px; padding-bottom: 6px; }
.wk-day.compact .wk-dh .num { font-size: 20px; }
.wk-day + .wk-day.compact, .wk-day.is-first + .wk-day { margin-top: 18px; }
/* 上の柱のリンクは下線のタブ。色は選んでいる柱にだけ */
.pn { background: none !important; border-radius: 0; padding: 9px 6px 7px; border-bottom: 3px solid transparent; }
.pn.is-on { box-shadow: none; border-bottom-color: var(--navy); }
.pn-school.is-on { border-bottom-color: #3FAE78; }
.pn-juku.is-on { border-bottom-color: var(--blue); }
.pn-lesson.is-on { border-bottom-color: #E59A5C; }
.pn-money.is-on { border-bottom-color: #E0B400; }
.pillar-nav { gap: 10px; }
/* 一覧のカード: 次の説明会 */
.sc-nexts { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); }
.sc-next { display: none; font-size: 13px; line-height: 1.5; }
.sc-next b { font-family: var(--head); margin: 0 6px 0 2px; }
.sc-nexts .sc-next:first-child { display: block; }
.sc-nexts:not(:has(.sc-next)) { display: none; }
.upd li { padding: 9px 0; font-size: 14px; }

/* ==========================================================================
   5回目（2026-11-21）: 中身を足す（今月の動き・安い順の表・学年別の年額・ページの路線図）
   ========================================================================== */
.mm-span { font-size: 12px; color: var(--navy-soft); margin: -8px 0 8px; }
.mm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--navy); }
.mm-grid a { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 0 3px; text-decoration: none; padding: 12px 10px 12px 2px; border-bottom: 1px solid var(--line); }
.mm-grid a:nth-child(odd) { border-right: 1px solid var(--line); }
.mm-grid a:nth-child(even) { padding-left: 12px; }
.mm-grid b { font-size: 32px; line-height: 1; }
.mm-grid small { font-family: var(--head); font-weight: 700; font-size: 14px; }
.mm-grid span { grid-column: 1 / -1; font-size: 12px; line-height: 1.5; margin-top: 4px; }
.upd-h { font-family: var(--head); font-weight: 900; font-size: 15px; color: var(--navy-soft); margin: 22px 0 6px; }

.money-grades { margin-top: 12px; text-align: left; }
.money-grades p { font-size: 12px; color: var(--navy-soft); }
.money-grades > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 6px; margin-top: 4px; }
.mg { text-align: center; padding: 8px 2px; font-family: var(--head); font-weight: 700; font-size: 13px; transition: opacity .2s; }
.mg + .mg { border-left: 1px solid var(--line); }
.mg small { display: block; font-size: 12px; color: var(--navy-soft); }
.mg b { font-size: 22px; }
.mg.off { opacity: 0.3; }

.view-row { display: flex; align-items: center; gap: 0; margin: 4px 0 12px; flex-wrap: wrap; }
.view-btn { font-family: var(--head); font-weight: 700; font-size: 14px; background: var(--white); border: 1.5px solid var(--navy); padding: 9px 12px; cursor: pointer; }
.view-btn:first-child { border-radius: 6px 0 0 6px; }
.view-btn + .view-btn { border-left: 0; border-radius: 0 6px 6px 0; margin-right: 12px; }
.view-btn[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.st { border-collapse: collapse; font-size: 14px; min-width: 100%; }
.st th { font-size: 12px; color: var(--navy-soft); font-weight: 700; text-align: left; padding: 8px 8px 6px; border-bottom: 2px solid var(--navy); white-space: nowrap; }
.st td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; }
.st td.st-name { white-space: normal; min-width: 9em; position: sticky; left: 0; background: var(--white); }
.st td.st-name a { font-family: var(--head); font-weight: 900; color: var(--navy); }
.st td.st-name small { display: block; font-size: 11px; color: var(--navy-soft); }
.st td.amt { text-align: right; font-family: var(--head); font-weight: 700; }
.st td.amt .tag { margin-left: 4px; }

.strip-illust { width: 100%; height: auto; aspect-ratio: 6 / 1; object-fit: contain; margin: 8px 0 0; }

/* ==========================================================================
   6回目（2026-11-21）
   ========================================================================== */
/* 探す */
.find { margin-top: 14px; text-align: left; position: relative; }
.find label { display: block; font-family: var(--head); font-weight: 900; font-size: 15px; margin-bottom: 4px; }
.find .inp { border-color: var(--navy); }
.find-list { border: 1.5px solid var(--navy); border-top: 0; border-radius: 0 0 6px 6px; margin-top: -2px; background: var(--white); }
.find-list li + li { border-top: 1px solid var(--line); }
.find-list a { display: block; padding: 9px 12px; text-decoration: none; }
.find-list b { font-family: var(--head); font-size: 15px; }
.find-list small { display: block; font-size: 12px; color: var(--navy-soft); }
.find-list .fk { display: inline-block; font-size: 11px; font-weight: 700; border: 1px solid var(--navy); border-radius: 3px; padding: 1px 5px; margin-right: 6px; vertical-align: 2px; }
.find-list .more { padding: 9px 12px; font-size: 12px; color: var(--navy-soft); }

/* 今週・来週: いちばん近い日は少し大きく */
.wk-day.is-first .wk-dh .num { font-size: 24px; }
.wk-day.is-first .wk-n { font-size: 17px; }

/* お金のカード: 内側の灰色の箱をやめる */
.money-rows { background: none; padding: 0; border-top: 1px solid var(--line); border-radius: 0; }
.money-grades > div { border-radius: 0; border-left: 0; border-right: 0; }

/* 塾ページ: 学年を駅に見立てた図 */
.route { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 4px; position: relative; }
.route::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 6px; background: var(--blue); border-radius: 3px; }
.rt-stop { position: relative; text-align: center; padding-top: 30px; }
.rt-stop::before { content: ""; position: absolute; left: 50%; top: 0; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); box-sizing: border-box; }
.rt-end::before { background: var(--navy); }
.rt-k { display: block; font-family: var(--head); font-weight: 700; font-size: 12px; line-height: 1.3; color: var(--navy-soft); }
.rt-stop .v { display: block; font-family: var(--head); font-weight: 900; line-height: 1.1; margin-top: 2px; white-space: nowrap; }
.rt-stop .v .fig { font-size: 24px; }
.rt-stop .v .u { font-size: 11px; }
.rt-end .v .fig { font-size: 28px; color: var(--blue-deep); }
.rt-stop .v.pending { font-size: 13px; color: var(--navy-soft); }
.route-note { font-size: 12px; line-height: 1.6; color: var(--navy-soft); margin-top: 6px; }

/* 柱の一覧の見出しは低く */
.pillar-head { padding: 6px 12px 6px 6px; }
.ph-illust { width: 56px; height: 56px; }

/* ==========================================================================
   7回目（2026-11-21）
   ========================================================================== */
/* 安い順の表: 3列で横に切れない */
.st-box { margin: 0 0 8px; }
.st { width: 100%; min-width: 0; }
.st td, .st th { white-space: normal; }
.st td.st-name { position: static; min-width: 0; }
.st td.amt, .st th.amt { text-align: right; white-space: nowrap; width: 5.6em; }
.st td.amt .tag { margin: 4px 0 0; }

/* 日程の種別の色 */
.wk-l.k-close { color: #C2410C; }
.wk-l.k-exam { color: var(--navy); }
.wk-l.k-open { color: var(--blue-deep); }
.wk-l.k-ev { color: #2E8B5E; }

/* 今月の動き: 1つ目（説明会）を大きく */
.mm-lead a:first-child { grid-column: 1 / -1; border-right: 0; padding: 14px 2px; }
.mm-lead a:first-child b { font-size: 46px; }
.mm-lead a:first-child span { font-size: 14px; }
.mm-lead a:nth-child(2) { border-right: 1px solid var(--line); padding-left: 2px; }
.mm-lead a:nth-child(3) { border-right: 0; padding-left: 12px; }
.mm-lead a:nth-child(4) { grid-column: 1 / -1; border-right: 0; padding-left: 2px; }

/* 都県から */
.pref-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 10px; font-size: 14px; }
.pref-links span { font-size: 12px; color: var(--navy-soft); }
.pref-links a { font-family: var(--head); font-weight: 700; color: var(--navy); text-underline-offset: 3px; }
.pref-links b { font-size: 16px; margin: 0 1px 0 4px; }

/* 公表と概算を見分けやすく */
.tag.pub { background: #2E8B5E; color: var(--white); }
.tag.est { background: var(--white); box-shadow: inset 0 0 0 1.2px var(--navy); }

/* 一覧のカードの確認日 */
.sc-check { display: block; font-size: 11px; color: var(--navy-soft); margin-top: 6px; }

/* 柱の一覧の見出し: 箱をやめ、絵を大きく */
.pillar-head { background: none !important; padding: 0; gap: 14px; }
.ph-illust { width: 96px; height: 96px; border-radius: 8px; }
.save-btn.mini[aria-pressed="true"] { background: var(--white); border-color: var(--line); color: var(--navy); }
.save-btn.mini[aria-pressed="true"] .star { color: #D9A400; }

/* ==========================================================================
   8回目（2026-11-21）
   ========================================================================== */
/* 締切の行を目立たせる */
.wk:has(.k-close) { box-shadow: inset 3px 0 0 #C2410C; padding-left: 10px; }
.wk-l.k-close { font-size: 13px; }
/* 下の固定バーは薄く */
.saved-fab { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); font-size: 14px; }
/* 柱の一覧の見出し（絵なし） */
.pillar-head { margin: 6px 0 10px; }
.pillar-head .h-display { font-size: clamp(22px, 6.4vw, 30px); }
/* 「各」 */
.tbl td.amt .each { font-size: 12px; font-weight: 700; margin-right: 4px; color: var(--navy-soft); }
.h-display, .school-name, .name { word-break: auto-phrase; text-wrap: balance; }
.st .nb { white-space: nowrap; }

/* ==========================================================================
   9回目（2026-11-21）
   ========================================================================== */
.tiles-school { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.tiles-school .tile.c-money .v .fig { font-size: 46px; }
.school-meta { font-size: 13px; margin-top: 4px; color: var(--navy-soft); }
.school-meta a { color: var(--blue-deep); font-weight: 700; }
/* 駅から学校まで */
.sroute { margin-top: 12px; border: 1.5px solid var(--line); border-radius: 6px; padding: 10px 14px 8px; }
.sr-h { font-family: var(--head); font-weight: 900; font-size: 14px; }
.sroute ol { margin-top: 6px; }
.sroute li { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: center; gap: 0; position: relative; padding: 8px 0; }
.sroute li + li { border-top: 1px dashed var(--line); }
.sr-st { position: relative; padding-left: 22px; }
.sr-st::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--navy); box-sizing: border-box; }
.sr-st b { font-family: var(--head); font-size: 16px; display: block; line-height: 1.3; }
.sr-st small { font-size: 11px; color: var(--navy-soft); display: block; line-height: 1.4; }
.sr-walk { font-family: var(--head); font-weight: 700; font-size: 13px; padding: 0 10px; white-space: nowrap; border-bottom: 4px solid #6FC79A; margin-left: 8px; padding-bottom: 2px; }
.sr-walk b { font-size: 20px; }
.sr-end { width: 16px; height: 16px; background: #2E8B5E; border-radius: 3px; }
.sr-note { font-size: 11px; color: var(--navy-soft); margin-top: 2px; }

/* ---- 2026-11-22 ページごとの路線図の絵 ---- */
.scene { margin: 14px 0 6px; }
.scene .scene-illust { display: block; width: 100%; height: auto; max-height: 150px; object-fit: contain; object-position: left center; }
.pillar-head + .scene { margin-top: 4px; }
@media (min-width: 768px) { .scene .scene-illust { max-height: 200px; } }

/* ---- 2026-11-22 塾代に入っているもの（ヒアリング: 夏期講習とか入ってる？） ---- */
.incl { margin: 12px 0 4px; border: 1px solid var(--line, #dfe3ea); border-radius: 8px; padding: 10px 12px; background: #fff; }
.incl-h { margin: 0 0 6px; font-weight: 700; font-size: 14px; }
.incl ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.incl li { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; padding: 3px 0; border-bottom: 1px dashed #e6e8ee; }
.incl li b { font-weight: 700; white-space: nowrap; }
.incl li.in b { color: #1f7a4d; }
.incl li.in b::before { content: "○ "; }
.incl li.out b { color: #b4361f; }
.incl li.out b::before { content: "× "; }
.incl li.unk b { color: #6b7280; font-weight: 400; }
.incl-seas { margin: 8px 0 0; font-size: 13px; color: #4b5563; }
@media (max-width: 380px) { .incl ul { grid-template-columns: 1fr; } }
.fact-incl { grid-column: 1 / -1; font-size: 13px; color: #4b5563; padding-top: 2px; }
.fact-incl b { color: #111827; }
.fact-incl b.out, .fact-incl b.no { color: #b4361f; }
.fact-incl b.yes { color: #1f7a4d; }
/* 予約の要否（ヒアリング: 説明会と学園祭は事前予約が要るか） */
.res { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 1.7; vertical-align: 1px; white-space: nowrap; }
.res-need { background: #fde8e4; color: #a3321c; }
.res-free { background: #e3f4ea; color: #1f6b43; }
.k-nayami { background: #ece6f7; }
/* ---- 2026-11-22 悩みから探す ---- */
.nayami-links { margin-top: 18px; }
.nayami-links p { margin: 0 0 8px; font-weight: 700; font-size: 14px; }
.nayami-links a, .nayami-nav a { display: block; padding: 11px 12px; margin-bottom: 6px; border: 1.5px solid var(--navy, #12284A); border-radius: 8px; background: #fff; color: inherit; text-decoration: none; font-weight: 700; }
.nayami-links a::after, .nayami-nav a::after { content: "›"; float: right; }
.nayami-nav { margin: 8px 0 20px; }
.nayami-tbl th small { display: block; font-weight: 400; font-size: 12px; color: #4b5563; }
.nayami-tbl.wide { min-width: 720px; }
.nayami-tbl td { font-size: 13px; vertical-align: top; }
.look { padding-left: 1.2em; } .look li { margin: 6px 0; }
.c-nayami { --c: #ece6f7; }

/* ---- PDCA 10回目（2026-11-22） ---- */
/* 下の階のページの路線図の絵は細い帯にする（トップだけ大きく） */
.scene .scene-illust { max-height: 76px; }
@media (min-width: 768px) { .scene .scene-illust { max-height: 110px; } }
.scene { margin: 8px 0 2px; }
/* 安い順の表: 長い学校名でも右の列が切れない */
.st { table-layout: fixed; width: 100%; }
.st td.st-name a { overflow-wrap: anywhere; }
.st th.amt, .st td.amt { width: 6.2em; }
/* 飾りの色線を外す（締切は文字の色だけで示す） */
.wk:has(.k-close) { box-shadow: none; padding-left: 0; }
.tile, .tile.c-money, .tile.c-school, .tile.c-juku { border-top: 1.5px solid var(--line); }
.next-band { border-left: 1.5px solid var(--line); }
/* 悩みの表: 塾名の列を広く */
.nayami-tbl th:first-child { min-width: 8.5em; }
/* 6年間の学費の分かれ方 */
.hist { margin: 18px 0 6px; border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; background: var(--white); }
.hist-h { margin: 0 0 8px; font-family: var(--head); font-weight: 900; font-size: 15px; }
.hist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.hist li { display: grid; grid-template-columns: 6.8em 1fr 2.2em; align-items: center; gap: 8px; font-size: 12px; }
.hist .hk { color: var(--navy-soft); white-space: nowrap; }
.hist .hb { height: 12px; background: #eef1f5; border-radius: 2px; overflow: hidden; }
.hist .hb i { display: block; height: 100%; background: #9DB4D6; }
.hist li.is-med .hb i { background: var(--navy); }
.hist li b { text-align: right; font-size: 13px; }
.hist-note { margin: 8px 0 0; font-size: 12px; color: var(--navy-soft); }
/* 学校ページ: 安い方から何番目 */
.rank { margin: 12px 0 4px; }
.rank p { margin: 0 0 8px; font-size: 14px; }
.rank-bar { position: relative; display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #CFE3F8, #12284A); }
.rank-bar i { position: absolute; top: -5px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #F2C230; border: 2.5px solid #12284A; }
.rank-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--navy-soft); margin-top: 6px; }
/* トップの「悩みから探す」は枠のない下線リンク */
.nayami-links a { display: inline; padding: 0; margin: 0 14px 0 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; line-height: 2.2; }
.nayami-links a::after { content: ""; float: none; }
/* PDCA 11回目: 絵の地の色むらを白になじませる・トップの悩みリンクは1行ずつ・都県は2列 */
.illust { mix-blend-mode: multiply; }
.nayami-links a { display: block; line-height: 1.9; margin: 0; }
.pref-links { display: grid; grid-template-columns: auto 1fr 1fr; gap: 4px 12px; align-items: baseline; }
.pref-links > span { grid-row: span 2; }
