/* 受験ナビ — スマホ優先。色は変数にまとめ、ダークモードでも読めるようにする */
:root {
  --bg: #f4f5f7; --card: #ffffff; --text: #16191d; --sub: #5b6470; --faint: #8a929c; --line: #e3e6ea;
  --accent: #2357d6; --accent-soft: #e8eefc; --on-accent: #fff;
  --red: #c42b1c; --red-soft: #fdecea; --orange: #b45309; --orange-soft: #fff4e0;
  --green: #18794e; --green-soft: #e6f4ec; --blue-soft: #eaf1fe; --line-green: #06c755;
  --purple: #7c3aed; --purple-soft: #f1eafe;
  --radius: 14px; --shadow: 0 1px 2px rgba(16, 24, 40, .05);
  color-scheme: light;
}
/* 表示: 自動(端末の設定に従う)/ライト/ダーク。<html data-theme> で切り替える */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1114; --card: #191c21; --text: #eceef1; --sub: #a3abb5; --faint: #7a828c; --line: #2a2e35;
    --accent: #6e9bff; --accent-soft: #1d2a47; --on-accent: #0b1020;
    --red: #ff7b6e; --red-soft: #3a1b18; --orange: #f7b955; --orange-soft: #382a12;
    --green: #5fd49a; --green-soft: #15301f; --blue-soft: #18233a; --shadow: none;
    --purple: #b794ff; --purple-soft: #2a1f45;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #0f1114; --card: #191c21; --text: #eceef1; --sub: #a3abb5; --faint: #7a828c; --line: #2a2e35;
    --accent: #6e9bff; --accent-soft: #1d2a47; --on-accent: #0b1020;
    --red: #ff7b6e; --red-soft: #3a1b18; --orange: #f7b955; --orange-soft: #382a12;
    --green: #5fd49a; --green-soft: #15301f; --blue-soft: #18233a; --shadow: none;
    --purple: #b794ff; --purple-soft: #2a1f45;
    color-scheme: dark;
}

/* テーマの色(アクセント)。<html data-accent>。どれも文字・ボタンの色の差 4.5:1 以上を確認済み */
:root[data-accent="green"]  { --accent: #1b7a4b; --accent-soft: #e4f3ea; }
:root[data-accent="pink"]   { --accent: #c2185b; --accent-soft: #fce8f0; }
:root[data-accent="orange"] { --accent: #a64a06; --accent-soft: #fdf1e3; }
:root[data-accent="purple"] { --accent: #6d3fd6; --accent-soft: #efe9fd; }
@media (prefers-color-scheme: dark) {
  :root[data-accent="green"]:not([data-theme="light"])  { --accent: #5fd49a; --accent-soft: #15301f; --on-accent: #05140c; }
  :root[data-accent="pink"]:not([data-theme="light"])   { --accent: #ff8fb8; --accent-soft: #3a1a28; --on-accent: #1f0710; }
  :root[data-accent="orange"]:not([data-theme="light"]) { --accent: #ffad66; --accent-soft: #3a2612; --on-accent: #1c0f04; }
  :root[data-accent="purple"]:not([data-theme="light"]) { --accent: #b794ff; --accent-soft: #2a1f45; --on-accent: #120a24; }
}
:root[data-theme="dark"][data-accent="green"]  { --accent: #5fd49a; --accent-soft: #15301f; --on-accent: #05140c; }
:root[data-theme="dark"][data-accent="pink"]   { --accent: #ff8fb8; --accent-soft: #3a1a28; --on-accent: #1f0710; }
:root[data-theme="dark"][data-accent="orange"] { --accent: #ffad66; --accent-soft: #3a2612; --on-accent: #1c0f04; }
:root[data-theme="dark"][data-accent="purple"] { --accent: #b794ff; --accent-soft: #2a1f45; --on-accent: #120a24; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif; }
body.with-tabs main { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
a { color: var(--accent); }
main { max-width: 640px; margin: 0 auto; padding: calc(12px + env(safe-area-inset-top)) 16px 40px; }
h1 { font-size: 24px; line-height: 1.3; margin: 0; letter-spacing: .01em; }
h1 small { font-size: 15px; color: var(--sub); font-weight: 500; }
h2 { font-size: 15px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
h2 small { color: var(--faint); font-weight: 400; font-size: 12px; }
p { margin: 0 0 8px; }

/* ページ見出し */
.page-head { margin: 8px 0 16px; }
.page-head .meta { margin-top: 4px; }
.eyebrow { color: var(--sub); font-size: 13px; margin: 0 0 2px; }
.back { display: inline-block; font-size: 14px; text-decoration: none; margin-bottom: 6px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* カード・ボタン */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow); }
.stack > * + * { margin-top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px;
  font: inherit; font-size: 15px; font-weight: 600; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); text-decoration: none; cursor: pointer; }
.btn.small { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.line { background: var(--line-green); border-color: var(--line-green); color: #fff; }
.btn.ghost { background: transparent; }
.btn.block { display: flex; width: 100%; }
.btn.text-danger { border: 0; background: none; color: var(--red); font-weight: 500; padding: 0; }
.btn:disabled { opacity: .5; }
.danger-zone { margin-top: 28px; }
.hint { color: var(--sub); font-size: 13px; }
.meta { color: var(--sub); font-size: 13px; }
.flash { background: var(--blue-soft); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: 14px; }
.ok { color: var(--green); font-size: 14px; } .warn-text { color: var(--orange); font-size: 14px; }
.empty { text-align: center; color: var(--sub); padding: 16px 0; }
.empty-state { text-align: center; padding: 48px 0; }

/* サマリー */
.summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-bottom: 14px; }
.sum-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
  color: var(--text); text-decoration: none; display: flex; flex-direction: column; gap: 2px; min-width: 0; box-shadow: var(--shadow); }
.sum-card.wide { grid-column: 1 / -1; }
.sum-card b { font-size: 26px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.sum-card b small { font-size: 14px; margin-left: 2px; }
.sum-card.danger { background: var(--red-soft); border-color: transparent; }
.sum-card.danger b { color: var(--red); }
.sum-label { font-size: 12px; color: var(--sub); }
.sum-main { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sum-sub { font-size: 13px; color: var(--sub); display: flex; gap: 8px; align-items: center; }

/* 警告 */
.alert { border-radius: 12px; padding: 0; margin-bottom: 10px; border: 1px solid transparent; }
.alert summary { list-style: none; cursor: pointer; padding: 12px 64px 12px 40px; font-weight: 700; font-size: 14px; position: relative; text-indent: 0; }
.alert summary::-webkit-details-marker { display: none; }
.alert summary::before { content: "!"; position: absolute; left: 14px; top: 13px; display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%; font-size: 12px; color: #fff; }
.alert summary::after { content: "詳しく"; position: absolute; right: 12px; top: 13px; font-size: 12px; font-weight: 400; color: var(--sub); }
.alert[open] summary::after { content: "閉じる"; }
.alert p { padding: 0 14px 12px; font-size: 14px; margin: 0; }
.alert.danger { background: var(--red-soft); } .alert.danger summary::before { background: var(--red); }
.alert.warn { background: var(--orange-soft); } .alert.warn summary::before { background: var(--orange); }
.alert.info { background: var(--blue-soft); } .alert.info summary::before { background: var(--accent); content: "i"; }

/* やることリスト */
.section { margin: 18px 0; }
.section.danger h2 { color: var(--red); }
.count { font-size: 12px; font-weight: 600; color: var(--sub); background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 0 8px; line-height: 20px; }
.list { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.row { display: flex; gap: 12px; padding: 12px 14px; align-items: flex-start; }
.row + .row { border-top: 1px solid var(--line); }
.row .lead { flex: none; margin: 0; }
.tick { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--faint); background: none; padding: 0; cursor: pointer;
  display: grid; place-items: center; margin-top: 1px; }
.tick svg { width: 16px; height: 16px; fill: none; stroke: transparent; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.is-done .tick { background: var(--green); border-color: var(--green); }
.is-done .tick svg { stroke: #fff; }
.event-dot { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); display: grid; place-items: center; margin-top: 1px; }
.event-dot svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2; }
.row .body { flex: 1; min-width: 0; color: var(--text); text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.line1 { display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; }
.row .title { font-weight: 600; font-size: 15px; line-height: 1.45; }
.is-event .title { color: var(--accent); }
.is-done .title { color: var(--faint); text-decoration: line-through; font-weight: 500; }
.row .meta { font-size: 13px; }
.sep::before { content: "·"; margin: 0 6px; color: var(--faint); }
.row .detail { font-size: 12.5px; color: var(--sub); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row .note { font-size: 12.5px; color: var(--sub); white-space: pre-wrap; }
.chip { flex: none; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--bg); color: var(--sub); white-space: nowrap; line-height: 20px; }
.chip.red { background: var(--red-soft); color: var(--red); }
.chip.orange { background: var(--orange-soft); color: var(--orange); }
.chip.muted { font-weight: 500; }
.fold { margin: 12px 0; }
.fold > summary { cursor: pointer; color: var(--sub); font-size: 14px; font-weight: 600; padding: 8px 2px; display: flex; gap: 8px; align-items: center; }
.fold .section { margin-top: 4px; }
.fab { position: fixed; right: max(16px, calc(50% - 304px)); bottom: calc(84px + env(safe-area-inset-bottom)); width: 56px; height: 56px;
  border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 28px; display: grid; place-items: center;
  text-decoration: none; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); z-index: 4; }

/* 日程 */
.month { font-size: 17px; margin-top: 8px; }
.day { display: flex; gap: 10px; margin-bottom: 10px; }
.day-label { flex: none; width: 40px; text-align: center; padding-top: 8px; color: var(--sub); }
.day-label b { display: block; font-size: 20px; line-height: 1; color: var(--text); }
.day-label span { font-size: 12px; }
.day.is-today .day-label b { color: var(--accent); }
.day .list { flex: 1; min-width: 0; }

/* 受験校 */
.school-list { list-style: none; margin: 0; padding: 0; }
.card.school { display: flex; flex-direction: column; gap: 2px; color: var(--text); text-decoration: none; }
.school-head { display: flex; justify-content: space-between; align-items: center; }
.prio { font-size: 12px; font-weight: 700; color: var(--accent); }
.school-name { font-size: 17px; }
.keydates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0 0; }
.keydates div { background: var(--bg); border-radius: 10px; padding: 6px 4px; text-align: center; }
.keydates dt { font-size: 11px; color: var(--sub); }
.keydates dd { margin: 0; font-size: 13px; font-weight: 700; white-space: nowrap; }
.keydates dd.missing { color: var(--faint); font-weight: 500; }
.status { font-size: 12px; font-weight: 600; padding: 1px 10px; border-radius: 999px; background: var(--bg); color: var(--sub); white-space: nowrap; line-height: 20px; }
.s-出願済, .s-受験済 { background: var(--blue-soft); color: var(--accent); }
.s-合格, .s-入学手続済 { background: var(--green-soft); color: var(--green); }
.s-不合格, .s-辞退 { background: var(--bg); color: var(--faint); }
.muted { opacity: .55; }
.status-picker { display: flex; align-items: center; gap: 10px; margin: 0 -16px 14px; padding: 0 16px; }
.status-picker .label { font-size: 13px; color: var(--sub); flex: none; }
.chips-scroll { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }
.pill { flex: none; font: inherit; font-size: 13px; font-weight: 600; min-height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--sub); cursor: pointer; }
.pill.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pre { white-space: pre-wrap; }
.detail-card { font-size: 14px; color: var(--sub); }

/* フォーム */
.field { display: block; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field > span:first-child, .field legend { display: block; font-size: 13px; font-weight: 600; color: var(--sub); margin-bottom: 6px; padding: 0; }
.field em { font-style: normal; font-size: 11px; color: var(--red); margin-left: 4px; }
input, select, textarea { width: 100%; min-width: 0; font: inherit; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-height: 46px; }
input[type="date"] { -webkit-appearance: none; appearance: none; display: block; max-width: 100%; padding-right: 8px; }
input::-webkit-date-and-time-value { text-align: left; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
textarea { min-height: 80px; resize: vertical; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 10px; }
.grid2 > * { min-width: 0; }
.unit { position: relative; display: block; }
.unit i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--sub); font-size: 14px; }
.unit input { padding-right: 32px; }
.segmented { display: flex; flex-wrap: wrap; gap: 6px; }
.segmented label { flex: 1 1 auto; position: relative; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 600; color: var(--sub); cursor: pointer; white-space: nowrap; }
.segmented input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); }
.switch { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 14px; cursor: pointer; font-size: 15px; }
.switch input { flex: none; width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; accent-color: var(--accent); padding: 0; }
.switch span small { display: block; color: var(--sub); font-size: 12.5px; }
.preset { background: var(--accent-soft); border-radius: 12px; padding: 12px; margin-bottom: 14px; font-size: 14px; }
.preset .btn { margin-top: 8px; }
.form-actions { padding-top: 4px; }
[hidden] { display: none !important; }

/* ログイン */
.hero { padding: 32px 0 20px; }
.hero h1 { font-size: 30px; margin: 10px 0 6px; }
.lead-text { font-size: 17px; font-weight: 600; }
.points { padding-left: 20px; color: var(--sub); font-size: 14px; margin: 12px 0 0; }
.points li { margin-bottom: 4px; }
.btn.line { margin-bottom: 14px; }

/* 下のタブバー */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; justify-content: center;
  background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0;
  font-size: 11px; font-weight: 600; color: var(--faint); text-decoration: none; }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.on { color: var(--accent); }
/* 科目・費用 */
.exam-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; box-shadow: var(--shadow); scroll-margin-top: 12px; }
.exam-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.exam-name { font-weight: 700; font-size: 16px; line-height: 1.45; color: var(--text); text-decoration: none; }
.exam-name span { font-weight: 500; font-size: 14px; color: var(--sub); }
.exam-card > .meta { margin: 2px 0 10px; }
.haiten { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 6px; }
.haiten thead th { font-size: 12px; font-weight: 600; color: var(--sub); text-align: left; padding: 0 0 4px; border-bottom: 1px solid var(--line); }
.haiten thead th:last-child, .haiten td { text-align: right; white-space: nowrap; }
.haiten tbody th { text-align: left; font-weight: 500; padding: 8px 12px 8px 0; vertical-align: top; }
.haiten tbody th small { display: block; font-size: 12px; font-weight: 400; color: var(--sub); line-height: 1.5; margin-top: 2px; }
.haiten td { padding: 8px 0; vertical-align: top; font-variant-numeric: tabular-nums; font-weight: 600; }
.haiten tbody tr + tr > * { border-top: 1px solid var(--line); }
.haiten tfoot > tr > * { border-top: 2px solid var(--text); padding: 8px 0 0; font-weight: 700; text-align: left; }
.haiten tfoot td { text-align: right; }
.variant { font-size: 13px; font-weight: 700; margin: 14px 0 4px; color: var(--text); }
.exam-card > .meta + .variant { margin-top: 4px; }
.exam-empty { font-size: 14px; color: var(--sub); background: var(--bg); border-radius: 10px; padding: 10px 12px; margin: 0 0 6px; }
.fees { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14px; }
.fees div { display: flex; gap: 6px; }
.fees dt { color: var(--sub); }
.fees dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.subj-row { display: grid; grid-template-columns: minmax(0, 1fr) 88px; gap: 0 10px; }
.subj-row .wide { grid-column: 1 / -1; }
.subj-row + .subj-row { border-top: 1px solid var(--line); padding-top: 14px; }
.autofill { display: block; margin-top: 6px; font-size: 13px; color: var(--green); }
.autofill.unknown { color: var(--sub); }
.preset.shared { background: var(--green-soft); }
.preset.official { background: var(--accent-soft); }
.preset.official .field { margin: 8px 0; }
.preset.official a { word-break: break-all; }

/* 受験校の簡単登録 */
.picked-uni { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.picked-uni b { display: block; font-size: 18px; }
.picked-uni .meta { color: var(--sub); font-size: 13px; }
.faculty-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.faculty { border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.faculty > summary { list-style: none; cursor: pointer; padding: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.faculty > summary::-webkit-details-marker { display: none; }
.faculty > summary::after { content: "›"; margin-left: auto; color: var(--sub); transition: transform .15s; font-size: 20px; line-height: 1; }
.faculty[open] > summary::after { transform: rotate(90deg); }
.picked-count { font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 1px 8px; }
.method { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.method input { width: 22px; height: 22px; flex: none; accent-color: var(--accent); }
.method-body b { display: block; font-size: 15px; }
.method-body .meta { color: var(--sub); font-size: 13px; }
.switch.card { padding: 14px 16px; }
.switch small { display: block; color: var(--sub); font-weight: 400; font-size: 12px; margin-top: 2px; }
.center { text-align: center; margin: 20px 0; font-size: 14px; }

/* 重要度の色: 締切=赤 / 試験=紫 / 発表=緑 / 準備=灰 */
.imp-deadline { --imp: var(--red); --imp-soft: var(--red-soft); }
.imp-exam { --imp: var(--purple); --imp-soft: var(--purple-soft); }
.imp-announce { --imp: var(--green); --imp-soft: var(--green-soft); }
.imp-prep { --imp: var(--faint); --imp-soft: var(--bg); }
.row.imp-deadline, .row.imp-exam, .row.imp-announce { box-shadow: inset 4px 0 0 var(--imp); }
.row.is-done { box-shadow: none; }
.row.imp-exam .event-dot, .row.imp-announce .event-dot { background: var(--imp-soft); }
.row.imp-exam .event-dot svg, .row.imp-announce .event-dot svg { stroke: var(--imp); }
.row.imp-exam.is-event .title, .row.imp-announce.is-event .title { color: var(--imp); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; line-height: 18px; padding: 0 6px; margin-right: 6px;
  border-radius: 5px; background: var(--imp-soft); color: var(--imp); vertical-align: 1px; }
.is-done .tag { background: var(--bg); color: var(--faint); }

/* 日程: 重要度の切り替えと凡例 */
.cal-tools { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; }
.seg-links { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg-links a { flex: 1; text-align: center; padding: 8px 4px; border-radius: 8px; font-size: 14px; font-weight: 600;
  color: var(--sub); text-decoration: none; }
.seg-links a.on { background: var(--accent); color: var(--on-accent); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; font-size: 13px; color: var(--sub); }
.legend li { display: flex; align-items: center; gap: 5px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--imp); }

/* 日程: 月のカレンダー */
.cal-grid { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 6px; margin: 8px 0 14px; box-shadow: var(--shadow); }
.cal-head, .cal-week { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal-head span { font-size: 11px; color: var(--faint); padding-bottom: 4px; }
.cal-head .sun { color: var(--red); } .cal-head .sat { color: var(--accent); }
.cal-day { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 44px; padding: 5px 0 4px;
  border-radius: 9px; color: var(--sub); text-decoration: none; }
.cal-day b { font-size: 14px; font-weight: 500; line-height: 20px; width: 24px; border-radius: 50%; }
.cal-day.has { color: var(--text); }
.cal-day.has b { font-weight: 700; }
.cal-day.top-deadline { background: var(--red-soft); }
.cal-day.top-exam { background: var(--purple-soft); }
.cal-day.top-announce { background: var(--green-soft); }
.cal-day.is-today b { background: var(--accent); color: var(--on-accent); }
.cal-day .dots { display: flex; gap: 3px; height: 8px; }
.cal-day .dot { width: 6px; height: 6px; }
.day { scroll-margin-top: 16px; }
.day:target .list { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 規約などの文章ページ */
.prose { font-size: 15px; line-height: 1.75; }
.prose h2 { font-size: 16px; margin: 22px 0 6px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 6px 0; }
.prose li + li { margin-top: 4px; }
.legal { margin-top: 20px; }
.danger-zone + .danger-zone { margin-top: 12px; text-align: center; }

/* 宿泊予約タスクの楽天トラベルへのリンク */
.row .main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.hotel-link { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--accent);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.hotel-link .pr { font-size: 10.5px; font-weight: 700; color: var(--sub); border: 1px solid var(--line);
  border-radius: 4px; padding: 0 4px; line-height: 1.5; }

/* 出願(青) */
.imp-apply { --imp: var(--accent); --imp-soft: var(--accent-soft); }
.row.imp-apply { box-shadow: inset 4px 0 0 var(--imp); }
.row.imp-apply .event-dot { background: var(--imp-soft); }
.row.imp-apply.is-event .title { color: var(--imp); }
.cal-day.top-apply { background: var(--accent-soft); }

/* 日程: 出願期間の帯 */
.cal-week { row-gap: 2px; padding-bottom: 4px; }
.cal-bar { font-size: 10.5px; font-weight: 700; line-height: 16px; height: 16px; padding: 0 5px; margin: 0 2px;
  border-radius: 5px; background: var(--accent-soft); color: var(--accent); text-align: left;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cal-bar.cont-l { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: 0; }
.cal-bar.cont-r { border-top-right-radius: 0; border-bottom-right-radius: 0; margin-right: 0; }
.cal-bar.st-done, .cal-bar.st-closed { background: var(--bg); color: var(--faint); }

/* 出願期間のカウントダウン */
.periods { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.period a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.p-top { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; min-width: 0; }
.p-name { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-state { flex: none; font-size: 11px; font-weight: 700; padding: 0 7px; line-height: 18px; border-radius: 999px; background: var(--bg); color: var(--sub); }
.st-open .p-state { background: var(--accent); color: var(--on-accent); }
.st-done .p-state { background: var(--green-soft); color: var(--green); }
.p-count { grid-row: 2 / span 2; grid-column: 2; align-self: center; font-size: 12px; color: var(--sub); text-align: right; white-space: nowrap; }
.p-count em { font-style: normal; font-size: 26px; font-weight: 800; color: var(--text); margin: 0 2px; font-variant-numeric: tabular-nums; }
.st-open .p-count em { color: var(--accent); }
.p-bar { grid-column: 1; grid-row: 2; height: 6px; border-radius: 3px; background: var(--bg); overflow: hidden; align-self: center; }
.p-bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.st-done .p-bar i { background: var(--green); }
.st-closed .p-bar i { background: var(--faint); }
.p-dates { grid-column: 1; grid-row: 3; font-size: 12px; color: var(--sub); }

/* ホーム: 次の試験までのカウントダウン */
.countdown { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 12px; margin: 4px 0 12px; padding: 16px 18px;
  border-radius: var(--radius); background: var(--accent); color: var(--on-accent); text-decoration: none; }
.cd-label { font-size: 13px; font-weight: 600; opacity: .9; }
.cd-num { grid-row: 1 / span 2; grid-column: 2; font-size: 14px; font-weight: 700; }
.cd-num b { font-size: 40px; line-height: 1; margin: 0 3px; font-variant-numeric: tabular-nums; }
.cd-date { font-size: 12px; opacity: .85; }
.more-link { text-align: right; font-size: 13px; margin: -8px 0 12px; }

/* 管理画面 */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.stat-label { font-size: 12px; color: var(--sub); }
.stat b { font-size: 30px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat-sub { font-size: 12px; color: var(--sub); }
.meter-top { display: flex; align-items: baseline; gap: 6px; }
.meter-top b { font-size: 30px; font-variant-numeric: tabular-nums; }
.meter-top .chip { margin-left: auto; }
.meter-bar { height: 10px; border-radius: 5px; background: var(--bg); overflow: hidden; margin: 8px 0; }
.meter-bar i { display: block; height: 100%; background: var(--accent); border-radius: 5px; }
.meter.warn .meter-bar i { background: var(--orange); }
.chart { padding: 14px; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 120px; border-bottom: 1px solid var(--line); }
.bar-slot { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bar-slot i { display: block; width: 100%; min-height: 0; background: var(--accent); border-radius: 4px 4px 0 0; }
.bar-slot:hover i { opacity: .75; }
.bars-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); margin-top: 4px; }
.hbars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hbars li { display: grid; grid-template-columns: 7.5em 1fr 3em; gap: 8px; align-items: center; font-size: 13px; }
.hb-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-track { height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden; }
.hb-track i { display: block; height: 100%; background: var(--accent); border-radius: 5px; }
.hb-val { text-align: right; color: var(--sub); font-variant-numeric: tabular-nums; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data td { padding: 6px 4px; border-top: 1px solid var(--line); }
table.data td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
table.data th { padding: 6px 4px; font-size: 12px; font-weight: 600; color: var(--sub); text-align: right; }
table.data th:first-child { text-align: left; }
table.data td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.sub-head { font-size: 14px; font-weight: 600; color: var(--sub); margin: 18px 4px 8px; }
.stat-grid + .hint, .hbars + .hint { margin-top: 10px; }

/* 設定: 意見箱・支援 */
.support-card { margin-top: 12px; padding-bottom: 6px; }
.link-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; color: var(--text); }
.link-row + .link-row { border-top: 1px solid var(--line); }
.link-row span { flex: 1; display: flex; flex-direction: column; }
.link-row small { color: var(--sub); font-size: 12.5px; }
.link-row i { font-style: normal; color: var(--faint); font-size: 20px; }
.segmented.wrap2 label { flex: 1 1 40%; }
.feedback-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.feedback-list li { padding: 12px 14px; }
.feedback-list p { margin: 6px 0 0; white-space: pre-wrap; font-size: 14px; }
.fb-meta { font-size: 12px; color: var(--sub); display: flex; gap: 8px; align-items: center; }

/* ホーム: 運営者のほかのアプリ */
.promo { display: flex; align-items: center; gap: 12px; margin: 28px 0 8px; padding: 12px 14px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.promo img { border-radius: 10px; flex: none; }
.promo > .promo-icons { display: grid; grid-template-columns: 26px; gap: 3px; flex: none; }
.promo-icons img { border-radius: 7px; }
.promo > span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.promo small { font-size: 11px; color: var(--faint); }
.promo b { font-size: 15px; }
.promo span span { font-size: 12.5px; color: var(--sub); }
.promo i { font-style: normal; color: var(--faint); font-size: 20px; }

/* 模試の予定 */
.moshi-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.moshi { display: flex; align-items: center; gap: 12px; }
.moshi-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.moshi-main b { font-size: 15px; }
.moshi-co { font-size: 12px; font-weight: 700; color: var(--sub); }
.moshi-dates { font-size: 13px; color: var(--sub); line-height: 1.8; }
.moshi-dates .chip { margin-left: 4px; }
.moshi-src { font-size: 12px; color: var(--accent); text-decoration: none; }
.moshi form { flex: none; }

/* LINE 登録のすすめ(受験校を入れたあと) */
.returning { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.connect h1 { margin-top: 4px; }
.connect .btn.line { margin-top: 8px; }
.line-nudge { display: grid; gap: 4px; margin: 0 0 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 2px solid var(--line-green); color: inherit; text-decoration: none; }
.line-nudge b { font-size: 15px; }
.line-nudge span { font-size: 13px; color: var(--sub, #666); }
.line-nudge i { font-style: normal; font-weight: 700; color: var(--line-green); font-size: 14px; }

/* 模試: チェックしてまとめて予定に入れる */
.steps { margin: 4px 0 8px; padding-left: 1.4em; font-size: 15px; }
.steps li { margin: 2px 0; }
.moshi-filter { margin: 0 0 10px; }
.moshi-filter label { flex: 1 1 0; }
.moshi-pick { list-style: none; margin-bottom: 10px; }
.moshi-pick label.card { display: flex; gap: 12px; align-items: flex-start; margin: 0; cursor: pointer; position: relative; }
.moshi-pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick-box { flex: none; width: 26px; height: 26px; margin-top: 2px; border-radius: 8px; border: 2px solid var(--line); background: var(--card); display: grid; place-items: center; }
.moshi-pick input:checked + .pick-box { background: var(--accent); border-color: var(--accent); }
.moshi-pick input:checked + .pick-box::after { content: ""; width: 7px; height: 13px; border: solid var(--on-accent); border-width: 0 3px 3px 0; transform: translateY(-2px) rotate(45deg); }
.moshi-pick input:focus-visible + .pick-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.moshi-pick label.card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.moshi-pick .moshi-src { display: inline-block; font-size: 13px; margin: 4px 0 0 4px; }
.sticky-action { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom)); padding: 10px 0; background: linear-gradient(to top, var(--bg) 70%, transparent); z-index: 5; }
.btn.dim { opacity: .65; }
.moshi-card { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; margin: 0 0 14px; padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; box-shadow: var(--shadow); }
.moshi-card-label { grid-column: 1; font-size: 12px; font-weight: 700; color: var(--purple); }
.moshi-card-main { grid-column: 1; font-weight: 700; font-size: 15px; }
.moshi-card-sub { grid-column: 1; font-size: 13px; color: var(--sub); }
.moshi-card i { grid-column: 2; grid-row: 1 / 4; font-style: normal; font-size: 22px; color: var(--faint); }

/* ホームの模試カード: 押せる場所をボタンではっきり */
.moshi-box { margin-bottom: 14px; }
.moshi-box p { margin: 0; }
.moshi-box .moshi-card-label { display: block; margin-bottom: 2px; }
.moshi-box .moshi-card-sub { margin-top: 2px; }
.btn.moshi-btn { margin-top: 12px; background: var(--purple-soft); border-color: transparent; color: var(--purple); font-weight: 700; }
.btn.moshi-btn:hover { filter: brightness(.97); }
.btn.small.moshi-btn { margin-top: 0; }

/* LINE 未登録の人への案内(控えめに) */
.line-box { margin: 18px 0; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.line-box h2 { font-size: 15px; margin: 0 0 6px; }
.line-box ul { margin: 0 0 12px; padding-left: 1.2em; font-size: 14px; color: var(--sub); }
.line-box li { margin: 2px 0; }
.line-box b { color: var(--text); font-weight: 600; }
.btn.line-outline { background: transparent; border: 1.5px solid var(--line-green); color: #04833a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn.line-outline { color: var(--line-green); } }
:root[data-theme="dark"] .btn.line-outline { color: var(--line-green); }

/* 管理画面だけ: パソコンの広い画面では横に広げて、段組みにする(スマホは今のまま1列) */
@media (min-width: 900px) {
  body.admin-page main { max-width: 1240px; padding-left: 32px; padding-right: 32px; }
  .admin-wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; align-items: start; }
  .admin-wrap > .admin-full { grid-column: 1 / -1; }
  .admin-page .stat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .admin-access { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; align-items: start; }
  .admin-access > h2, .admin-access > .card.chart { grid-column: 1 / -1; }
  .admin-access .sub .card { margin-bottom: 18px; }
  .admin-page .feedback-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .admin-page .feedback-list .card { margin: 0; }
  .admin-page .bars { height: 160px; }
}
@media (min-width: 1280px) {
  .admin-page .feedback-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 支援 */
.support-note { margin: 22px 0 80px; padding: 16px; border-radius: var(--radius); background: var(--accent-soft); font-size: 14px; line-height: 1.6; color: var(--text); text-align: center; }
.support-note b { font-weight: 700; }
.support-note a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; margin-top: 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--accent); color: var(--accent); font-weight: 700; font-size: 15px; text-decoration: none; }
.cost-list { margin: 8px 0 10px; display: grid; gap: 6px; }
.cost-list div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.cost-list dt { color: var(--sub); }
.cost-list dd { margin: 0; font-weight: 600; text-align: right; }
.amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.amounts label { position: relative; }
.amounts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.amounts span { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 15px; background: var(--bg); cursor: pointer; }
.amounts input:checked + span { border: 2px solid var(--accent); background: var(--accent-soft); color: var(--accent); }
.amounts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.custom-amount { margin-top: 10px; }
.check-row { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: -4px 0 14px; }
.check-row input[type="checkbox"] { -webkit-appearance: auto; appearance: auto; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 3px 0 0; flex: none; border: 0; background: none; accent-color: var(--accent); }
.check-row input:disabled + span { color: var(--faint); }
.notice-test { background: var(--orange-soft); color: var(--orange); border-radius: 10px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.supporters { display: flex; flex-wrap: wrap; gap: 6px; }
.supporters span { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 2px 12px; font-size: 14px; }
.legal { display: grid; gap: 0; padding: 4px 16px; }
.legal div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 10px 0; font-size: 14px; }
.legal div + div { border-top: 1px solid var(--line); }
.legal dt { color: var(--sub); font-weight: 600; }
.legal dd { margin: 0; }

/* テーマの色を選ぶ */
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 2px 8px; border: 1px solid var(--line); border-radius: 12px; font-size: 12px; color: var(--sub); cursor: pointer; background: var(--bg); }
.swatch i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); }
.swatch input:checked + span { border: 2px solid var(--text); color: var(--text); font-weight: 700; padding: 9px 1px 7px; }
.swatch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.swatch[data-accent-preview="blue"] { --c: #2357d6; }
.swatch[data-accent-preview="green"] { --c: #1b7a4b; }
.swatch[data-accent-preview="pink"] { --c: #c2185b; }
.swatch[data-accent-preview="orange"] { --c: #c45a0a; }
.swatch[data-accent-preview="purple"] { --c: #6d3fd6; }

/* 保護者プラン */
.checks { margin: 10px 0; padding-left: 1.3em; font-size: 15px; display: grid; gap: 6px; }
.invite-box { background: var(--accent-soft); border-radius: 12px; padding: 12px; margin: 10px 0 12px; display: grid; gap: 8px; }
.invite-box p { margin: 0; font-size: 14px; }
.invite-box input { font-size: 13px; }
.link-row.static { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.link-row.static small { display: block; color: var(--sub); font-size: 12px; }
.share-form { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

/* 意見箱: いただいた意見と対応 */
.reply-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reply-list .card { margin: 0; }
.reply-list .rq { font-size: 14px; color: var(--sub); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.reply-list .ra { margin: 6px 0 0; font-size: 15px; line-height: 1.6; }
.reply-list .ra b { color: var(--green); font-size: 13px; }
.reply-list .ra small { color: var(--faint); margin-left: 6px; }
.fb-reply { margin-top: 8px; }
.fb-reply summary { font-size: 13px; color: var(--accent); cursor: pointer; }

/* アンケート */
.survey-invite { display: flex; align-items: center; gap: 4px; margin: 0 0 14px; background: var(--accent-soft); border-radius: var(--radius); }
.survey-invite a { flex: 1; display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 12px 4px 12px 16px; color: var(--text); text-decoration: none; }
.survey-invite b { font-size: 15px; color: var(--accent); }
.survey-invite span { grid-column: 1; font-size: 13px; color: var(--sub); }
.survey-invite i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; color: var(--accent); font-size: 20px; }
.survey-invite form { margin: 0; }
.survey-invite .x { border: 0; background: none; color: var(--sub); font-size: 20px; width: 44px; height: 44px; cursor: pointer; }
.survey-opts { display: grid; gap: 8px; }
.survey-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); cursor: pointer; font-size: 15px; }
.survey-opt input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; flex: none; -webkit-appearance: auto; appearance: auto; accent-color: var(--accent); }
.survey-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.survey-results { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.survey-results .card { margin: 0; }
.sr-q { font-weight: 700; font-size: 14px; }
.sr-row { display: grid; grid-template-columns: 9em 1fr auto; gap: 8px; align-items: center; font-size: 13px; padding: 3px 0; }
.sr-bar { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; }
.sr-bar i { display: block; height: 100%; background: var(--accent); }

.admin-jump { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin: 0 0 16px; border-radius: var(--radius);
  background: var(--accent-soft); color: var(--text); text-decoration: none; }
.admin-jump span:first-child { flex: 1; display: flex; flex-direction: column; }
.admin-jump b { color: var(--accent); }
.admin-jump small { color: var(--sub); font-size: 12px; }
.admin-jump .n { font-weight: 800; font-size: 18px; }
.admin-jump i { font-style: normal; color: var(--accent); font-size: 20px; }

/* 大学名の候補 */
.suggest { list-style: none; margin: 4px 0 0; padding: 4px 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .12); max-height: 320px; overflow-y: auto; position: relative; z-index: 5; }
.suggest li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 14px; cursor: pointer; }
.suggest li + li { border-top: 1px solid var(--line); }
.suggest li b { font-weight: 600; font-size: 16px; }
.suggest li small { color: var(--sub); font-size: 12px; white-space: nowrap; }
.suggest li.on, .suggest li:hover { background: var(--accent-soft); }

/* 企業・団体の協賛ページ */
.sp-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0 4px; }
.sp-numbers div { border-left: 3px solid var(--accent); padding: 2px 0 2px 10px; }
.sp-numbers dt { font-size: 12px; color: var(--sub); line-height: 1.35; }
.sp-numbers dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sp-numbers small, .sp-price small { font-size: 12px; font-weight: 500; color: var(--sub); margin-left: 2px; }
.sp-plans { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sp-plans h3 { margin: 0; font-size: 15px; }
.sp-price { margin: 2px 0 8px; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sp-plans ul { margin: 0; padding-left: 1.2em; font-size: 14px; }
.sp-list { columns: 2; padding-left: 1.2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.center { text-align: center; }

/* 合格のお祝い */
.celebrate { border: 2px solid var(--accent); margin-bottom: 14px; }
.celebrate-title { font-size: 20px; font-weight: 700; margin: 0 0 6px; color: var(--accent); }
.celebrate-ask { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 10px; }
.trial-note { border-left: 4px solid var(--accent); margin-bottom: 14px; }
