/* 自動生成ファイル（配色の切り替え「どっちが好き？」用）。直接編集せず、元のCSSを直してから build_orange_css.py で作り直す */
/* ==========================================================
   美作大学 受験生特設サイト — 共通スタイル
   ========================================================== */

:root {
  --color-lime: #C4003B;
  --color-black: #FBF2F5;
  --color-white: #2A1A1F;
  --color-ink-2: #F1E8EB;
  --color-line: #D7D2CD;
  --color-muted: #6C635E;      /* 黒背景上で十分なコントラスト */
  --color-muted-on-light: #C9C3BE;

  --font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", "Meiryo", sans-serif;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4rem, 11vw, 8.5rem);
  --header-h: 56px;
  --bottom-cta-h: 68px;
  --radius: 14px;

  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 3.2vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.9vw, 1.75rem);
  --fs-small: 0.875rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: 1.8;
  overflow-x: clip;
  /* モバイルの固定CTAに本文・フッターが隠れないよう余白を確保 */
  padding-bottom: calc(var(--bottom-cta-h) + env(safe-area-inset-bottom, 0px));
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.9em; background: rgba(154,147,142,.25); padding: .1em .35em; border-radius: 4px; }

:focus-visible {
  outline: 3px solid var(--color-lime);
  outline-offset: 3px;
}
.theme-lime :focus-visible,
.theme-white :focus-visible { outline-color: var(--color-black); }

.skip-link {
  position: absolute; left: 0.5rem; top: -4rem; z-index: 200;
  background: var(--color-lime); color: var(--color-black);
  padding: .6rem 1rem; font-weight: 800; border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 0.5rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 上部のお知らせバー（今は未使用） ---------- */
.proto-bar {
  background: var(--color-lime); color: var(--color-black);
  font-size: 0.75rem; font-weight: 800; text-align: center;
  padding: .3rem var(--gutter); line-height: 1.5;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,242,245,.96);
  border-bottom: 1px solid var(--color-line);
}
.site-header__inner {
  max-width: 1200px; margin: 0 auto; min-height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  position: relative;
}
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.15; padding: .4rem 0; }
.logo__en { font-weight: 900; letter-spacing: .14em; font-size: 1.05rem; color: var(--color-lime); }
.logo__ja { font-weight: 700; font-size: .75rem; letter-spacing: .12em; }

.menu-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 44px; padding: 0 .9rem;
  background: transparent; color: var(--color-white);
  border: 2px solid var(--color-white); border-radius: 999px;
  font: inherit; font-size: .875rem; font-weight: 800; cursor: pointer;
}
.menu-btn__bars, .menu-btn__bars::before {
  display: block; width: 16px; height: 2px; background: currentColor; position: relative;
}
.menu-btn__bars::before { content: ""; position: absolute; top: 5px; left: 0; }
.menu-btn[aria-expanded="true"] { background: var(--color-lime); color: var(--color-black); border-color: var(--color-lime); }

.global-nav ul { display: flex; flex-direction: column; }
.global-nav a {
  display: flex; align-items: center; min-height: 52px;
  text-decoration: none; font-weight: 800; font-size: 1.05rem;
  border-bottom: 1px solid var(--color-line); padding: 0 var(--gutter);
}
.global-nav a[aria-current] { color: var(--color-lime); }
.global-nav a:hover { color: var(--color-lime); }
.global-nav .nav-line a {
  background: var(--color-lime); color: var(--color-black); justify-content: center; margin: 1rem var(--gutter);
  border-radius: 999px; border: 0; padding: 0 1.5rem; min-height: 52px;
}

/* JS有効時、モバイルではメニューを開閉式にする（JS無効時は常に表示） */
@media (max-width: 899px) {
  .js .global-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--color-black); border-bottom: 1px solid var(--color-line);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .js .global-nav.is-open { display: block; }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .menu-btn { display: none; }
}
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .global-nav ul { flex-direction: row; align-items: center; gap: .25rem; }
  .global-nav a { border: 0; min-height: 44px; padding: 0 1rem; font-size: .95rem; border-radius: 999px; }
  .global-nav .nav-line a { margin: 0 0 0 .5rem; padding: 0 1.25rem; }
  .global-nav .nav-line a:hover { background: var(--color-white); color: var(--color-black); }
}

/* ---------- レイアウト ---------- */
.section { padding: var(--section-y) var(--gutter); position: relative; overflow: hidden; }
.container { max-width: 1120px; margin: 0 auto; position: relative; }
.theme-lime { background: var(--color-lime); color: var(--color-black); }
.theme-white { background: var(--color-white); color: var(--color-black); }
.theme-dark2 { background: var(--color-ink-2); }

.eyebrow {
  display: inline-block; font-weight: 900; letter-spacing: .18em; font-size: .8rem;
  text-transform: uppercase; color: var(--color-lime); margin-bottom: 1rem;
}
.theme-lime .eyebrow, .theme-white .eyebrow { color: var(--color-black); }
.theme-white .eyebrow { background: var(--color-lime); padding: .1rem .6rem; }

.h2 { font-size: var(--fs-h2); line-height: 1.25; font-weight: 900; letter-spacing: -.01em; }
.h3 { font-size: var(--fs-h3); line-height: 1.4; font-weight: 800; }
.lead { font-size: clamp(1.05rem, 1rem + .5vw, 1.25rem); margin-top: 1.25rem; max-width: 40em; }
.small { font-size: var(--fs-small); line-height: 1.7; }
.muted { color: var(--color-muted); }
.theme-lime .muted, .theme-white .muted { color: var(--color-muted-on-light); }
.hl { color: var(--color-lime); }
.theme-lime .hl, .theme-white .hl { color: inherit; }

.ext-note::after { content: "（外部サイト）"; font-size: .75em; font-weight: 500; margin-left: .25em; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: .5rem 1.75rem; gap: .5rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 900; font-size: 1.05rem; line-height: 1.35;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--color-lime); color: var(--color-black); }
.btn--lime:hover { background: var(--color-white); }
.btn--ghost { border-color: var(--color-white); color: var(--color-white); background: transparent; }
.btn--ghost:hover { background: var(--color-white); color: var(--color-black); }
.btn--dark { background: var(--color-black); color: var(--color-lime); }
.btn--dark:hover { background: var(--color-white); color: var(--color-black); }
.btn--outline-dark { border-color: var(--color-black); color: var(--color-black); background: transparent; }
.btn--outline-dark:hover { background: var(--color-black); color: var(--color-lime); }
.btn--lg { min-height: 60px; font-size: clamp(1rem, .9rem + .5vw, 1.15rem); padding: .5rem clamp(1rem, 4vw, 2.25rem); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.btn-row .btn { flex: 1 1 15rem; }
@media (min-width: 700px) { .btn-row .btn { flex: 0 1 auto; } }

.text-link { font-weight: 800; text-underline-offset: .25em; text-decoration-thickness: 2px; }
.text-link:hover { color: var(--color-lime); }
.theme-lime .text-link:hover, .theme-white .text-link:hover { color: var(--color-black); text-decoration-color: var(--color-black); background: var(--color-lime); }
.theme-lime .text-link:hover { background: var(--color-white); }

/* ---------- 画像差し替え領域 ---------- */
.ph {
  position: relative; display: grid; place-items: center; text-align: center;
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
  border: 2px dashed currentColor; padding: 1rem;
  background: repeating-linear-gradient(135deg, rgba(154,147,142,.14) 0 12px, transparent 12px 24px);
}
.ph--portrait { aspect-ratio: 3 / 4; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph__label { font-size: .8rem; font-weight: 800; line-height: 1.6; }
.ph__label code { display: inline-block; margin-top: .3rem; }
.ph img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .3s ease;
}
.ph img.is-loaded { opacity: 1; }
.ph:has(img.is-loaded) { border-style: solid; border-color: transparent; }
.ph:has(img.is-loaded) .ph__label { display: none; }

/* 仮素材バッジ */
.badge {
  display: inline-block; font-size: .75rem; font-weight: 900; letter-spacing: .08em;
  padding: .15rem .65rem; border-radius: 999px; border: 2px solid currentColor; line-height: 1.6;
}
.badge--lime { background: var(--color-lime); color: var(--color-black); border-color: var(--color-lime); }

/* 確認待ちボックス */
.pending {
  border: 2px dashed currentColor; border-radius: var(--radius); padding: 1.25rem 1.4rem;
  font-size: .95rem; line-height: 1.75;
}
.pending .badge { margin-bottom: .6rem; }

/* ---------- スクロール出現（JS有効時のみ） ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s !important; }
.reveal--d2 { transition-delay: .16s !important; }

/* ---------- ヒーロー（トップ） ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem) var(--gutter) clamp(3rem, 8vw, 5rem);
  min-height: calc(100svh - var(--header-h) - 28px - var(--bottom-cta-h));
  display: flex; align-items: center;
}
.hero__inner { max-width: 1200px; margin: 0 auto; width: 100%; }
.hero__tag { font-weight: 800; font-size: .85rem; letter-spacing: .14em; color: var(--color-muted); }
.hero__big {
  font-weight: 900; line-height: .95; letter-spacing: -.05em; color: var(--color-lime);
  font-size: clamp(5rem, 29vw, 21rem);
  margin: .1em 0 .05em -.04em;
  transform: rotate(-6deg); transform-origin: left bottom;
  white-space: nowrap; position: relative; width: max-content; max-width: 100%;
  user-select: none;
}
.hero__big::after {
  content: attr(data-text); position: absolute; left: .035em; top: .035em; z-index: -1;
  color: #D4CFCA;
}
.hero__title { font-size: clamp(1.9rem, 1.1rem + 4.4vw, 4rem); font-weight: 900; line-height: 1.2; margin-top: clamp(.5rem, 2vw, 1.5rem); }
.hero__sub { margin-top: 1rem; font-size: clamp(1.05rem, 1rem + .6vw, 1.35rem); max-width: 30em; }

.ticker { overflow: hidden; background: var(--color-lime); color: var(--color-black); border-block: 2px solid var(--color-black); }
.ticker__track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker__item { font-weight: 900; font-size: clamp(1.1rem, 3vw, 1.6rem); padding: .55rem 1.5rem; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 3つのまさか ---------- */
.masaka__no {
  position: absolute; right: -.05em; top: -.2em; z-index: 0;
  font-weight: 900; line-height: 1; font-size: clamp(8rem, 38vw, 24rem);
  color: transparent; -webkit-text-stroke: 2px currentColor; opacity: .22;
  transform: rotate(6deg); pointer-events: none; user-select: none;
}
.masaka .container { z-index: 1; }
.masaka__label { font-weight: 900; letter-spacing: .12em; font-size: .9rem; margin-bottom: 1rem; display: block; }
.big-num {
  font-weight: 900; line-height: .9; letter-spacing: -.06em;
  font-size: clamp(5.5rem, 27vw, 16rem); margin: .1em 0 .05em -.04em;
}
.big-num small { font-size: .3em; letter-spacing: 0; margin-left: .05em; }
.masaka__copy { font-weight: 900; font-size: clamp(1.6rem, 1rem + 3.2vw, 3rem); line-height: 1.3; max-width: 16em; }

.split { display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 800px) { .split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 3rem; } }

.stats { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats > li:nth-child(2) { transform: translateY(2.5rem); }
}
.stat { background: var(--color-black); color: var(--color-white); border-radius: var(--radius); padding: 1.5rem; height: 100%; display: flex; flex-direction: column; gap: .5rem; }
.stat__dept { align-self: flex-start; background: var(--color-lime); color: var(--color-black); font-weight: 900; font-size: .8rem; padding: .1rem .7rem; border-radius: 999px; }
.stat__exam { font-weight: 800; line-height: 1.5; }
.stat__num { font-weight: 900; font-size: clamp(3.2rem, 12vw, 4.5rem); line-height: 1; color: var(--color-lime); letter-spacing: -.04em; }
.stat__num small { font-size: .45em; letter-spacing: 0; }
.stat__detail { font-size: .9rem; color: #4E443F; line-height: 1.7; }
.stat .text-link { margin-top: auto; font-size: .9rem; padding-top: .5rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.chip { border: 2px solid currentColor; border-radius: 999px; padding: .1rem .85rem; font-weight: 800; font-size: .9rem; }

/* ---------- 声 ---------- */
.voices { display: grid; gap: 2.5rem; margin-top: 3rem; }
.voice { display: grid; gap: 1rem; }
.voice__q { font-weight: 800; color: var(--color-lime); font-size: .95rem; }
.voice__quote { font-size: clamp(1.3rem, 1rem + 1.6vw, 2rem); font-weight: 900; line-height: 1.4; border-left: 6px solid var(--color-lime); padding-left: 1rem; color: var(--color-muted); }
@media (min-width: 800px) {
  .voices { grid-template-columns: repeat(3, 1fr); gap: 2rem; align-items: start; }
  .voice:nth-child(2) { margin-top: 4rem; }
  .voice:nth-child(3) { margin-top: 1.5rem; }
}

/* ---------- 仕事・学科 ---------- */
.paths { margin-top: 3rem; display: grid; gap: 1.25rem; }
.path { border-top: 3px solid var(--color-black); padding-top: 1.25rem; display: grid; gap: .75rem; }
.path__field { font-weight: 900; font-size: clamp(2.4rem, 1.5rem + 5vw, 4.5rem); line-height: 1; letter-spacing: -.03em; }
.path__scene { font-weight: 900; font-size: 1.2rem; line-height: 1.5; }
.path__dept { display: inline-flex; font-weight: 900; }
@media (min-width: 900px) {
  .path { grid-template-columns: 12rem 1fr auto; align-items: center; gap: 2rem; padding: 1.75rem 0; }
  .paths .path:nth-child(2) { padding-left: 3rem; }
  .paths .path:nth-child(3) { padding-left: 6rem; }
}

/* ---------- 人との距離 ---------- */
.dist { display: grid; gap: 1rem; margin-top: 3rem; }
@media (min-width: 800px) { .dist { grid-template-columns: repeat(3, 1fr); } }
.dist__item { border: 2px solid var(--color-line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .75rem; align-content: start; }
.dist__title { font-weight: 900; font-size: 1.2rem; line-height: 1.5; }

/* ---------- 最後のCTA ---------- */
.cta-final { text-align: left; }
.cta-final__title { font-weight: 900; font-size: clamp(2.2rem, 1rem + 7vw, 6rem); line-height: 1.12; letter-spacing: -.02em; }
.cta-final__title .nb { white-space: nowrap; }  /* 「を」「う。」だけが次の行に落ちないよう、意味の切れ目でだけ折り返す */
.cta-final__title .cta-final__mark { display: inline-block; transform: rotate(-3deg); background: var(--color-black); color: var(--color-lime); padding: 0 .2em; }

/* ---------- サブページ共通：ページヒーロー ---------- */
.page-hero { padding: clamp(3rem, 9vw, 6rem) var(--gutter) clamp(2.5rem, 7vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero__title { font-weight: 900; line-height: 1.2; font-size: clamp(2rem, 1rem + 5.2vw, 4.5rem); letter-spacing: -.01em; }
.page-hero__title em { font-style: normal; color: var(--color-lime); }
.page-hero--calm .page-hero__title { font-size: clamp(1.9rem, 1rem + 4vw, 3.5rem); }
.page-hero__ghost {
  position: absolute; right: -.05em; bottom: -.25em; font-weight: 900; line-height: 1;
  font-size: clamp(9rem, 40vw, 22rem); color: transparent; -webkit-text-stroke: 2px var(--color-line);
  transform: rotate(-6deg); pointer-events: none; user-select: none; z-index: 0;
}
.page-hero .container { z-index: 1; }

.status-box { border: 2px solid var(--color-lime); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin-top: 2rem; max-width: 44rem; }
.theme-white .status-box, .theme-lime .status-box { border-color: var(--color-black); }
.status-box strong { display: block; margin-bottom: .25rem; }

/* 魅力リスト */
.features { display: grid; gap: 1px; margin-top: 3rem; background: var(--color-line); border: 1px solid var(--color-line); }
.features li { background: var(--color-black); color: var(--color-white); padding: 1.5rem; display: grid; gap: .4rem; }
.features__no { font-weight: 900; font-size: 2rem; line-height: 1; color: var(--color-lime); }
.features__title { font-weight: 900; font-size: 1.15rem; line-height: 1.5; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* タイムライン */
.timeline { margin-top: 2rem; border-left: 4px solid var(--color-black); }
.timeline li { display: grid; gap: .1rem; padding: .9rem 0 .9rem 1.25rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -11px; top: 1.4rem; width: 18px; height: 18px; border-radius: 50%; background: var(--color-lime); border: 3px solid var(--color-black); }
.timeline__time { font-weight: 900; font-size: 1.1rem; }
.timeline__title { font-weight: 900; }

/* リンクリスト（行形式） */
.linklist { margin-top: 2.5rem; border-top: 1px solid var(--color-line); }
.theme-white .linklist, .theme-lime .linklist { border-color: rgba(251,242,245,.35); }
.linklist li { border-bottom: 1px solid var(--color-line); }
.theme-white .linklist li, .theme-lime .linklist li { border-color: rgba(251,242,245,.35); }
.linklist a {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  padding: 1.1rem .25rem; min-height: 64px; text-decoration: none;
}
.linklist a:hover { background: rgba(196,0,59,.14); }
.theme-lime .linklist a:hover { background: rgba(42,26,31,.4); }
.linklist__title { font-weight: 900; line-height: 1.5; }
.linklist__desc { display: block; font-size: .875rem; font-weight: 500; line-height: 1.6; color: var(--color-muted); }
.theme-white .linklist__desc, .theme-lime .linklist__desc { color: var(--color-muted-on-light); }
.linklist__arrow { font-weight: 900; font-size: 1.3rem; }

/* 入試方式カード（入試ページ。落ち着いた一覧性重視） */
.methods { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 800px) { .methods { grid-template-columns: repeat(2, 1fr); } }
.method { border: 2px solid var(--color-black); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .75rem; align-content: start; background: var(--color-white); }
.method__title { font-weight: 900; font-size: 1.35rem; line-height: 1.4; }
.method__terms { display: flex; flex-wrap: wrap; gap: .4rem; }
.method__terms .chip { font-size: .8rem; border-width: 1.5px; }
.method__links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .25rem; }

.note-list { margin-top: 1.5rem; display: grid; gap: .4rem; font-size: .9rem; }
.note-list li { padding-left: 1.2em; text-indent: -1.2em; }
.note-list li::before { content: "※ "; }

/* ---------- LINE未設定の案内 ---------- */
.line-notice { padding: 0; border: 0; background: transparent; color: var(--color-white); max-width: min(30rem, calc(100% - 2rem)); }
.line-notice::backdrop { background: rgba(251,242,245,.78); }
.line-notice__panel { background: var(--color-black); border: 3px solid var(--color-lime); border-radius: var(--radius); padding: 1.75rem; max-width: 30rem; display: grid; gap: 1rem; }
.line-notice__panel h2 { font-size: 1.4rem; font-weight: 900; color: var(--color-lime); }

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--color-line); padding: clamp(3rem, 8vw, 5rem) var(--gutter) 2rem; background: #FBF2F5; }
.site-footer__inner { max-width: 1120px; margin: 0 auto; display: grid; gap: 2rem; }
.site-footer__brand { font-weight: 900; font-size: 1.4rem; letter-spacing: .1em; color: var(--color-lime); }
.site-footer__brand span { display: block; color: var(--color-white); font-size: .9rem; letter-spacing: .12em; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.footer-nav a:hover { color: var(--color-lime); }
.site-footer__note { color: var(--color-muted); font-size: .8rem; line-height: 1.8; max-width: 44rem; }
.copyright { color: var(--color-muted); font-size: .8rem; }

/* ---------- モバイル固定CTA ---------- */
.bottom-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(251,242,245,.97); border-top: 1px solid var(--color-line);
  min-height: var(--bottom-cta-h);
}
.bottom-cta .btn { min-height: 48px; font-size: .95rem; padding: .25rem .5rem; }
@media (min-width: 900px) {
  .bottom-cta { display: none; }
  body { padding-bottom: 0; }
  .hero { min-height: calc(100svh - var(--header-h) - 28px); }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .ph img { transition: none; }
  .btn:hover { transform: none; }
}

/* ==========================================================
   オープンキャンパス：開催日程（oc-data.js から表示）
   ========================================================== */
.oc-hero__grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .oc-hero__grid { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; } }

/* 次回の案内カード */
.oc-next {
  position: relative; z-index: 1; display: grid; gap: .35rem; align-content: start;
  background: var(--color-lime); color: var(--color-black); text-decoration: none;
  padding: 1.4rem 1.5rem 1.5rem; border-radius: var(--radius);
  transform: rotate(-2deg); box-shadow: 8px 8px 0 var(--color-white);
  transition: transform .2s ease;
}
.oc-next:hover { transform: rotate(0deg) translateY(-2px); }
.oc-next__label { font-weight: 900; font-size: .85rem; letter-spacing: .08em; }
.oc-next__date { font-weight: 900; line-height: 1; letter-spacing: -.04em; font-size: clamp(3.6rem, 2.4rem + 4vw, 5.2rem); }
.oc-next__date small { font-size: .32em; letter-spacing: 0; margin-left: .1em; }
.oc-next__sub { font-weight: 800; font-size: .95rem; }
.oc-next.is-ended { background: var(--color-ink-2); color: var(--color-white); border: 2px solid var(--color-lime); box-shadow: none; }
.oc-next.is-ended .oc-next__label { font-size: 1.15rem; line-height: 1.5; color: var(--color-lime); }

/* 日程一覧 */
.oc-group-title { margin-top: 3rem; font-weight: 900; font-size: var(--fs-h3); display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; }
.oc-group-title small { font-size: .85rem; font-weight: 700; color: var(--color-muted); }
.oc-list { display: grid; gap: .9rem; margin-top: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.oc-card {
  position: relative; display: grid; gap: .35rem; align-content: start;
  border: 2px solid var(--color-line); border-radius: var(--radius); padding: 1.15rem 1.25rem 1.25rem;
  background: var(--color-black);
}
.oc-card__date { font-weight: 900; line-height: 1; letter-spacing: -.03em; display: flex; align-items: baseline; }
.oc-card__m, .oc-card__d { font-size: clamp(2.6rem, 2rem + 2vw, 3.3rem); }
.oc-card__sl { font-size: 2rem; margin: 0 .05em; color: var(--color-muted); }
.oc-card__w { font-size: 1rem; margin-left: .2rem; letter-spacing: 0; }
.oc-card__where { font-weight: 800; font-size: .95rem; }
.oc-card__note { font-size: .8rem; color: var(--color-muted); }
.oc-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; margin-top: .6rem; }
.oc-card__btn { min-height: 44px; font-size: .95rem; padding: .25rem 1.1rem; }
.oc-card__link { font-size: .85rem; }

.oc-card--upcoming, .oc-card--today { border-color: var(--color-lime); }
.oc-card--upcoming .oc-card__date, .oc-card--today .oc-card__date { color: var(--color-lime); }
.oc-card--past { opacity: .55; }
.oc-card--past .oc-card__date { color: var(--color-muted); }
.oc-card.is-next { background: var(--color-lime); color: var(--color-black); border-color: var(--color-lime); transform: rotate(-1.5deg); opacity: 1; }
.oc-card.is-next .oc-card__date, .oc-card.is-next .oc-card__sl, .oc-card.is-next .oc-card__note { color: var(--color-black); }
.oc-card.is-next .btn--lime { background: var(--color-black); color: var(--color-lime); }
.oc-card.is-next .btn--ghost { border-color: var(--color-black); color: var(--color-black); }
.oc-card__next {
  position: absolute; top: -.75rem; right: 1rem;
  background: var(--color-black); color: var(--color-lime);
  font-weight: 900; font-size: .75rem; letter-spacing: .16em; padding: .15rem .6rem; border-radius: 999px;
}

.oc-badge { display: inline-block; font-weight: 900; font-size: .75rem; letter-spacing: .06em; padding: .1rem .6rem; border-radius: 999px; border: 2px solid currentColor; line-height: 1.6; }
.oc-badge--open { color: var(--color-lime); }
.oc-card.is-next .oc-badge--open { color: var(--color-black); }
.oc-badge--today { background: var(--color-lime); color: var(--color-black); border-color: var(--color-lime); }
.oc-badge--past { color: var(--color-muted); }

@media (prefers-reduced-motion: reduce) {
  .oc-next, .oc-card.is-next { transform: none; transition: none; }
}

/* ==========================================================
   オープンキャンパス：参加者の声（アンケート）
   ========================================================== */
.ocv-stats { display: grid; gap: 0; margin-top: 2.5rem; border-top: 3px solid var(--color-black); }
@media (min-width: 860px) { .ocv-stats { grid-template-columns: repeat(3, 1fr); } }
.ocv-stat { padding: 1.5rem 0 1.75rem; border-bottom: 1px solid rgba(251,242,245,.25); display: grid; gap: .35rem; }
@media (min-width: 860px) {
  .ocv-stat { padding: 1.75rem 1.5rem 2rem; border-bottom: 0; border-right: 1px solid rgba(251,242,245,.25); }
  .ocv-stat:first-child { padding-left: 0; }
  .ocv-stat:last-child { border-right: 0; }
}
.ocv-stat__label { font-weight: 900; font-size: .95rem; }
.ocv-stat__num { font-weight: 900; line-height: .9; letter-spacing: -.05em; font-size: clamp(4rem, 2.6rem + 5vw, 6.6rem); }
.ocv-stat__num small { font-size: .36em; letter-spacing: 0; }
.ocv-stat__sub { font-weight: 700; font-size: .9rem; color: var(--color-muted-on-light); }
.ocv-stat--accent .ocv-stat__num { display: inline-block; justify-self: start; background: var(--color-lime); padding: .05em .12em .02em; transform: rotate(-2deg); }

.ocv-head { margin-top: clamp(3rem, 6vw, 4.5rem); font-weight: 900; font-size: var(--fs-h3); }
.ocv-comments { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 700px) { .ocv-comments { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ocv-comments { grid-template-columns: repeat(3, 1fr); } }
.ocv-comments li {
  position: relative; display: grid; gap: .75rem; align-content: space-between;
  background: var(--color-black); color: var(--color-white);
  padding: 1.4rem 1.4rem 1.2rem; border-radius: var(--radius); font-size: .98rem; line-height: 1.8;
}
.ocv-comments li::after {
  content: ""; position: absolute; left: 1.6rem; bottom: -10px;
  border: 10px solid transparent; border-top-color: var(--color-black); border-bottom: 0;
}
.ocv-comments li:nth-child(3n+2) { background: var(--color-lime); color: var(--color-black); }
.ocv-comments li:nth-child(3n+2)::after { border-top-color: var(--color-lime); }
.ocv-comments span { font-weight: 800; font-size: .8rem; opacity: .75; }

/* 参加すると、こんな「まさか」：見出しを大きく */
.features--masaka .features__title { font-size: clamp(1.25rem, 1rem + .9vw, 1.55rem); line-height: 1.35; margin-bottom: .2rem; }
.features--masaka li { padding: 1.75rem 1.5rem; }

/* 参加の前に知っておきたいこと */
.oc-info { display: grid; gap: 1px; margin-top: 1.25rem; background: var(--color-line); border: 1px solid var(--color-line); }
@media (min-width: 700px) { .oc-info { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .oc-info { grid-template-columns: repeat(4, 1fr); } }
.oc-info li { background: var(--color-black); color: var(--color-white); padding: 1.25rem; display: grid; gap: .35rem; align-content: start; }
.oc-info h4 { margin: 0; font-weight: 900; font-size: 1.05rem; color: var(--color-lime); }
.features--masaka li { align-content: start; }
.features__pre { display: block; font-size: .72em; color: var(--color-lime); letter-spacing: .04em; }

/* ==========================================================
   ムービー：「ムービーを見る」ボタンと再生ウィンドウ
   ========================================================== */
.movie-btn {
  appearance: none; cursor: pointer; font: inherit;
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem;
  min-height: 48px; padding: .4rem 1.1rem .4rem .45rem;
  background: transparent; color: var(--color-black);
  border: 2px solid var(--color-black); border-radius: 999px;
  font-weight: 900; font-size: .95rem; line-height: 1.3;
  transition: background-color .2s ease, color .2s ease;
}
.movie-btn small { font-weight: 700; font-size: .78rem; opacity: .7; }
.movie-btn__icon {
  display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none;
  border-radius: 50%; background: var(--color-black); color: var(--color-lime); font-size: .8rem; padding-left: 2px;
}
.movie-btn:hover { background: var(--color-black); color: var(--color-lime); }
.movie-btn:hover .movie-btn__icon { background: var(--color-lime); color: var(--color-black); }
.movie-btn--dark { color: var(--color-white); border-color: var(--color-white); margin-top: 1.25rem; }
.movie-btn--dark .movie-btn__icon { background: var(--color-lime); color: var(--color-black); }
.movie-btn--dark:hover { background: var(--color-white); color: var(--color-black); }

.movie {
  width: min(1100px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 24px);
  padding: 0; border: 0; border-radius: var(--radius); background: var(--color-black); color: var(--color-white);
  overflow: hidden;
}
.movie::backdrop { background: rgba(251,242,245,.85); }
.movie__inner { display: grid; }
.movie__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .75rem .75rem 1.25rem; }
.movie__title { font-weight: 900; font-size: 1rem; line-height: 1.4; }
.movie__title small { display: block; font-weight: 700; font-size: .78rem; color: var(--color-muted); }
.movie__close {
  appearance: none; cursor: pointer; font: inherit; flex: none;
  min-height: 44px; padding: 0 1rem; border-radius: 999px;
  background: var(--color-lime); color: var(--color-black); border: 0; font-weight: 900;
}
.movie__video { display: block; width: 100%; max-height: calc(100vh - 110px); background: #FBF2F5; aspect-ratio: 16 / 9; }

/* ==========================================================
   お知らせ（data/news.json から表示）
   ========================================================== */
.news-top__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; }
.news { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 2px solid var(--color-black); }
.news__item { border-bottom: 1px solid #504641; scroll-margin-top: 6rem; }
.news__empty { padding: 1.5rem 0; color: var(--color-muted-on-light); }
.news__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin: 0; font-size: .85rem; font-weight: 800; }
.news__meta time { font-family: "Helvetica Neue", Arial, sans-serif; letter-spacing: .04em; }
.news__cat { display: inline-block; padding: .05rem .65rem; border-radius: 999px; border: 1.5px solid var(--color-black); font-size: .75rem; line-height: 1.6; }
.news__cat--oc { background: var(--color-lime); border-color: var(--color-lime); }
.news__cat--exam { background: var(--color-black); color: var(--color-white); }
.news__new { color: #c4002f; font-size: .75rem; letter-spacing: .08em; }
.news__title { font-weight: 900; line-height: 1.5; }
/* トップ：1行ずつのリンク */
.news--compact .news__link { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; align-items: center; padding: 1.1rem .25rem; color: inherit; text-decoration: none; }
.news--compact .news__meta { grid-column: 1; }
.news--compact .news__title { grid-column: 1; font-size: 1.05rem; }
.news--compact .news__arrow { grid-column: 2; grid-row: 1 / span 2; font-weight: 900; font-size: 1.2rem; transition: transform .2s; }
.news--compact .news__link:hover .news__title { text-decoration: underline; text-underline-offset: .2em; }
.news--compact .news__link:hover .news__arrow { transform: translateX(4px); }
@media (min-width: 760px) {
  .news--compact .news__link { grid-template-columns: 15rem 1fr auto; }
  .news--compact .news__title { grid-column: 2; grid-row: 1; }
  .news--compact .news__arrow { grid-column: 3; grid-row: 1; }
}
/* 一覧ページ */
.news-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.news-filter button { appearance: none; cursor: pointer; font: inherit; font-weight: 800; font-size: .9rem; padding: .45rem 1rem; border-radius: 999px; border: 2px solid var(--color-black); background: transparent; color: var(--color-black); }
.news-filter button[aria-pressed="true"] { background: var(--color-black); color: var(--color-white); }
.news__card { padding: 1.6rem .25rem; display: grid; gap: .6rem; }
.news__card .news__title { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); margin: 0; }
.news__body { margin: 0; color: var(--color-muted-on-light); max-width: 46em; }
.news__item.is-target .news__card { background: #35262A; box-shadow: -.25rem 0 0 var(--color-lime); padding-left: 1rem; }
.news__item[hidden] { display: none; }

/* ===== ネット出願（ヘッダー・入試情報ページ） ===== */
@media (min-width: 900px) {
  .global-nav .nav-apply a { border: 2px solid currentColor; min-height: 40px; padding: 0 1rem; margin-left: .25rem; }
  .global-nav .nav-apply a:hover { border-color: var(--color-lime); }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .global-nav a { padding: 0 .7rem; font-size: .9rem; }
  .global-nav .nav-line a { padding: 0 1rem; }
}
.global-nav .nav-apply a::after { content: "↗"; margin-left: .35em; }
.apply-box { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }

/* ===== 見出しの折り返し：1〜2文字だけが次の行に落ちるのを防ぐ =====
   auto-phrase … 日本語を文節（「学長が」「顧問。」など）の切れ目で折り返す（Chrome・Edge）
   balance     … 各行の長さをそろえる（主要ブラウザ対応。未対応ブラウザでは従来どおり） */
h1, h2, h3, h4,
.theme__copy, .alumni__quote, .cta-row__main, .plus-card__qual, .close-stat__text strong,
.features li, .method__title, .linklist__title, .page-hero__title {
  word-break: auto-phrase;
  text-wrap: balance;
}
.lead, .next__lead, .shorts__lead, .news__body { text-wrap: pretty; }


/* ===== アクセシビリティ（WCAG 2.2 AA 対応のための調整） ===== */
/* フォーカス枠：背景と同じ色にならないよう、場所ごとに枠の色を切り替える */
.next :focus-visible, .fv :focus-visible, .theme--2 :focus-visible { outline-color: var(--color-black); }
.theme-lime .plus-card :focus-visible { outline-color: var(--color-lime); }
/* 終了したOC：薄くしすぎず、文字のコントラストを確保（終了は「終了」ラベルでも示す） */
.oc-card--past { opacity: .82; }
/* スマホの下部固定ボタンに、フォーカスした場所が隠れないように */
@media (max-width: 899px) { html { scroll-padding-bottom: calc(var(--bottom-cta-h) + 16px); } }
/* 文字を大きくしたときにヘッダーの中身が折り返せるように */
.site-header__inner { flex-wrap: wrap; row-gap: .5rem; }
/* 動きを止めたとき：流れる帯などを止める */
.motion-off .band__track, .motion-off .ticker__track { animation-play-state: paused !important; }

/* ===== プライバシーポリシー ===== */
.policy .container { max-width: 48rem; }
.policy h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 900; margin: 3rem 0 1rem; padding-top: 1.25rem; border-top: 2px solid var(--color-black); }
.policy h3 { font-size: 1.05rem; font-weight: 900; margin: 0 0 .5rem; }
.policy p, .policy li { line-height: 1.9; }
.policy p + p { margin-top: .9rem; }
.policy ul { padding-left: 1.25em; display: grid; gap: .6rem; }
.policy ul { list-style: disc; }
.policy__draft { display: inline-block; border: 2px solid var(--color-black); padding: .4rem .9rem; font-weight: 800; font-size: .9rem; }
.policy__table { overflow-x: auto; margin-top: 1rem; }
.policy__table table { width: 100%; border-collapse: collapse; min-width: 30rem; }
.policy__table th, .policy__table td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid #504641; vertical-align: top; }
.policy__table th { border-bottom: 2px solid var(--color-black); font-weight: 900; }
.policy__contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.policy__contacts > div { border: 2px solid var(--color-black); border-radius: var(--radius); padding: 1.25rem 1.4rem; }

/* ===== 配色の切り替えボタン（左下のボール） ===== */
.theme-switch { position: fixed; left: 12px; bottom: 12px; z-index: 150; display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 12px; background: var(--color-black); color: var(--color-white); border: 2px solid var(--color-white); border-radius: 999px; font-size: .8rem; font-weight: 800; }
.theme-switch button { min-height: 36px; min-width: 44px; padding: 0 .8rem; border: 0; border-radius: 999px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.theme-switch button[aria-pressed="true"] { background: var(--color-lime); color: var(--color-black); }
.theme-switch :focus-visible { outline-color: var(--color-lime); outline-offset: 2px; }
@media (max-width: 899px) { .theme-switch { bottom: calc(var(--bottom-cta-h) + 12px + env(safe-area-inset-bottom, 0px)); } }

/* ==========================================================
   入試情報（大学入試概要・大学院・編入学・Q&A・過去入試結果・資料請求）
   ========================================================== */
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.toc a { display: inline-flex; align-items: center; min-height: 40px; padding: .2rem .9rem; border: 2px solid currentColor; border-radius: 999px; font-weight: 800; font-size: .9rem; text-decoration: none; }
.toc a:hover { background: var(--color-lime); color: var(--color-black); border-color: var(--color-lime); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .8rem; font-weight: 700; margin-bottom: 1.25rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; color: var(--color-muted); }
.breadcrumb a { text-underline-offset: .2em; }

.adm { background: var(--color-white); color: var(--color-black); padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) var(--section-y); }
.adm :focus-visible { outline-color: var(--color-black); }
.adm .container { max-width: 980px; }
.adm-sec { padding-top: clamp(2.5rem, 5vw, 3.5rem); scroll-margin-top: calc(var(--header-h) + 12px); }
.adm-sec:first-child { padding-top: 0; }
.adm-h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.1rem); font-weight: 900; line-height: 1.35; padding-bottom: .6rem; border-bottom: 3px solid var(--color-black); display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.adm-h2 small { font-size: .55em; letter-spacing: .14em; font-weight: 900; background: var(--color-lime); padding: .05rem .5rem; }
.adm-h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 900; margin-top: 1.75rem; padding-left: .75rem; border-left: 6px solid var(--color-lime); line-height: 1.5; }
.adm p, .adm li { line-height: 1.9; }
.adm p { margin-top: 1rem; }
.adm .muted { color: var(--color-muted-on-light); }
.adm-ol, .adm-ul { margin-top: 1rem; padding-left: 1.4em; display: grid; gap: .35rem; }
.adm-ol { list-style: decimal; }
.adm-ul { list-style: disc; }
.adm-list { padding-left: 1.1em; list-style: disc; display: grid; gap: .15rem; font-size: .9rem; line-height: 1.6; }
.adm-note { margin-top: 1rem; display: grid; gap: .3rem; font-size: .9rem; color: var(--color-muted-on-light); }
.adm-note li { padding-left: 1.2em; text-indent: -1.2em; }
.adm-note li::before { content: "※ "; }
.adm-box { margin-top: 1.25rem; border: 2px solid var(--color-black); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.adm-box--lime { background: var(--color-lime); border-color: var(--color-lime); }
.adm-box > :first-child { margin-top: 0; }
.adm-box h3 { font-size: 1.05rem; font-weight: 900; }
.adm-dl { margin-top: 1rem; display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; }
.adm-dl dt { font-weight: 900; }
.adm-dl dd { margin: 0; }
@media (max-width: 559px) { .adm-dl { grid-template-columns: 1fr; } .adm-dl dd { margin-bottom: .5rem; } }

/* 表：狭い画面では横にスクロール（キーボードでもスクロールできるよう tabindex="0"） */
.adm-table { margin-top: 1.25rem; overflow-x: auto; -webkit-overflow-scrolling: touch; position: relative; } /* 読み上げ用の隠し文字が表の外にはみ出さないよう relative */
.adm-table table { border-collapse: collapse; width: 100%; min-width: var(--min-w, 34rem); font-size: .95rem; line-height: 1.6; background: var(--color-white); color: var(--color-black); }
.adm-table caption { text-align: left; font-weight: 800; font-size: .9rem; padding-bottom: .5rem; caption-side: top; }
.adm-table th, .adm-table td { border: 1px solid #5C524D; padding: .6rem .75rem; text-align: left; vertical-align: top; }
.adm-table thead th { background: var(--color-black); color: var(--color-white); font-weight: 800; border-color: #BFB9B4; white-space: nowrap; }
.adm-table tbody th { background: #38292D; font-weight: 800; }
.adm-table--center td { text-align: center; }
.adm-table .text-link { white-space: nowrap; }
.adm-table:focus-visible { outline-offset: 2px; }
.adm-scroll-hint { display: none; font-size: .8rem; font-weight: 700; color: var(--color-muted-on-light); margin-top: .5rem; }
@media (max-width: 699px) { .adm-scroll-hint { display: block; } }

/* 入試情報トップ：メニュー */
.adm-menu { display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.adm-menu a { display: grid; gap: .35rem; align-content: start; min-height: 100%; padding: 1.25rem 1.3rem 1.3rem; border: 2px solid var(--color-black); border-radius: var(--radius); text-decoration: none; background: var(--color-white); transition: background-color .15s ease; }
.adm-menu a:hover { background: var(--color-lime); }
.adm-menu__title { font-weight: 900; font-size: 1.15rem; line-height: 1.45; display: flex; justify-content: space-between; gap: .5rem; }
.adm-menu__desc { font-size: .88rem; line-height: 1.7; color: var(--color-muted-on-light); }
.adm-menu a:hover .adm-menu__desc { color: var(--color-black); }

/* Q&A */
.qa { margin-top: 1.5rem; border-top: 2px solid var(--color-black); }
.qa details { border-bottom: 1px solid #5C524D; }
.qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: start; padding: 1.15rem .25rem; font-weight: 900; font-size: 1.05rem; line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "＋"; font-weight: 900; }
.qa details[open] summary::after { content: "－"; }
.qa summary:hover { background: #35262A; }
.qa__q, .qa__a { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; font-weight: 900; line-height: 1; }
.qa__q { background: var(--color-black); color: var(--color-lime); }
.qa__a { background: var(--color-lime); color: var(--color-black); }
.qa__body { display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding: 0 .25rem 1.4rem; }
.qa__body > div > :first-child { margin-top: .15rem; }

/* 過去入試結果 */
.res-years { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.res-years button { appearance: none; cursor: pointer; font: inherit; font-weight: 800; min-height: 44px; padding: .3rem 1.1rem; border-radius: 999px; border: 2px solid var(--color-black); background: transparent; color: var(--color-black); }
.res-years button[aria-pressed="true"] { background: var(--color-black); color: var(--color-white); }
.res-title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 900; }
.res-sum { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 760px) { .res-sum { grid-template-columns: repeat(3, 1fr); } }
.res-sum__item { border: 2px solid var(--color-black); border-radius: var(--radius); padding: 1.1rem 1.25rem; display: grid; gap: .3rem; }
.res-sum__dept { font-weight: 900; font-size: 1.1rem; }
.res-sum__label { display: block; font-size: .78rem; font-weight: 800; color: var(--color-muted-on-light); }
.res-sum__ratio b { font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); font-weight: 900; line-height: 1; letter-spacing: -.03em; margin-right: .15em; }
.res-sum__nums { font-size: .9rem; font-weight: 700; }
.res-table { --min-w: 46rem; }
.res-table td.res-num { text-align: right; font-variant-numeric: tabular-nums; position: relative; }
.res-table td.res-none { text-align: center; color: var(--color-muted-on-light); font-size: .85rem; }
.res-sub { margin-top: 2.5rem; font-size: 1.15rem; font-weight: 900; }
.res-trend { display: grid; gap: 1.25rem; margin-top: 1rem; }
@media (min-width: 900px) { .res-trend { grid-template-columns: repeat(3, 1fr); } }
.res-trend__dept { margin: 0; }
.res-trend__dept figcaption { font-weight: 900; margin-bottom: .4rem; }
.res-trend__dept dl { display: grid; gap: .5rem; margin: 0; }
.res-trend__dept dl > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .5rem; align-items: center; }
.res-trend__dept dt { font-weight: 800; font-size: .85rem; }
.res-trend__dept dd { margin: 0; display: grid; gap: .15rem; }
.res-trend__bar { display: block; height: 14px; width: var(--w); min-width: 2px; background: #4E443F; position: relative; border-radius: 2px; }
.res-trend__pass { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: var(--color-black); border-radius: 2px; }
.res-trend__num { font-size: .8rem; font-weight: 700; }

/* 資料請求 */
.req-grid { display: grid; gap: 1rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.req-card { border: 2px solid var(--color-black); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; display: grid; gap: .6rem; align-content: start; }
.req-card--accent { background: var(--color-lime); border-color: var(--color-lime); }
.req-card h3 { font-size: 1.2rem; font-weight: 900; line-height: 1.45; }
.req-card p { margin-top: 0; font-size: .92rem; }
.req-card .btn { margin-top: .4rem; justify-self: start; min-height: 52px; font-size: 1rem; }
.btn--black { background: var(--color-black); color: var(--color-white); }
.btn--black:hover { background: var(--color-lime); color: var(--color-black); }
.req-card--accent .btn--black:hover { background: var(--color-white); }

/* フッター：入試に関するお問い合わせ */
.footer-contact { border: 2px solid var(--color-lime); border-radius: var(--radius); padding: 1.4rem 1.5rem; display: grid; gap: .5rem; max-width: 44rem; }
.footer-contact__title { font-size: 1.05rem; font-weight: 900; color: var(--color-lime); }
.footer-contact__org { font-weight: 800; }
.footer-contact__list { display: grid; gap: .35rem; }
.footer-contact__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; }
.footer-contact__label { font-size: .8rem; font-weight: 800; color: var(--color-muted); min-width: 6.5em; }
.footer-contact__list a { font-weight: 900; font-size: 1.1rem; text-underline-offset: .2em; min-height: 32px; display: inline-flex; align-items: center; }
.footer-contact__list a:hover { color: var(--color-lime); }
.footer-contact__hours { font-size: .85rem; color: var(--color-muted); }
.adm-table table[data-render="transfer"] tbody th { width: 8.5em; }
.adm-list li { word-break: auto-phrase; }

/* 過去入試結果：内訳行・都道府県別 */
.res-table tr.res-row--sub th[scope="row"] { font-weight: 700; padding-left: 1.6rem; background: #322227; }
.res-table tr.res-row--sub th[scope="row"]::before { content: "└ "; color: var(--color-muted-on-light); }
.res-table tr.res-row--sub td { background: #2E1F23; font-size: .9rem; }
.res-table { --min-w: 40rem; }
.res-c--food { background: var(--color-black); }
.res-c--child { background: var(--color-lime); }
.res-c--welfare { background: #948C87; }
.res-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: .75rem; font-size: .85rem; font-weight: 800; }
.res-legend__item { background: none !important; display: inline-flex; align-items: center; gap: .4rem; }
.res-legend__item::before { content: ""; width: 1rem; height: .8rem; border-radius: 2px; border: 1px solid var(--color-black); }
.res-legend__item.res-c--food::before { background: var(--color-black); }
.res-legend__item.res-c--child::before { background: var(--color-lime); }
.res-legend__item.res-c--welfare::before { background: #948C87; }
.res-pref { margin-top: 1rem; display: grid; gap: .35rem; }
.res-pref__row { display: grid; grid-template-columns: 7.5rem 1fr; grid-template-areas: "name bar" "name num"; column-gap: .9rem; align-items: center; padding: .3rem 0; border-bottom: 1px solid #453B36; }
.res-pref__name { grid-area: name; font-weight: 800; font-size: .92rem; line-height: 1.4; }
.res-pref__bar { grid-area: bar; display: flex; height: 16px; width: var(--w); min-width: 3px; border: 1px solid var(--color-black); border-radius: 2px; overflow: hidden; }
.res-pref__bar span { display: block; height: 100%; }
.res-pref__num { grid-area: num; font-size: .8rem; font-weight: 700; }
.res-pref__num b { font-size: 1rem; }
.res-pref__detail { color: var(--color-muted-on-light); margin-left: .25rem; }
.res-pref__row--sub .res-pref__name { font-weight: 700; font-size: .8rem; padding-left: 1rem; color: var(--color-muted-on-light); }
.res-pref__row--sub .res-pref__bar { height: 10px; opacity: .75; }
.res-pref__total { margin-top: 1rem; font-weight: 800; }
.res-pref__total b { font-size: 1.4rem; }
@media (min-width: 760px) {
  .res-pref__row { grid-template-columns: 11rem 1fr 15rem; grid-template-areas: "name bar num"; }
}
/* 学科ごとの資格リストの小見出し（児童学科のコース） */
.adm-list__head { list-style: none; margin-left: -1.1em; font-weight: 800; margin-top: .3rem; }
.adm-list__head:first-child { margin-top: 0; }

/* ===== ヘッダー：入試情報のサブメニュー ===== */
.nav-sub__head { display: flex; align-items: center; }
.nav-sub__head > a { flex: 1; }
.nav-sub__btn { display: none; }
.global-nav .nav-sub__list { display: flex; flex-direction: column; align-items: stretch; }
.global-nav .nav-sub__list a { min-height: 44px; font-size: .95rem; font-weight: 700; padding-left: calc(var(--gutter) + 1.1rem); color: var(--color-muted); }
.global-nav .nav-sub__list a::before { content: "– "; }
.global-nav .nav-sub__list a[aria-current], .global-nav .nav-sub__list a:hover { color: var(--color-lime); }
@media (min-width: 900px) {
  .nav-sub { position: relative; }
  .nav-sub__btn {
    display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -.6rem; padding: 0;
    background: transparent; border: 0; border-radius: 50%; color: inherit; cursor: pointer;
  }
  .nav-sub__btn::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
  .nav-sub__btn[aria-expanded="true"]::before { transform: translateY(2px) rotate(225deg); }
  .nav-sub__btn:hover { color: var(--color-lime); }
  .global-nav .nav-sub__list {
    display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 110; min-width: 15rem; gap: 0;
    padding: .5rem; background: var(--color-black); border: 1px solid var(--color-line); border-radius: 12px; box-shadow: 0 10px 30px rgba(251,242,245,.35);
  }
  .nav-sub__list::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; } /* ホバーが途切れないための橋渡し */
  .nav-sub:hover:not(.is-suppressed) .nav-sub__list, .nav-sub.is-open .nav-sub__list { display: flex; }
  .global-nav .nav-sub__list a { padding: 0 1rem; min-height: 42px; border-radius: 8px; color: var(--color-white); font-size: .92rem; }
  .global-nav .nav-sub__list a::before { content: none; }
  .global-nav .nav-sub__list a:hover, .global-nav .nav-sub__list a[aria-current] { background: rgba(196,0,59,.14); color: var(--color-lime); }
}

/* ===== フッター：入試情報の下の階層 ===== */
.footer-nav__group { flex-basis: 100%; }
.footer-nav__group > ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; padding-left: 1.1rem; border-left: 2px solid var(--color-line); margin: .1rem 0 .5rem .2rem; }
.footer-nav__group > ul a { font-weight: 500; font-size: .92rem; color: var(--color-muted); min-height: 40px; }
.footer-nav__group > ul a:hover { color: var(--color-lime); }

/* =========================================================
   3つの力（strengths/）
   ========================================================= */
.str-index { display: grid; gap: .75rem; margin-top: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.str-index a { display: grid; grid-template-columns: auto 1fr; gap: .1rem .75rem; padding: 1rem 1.1rem; border: 2px solid var(--color-lime); border-radius: var(--radius); text-decoration: none; height: 100%; transition: background .15s, color .15s; }
.str-index a:hover { background: var(--color-lime); color: var(--color-black); }
.str-index__no { grid-row: span 2; font-size: 2rem; font-weight: 900; line-height: 1; color: var(--color-lime); }
.str-index a:hover .str-index__no { color: var(--color-black); }
.str-index__name { font-weight: 900; font-size: 1.15rem; }
.str-index__text { text-wrap: pretty; font-size: .85rem; line-height: 1.5; }
.str-index--plus a { border-style: dashed; }

.str-sec { position: relative; }
.str-sec .container > * + * { margin-top: 1rem; }
.str-no { font-size: clamp(3.5rem, 2rem + 8vw, 7rem); font-weight: 900; line-height: .9; letter-spacing: -.03em; color: var(--color-lime); -webkit-text-stroke: 0; }
.theme-white .str-no { color: transparent; -webkit-text-stroke: 2px var(--color-black); }
.str-title { font-size: var(--fs-h2); font-weight: 900; line-height: 1.15; }
.str-title small { display: block; font-size: .42em; font-weight: 800; letter-spacing: .08em; }
.str-h3 { font-size: var(--fs-h3); font-weight: 900; line-height: 1.35; margin-top: clamp(2.5rem, 6vw, 4rem) !important; padding-left: .8rem; border-left: 6px solid var(--color-lime); }
.theme-white .str-h3 { border-left-color: var(--color-black); }
.str-note { font-size: var(--fs-small); color: var(--color-muted); }
.theme-white .str-note { color: var(--color-muted-on-light); }

.str-rank { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; margin-top: 1.5rem !important; padding: .75rem 1.25rem; border-radius: 999px; background: var(--color-lime); color: var(--color-black); font-weight: 800; }
.theme-white .str-rank { background: var(--color-black); color: var(--color-lime); }
.str-rank__item small { display: block; font-size: .75rem; font-weight: 700; }
.str-rank__no { font-size: 1rem; white-space: nowrap; }
.str-rank__no b { font-size: 2.25rem; line-height: 1; margin: 0 .1em; }

.str-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.str-card { border: 2px solid currentColor; border-radius: var(--radius); padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.str-card__title { font-weight: 900; line-height: 1.4; }
.str-card__title small { display: block; font-size: .78rem; font-weight: 700; }
.str-card__num { font-size: 3rem; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.str-card__num small { font-size: .4em; margin-left: .1em; }
.str-card__meta { font-size: .8rem; margin-top: auto; }
.str-bars { display: grid; gap: .35rem; }
.str-bar { display: grid; grid-template-columns: 6.5em 1fr 3.2em; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; }
.str-bar__track { height: 10px; background: #403631; border-radius: 99px; overflow: hidden; }
.str-bar__fill { display: block; height: 100%; width: var(--v); background: var(--color-black); border-radius: 99px; }
.str-bar--nat .str-bar__fill { background: #918984; }
.str-bar__val { text-align: right; }

.str-points, .str-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.str-points li, .str-grid li { padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--color-ink-2); line-height: 1.7; font-size: .95rem; }
.theme-white .str-points li, .theme-white .str-grid li { background: #35252A; }
.str-points b, .str-grid b { display: block; font-size: 1.05rem; margin-bottom: .3rem; }
.str-sec--dark .str-grid b { color: var(--color-lime); }

.str-plus { display: grid; gap: .75rem; }
.str-plus li { display: grid; grid-template-columns: 7.5em 1fr; gap: .25rem 1rem; padding: 1rem 1.25rem; border: 2px solid currentColor; border-radius: var(--radius); font-size: .95rem; }
.str-plus__dept { grid-row: span 2; align-self: start; padding: .2rem .6rem; background: var(--color-black); color: var(--color-lime); border-radius: 6px; font-weight: 800; text-align: center; font-size: .85rem; }
.str-plus b { font-size: 1.05rem; }
@media (max-width: 599px) { .str-plus li { grid-template-columns: 1fr; } .str-plus__dept { grid-row: auto; justify-self: start; } }

.str-two, .str-essence { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); margin-top: 1.5rem !important; }
.str-box { padding: 1.4rem; border-radius: var(--radius); background: #35252A; }
.str-box h4 { font-size: 1.2rem; font-weight: 900; line-height: 1.4; margin: .25rem 0 .5rem; }
.str-box > p:not(.str-box__tag) { font-size: .95rem; }
.str-box__tag { display: inline-block; font-size: .75rem; font-weight: 800; padding: .1rem .6rem; border-radius: 99px; background: var(--color-black); color: var(--color-lime); }
.str-levels { margin-top: .75rem; display: grid; gap: .5rem; }
.str-levels div { display: grid; grid-template-columns: 3em 1fr; gap: .75rem; font-size: .88rem; line-height: 1.6; }
.str-levels dt { font-weight: 900; text-align: center; background: var(--color-lime); border-radius: 6px; align-self: start; }
.str-list { margin-top: .5rem; font-size: .92rem; }
.str-list li { padding-left: 1.1em; position: relative; }
.str-list li::before { content: ""; position: absolute; left: .1em; top: .75em; width: .45em; height: .45em; border-radius: 50%; background: currentColor; }

.str-stats { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.str-stats div { padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--color-lime); color: var(--color-black); }
.str-stats dt { font-size: .82rem; font-weight: 800; line-height: 1.4; }
.str-stats dd { margin: 0; font-size: clamp(2.25rem, 1.6rem + 2.5vw, 3.25rem); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.str-stats dd small { font-size: .4em; margin-left: .1em; }
.str-stats--sub div { background: transparent; color: inherit; border: 2px solid var(--color-lime); }
.str-stats--sub dd { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.4rem); color: var(--color-lime); }

.str-flow { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); counter-reset: none; }
.str-flow li { position: relative; padding: 1.1rem 1.2rem 1.2rem; border-radius: var(--radius); border: 2px solid var(--color-lime); font-size: .92rem; line-height: 1.6; }
.str-flow b { display: block; font-size: 1.15rem; margin: .35rem 0 .25rem; }
.str-flow__no { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--color-lime); color: var(--color-black); font-weight: 900; }
.str-flow__goal { background: var(--color-lime); color: var(--color-black); }
.str-flow__goal .str-flow__no { background: var(--color-black); color: var(--color-lime); }

.str-hbars { display: grid; gap: .6rem; max-width: 46rem; }
.str-hbars li { display: grid; grid-template-columns: 9em 1fr 4.5em; align-items: center; gap: .75rem; font-weight: 700; font-size: .92rem; }
.str-hbars__track { height: 16px; border-radius: 99px; background: var(--color-ink-2); overflow: hidden; }
.str-hbars__track span { display: block; height: 100%; width: var(--v); background: var(--color-lime); border-radius: 99px; }
.str-hbars b { text-align: right; font-size: 1.05rem; }
.str-hbars__nat .str-hbars__track span { background: var(--color-muted); }
.str-hbars--light .str-hbars__track { background: #403631; }
.str-hbars--light .str-hbars__track span { background: #918984; }
.str-hbars--light .str-hbars__ours .str-hbars__track span { background: var(--color-black); }
@media (max-width: 479px) { .str-hbars li { grid-template-columns: 1fr 4.2em; } .str-hbars__label { grid-column: 1 / -1; } }

.str-steps { display: grid; gap: .6rem; }
.str-steps li { display: grid; grid-template-columns: 7.5em 1fr; gap: .2rem 1rem; padding: 1rem 1.2rem; border-left: 6px solid var(--color-black); background: #35252A; border-radius: 0 var(--radius) var(--radius) 0; font-size: .92rem; line-height: 1.65; }
.str-steps span { grid-row: span 2; font-weight: 900; font-size: .85rem; }
.str-steps b { font-size: 1.05rem; }
@media (max-width: 599px) { .str-steps li { grid-template-columns: 1fr; } .str-steps span { grid-row: auto; } }

.str-quotes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.str-quotes li { position: relative; padding: 1.9rem 1.3rem 1.2rem; border-radius: var(--radius); border: 2px solid var(--color-black); font-size: .93rem; line-height: 1.75; }
.str-quotes li::before { content: "“"; position: absolute; top: -1.05rem; left: 1rem; height: 2.1rem; overflow: hidden; font-size: 3rem; line-height: 1.15; font-weight: 900; background: var(--color-white); padding: 0 .25rem; }
.str-quotes span { display: block; margin-top: .6rem; font-size: .8rem; font-weight: 800; text-align: right; }

.str-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.str-links-row { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.5rem !important; }
.str-sec--life { background: var(--color-ink-2); }

.tm-banner { margin-top: clamp(1.75rem, 4vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.tm-banner__lead { font-weight: 800; }
.tm-banner a { display: inline-block; line-height: 0; border-radius: 6px; outline-offset: 4px; transition: transform .15s ease; }
.tm-banner a:hover { transform: translateY(-2px); }
.tm-banner img { width: 240px; height: auto; border-radius: 6px; }
.tm-banner--page { margin-top: 0; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .tm-banner a, .str-index a { transition: none; } .tm-banner a:hover { transform: none; } }
.str-sec--life .str-grid li { background: var(--color-black); }

/* ===== 3つの力：先輩たちのその後（data/careers.json） ===== */
.car { margin-top: 1.5rem !important; }
.car-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.car-tabs button { appearance: none; cursor: pointer; font: inherit; font-weight: 800; min-height: 44px; padding: .25rem 1.25rem; border-radius: 999px; border: 2px solid var(--color-lime); background: transparent; color: var(--color-white); }
.car-tabs button[aria-selected="true"] { background: var(--color-lime); color: var(--color-black); }
.car-tabs button:hover { background: var(--color-ink-2); }
.car-tabs button[aria-selected="true"]:hover { background: var(--color-lime); }
.car-panel { margin-top: 1.25rem; border-top: 3px solid var(--color-lime); padding-top: 1.25rem; display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); }
.car-head { font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); font-weight: 900; color: var(--color-lime); }
.car-charts { display: grid; gap: 1.25rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.car-chart figcaption { font-weight: 800; font-size: .9rem; margin-bottom: .5rem; }
.car-chart ul { display: grid; gap: .4rem; }
.car-chart li { display: grid; grid-template-columns: minmax(7.5em, 11em) 1fr 3.4em; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 700; line-height: 1.35; }
.car-chart__track { height: 12px; border-radius: 99px; background: var(--color-ink-2); overflow: hidden; }
.car-chart__track span { display: block; height: 100%; width: var(--w); background: var(--color-lime); border-radius: 99px; }
.car-chart b { text-align: right; }

.car-feat { display: grid; gap: 1.25rem 2rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--color-ink-2); }
@media (min-width: 900px) { .car-feat { grid-template-columns: 14rem 1fr 15rem; align-items: start; } }
.car-feat__who { display: grid; justify-items: start; gap: .1rem; }
.car-feat__photo { width: min(12rem, 60vw); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-bottom: .75rem; }
.car-feat__job, .car-voice__job { font-size: .82rem; font-weight: 800; color: var(--color-lime); line-height: 1.4; }
.car-feat__name { font-size: 1.4rem; font-weight: 900; line-height: 1.3; }
.car-feat__name span, .car-voice__name span { font-size: .6em; margin-left: .2em; }
.car-feat__work { font-size: .85rem; font-weight: 700; line-height: 1.5; margin-top: .4rem; }
.car-feat__meta, .car-voice__meta { font-size: .78rem; color: var(--color-muted); line-height: 1.5; }
.car-feat__title { font-size: clamp(1.15rem, 1rem + .7vw, 1.45rem); font-weight: 900; line-height: 1.5; margin-bottom: .75rem; }
.car-feat__text p { font-size: .95rem; line-height: 1.9; }
.car-feat__text p + p { margin-top: .75rem; }
.car-day { border: 2px solid var(--color-lime); border-radius: 12px; padding: 1rem 1.1rem; }
.car-day__title { font-weight: 900; font-size: .95rem; margin-bottom: .5rem; }
.car-day dl { display: grid; gap: .3rem; }
.car-day dl div { display: grid; grid-template-columns: 6.6em 1fr; gap: .5rem; font-size: .82rem; line-height: 1.5; }
.car-day dt { font-weight: 800; color: var(--color-lime); white-space: nowrap; }
.car-day dd { margin: 0; }

.car-voices { display: grid; gap: 1rem; }
@media (min-width: 760px) { .car-voices { grid-template-columns: 1fr 1fr; } }
.car-voice { padding: 1.25rem; border-radius: var(--radius); border: 1px solid var(--color-line); display: grid; gap: .5rem; align-content: start; }
.car-voice__who { display: grid; grid-template-columns: 5.5rem 1fr; gap: .9rem; align-items: center; }
.car-voice__photo { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; }
.car-voice__name { font-size: 1.15rem; font-weight: 900; line-height: 1.35; }
.car-voice__work { font-size: .82rem; font-weight: 700; line-height: 1.5; }
.car-voice__title { font-size: 1.05rem; font-weight: 900; line-height: 1.55; color: var(--color-lime); }
.car-voice > p:last-child { font-size: .88rem; line-height: 1.85; }

.car-emp { border: 2px solid var(--color-line); border-radius: var(--radius); }
.car-emp summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 900; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; min-height: 44px; }
.car-emp summary span { font-size: .8rem; font-weight: 800; padding: .05rem .6rem; border-radius: 99px; background: var(--color-lime); color: var(--color-black); }
.car-emp summary:hover { background: var(--color-ink-2); }
.car-emp[open] summary { border-bottom: 1px solid var(--color-line); }
.car-emp > p, .car-emp__job { padding: 0 1.25rem; }
.car-emp > p:first-of-type { margin-top: .75rem; }
.car-emp > p:last-child { padding-bottom: 1.25rem; }
.car-emp__job h4 { margin-top: 1.25rem; font-size: 1rem; font-weight: 900; padding: .2rem .7rem; background: var(--color-lime); color: var(--color-black); border-radius: 6px; display: inline-block; }
.car-emp__job h5 { margin-top: .9rem; font-size: .88rem; font-weight: 800; color: var(--color-lime); }
.car-emp__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: .15rem 1.5rem; margin-top: .4rem; font-size: .84rem; line-height: 1.6; }
.car-emp__list li { padding-left: .9em; text-indent: -.9em; }
.car-emp__list li::before { content: "・"; }
.car-emp .small { font-size: .8rem; color: var(--color-muted); margin-top: .5rem; }
.car-source { font-size: var(--fs-small); color: var(--color-muted); }
.car-panel[hidden] { display: none; }
.car-emp__job h5 { margin: .9rem 0 0; } .car-emp__job h4 { margin-bottom: 0; } .car-emp__list { margin: .3rem 0 0; }

/* ===== 3つの力：データで見る学生生活 ===== */
.str-data { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.str-dcard { padding: 1.25rem 1.3rem; border-radius: var(--radius); background: var(--color-black); display: grid; gap: .75rem; align-content: start; }
.str-dcard--wide { grid-column: 1 / -1; }
.str-dcard h4 { margin: 0; font-size: 1.1rem; font-weight: 900; color: var(--color-lime); }
.str-dbig { font-weight: 800; line-height: 1.5; }
.str-dbig b { font-size: clamp(2.6rem, 1.8rem + 3vw, 3.6rem); font-weight: 900; line-height: 1; letter-spacing: -.03em; color: var(--color-lime); margin-right: .35rem; }
.str-dbig b small { font-size: .4em; }
.str-dbig span { display: block; font-size: .82rem; font-weight: 700; color: var(--color-muted); margin-top: .3rem; }
.str-dbar { display: grid; gap: .4rem; }
.str-dbar li { display: grid; grid-template-columns: minmax(6em, 12em) 1fr 3.6em; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 700; line-height: 1.35; }
.str-dcard--wide .str-dbar li { grid-template-columns: 4em 1fr 3.6em; }
.str-dbar__track { height: 12px; border-radius: 99px; background: #E4DADD; overflow: hidden; }
.str-dbar__track span { display: block; height: 100%; width: var(--w); background: var(--color-lime); border-radius: 99px; }
.str-dbar b { text-align: right; }
.str-dnote { font-size: .84rem; line-height: 1.75; color: #4E443F; }
.str-dnote b { color: var(--color-white); }
.str-sec--life > .container > .str-dnote { margin-top: 1rem !important; }
.str-dsurvey { margin-top: 2rem !important; font-weight: 700; }
.str-dfacts { display: grid; gap: .75rem; }
.str-dfacts div { display: grid; gap: .1rem; }
.str-dfacts dt { font-size: 1.6rem; font-weight: 900; color: var(--color-lime); line-height: 1.2; }
.str-dfacts dd { margin: 0; font-size: .86rem; line-height: 1.7; }

/* ===== お知らせ：ピックアップ（管理画面で「ピックアップする」＋画像を付けた1件） ===== */
.news-pick { margin-top: 1.75rem; }
.news-pick__link { display: grid; gap: 0; border: 2px solid var(--color-black); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; background: var(--color-white); }
@media (min-width: 760px) { .news-pick__link { grid-template-columns: minmax(0, 22rem) 1fr; } }
.news-pick__img { display: block; aspect-ratio: 16 / 9; background: #39292E; }
.news-pick__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-pick__text { display: grid; gap: .45rem; align-content: center; padding: 1.1rem 1.25rem 1.25rem; }
.news-pick__tag { justify-self: start; font-size: .72rem; font-weight: 900; letter-spacing: .12em; padding: .1rem .6rem; border-radius: 4px; background: var(--color-black); color: var(--color-lime); }
.news-pick__title { font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem); font-weight: 900; line-height: 1.5; }
.news-pick__body { font-size: .9rem; line-height: 1.7; color: var(--color-muted-on-light); }
.news-pick__more { font-weight: 800; font-size: .9rem; }
.news-pick__link:hover .news-pick__title { text-decoration: underline; text-underline-offset: .2em; }
.news-pick__link:focus-visible { outline: 3px solid var(--color-black); outline-offset: 3px; }
/* 一覧ページ：画像つきのお知らせ */
.news__card--img { display: grid; gap: 1rem; }
@media (min-width: 760px) { .news__card--img { grid-template-columns: 16rem 1fr; align-items: start; } }
.news__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
@media (min-width: 760px) { .news-pick__img { aspect-ratio: auto; height: 100%; min-height: 12rem; } }
.str-dcard .str-dsub { margin-top: .75rem; font-size: .95rem; color: var(--color-white); }
.str-dsplit { display: flex; border-radius: 10px; overflow: hidden; font-size: .85rem; font-weight: 800; line-height: 1.3; }
.str-dsplit span { padding: .6rem .8rem; white-space: nowrap; }
.str-dsplit__f { flex: 0 0 var(--w); background: var(--color-lime); color: var(--color-black); }
.str-dsplit__m { flex: 1; background: #D7D2CD; color: var(--color-white); text-align: right; }
@media (max-width: 479px) { .str-dsplit { flex-direction: column; } .str-dsplit__f { flex-basis: auto; } .str-dsplit__m { text-align: left; } }

.str-rank__streak { font-size: .8rem; font-weight: 900; padding: .1rem .55rem; border-radius: 999px; border: 2px solid currentColor; }

/* ===== 学費・奨学金：4年間の費用シミュレーター ===== */
.sim { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 900px) { .sim { grid-template-columns: 1fr 1.4fr 1.3fr; align-items: start; } }
.sim__set { margin: 0; padding: 1rem 1.1rem 1.1rem; border: 2px solid var(--color-black); border-radius: 12px; display: grid; gap: .35rem; min-width: 0; }
.sim__set legend { font-weight: 900; padding: 0 .4rem; }
.sim__set label { display: flex; gap: .5rem; align-items: flex-start; line-height: 1.5; padding: .3rem 0; cursor: pointer; font-size: .95rem; }
.sim__set input[type="radio"], .sim__set input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin-top: .15rem; flex: 0 0 auto; accent-color: var(--color-black); }
.sim__rent { margin-top: .5rem; display: grid; gap: .3rem; font-size: .9rem; font-weight: 700; }
.sim__num { display: flex; align-items: center; gap: .4rem; }
.sim__num input, .sim__sel select { font: inherit; padding: .45rem .6rem; border: 2px solid var(--color-black); border-radius: 8px; background: #2A1A1F; color: #FBF2F5; min-height: 44px; }
.sim__num input { width: 9rem; }
.sim__num input:disabled { opacity: .45; }
.sim__sel { display: grid; gap: .3rem; font-size: .9rem; font-weight: 700; }
.sim__sel select { width: 100%; }
.sim__check { font-size: .9rem !important; }
.sim__result { margin-top: 1.25rem; }
.sim__total { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; font-weight: 800; padding: 1rem 1.25rem; border-radius: 12px; background: var(--color-black); color: var(--color-white); }
.sim__total b { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); color: var(--color-lime); letter-spacing: -.02em; }
.sim__result td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sim__result td[colspan] { text-align: left; white-space: normal; }
.sim__sum th, .sim__sum td { font-weight: 900; border-top: 2px solid currentColor; }
.sim__result th[scope="row"] { min-width: 9.5em; }
.sim__loan { margin-top: .6rem; font-weight: 700; font-size: .92rem; }
.sim__loanrow th, .sim__loanrow td { color: var(--color-muted-on-light); font-weight: 700; font-style: normal; }
@media (min-width: 900px) { .sim { grid-template-columns: repeat(3, 1fr); } }
.sim__set > .small { font-size: .82rem; line-height: 1.6; }
.sim__warn { display: block; font-weight: 800; color: #b3261e; }

/* ===== お知らせ：ガイダンス区分 ===== */
.news__cat--guide { background: #2A1A1F; border-color: var(--color-black); }
/* ===== 進学ガイダンス（open-campus/guidance/） ===== */
.gd-points { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin: 1rem 0 1.5rem; }
.gd-points li { padding: .9rem 1.1rem; border-radius: 12px; background: #36262B; font-size: .92rem; line-height: 1.7; }
.gd-points b { display: block; font-size: 1.05rem; }
.gd-filter { margin-bottom: 1rem; }
.gd-month { font-size: 1.15rem; font-weight: 900; margin: 1.5rem 0 .5rem; padding-bottom: .3rem; border-bottom: 2px solid currentColor; }
.gd-items { display: grid; gap: .5rem; }
.gd-item { display: grid; grid-template-columns: 5.5rem 1fr; gap: .25rem 1rem; align-items: start; padding: .9rem 1rem; border: 1px solid #504641; border-radius: 12px; scroll-margin-top: 6rem; }
.gd-item.is-target { outline: 3px solid currentColor; outline-offset: 2px; }
.gd-date { font-weight: 900; line-height: 1.1; }
.gd-date b { font-size: 1.9rem; letter-spacing: -.02em; }
.gd-date span { display: block; font-size: .85rem; }
.gd-place { font-weight: 800; font-size: 1.05rem; line-height: 1.5; }
.gd-pref { display: inline-block; margin-right: .5rem; padding: 0 .55rem; border-radius: 999px; background: var(--color-black); color: var(--color-white); font-size: .78rem; vertical-align: .15em; }
.gd-city { margin-left: .5rem; font-size: .85rem; font-weight: 700; }
.gd-meta { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; margin-top: .25rem; font-size: .88rem; }
.gd-empty { padding: 1.25rem; border-radius: 12px; background: #36262B; font-weight: 700; }
@media (max-width: 479px) { .gd-item { grid-template-columns: 4.2rem 1fr; } .gd-date b { font-size: 1.5rem; } }
.gd-item p { margin: 0; } .gd-item { align-items: center; padding: .75rem 1rem; }

/* ===== オレンジ配色の調整（build_orange_css.py が style.orange.css の末尾に追加） ===== */
/* 白地のセクションは淡いピーチに（大きな黒い面を作らない） */
.theme-white { background: #FCDCE6; color: #2A1A1F; --color-black: #2A1A1F; --color-white: #FCDCE6; --color-muted-on-light: #5E454C; --color-line: #E3BBC7; }
.theme-white .eyebrow, .theme-white .news__cat--oc, .theme-white .badge--lime { color: #FFFFFF; }
.theme-white .btn--dark { background: #2A1A1F; color: #FFFFFF; }
.theme-white .btn--lime { color: #FFFFFF; }
.theme-white :focus-visible { outline-color: #2A1A1F; }
/* オレンジの面の上の補足文字は白に */
.theme-lime .muted, .theme-lime .small.muted, .theme-lime .ocv-comments li span { color: #FFFFFF; }
.ocv-comments li:nth-child(3n+2), .ocv-comments li:nth-child(3n+2) span { color: #FFFFFF; }
/* 終了したOC：オレンジ配色では薄くしない（「終了」ラベルで区別） */
.oc-card--past { opacity: 1; }
.ocv-comments li:nth-child(3n+2) span { opacity: 1; }

/* 入試情報ページ：情報量が多いので、オレンジ配色でも本文エリアは明るい紙色にする */
.adm { background: #FBF2F5; color: #2A1A1F; }
.adm :focus-visible { outline-color: #2A1A1F; }
.adm .muted, .adm-note, .adm-scroll-hint, .res-sum__label, .adm-menu__desc { color: #5A4048; }
.adm-h2 { border-bottom-color: #2A1A1F; }
.adm-h2 small { background: #C4003B; color: #FFFFFF; }
.adm-h3 { border-left-color: #C4003B; }
.adm-table table { background: #FFFFFF; color: #2A1A1F; }
.adm-table th, .adm-table td { border-color: #DCC2CA; }
.adm-table thead th { background: #2A1A1F; color: #FBF2F5; border-color: #5A4048; }
.adm-table tbody th { background: #F3E0E6; color: #2A1A1F; }
.adm-box { border-color: #2A1A1F; }
.adm-box--lime { background: #FCDCE6; border-color: #FCDCE6; }
.req-card, .res-sum__item { border-color: #2A1A1F; }
.req-card--accent { background: #C4003B; border-color: #C4003B; color: #FFFFFF; }
.btn--black { background: #2A1A1F; color: #FBF2F5; }
.btn--black:hover { background: #C4003B; color: #FFFFFF; }
.req-card--accent .btn--black { background: #FFFFFF; color: #2A1A1F; }
.qa { border-top-color: #2A1A1F; }
.qa details { border-bottom-color: #DCC2CA; }
.qa summary:hover { background: #F3E0E6; }
.qa__q { background: #2A1A1F; color: #FBF2F5; }
.qa__a { background: #C4003B; color: #FFFFFF; }
.res-years button { border-color: #2A1A1F; color: #2A1A1F; }
.res-years button[aria-pressed="true"] { background: #2A1A1F; color: #FBF2F5; }
.res-trend__bar { background: #E2CAD1; }
.res-trend__pass { background: #2A1A1F; }
.adm .text-link:hover { background: #FCDCE6; color: #2A1A1F; }
.res-table td.res-none { color: #5A4048; }
.res-c--food, .res-legend__item.res-c--food::before { background: #2A1A1F; }
.res-c--child, .res-legend__item.res-c--child::before { background: #C4003B; }
.res-c--welfare, .res-legend__item.res-c--welfare::before { background: #B998A2; }
.res-legend__item::before, .res-pref__bar { border-color: #2A1A1F; }
.res-pref__row { border-bottom-color: #E8D0D7; }
.res-pref__detail, .res-pref__row--sub .res-pref__name { color: #5A4048; }
.res-table tr.res-row--sub th[scope="row"] { background: #F8EAEE; }
.res-table tr.res-row--sub td { background: #FDF5F7; }

/* 3つの力ページ：白地セクションの淡い面・ラベル */
.str-points li, .str-grid li, .str-box, .str-steps li { background: #FFFFFF; color: #2A1A1F; }
.theme-white .str-points li, .theme-white .str-box, .theme-white .str-steps li { background: #FFFFFF; }
.str-sec--life .str-grid li { background: #FFFFFF; }
.str-rank, .theme-white .str-rank, .str-box__tag, .str-plus__dept { background: #2A1A1F; color: #FFFFFF; }
.str-levels dt { background: #C4003B; color: #FFFFFF; }
.str-steps li { border-left-color: #C4003B; }
.str-quotes li::before { background: #FCDCE6; }
.str-bar__track, .str-hbars--light .str-hbars__track { background: #E2CAD1; }
.str-bar__fill, .str-hbars--light .str-hbars__ours .str-hbars__track span { background: #2A1A1F; }
.str-bar--nat .str-bar__fill, .str-hbars--light .str-hbars__track span { background: #9C8B80; }
.str-dcard { background: #FFFFFF; color: #2A1A1F; }
.str-dcard h4, .str-dbig b, .str-dfacts dt { color: #A80032; }
.str-dbar__track { background: #E2CAD1; }
.str-dbar__track span { background: #C4003B; }
.str-dnote, .str-dbig span { color: #5A4048; }
.str-dnote b { color: #2A1A1F; }
.str-dcard .str-dsub { color: #2A1A1F; }
.str-dsplit__f { background: #C4003B; color: #FFFFFF; }
.str-dsplit__m { background: #E2CAD1; color: #2A1A1F; }
.sim__set, .sim__num input, .sim__sel select { border-color: #2A1A1F; }
.sim__total { background: #2A1A1F; color: #FBF2F5; }
.sim__total b { color: #FF6B97; }
.sim__set input[type="radio"], .sim__set input[type="checkbox"] { accent-color: #C4003B; }
.sim__loanrow th, .sim__loanrow td { color: #5A4048; }
.sim__warn { color: #A01E14; }
.gd-points li, .gd-empty { background: #FCDCE6; color: #2A1A1F; }
.gd-item { border-color: #DCC2CA; }
.gd-pref { background: #2A1A1F; color: #FBF2F5; }
.news__cat--guide { background: #FBF2F5; color: #2A1A1F; border-color: #2A1A1F; }

/* ==========================================================
   【検討用】デザイン案2の見た目（要素はそのまま、見た目だけ）
   ========================================================== */
:root { --d2-balls: radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 4% 9% / 38px 38px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 4% 9% / 38px 38px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 43% 6% / 64px 64px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 43% 6% / 64px 64px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 93% 14% / 120px 120px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 93% 14% / 120px 120px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 47% 66% / 52px 52px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 47% 66% / 52px 52px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 97% 70% / 150px 150px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 97% 70% / 150px 150px no-repeat; --d2-balls-hero: radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 3% 10% / 24px 24px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 3% 10% / 24px 24px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 80% 10% / 52px 52px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 80% 10% / 52px 52px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 97% 22% / 120px 120px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 97% 22% / 120px 120px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 89% 86% / 64px 64px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 89% 86% / 64px 64px no-repeat; --d2-balls-sp: radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 6% 4% / 26px 26px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 6% 4% / 26px 26px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 92% 3% / 54px 54px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 92% 3% / 54px 54px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 2% 33% / 34px 34px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 2% 33% / 34px 34px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 104% 31% / 88px 88px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 104% 31% / 88px 88px no-repeat; --d2-fvbg: radial-gradient(ellipse 80% 70% at 62% 35%,#FFF5F8 0%,#FFE6EE 38%,#FDD8E3 62%,#FACBDA 100%); --d2-paper: #FFFAFC; --d2-bright: #F0729A; --d2-bright2: #F7A3BC; --d2-light: #FBD9E4; --d2-deep: #B6375E; --d2-deep2: #C94B72;
  --d2-pale: #FFF3F7; --d2-ink: #3A1422; --d2-ink2: #5E3A47; --d2-ball: radial-gradient(circle at 34% 28%,#FFF0F5 0 6%,#FFB8CD 18%,#F37A9E 46%,#D94F78 74%,#B6375E 100%); --d2-r: 22px;
  --d2-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Rounded Mplus 1c", var(--font-base); }
body { color: var(--d2-ink); }

/* 文字：見出しと大きな数字を丸ゴシックに */
h1, h2, h3, .h2, .h3, .fv__kicker, .fv__title, .page-hero__title, .discover__title, .theme__big, .big-num, .stat__num,
.close-stat__num, .survey__num, .branch__title, .next__title, .voices-top__title, .shorts__title, .alumni-sec__title,
.episodes-head h3, .news-top__title, .cta-row__main, .footer-brand-big, .logo__en, .rank__no, .theme__num, .alumni__no,
.adm-h2, .adm-h3, .linklist__title, .features__title, .timeline__title, .oc-card h3, .req-card h3 {
  font-family: var(--d2-round); font-weight: 900; letter-spacing: .02em; }
.theme__big, .big-num, .stat__num, .close-stat__num, .survey__num { letter-spacing: -.01em; }

/* ラベル「— 01 DISCOVER」：線を小さな球に */
.label-line { color: var(--d2-deep); }
.label-line::before { width: 14px; height: 14px; border-radius: 50%; background: var(--d2-ball); }

/* ボタン：角丸（ピル型）＋矢印 */
.btn, .fv__btns .btn, .chip, .badge, .news__cat, .oc-pill, .movie-btn, .branch__btn, .alumni-tabs button, .res-years button { border-radius: 999px; }
.btn--dark, .fv__btns .btn--dark { background: var(--d2-deep); color: #fff; border-color: var(--d2-deep); box-shadow: 0 10px 22px -12px rgba(120,20,50,.75); }
.btn--dark:hover, .fv__btns .btn--dark:hover { background: var(--d2-deep2); color: #fff; box-shadow: 0 14px 26px -12px rgba(120,20,50,.8); }
.btn--outline-dark, .fv__btns .btn--outline-dark { background: #fff; color: var(--d2-deep); border-color: var(--d2-deep); }
.btn--outline-dark:hover, .fv__btns .btn--outline-dark:hover { background: var(--d2-pale); color: var(--d2-deep); box-shadow: none; }
.fv__btns .btn:hover { transform: translateY(-2px); }

/* カード：角を丸く、やわらかい影 */
.theme, .alumni, .episode, .short, .footer-contact, .news-pick, .branch__panel, .close-stat, .cta-row, .oc-card, .req-card,
.adm-box, .str-dcard, .gd-item, .sim__set, .sim__total, .status-box, .features li, .voice, .stat, .dist__item, .path,
.rank__item, .survey__item, .tm-banner, .movie__inner, .short-player, .str-points li, .str-grid li, .str-box, .str-steps li,
.res-sum__item, .gd-points li, .gd-empty, .adm-menu a, .adm-quick a, .ocv-comments li, .linklist { border-radius: var(--d2-r); }
.alumni__photo, .alumni__photo img, .theme--2, .ph, .ph img { border-radius: var(--d2-r); }
.adm-table table { border-radius: 16px; overflow: hidden; }

/* セクションの面：白と淡い色を交互に */
.theme-white, .branch { background: var(--d2-pale); }

/* ---------- ファーストビュー ---------- */
.fv { background: radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 4% 9% / 38px 38px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 4% 9% / 38px 38px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 43% 6% / 64px 64px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 43% 6% / 64px 64px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 93% 14% / 120px 120px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 93% 14% / 120px 120px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 47% 66% / 52px 52px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 47% 66% / 52px 52px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 97% 70% / 150px 150px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 97% 70% / 150px 150px no-repeat, radial-gradient(ellipse 80% 70% at 62% 35%,#FFF5F8 0%,#FFE6EE 38%,#FDD8E3 62%,#FACBDA 100%); color: var(--d2-ink); }
@media (max-width: 960px) { .fv { background: radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 6% 4% / 26px 26px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 6% 4% / 26px 26px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 92% 3% / 54px 54px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 92% 3% / 54px 54px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 2% 33% / 34px 34px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 2% 33% / 34px 34px no-repeat, radial-gradient(circle at 36% 30%, rgba(255,255,255,.9) 0, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 20%) 104% 31% / 88px 88px no-repeat, radial-gradient(circle closest-side at 50% 50%, #FFD3E0 0, #F79AB6 52%, #E0688F 82%, #B6375E 98%, transparent 100%) 104% 31% / 88px 88px no-repeat, radial-gradient(ellipse 80% 70% at 62% 35%,#FFF5F8 0%,#FFE6EE 38%,#FDD8E3 62%,#FACBDA 100%); } }
.fv__kicker { color: #fff; text-shadow: 0 4px 0 rgba(120,20,50,.22); }
.fv__title { color: var(--d2-deep); -webkit-text-stroke: 0; }
.fv__sub, .fv__cta-text, .fv__top { color: var(--d2-ink); }
.fv__badge { border-color: var(--d2-deep); color: var(--d2-deep); border-radius: 999px; background: rgba(255,255,255,.6); }
.fv .movie-btn { background: rgba(255,255,255,.85); color: var(--d2-ink); border-color: transparent; }
.fv .movie-btn__icon { background: var(--d2-deep); color: #fff; }
.fv__top .theme-switch { background: rgba(255,255,255,.9); color: var(--d2-ink); border-color: transparent; }
.fv__top .theme-switch button[aria-pressed="true"] { background: var(--d2-deep); color: #fff; }
/* 下端：斜めの黒 → 白い線の文字が乗る波 */
.fv::after { height: clamp(70px, 9vw, 130px); background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 170' preserveAspectRatio='none'><path fill='%23F7A3BC' d='M0 90 C120 30 230 30 330 80 C430 130 520 40 640 60 C760 80 820 140 960 100 C1080 66 1150 20 1260 54 C1340 78 1390 70 1440 50 L1440 170 L0 170 Z'/></svg>") center bottom / 100% 100% no-repeat; clip-path: none; }
.fv__media > img, .fv__media > video { mix-blend-mode: multiply; }
.fv[data-kv="video"] .fv__media > video, .fv[data-kv="video"] .fv__media > img { opacity: .28; }
.fv__model { filter: drop-shadow(0 20px 30px rgba(120,20,50,.28)); }
.fv-opening__skip { border-color: var(--d2-deep); color: var(--d2-deep); background: rgba(255,255,255,.7); }

/* ---------- 流れる帯：白い線の文字 ---------- */
.band { background: var(--d2-bright2); color: #fff; }
.band__item { font-family: var(--d2-round); color: transparent; -webkit-text-stroke: 1.5px #fff; font-weight: 700; }
.band__item span { color: var(--d2-deep); -webkit-text-stroke: 0; }

/* ---------- 次の「まさか」は、君の番だ。 ---------- */
.next__title mark::before { background: var(--d2-bright); border-radius: 14px; }
.next__title mark { color: var(--d2-ink); }

/* ---------- フッター：濃い色の面＋白い線の「まさかみまさか」 ---------- */
.site-footer { background: var(--d2-deep); color: #fff; border-top: 0; }
.site-footer a, .site-footer .muted, .site-footer small, .site-footer p, .copyright { color: #fff; }
.footer-brand-big, .footer-brand-big p { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.9); font-weight: 700; }
.footer-contact { background: #fff; color: var(--d2-ink); border-color: transparent; }
.footer-contact a, .footer-contact p, .footer-contact dt, .footer-contact dd, .footer-contact__hours { color: var(--d2-ink); }
.footer-contact__label, .footer-contact__title { color: var(--d2-deep); }
.site-footer .logo__en { color: #fff; }

/* ---------- ヘッダー ---------- */
.site-header { background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--d2-light); }
.logo__en { color: var(--d2-deep); }
.global-nav a { color: var(--d2-ink); }
.global-nav a[aria-current], .global-nav a:hover { color: var(--d2-deep); }
.proto-bar { background: var(--d2-deep); color: #fff; }

/* ---------- 「次の『まさか』は、君の番だ。」：FVと同じグラデーション＋白いカード ---------- */
.next { --color-black: var(--d2-ink); --color-white: #FFFFFF; --color-lime: var(--d2-deep); --color-muted-on-light: var(--d2-ink2);
  background: var(--d2-fvbg); color: var(--d2-ink); }
.next::before { background: var(--d2-paper, #fff); }
.next__bg { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); font-family: var(--d2-round); }
.next__title { -webkit-text-stroke: 0; color: var(--d2-deep); }
.next__title mark { color: var(--d2-ink); }
.next__title mark::before { background: #fff; transform: skewX(-8deg); border-radius: 16px; }
.next__ctas { border-bottom: 0; display: grid; gap: .8rem; }
.cta-row { border-top: 0; border-radius: 26px; background: #fff; color: var(--d2-ink); box-shadow: 0 16px 34px -24px rgba(0,0,0,.45); }
.cta-row::before { background: var(--d2-pale); }
.cta-row:hover { color: var(--d2-deep); }
.cta-row__main, .cta-row__arrow { color: var(--d2-deep); }
.cta-row--primary { background: var(--d2-deep); color: #fff; }
.cta-row--primary .cta-row__main, .cta-row--primary .cta-row__arrow { color: #fff; }
.cta-row--primary::before { background: var(--d2-deep2); }
.cta-row--primary:hover { color: #fff; }
.next__note { color: var(--d2-ink); }

/* ---------- フッター上の「まさかみまさか」：白い線の文字 ---------- */
.footer-brand-big { background: var(--d2-deep); }
.site-footer, .site-footer a, .site-footer li, .site-footer p, .site-footer h2, .site-footer h3, .site-footer .logo__ja, .footer-nav a, .footer-nav__group a, .site-footer__note { color: #FFFFFF; }
.footer-contact, .footer-contact a, .footer-contact p, .footer-contact li, .footer-contact dd { color: var(--d2-ink); }
.footer-contact__label, .footer-contact__title { color: var(--d2-deep); }
.site-footer .footer-nav__group > ul a { color: rgba(255,255,255,.88); }
.site-footer .footer-nav a:hover, .site-footer .footer-nav__group > ul a:hover { color: var(--d2-light); }
.site-footer .footer-nav__group > ul { border-left-color: rgba(255,255,255,.4); }
.site-footer .footer-contact .footer-contact__title, .site-footer .footer-contact .footer-contact__label { color: var(--d2-deep); }
.site-footer .footer-contact .footer-contact__org, .site-footer .footer-contact a, .site-footer .footer-contact .footer-contact__hours { color: var(--d2-ink); }

/* ---------- 下層ページの見出しエリア：FVと同じグラデーション＋球体 ---------- */
.page-hero { background: var(--d2-balls-hero), var(--d2-fvbg); color: var(--d2-ink); }
@media (max-width: 960px) { .page-hero { background: var(--d2-balls-sp), var(--d2-fvbg); } }
.page-hero__title { color: var(--d2-ink); }
.page-hero__title em { color: var(--d2-deep); }
.page-hero .eyebrow, .page-hero .breadcrumb, .page-hero .breadcrumb a, .page-hero .lead, .page-hero p { color: var(--d2-ink); }
.page-hero__ghost { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.85); }
.page-hero .chip { background: rgba(255,255,255,.88); border-color: transparent; color: var(--d2-ink); }
.page-hero .status-box { background: #fff; border-color: transparent; color: var(--d2-ink); box-shadow: 0 16px 34px -24px rgba(0,0,0,.4); }
.page-hero .btn--outline-dark { background: #fff; }

/* ---------- ボタンの色をそろえる（入試情報まわりの黒いボタン → 濃い色） ---------- */
.btn--black { background: var(--d2-deep); color: #fff; border-radius: 999px; }
.btn--black:hover { background: var(--d2-deep2); color: #fff; }
.eyebrow { border-radius: 999px; padding-inline: .7em; }
.site-footer .site-footer__brand, .site-footer .site-footer__brand span { color: #FFFFFF; }
.band__item span { color: var(--d2-ink); }

/* ==========================================================
   【全面改修】下層ページを、トップと同じデザインの決まりにそろえる
   ・面：白／淡い色／FVと同じグラデーション の3種類だけ
   ・カード：枠線をやめて、角丸＋やわらかい影
   ・大きな数字：丸ゴシック×濃い色
   ・ラベル：小さな球体つき
   ========================================================== */
/* 面 */
.theme-lime, .str-sec--dark, .theme-dark2 { background: var(--d2-fvbg); color: var(--d2-ink); --color-black: var(--d2-ink); --color-white: #fff; --color-lime: var(--d2-deep); --color-muted-on-light: var(--d2-ink2); }
.theme-lime .h2, .theme-lime h2, .str-sec--dark h2, .theme-dark2 h2 { color: var(--d2-ink); }
.adm-sec, .adm { background: var(--d2-paper); }
/* ラベル：小さな球体 */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: none !important; color: var(--d2-deep) !important; padding: 0; font-family: var(--d2-round); font-weight: 900; letter-spacing: .18em; }
.eyebrow::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--d2-ball); flex: none; }
/* 見出し */
.adm-h2 { font-family: var(--d2-round); border-bottom: 0; padding-bottom: .4rem; position: relative; }
.adm-h2::after { content: ""; display: block; margin-top: .5rem; height: 6px; width: 64px; border-radius: 999px; background: var(--d2-ball); }
.adm-h3 { border-left: 0; padding-left: 1.4rem; position: relative; }
.adm-h3::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: var(--d2-ball); }
.str-title, .str-h3, .h3 { font-family: var(--d2-round); }
/* カード：枠線 → 角丸＋影 */
.adm-box, .req-card, .str-box, .str-points li, .str-grid li, .str-steps li, .str-card, .str-dcard, .str-index li, .features li, .method, .oc-card, .oc-info li, .status-box,
.car-feat, .car-voice, .car-emp, .gd-item, .gd-points li, .linklist, .adm-menu a, .ocv-stat, .str-stats li, .sim__set, .res-sum__item {
  border: 0 !important; border-radius: 22px !important; background: #fff; box-shadow: 0 16px 34px -26px rgba(0,0,0,.45); }
.theme-white .adm-box, .theme-white .req-card, .theme-white .method, .theme-white .features li, .theme-white .linklist, .theme-white .adm-menu a, .sec--pale .linklist { background: #fff; }
.adm-box--lime, .req-card--accent, .ocv-stat--accent { background: var(--d2-deep) !important; color: #fff; }
.adm-box--lime *, .req-card--accent *, .ocv-stat--accent * { color: #fff; }
.req-card--accent .btn, .req-card--accent .btn--black { background: #fff !important; color: var(--d2-deep) !important; }
.linklist li { border-color: var(--d2-light) !important; }
.chip { border-radius: 999px; }
/* 表 */
.adm-table table { border-radius: 18px; overflow: hidden; box-shadow: 0 16px 34px -28px rgba(0,0,0,.45); }
.adm-table thead th { background: var(--d2-deep) !important; color: #fff !important; }
.adm-table tbody th { background: var(--d2-pale) !important; }
.adm-table th, .adm-table td { border-color: var(--d2-light) !important; }
/* 大きな数字 */
.ocv-stat__num, .str-card__num, .str-dbig b, .str-stats b, .str-no, .features__no, .str-index__no, .res-sum__item b, .oc-card b {
  font-family: var(--d2-round); color: var(--d2-deep); }
.ocv-stat--accent .ocv-stat__num, .ocv-stat--accent .ocv-stat__num * { color: #fff !important; background: none !important; }
.ocv-stat { padding: 1.2rem 1.3rem; }
.ocv-stats { border-top: 0 !important; gap: 14px !important; }
/* OCの感想：吹き出し（白とアクセント） */
.ocv-comments li { background: #fff !important; color: var(--d2-ink) !important; border-radius: 24px !important; box-shadow: 0 16px 30px -24px rgba(0,0,0,.45); }
.ocv-comments li span { color: var(--d2-deep) !important; }
.ocv-comments li::after { border-top-color: #fff !important; }
.ocv-comments li:nth-child(3n+2) { background: var(--d2-deep) !important; color: #fff !important; }
.ocv-comments li:nth-child(3n+2) span { color: #fff !important; }
.ocv-comments li:nth-child(3n+2)::after { border-top-color: var(--d2-deep) !important; }
/* バーのグラフ */
.str-bar__fill, .str-hbars__ours .str-hbars__track span, .str-dbar__track span, .car-chart__track span, .res-trend__pass { background: var(--d2-deep) !important; border-radius: 999px; }
.str-bar__track, .str-hbars__track, .str-dbar__track, .car-chart__track { border-radius: 999px; background: var(--d2-light) !important; }
/* タイムライン（当日の流れ） */
.timeline { border-radius: 26px; }
/* 下層の最後の「申し込み」エリア */
.cta-final { background: var(--d2-balls-hero), var(--d2-fvbg) !important; color: var(--d2-ink); }
.cta-final__title { font-family: var(--d2-round); color: var(--d2-ink); }
.cta-final__title .cta-final__mark { background: #fff; color: var(--d2-deep); border-radius: 12px; padding: 0 .2em; }
.cta-final .btn--dark, .cta-final .btn--lime { background: var(--d2-deep); color: #fff; border-color: var(--d2-deep); }
.cta-final .btn--ghost, .cta-final .btn--outline-dark { background: #fff; color: var(--d2-deep); border-color: #fff; }
/* 下層の見出しエリア：OCの「状況」カード */
.page-hero .status-box { transform: none !important; }

/* 色の面の上のカード：中の文字は濃い色に */
.theme-lime .features li, .theme-lime .features li *, .str-sec--dark .str-stats li, .str-sec--dark .str-stats li *, .str-sec--dark .str-flow li, .str-sec--dark .str-flow li *,
.str-sec--dark .str-box, .str-sec--dark .str-box *, .theme-dark2 .str-box, .theme-dark2 .str-box * { color: var(--d2-ink) !important; }
.str-sec--dark .str-stats li, .str-sec--dark .str-flow li, .str-flow li, .str-stats--sub li { background: #fff !important; border: 0 !important; border-radius: 20px !important; box-shadow: 0 16px 34px -26px rgba(0,0,0,.45); }
.theme-lime .features__no, .str-sec--dark .str-stats b, .str-flow__no { color: var(--d2-deep) !important; }
.str-flow__goal, .str-flow li:last-child { background: var(--d2-deep) !important; }
.str-flow__goal *, .str-flow li:last-child * { color: #fff !important; }
.sim__total b { color: var(--d2-light); }

.news__cat--oc, .tag--oc { color: #fff !important; }
.btn--lime { background: var(--d2-deep) !important; color: #fff !important; border-color: var(--d2-deep) !important; }
.btn--lime:hover { background: var(--d2-deep2) !important; }
.sim__total { background: var(--d2-deep) !important; color: #fff !important; border-radius: 22px; border: 0 !important; }
.sim__total b { color: #fff !important; }
.str-stats > div { background: #fff !important; color: var(--d2-ink) !important; border: 0 !important; border-radius: 20px; box-shadow: 0 16px 34px -26px rgba(0,0,0,.45); }
.str-stats > div dt { color: var(--d2-ink) !important; }
.str-stats > div dd { color: var(--d2-deep) !important; font-family: var(--d2-round); }
.str-flow__goal, .str-flow__goal * { color: #fff !important; }
.car-tabs [aria-selected="true"], .car-tabs [aria-selected="true"] * { background: var(--d2-deep) !important; color: #fff !important; border-color: var(--d2-deep) !important; }
.car-tabs button { border-radius: 999px !important; }
.car summary span { background: var(--d2-deep) !important; color: #fff !important; border-radius: 999px; }
.str-sec--dark .str-flow .str-flow__goal, .str-flow .str-flow__goal { background: var(--d2-deep) !important; }
.str-sec--dark .str-flow .str-flow__goal, .str-sec--dark .str-flow .str-flow__goal *, .str-flow .str-flow__goal * { color: #fff !important; }

/* ---- 修正：カードの並び（グレーの隙間）・中身の文字・リストの余白 ---- */
.features, .oc-info { background: transparent !important; border: 0 !important; gap: 14px !important; }
.features li, .oc-info li { background: #fff !important; }
.features li, .features li *:not(.features__no):not(a), .oc-info li, .oc-info li *:not(h4) { color: var(--d2-ink) !important; }
.features li a { color: var(--d2-deep) !important; }
.features__no, .oc-info h4 { color: var(--d2-deep) !important; }
.linklist { padding: .4rem 0; }
.linklist a { padding-left: clamp(1.1rem, 2.4vw, 1.6rem) !important; padding-right: clamp(1.1rem, 2.4vw, 1.6rem) !important; }
.linklist a:hover { background: var(--d2-pale) !important; }
.linklist li:first-child a { border-radius: 22px 22px 0 0; }
.linklist li:last-child a { border-radius: 0 0 22px 22px; }

/* 出願ボタンの横の補足：箱に入れず、ボタンと横並びの文字だけにする */
.apply-box { background: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; }
.apply-box p, .apply-box .small { color: var(--d2-ink) !important; font-weight: 700; }

/* 下層ページの「どっちが好き？」：下へスクロールして読んでいる間は隠れ、上に戻すと出る */
.theme-switch { transition: transform .3s ease, opacity .3s ease; background: #fff; color: var(--d2-ink); border-color: var(--d2-deep); }
.theme-switch button[aria-pressed="true"] { background: var(--d2-deep); color: #fff; }
.theme-switch.is-away { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .theme-switch { transition: none; } }

/* ---------- お知らせのピックアップ（トップ・お知らせ一覧の両方）：淡い面のカードに、濃い文字 ---------- */
.news-pick { margin: 0 0 1rem; background: none; border-radius: 22px; overflow: visible; }
.news-pick__link { border: 0; border-radius: 22px; overflow: hidden; background: var(--d2-pale); color: var(--d2-ink); box-shadow: 0 16px 30px -26px rgba(0,0,0,.5); }
@media (min-width: 760px) { .news-pick__link { grid-template-columns: minmax(0, 20rem) 1fr; } }
.news-pick__img { background: var(--d2-light); }
.news-pick__text { padding: 1.1rem 1.4rem 1.3rem; }
.news-pick__tag { border-radius: 999px; background: var(--d2-deep); color: #fff; padding: .15rem .75rem; }
.news-pick__text .news__meta, .news-pick__text time { color: var(--d2-ink2); }
.news-pick__title { color: var(--d2-ink); font-family: var(--d2-round); }
.news-pick__body { color: var(--d2-ink2); }
.news-pick__more { color: var(--d2-deep); }
.news-pick__link:hover .news-pick__title { color: var(--d2-deep); }
.news-pick__link:focus-visible { outline: 3px solid var(--d2-deep); }

/* お知らせ一覧：トップのピックアップなどから飛んできた記事（#id）の目印。暗い面 → 白いカード＋左の色の線 */
.news__item.is-target .news__card { background: #fff !important; color: var(--d2-ink); border-radius: 22px; padding: 1.2rem 1.4rem !important; box-shadow: inset 6px 0 0 var(--d2-deep), 0 16px 34px -26px rgba(0,0,0,.45) !important; }
.news__item.is-target .news__title { color: var(--d2-ink); }
.news__item.is-target .news__body, .news__item.is-target time { color: var(--d2-ink2); }
.news__img { border-radius: 16px; }

/* ---------- 費用シミュレーター ---------- */
/* 見出し（legend）をカードの中に入れて、「枠の中の見出し」に見せる */
.sim__set { padding: 1.3rem 1.4rem 1.4rem !important; }
.sim__set > legend { float: left; width: 100%; padding: 0 0 .7rem; margin: 0 0 .9rem; border-bottom: 2px dashed var(--d2-light);
  display: flex; align-items: center; gap: .5rem; font-family: var(--d2-round); font-weight: 900; font-size: 1.1rem; color: var(--d2-ink); }
.sim__set > legend::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--d2-ball); flex: none; }
.sim__set > legend + * { clear: both; }
.sim__what { margin-top: .6rem; font-size: .875rem; color: var(--d2-ink2); }
.sim__minus { margin-top: .8rem; padding: 1rem 1.2rem; border-radius: 18px; background: var(--d2-pale); border: 2px solid var(--d2-deep); font-size: .95rem; line-height: 1.75; color: var(--d2-ink); }
.sim__minus b { display: block; color: var(--d2-deep); font-size: 1.02rem; margin-bottom: .2rem; }

/* ==========================================================
   ミマッパちゃんナビ（FAQ型）
   ========================================================== */
.navi-launch { position: fixed; right: 16px; bottom: 16px; z-index: 160; display: flex; align-items: center; gap: .4rem; padding: 0 1rem 0 0; min-height: 64px;
  border: 0; border-radius: 999px; background: #fff; color: var(--d2-ink); font: inherit; font-weight: 900; font-size: .9rem; cursor: pointer;
  box-shadow: 0 0 0 3px var(--d2-deep), 0 16px 30px -14px rgba(0,0,0,.5); transition: transform .2s; }
.navi-launch:hover { transform: translateY(-3px); }
.navi-launch img { width: 72px; height: 72px; object-fit: cover; object-position: 50% 8%; border-radius: 50%; background: var(--d2-pale); margin: -6px 0 -6px -4px; box-shadow: 0 0 0 3px var(--d2-deep); }
.navi-launch[aria-expanded="true"] { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .navi-launch img { animation: navi-hop 4s ease-in-out 2s infinite; }
  @keyframes navi-hop { 0%, 88%, 100% { transform: none; } 92% { transform: translateY(-6px) rotate(-6deg); } 96% { transform: translateY(0) rotate(4deg); } }
}
@media (max-width: 899px) {
  .navi-launch { bottom: calc(var(--bottom-cta-h) + 12px + env(safe-area-inset-bottom, 0px)); right: 12px; padding: 0; min-height: 0; }
  .navi-launch img { width: 64px; height: 64px; margin: 0; }
  .navi-launch__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.navi { position: fixed; right: 16px; bottom: 16px; z-index: 170; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100svh - 96px));
  display: flex; flex-direction: column; background: #fff; color: var(--d2-ink); border-radius: 26px; overflow: hidden;
  box-shadow: 0 0 0 3px var(--d2-deep), 0 30px 60px -20px rgba(0,0,0,.55); }
.navi[hidden] { display: none; }
@media (max-width: 899px) {
  .navi { left: 8px; right: 8px; width: auto; bottom: calc(var(--bottom-cta-h) + 8px + env(safe-area-inset-bottom, 0px)); height: min(560px, calc(100svh - var(--bottom-cta-h) - 80px)); }
}
.navi__head { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem .7rem 1rem; background: var(--d2-fvbg); }
.navi__avatar img { width: 50px; height: 50px; object-fit: cover; object-position: 50% 8%; border-radius: 50%; background: #fff; display: block; box-shadow: 0 0 0 3px #fff; }
.navi__name { flex: 1; margin: 0; font-family: var(--d2-round); font-weight: 900; font-size: 1.1rem; line-height: 1.25; color: var(--d2-ink); }
.navi__name small { display: block; font-family: var(--font-base); font-size: .78rem; font-weight: 700; color: var(--d2-ink); }
.navi__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--d2-ink); font-size: 1.4rem; font-weight: 900; line-height: 1; cursor: pointer; }
.navi__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem .9rem; display: flex; flex-direction: column; gap: .6rem; background: var(--d2-pale); }
.navi__msg { max-width: 88%; padding: .7rem .95rem; border-radius: 18px; font-size: .95rem; line-height: 1.7; }
.navi__msg p { margin: 0; }
.navi__msg p + p { margin-top: .5rem; }
.navi__msg--bot { align-self: flex-start; background: #fff; border-top-left-radius: 6px; box-shadow: 0 8px 18px -16px rgba(0,0,0,.5); }
.navi__msg--me { align-self: flex-end; background: var(--d2-deep); color: #fff; border-top-right-radius: 6px; font-weight: 700; }
.navi__note { font-size: .82rem; color: var(--d2-ink2); }
.navi__links { display: flex; flex-wrap: wrap; gap: .4rem; }
.navi__link { display: inline-flex; align-items: center; min-height: 36px; padding: .2rem .8rem; border-radius: 999px; background: var(--d2-pale); color: var(--d2-deep); font-weight: 800; font-size: .86rem; text-decoration: none; border: 2px solid var(--d2-deep); }
.navi__link:hover { background: var(--d2-deep); color: #fff; }
.navi__link--line { background: #06C755; border-color: #06C755; color: #0B2E13; }
.navi__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.navi__chip { min-height: 40px; padding: .35rem .9rem; border-radius: 999px; border: 2px solid var(--d2-deep); background: #fff; color: var(--d2-ink); font: inherit; font-size: .9rem; font-weight: 800; text-align: left; cursor: pointer; }
.navi__chip:hover { background: var(--d2-deep); color: #fff; }
.navi__chip--sub { border-style: dashed; color: var(--d2-deep); }
.navi__form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--d2-light); background: #fff; }
.navi__input { flex: 1; min-width: 0; min-height: 46px; padding: 0 1rem; border-radius: 999px; border: 2px solid var(--d2-light); font: inherit; font-size: 1rem; color: var(--d2-ink); background: #fff; }
.navi__input:focus { outline: none; border-color: var(--d2-deep); }
.navi__send { min-height: 46px; padding: 0 1.1rem; border-radius: 999px; border: 0; background: var(--d2-deep); color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.navi :focus-visible { outline: 3px solid var(--d2-deep); outline-offset: 2px; }
/* ナビを開いている間は、下層の「どっちが好き？」を隠す */
.navi-open .theme-switch { opacity: 0; pointer-events: none; }

/* ---- ナビの起動ボタン：丸で切り抜かず、ミマッパちゃんの全身を見せる ---- */
.navi-launch { padding: 0; min-height: 0; background: none; box-shadow: none; border-radius: 0; gap: 0; align-items: flex-end; }
.navi-launch img { width: auto; height: 124px; object-fit: contain; border-radius: 0; background: none; margin: 0; box-shadow: none;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.28)); transform-origin: 50% 100%; }
.navi-launch__label { order: -1; position: relative; margin: 0 -.4rem 3.4rem 0; padding: .55rem 1rem; border-radius: 999px; background: #fff; color: var(--d2-ink);
  font-weight: 900; font-size: .9rem; white-space: nowrap; box-shadow: 0 0 0 3px var(--d2-deep), 0 12px 24px -14px rgba(0,0,0,.5); }
.navi-launch__label::after { content: ""; position: absolute; right: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; background: #fff;
  border-right: 3px solid var(--d2-deep); border-top: 3px solid var(--d2-deep); transform: rotate(45deg); }
.navi-launch:hover { transform: none; }
.navi-launch:hover img { transform: translateY(-4px) rotate(-3deg); }
.navi-launch img { transition: transform .2s; }
.navi-launch:focus-visible { outline: 3px solid var(--d2-deep); outline-offset: 4px; border-radius: 16px; }
@media (max-width: 899px) {
  .navi-launch { right: 6px; }
  .navi-launch img { width: auto; height: 92px; }
}
/* パネルの見出しは顔だけの丸抜き */
.navi__avatar img { width: 52px; height: 52px; object-fit: cover; object-position: 50% 6%; transform: scale(1.35); transform-origin: 50% 0; }
.navi__avatar { display: block; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px #fff; flex: none; }
@media (max-width: 899px) {
  .navi-launch__label { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; box-shadow: none; }
  .navi-launch__label::after { content: none; }
}
/* ポーズつきの吹き出し */
.navi__row { display: flex; align-items: flex-end; gap: .35rem; }
.navi__row .navi__msg { max-width: calc(100% - 70px); }
.navi__pose { flex: none; width: 64px; height: auto; filter: drop-shadow(0 4px 5px rgba(0,0,0,.18)); }
@media (prefers-reduced-motion: no-preference) {
  .navi__pose { animation: navi-pop .45s cubic-bezier(.2,.9,.3,1.3) both; transform-origin: 50% 100%; }
  @keyframes navi-pop { from { opacity: 0; transform: translateY(8px) scale(.85); } to { opacity: 1; transform: none; } }
}
/* AIの回答 */
.navi__ai { margin-top: .5rem !important; padding-top: .45rem; border-top: 1px dashed var(--d2-light); font-size: .8rem; color: var(--d2-ink2); }
.navi__wait { display: flex; align-items: center; gap: .4rem; }
.navi__dots { display: inline-flex; gap: 4px; }
.navi__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--d2-deep); opacity: .3; }
@media (prefers-reduced-motion: no-preference) {
  .navi__dots i { animation: navi-dot 1s infinite; } .navi__dots i:nth-child(2) { animation-delay: .15s; } .navi__dots i:nth-child(3) { animation-delay: .3s; }
  @keyframes navi-dot { 0%, 100% { opacity: .25; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
}

/* オープンキャンパス：お車でお越しの場合（駐車場の地図） */
.oc-parking { margin-top: 14px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(16px, 2.4vw, 28px); align-items: center;
  background: #fff; color: var(--d2-ink); border-radius: 22px; padding: clamp(18px, 2.6vw, 28px); box-shadow: 0 16px 34px -26px rgba(0,0,0,.45); }
.oc-parking h4 { margin: 0 0 .6rem; font-family: var(--d2-round); font-weight: 900; font-size: 1.15rem; color: var(--d2-deep); }
.oc-parking p { margin: .35rem 0 0; line-height: 1.8; }
.oc-parking strong { color: var(--d2-deep); }
.oc-parking__map { display: block; position: relative; border-radius: 16px; overflow: hidden; border: 2px solid var(--d2-light); }
.oc-parking__map img { display: block; width: 100%; height: auto; }
.oc-parking__zoom { position: absolute; right: 8px; bottom: 8px; padding: .25rem .7rem; border-radius: 999px; background: var(--d2-deep); color: #fff; font-size: .8rem; font-weight: 800; }
@media (max-width: 760px) { .oc-parking { grid-template-columns: 1fr; } }
/* 「拡大」ラベルは地図の下に（駐車場の印に重ねない） */
.oc-parking__map { border: 0; overflow: visible; text-decoration: none; }
.oc-parking__map img { border-radius: 16px; border: 2px solid var(--d2-light); }
.oc-parking__zoom { position: static; display: inline-block; margin-top: .5rem; }

/* OCの満足度カード：PC幅で1枚目だけ左の余白が0になっていたのを直す（元の「1枚目は左詰め」指定が残っていた） */
.ocv-stats .ocv-stat { padding: 1.3rem 1.5rem 1.4rem; }
.ocv-stat--accent .ocv-stat__num { padding: 0 !important; transform: none !important; }

/* 書体：Design1と同じゴシック（data-font="d1"） */
html[data-font="d1"] { --d2-round: var(--font-base); }
/* 白抜き（線だけ）の飾り文字は丸ゴシックのまま。ゴシックだと線の重なりが見えるため */
html[data-font="d1"] .lineword, html[data-font="d1"] .band__item, html[data-font="d1"] .next__bg, html[data-font="d1"] .page-hero__ghost,
html[data-font="d1"] .footer-brand-big p, html[data-font="d1"] .masaka__no, html[data-font="d1"] .theme-white .str-no { font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Rounded Mplus 1c", var(--font-base); }

/* ヘッダーのロゴ：上段「受験生特設サイト」大きく／下段「MIMASAKA UNIVERSITY」小さく */
.logo { gap: .15rem; }
.logo__site { font-weight: 900; font-size: 1.2rem; letter-spacing: .06em; line-height: 1.1; color: var(--d2-ink); white-space: nowrap; }
.logo__univ { font-weight: 700; font-size: .66rem; letter-spacing: .16em; line-height: 1.1; color: var(--d2-deep); white-space: nowrap; }
@media (max-width: 360px) { .logo__site { font-size: 1.05rem; } }
/* ヘッダーの「大学ホームページ」（外部リンク） */
.global-nav .nav-univ a::after { content: "↗"; margin-left: .3em; font-size: .85em; }
/* 項目が1行に収まるよう、PC幅では余白を詰める。狭いPC幅では「トップページ」を省く（ロゴがトップへのリンクを兼ねる） */
@media (min-width: 900px) {
  .global-nav a { padding: 0 .55rem; font-size: .9rem; }
  .global-nav .nav-apply a { padding: 0 .8rem; }
  .global-nav .nav-line a { padding: 0 1rem; margin-left: .2rem; }
}
@media (min-width: 900px) and (max-width: 1179px) {
  .global-nav > ul > li:first-child { display: none; }
  .global-nav a { padding: 0 .45rem; font-size: .86rem; }
  .global-nav .nav-apply a { padding: 0 .7rem; }
  .global-nav .nav-line a { padding: 0 .85rem; }
  .logo__site { font-size: 1.02rem; }
}
@media (min-width: 900px) and (max-width: 1019px) {
  .global-nav a { padding: 0 .38rem; font-size: .82rem; }
  .global-nav .nav-apply a { padding: 0 .6rem; }
  .global-nav .nav-line a { padding: 0 .7rem; }
  .logo__site { font-size: .95rem; }
  .logo__univ { font-size: .6rem; letter-spacing: .1em; }
  .site-header__inner { gap: .5rem; padding: 0 20px; }
}
/* 配色の切り替え（左下に浮かせる）：メニューを開いている間は隠す。スマホでは小さく */
html:has(.global-nav.is-open) .theme-switch, html:has(.global-nav.is-open) .navi-launch { opacity: 0; pointer-events: none; }


/* ==========================================================
   配色の切り替え（左下）：見せ方 3案
   A（既定）… 色の玉を2つ並べる ／ B（data-ts="ball"）… もう一方の色の玉ひとつ ／ C（data-ts="text"）… 文字
   ========================================================== */
.ts-ball { display: block; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset -3px -4px 6px rgba(0,0,0,.16), 0 2px 4px rgba(0,0,0,.18); }
.ts-ball--lime { background: radial-gradient(circle at 34% 30%, #fff 0, #eafbb8 10%, #a9d94b 46%, #5e9a22 100%); }
.ts-ball--orange { background: radial-gradient(circle at 34% 30%, #fff 0, #ffe2c4 10%, #f6983f 46%, #b8521a 100%); }
.ts-ball--pink { background: radial-gradient(circle at 34% 30%, #fff 0, #ffdbe6 10%, #ee6f96 46%, #b6375e 100%); }
html:not([data-ts="text"]) .theme-switch .ts-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html[data-ts="text"] .theme-switch .ts-ball { display: none; }
/* A：色の玉 */
html:not([data-ts]) .theme-switch, html[data-ts="dot"] .theme-switch { padding: 5px 6px 5px 14px; gap: 4px; border: 0; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.16); }
html:not([data-ts]) .theme-switch__label, html[data-ts="dot"] .theme-switch__label { font-size: .82rem; font-weight: 800; color: var(--d2-ink); margin-right: 2px; }
html:not([data-ts]) .theme-switch button, html[data-ts="dot"] .theme-switch button { width: 38px; height: 38px; min-width: 0; min-height: 0; padding: 0; display: grid; place-items: center; border-radius: 50%; background: transparent !important; transition: transform .2s, box-shadow .2s; }
html:not([data-ts]) .theme-switch button[aria-pressed="true"], html[data-ts="dot"] .theme-switch button[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--d2-deep); }
html:not([data-ts]) .theme-switch button[aria-pressed="false"]:hover, html[data-ts="dot"] .theme-switch button[aria-pressed="false"]:hover { transform: scale(1.12); }
@media (max-width: 640px) {
  html:not([data-ts]) .theme-switch, html[data-ts="dot"] .theme-switch { padding: 4px; }
  html:not([data-ts]) .theme-switch__label, html[data-ts="dot"] .theme-switch__label { display: none; }
}
/* B：もう一方の色の玉ひとつ（押すとその色に変わる） */
html[data-ts="ball"] .theme-switch { padding: 0; gap: 10px; border: 0; background: none; box-shadow: none; flex-direction: row-reverse; }
html[data-ts="ball"] .theme-switch button { width: 58px; height: 58px; min-width: 0; min-height: 0; padding: 0; display: grid; place-items: center; border-radius: 50%; background: transparent !important; }
html[data-ts="ball"] .theme-switch button[aria-pressed="true"] { display: none; }
html[data-ts="ball"] .theme-switch .ts-ball { width: 54px; height: 54px; box-shadow: inset -6px -8px 12px rgba(0,0,0,.16), 0 8px 16px rgba(0,0,0,.22); transition: transform .2s; }
html[data-ts="ball"] .theme-switch button:hover .ts-ball { transform: scale(1.08) rotate(-8deg); }
html[data-ts="ball"] .theme-switch__label { position: relative; padding: .45rem .9rem; border-radius: 999px; background: #fff; color: var(--d2-ink); font-size: .82rem; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,.14); white-space: nowrap; }
html[data-ts="ball"] .theme-switch__label::before { content: ""; position: absolute; left: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: #fff; transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) { html[data-ts="ball"] .theme-switch .ts-ball { animation: ts-bob 3.2s ease-in-out infinite; } }
@keyframes ts-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
@media (max-width: 640px) {
  html[data-ts="ball"] .theme-switch__label { font-size: .78rem; padding: .4rem .75rem; transition: opacity .4s, transform .4s; }
  html[data-ts="ball"] .theme-switch:not(.is-hint) .theme-switch__label { opacity: 0; transform: translateX(-8px); pointer-events: none; }
}
/* C：文字（今まで）のスマホ表示 */
@media (max-width: 640px) {
  html[data-ts="text"] .theme-switch { padding: 3px; gap: 2px; }
  html[data-ts="text"] .theme-switch__label { display: none; }
  html[data-ts="text"] .theme-switch button { min-height: 34px; min-width: 0; padding: 0 .7rem; font-size: .82rem; }
}
/* B：吹き出しは出さない（案内はトップのファーストビューに書く） */
html[data-ts="ball"] .theme-switch__label { display: none !important; }

/* オープンキャンパス：LINEの隣の「メールで予約」（控えめ） */
.oc-apply { align-items: center; }
.oc-mail { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 1.2rem; border: 1.5px solid var(--d2-deep); border-radius: 999px;
  background: rgba(255,255,255,.7); color: var(--d2-ink); font-weight: 700; font-size: .95rem; text-decoration: none; }
.oc-mail:hover { background: #fff; }
.oc-mail[hidden] { display: none; }
.oc-apply__note { margin-top: 1rem; font-size: .875rem; color: var(--d2-ink); line-height: 1.7; }

/* ==========================================================
   出張オープンキャンパス・送迎バス（data/oc.json から表示）
   ========================================================== */
.oc-card__bus { margin: .4rem 0 0; font-size: .875rem; font-weight: 700; }
.oc-card__bus a { color: inherit; text-underline-offset: 3px; }
.oc-map { display: inline-flex; align-items: center; gap: .2rem; font-size: .8125rem; font-weight: 800; color: var(--d2-deep); white-space: nowrap; text-underline-offset: 3px; }
.oc-map::before { content: ""; width: .7em; height: .7em; border-radius: 50% 50% 50% 0; background: currentColor; transform: rotate(-45deg); }
.oc-badge--tbd { color: var(--d2-deep); border-color: var(--d2-deep); background: var(--d2-light); margin-right: .3rem; }
.oc-badge--open { color: var(--d2-deep); }
.oc-venues { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); margin: 1rem 0 1.5rem; }
.oc-venue { background: #fff; border-radius: var(--d2-r); padding: 1.3rem 1.5rem; box-shadow: 0 10px 24px rgba(0,0,0,.06); scroll-margin-top: 90px; }
.oc-venue--past { opacity: .6; }
.oc-venue__head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.oc-venue__date { margin: 0; font-weight: 900; font-size: 1.15rem; color: var(--d2-deep); }
.oc-venue__name { margin: .3rem 0 .8rem; font-weight: 900; font-size: 1.45rem; color: var(--d2-ink); }
.oc-venue__name small { font-size: .65em; margin-left: .2em; color: var(--d2-ink2); }
.oc-venue__dl { display: grid; grid-template-columns: 3.2em 1fr; gap: .5rem .6rem; margin: 0; font-size: .95rem; line-height: 1.7; }
.oc-venue__dl dt { font-weight: 800; color: var(--d2-ink2); }
.oc-venue__dl dd { margin: 0; }
.oc-venue__addr { font-size: .875rem; color: var(--d2-ink2); }
.oc-venue__note { margin: .8rem 0 0; font-size: .9rem; }
.oc-bus { margin: 1.6rem 0 0; scroll-margin-top: 90px; }
.oc-bus--past { opacity: .55; }
.oc-bus__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.oc-bus__date { margin: 0; font-weight: 900; font-size: 1.3rem; color: var(--d2-ink); }
.oc-bus th[scope="rowgroup"] { white-space: nowrap; vertical-align: top; }
.oc-bus__stop { white-space: normal; }
.oc-bus__stop .oc-map { margin-left: .3rem; }
.oc-bus__time { font-weight: 800; }
.oc-bus__notes li { background: #fff; color: var(--d2-ink); }
.oc-bus table { table-layout: fixed; }
.oc-bus thead th:nth-child(1) { width: 7rem; }
.oc-bus thead th:nth-child(3), .oc-bus thead th:nth-child(4) { width: 8.5rem; }
.oc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: .8rem 0 0; }
.oc-jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; background: var(--d2-light); color: var(--d2-ink); font-weight: 800; font-size: .9rem; text-decoration: none; }
.oc-jump a:hover { background: var(--d2-deep); color: #fff; }

/* 出願状況 */
.st-term { margin: 1.4rem 0 0; }
.st-term__head { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .8rem; margin-bottom: .6rem; }
.st-term__name { margin: 0; font-weight: 900; font-size: 1.25rem; color: var(--d2-ink); }
.st-asof { font-size: .875rem; font-weight: 800; color: var(--d2-deep); background: var(--d2-light); padding: .15rem .7rem; border-radius: 999px; }
.st-final { color: #fff; background: var(--d2-deep); border-color: var(--d2-deep); }
.st-term td, .st-term th { text-align: center; }
.st-term tbody th { text-align: left; }
.st-ratio { font-weight: 900; color: var(--d2-deep); font-size: 1.05rem; }
.st-total th, .st-total td { font-weight: 900; background: var(--d2-pale); }
.st-term__note { margin: .5rem 0 0; font-size: .875rem; }
.status-cta { margin: 1.2rem 0 0; }
.adm-menu__status a { background: var(--d2-deep) !important; }
.adm-menu__status a, .adm-menu__status a * { color: #fff !important; }
.oc-bus__guide { display: block; margin-top: .3rem; font-size: .8125rem; line-height: 1.6; color: var(--d2-ink2); }
.oc-bus__guide a { color: var(--d2-deep); font-weight: 700; }
/* 資料請求のカード：ボタンをカードの下端にそろえる */
.req-card { display: flex; flex-direction: column; align-items: flex-start; }
.req-card .btn { margin-top: auto; }
.req-card p:last-of-type { margin-bottom: .9rem; }
/* トップのピックアップ：画像は切らずに全体を表示（枠の中に16:9で収める） */
.news-pick__img { display: flex; align-items: center; justify-content: center; padding: 12px; }
.news-pick__img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 14px; }
@media (min-width: 760px) { .news-pick__img { aspect-ratio: auto; height: 100%; min-height: 0; padding: 14px; } }  /* 画像の左右の余白をそろえる */

/* ==========================================================
   隠しイベント「裏コード999」／ミマのプロフィール／ヒント
   ========================================================== */
html.egg999-lock, html.egg999-lock body { overflow: hidden; }
.egg999 { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; overflow: hidden; outline: none;
  background: radial-gradient(circle at 50% 55%, rgba(255,214,120,.55), rgba(255,140,40,.35) 40%, rgba(40,20,0,.72) 75%);
  animation: egg-bg .5s ease-out both; }
.egg999__stage { position: relative; display: grid; place-items: center; width: min(92vw, 720px); height: min(92svh, 920px); animation: egg-shake .5s .55s 2 linear; }
.egg999__mima { width: auto; height: 100%; max-width: 100%; object-fit: contain; filter: drop-shadow(0 0 40px rgba(255,200,80,.9));
  animation: egg-grow .9s cubic-bezier(.2,1.4,.4,1) both; }
.egg999__say { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); margin: 0; width: max-content; max-width: 92vw; padding: .7rem 1.4rem; border-radius: 999px;
  background: #fff; color: #8E340A; font-weight: 900; font-size: clamp(1.1rem, 4.6vw, 2rem); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: egg-pop .4s .7s both; }
.egg999__dust { position: absolute; inset: 0; pointer-events: none; }
.egg999__dust i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #fff, #ffd76a 45%, rgba(255,150,60,0) 70%); }
.egg999.is-vanish .egg999__mima { animation: egg-vanish 1.1s ease-in forwards; }
.egg999.is-vanish .egg999__say { animation: egg-fade .5s forwards; }
.egg999.is-vanish .egg999__dust i { animation: egg-dust 1.2s var(--d) ease-out forwards; }
.egg999.is-vanish { animation: egg-bgout 1.3s .2s ease-in forwards; }
@keyframes egg-bg { from { opacity: 0; } }
@keyframes egg-bgout { to { opacity: 0; } }
@keyframes egg-grow { 0% { transform: scale(.15) rotate(-12deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
@keyframes egg-shake { 0%, 100% { translate: 0 0; } 20% { translate: -10px 4px; } 40% { translate: 9px -6px; } 60% { translate: -7px 6px; } 80% { translate: 6px -3px; } }
@keyframes egg-pop { from { opacity: 0; transform: translateX(-50%) scale(.6); } }
@keyframes egg-fade { to { opacity: 0; } }
@keyframes egg-vanish { to { opacity: 0; transform: scale(1.15); filter: blur(14px) brightness(2); } }
@keyframes egg-dust { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1.4); } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(.3); } }
.egg999--calm *, .egg999--calm { animation-duration: .01ms !important; animation-delay: 0s !important; }
.navi__profile { display: grid; grid-template-columns: auto 1fr; gap: .25rem .7rem; margin: 0; font-size: .9rem; }
.navi__profile dt { font-weight: 800; color: var(--d2-deep); }
.navi__profile dd { margin: 0; }
.mima-mutter { margin: 1.6rem 0 0; font-size: .8125rem; color: var(--d2-ink2); opacity: .75; }
.egg-999 { position: absolute; right: 6%; bottom: 14%; font-weight: 900; font-size: .75rem; letter-spacing: .3em; color: var(--d2-ink); opacity: .22; pointer-events: none; }
.egg999__say span { display: inline-block; white-space: nowrap; }
/* 解放コード999の3つ目のヒント：フッターの片すみに、小さなミマと「999」 */
.egg-sign { display: flex; align-items: center; justify-content: flex-start; gap: .25rem; margin: .4rem 0 0; font-size: .6875rem; font-weight: 800; letter-spacing: .2em; color: inherit; opacity: .35; }
.egg-sign img { width: 16px; height: auto; }

/* 色の付いた背景の上の白いカード：背景を明るくした分、細い縁で境目をはっきりさせる（影はそのまま） */
.oc-pill, .cv__main, .mini, .features > li, .str-index > li, .str-stats > div, .str-flow > li, .str-grid > li, .car-feat, .car-voices > li, .car-emp {
  outline: 1px solid rgba(0, 0, 0, .07); outline-offset: -1px; }

/* ---------- 隠しコマンド「ミマダインスペシャルムービー」 ---------- */
.mvov { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px;
  background: radial-gradient(circle at 50% 40%, rgba(30,20,60,.92), rgba(0,0,0,.96)); animation: mv-in .35s ease-out; }
.mvov__box { position: relative; width: min(100%, 1280px, calc((100svh - 120px) * 16 / 9)); }
.mvov__title { margin: 0 0 .6rem; text-align: center; color: #fff; font-weight: 900; letter-spacing: .18em; font-size: clamp(.8rem, 2.4vw, 1.1rem);
  text-shadow: 0 0 12px rgba(255,200,80,.9), 0 0 2px #000; }
.mvov__video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; box-shadow: 0 0 0 2px rgba(255,255,255,.15), 0 20px 60px rgba(0,0,0,.6); }
.mvov__close { position: absolute; top: -6px; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  background: #fff; color: #222; font-size: 1.6rem; line-height: 1; font-weight: 700; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.mvov__close:focus-visible { outline: 3px solid #ffd54a; outline-offset: 2px; }
@keyframes mv-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mvov { animation: none; } }

/* ==========================================================
   配色の球（B）：並べずに、別々にふわふわ浮かせる
   1つ目（大）は左下、2つ目（小）はその右上に。周期をずらして、FVの球と同じ「飾り」に見せる
   data-slot は JavaScript が「今の色以外」の球に順に付ける（付いていなければ1つ目の位置）
   ========================================================== */
html[data-ts="ball"] .theme-switch { display: block; width: 120px; height: 140px; pointer-events: none; }
html[data-ts="ball"] .theme-switch button { position: absolute; left: 0; bottom: 0; pointer-events: auto; }
html[data-ts="ball"] .theme-switch button[data-slot="2"] { left: 58px; bottom: 76px; width: 40px; height: 40px; }
html[data-ts="ball"] .theme-switch button[data-slot="2"] .ts-ball { width: 36px; height: 36px; box-shadow: inset -4px -6px 9px rgba(0,0,0,.16), 0 6px 12px rgba(0,0,0,.2); }
@media (prefers-reduced-motion: no-preference) {
  html[data-ts="ball"] .theme-switch button[data-slot="2"] .ts-ball { animation: ts-float 4.6s ease-in-out -1.7s infinite; }
}
@keyframes ts-float { 0%, 100% { translate: 0 0; } 33% { translate: 3px -6px; } 66% { translate: -2px -3px; } }
/* 何色になるかの文字は出さない（球だけで見せる。読み上げには aria-label で伝わる）。キーボードで選んだときは輪で示す */
html[data-ts="ball"] .theme-switch button:focus-visible { outline: 3px solid var(--d2-deep); outline-offset: 3px; }
@media (max-width: 640px) {
  html[data-ts="ball"] .theme-switch { width: 96px; height: 80px; }
  html[data-ts="ball"] .theme-switch button:not([data-slot="2"]) { width: 48px; height: 48px; }
  html[data-ts="ball"] .theme-switch button:not([data-slot="2"]) .ts-ball { width: 44px; height: 44px; }
  html[data-ts="ball"] .theme-switch button[data-slot="2"] { left: 50px; bottom: 36px; width: 30px; height: 30px; }
  html[data-ts="ball"] .theme-switch button[data-slot="2"] .ts-ball { width: 26px; height: 26px; }
}

/* ==========================================================
   OCページのトップ：トップページで双眼鏡をのぞいていた女の子が、ここで「見つけた」
   横顔の写真（左右反転して、見出しの方を見る向き）。次回OCのカードは写真の手前に重ねる
   ========================================================== */
.oc-hero__visual { position: relative; }
.oc-hero__ai { position: absolute; top: 0; right: 0; z-index: 2; margin: 0; padding: .15rem .6rem; border-radius: 999px; background: rgba(255,255,255,.8); color: var(--d2-ink); font-size: .7rem; font-weight: 700; }
.oc-hero .oc-next__sub { white-space: nowrap; }
/* スマホ：写真は見出しの上（双眼鏡の顔まわりだけ）、カードは文章のあと */
@media (max-width: 899px) {
  .oc-hero__visual { display: contents; }
  .oc-hero__model { order: -1; display: block; width: calc(100% + 2 * var(--gutter)); max-width: none; height: 230px; margin: calc(-1 * clamp(3rem, 9vw, 6rem) + 8px) calc(-1 * var(--gutter)) -1rem;
    object-fit: cover; object-position: 50% 12%; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
  .oc-hero__ai { top: 200px; right: 12px; }   /* 顔にかからない、写真の右下 */
}
@media (min-width: 900px) {
  .oc-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .oc-hero__model { display: block; width: min(100%, 600px); height: auto; margin: 0 0 calc(-1 * clamp(2.5rem, 7vw, 4.5rem)) auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.12)); }
  .oc-hero__visual .oc-next { position: absolute; left: -1rem; bottom: -1.5rem; z-index: 2; width: fit-content; }   /* 顔と双眼鏡にかからない、写真の左下に重ねる */
}

/* OCページのトップ（PC）：写真を左（元の向き＝見出しの方を見る）、見出しを右。トップでは右にいた女の子が、ここでは左に */
@media (min-width: 900px) {
  .oc-hero__visual { order: -1; }
  .oc-hero__model { margin: 0 auto calc(-1 * clamp(2.5rem, 7vw, 4.5rem)) 0; }
  .oc-hero__ai { right: auto; left: 0; }
  .oc-hero .page-hero__ghost { left: -.05em; right: auto; }
}
/* お知らせのピックアップ（スマホ）：列の幅が中身（画像・長い文）に押し広げられて右にはみ出していたので、枠の幅に固定する */
.news-pick__link { grid-template-columns: minmax(0, 1fr); }
.news-pick__img, .news-pick__text { min-width: 0; }
@media (min-width: 760px) { .news-pick__link { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); } }

/* ---------- ナビ：学びのタイプ診断の結果 ---------- */
.navi__result { display: grid; gap: .35rem; }
.navi__result-pre { font-size: .78rem; color: var(--d2-ink2); }
.navi__result-type { font-size: 1.25rem; font-weight: 900; line-height: 1.35; color: var(--d2-deep); }
.navi__result.is-ext .navi__result-type { color: var(--d2-ink2); }
.navi__result-catch { font-weight: 700; color: var(--d2-ink); }
.navi__result-dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem .7rem; margin: .35rem 0 .2rem; padding: .6rem .75rem; border-radius: 12px; background: #fff; font-size: .86rem; }
.navi__result-dl dt { font-weight: 800; color: var(--d2-deep); white-space: nowrap; }
.navi__result-dl dd { margin: 0; color: var(--d2-ink); }
.navi__result.is-ext .navi__result-dl { background: #f1f2f4; }
.navi__result.is-ext .navi__result-dl dt { color: var(--d2-ink2); }

/* 「写真はAIで生成したイメージです」：OCページは写真のクレジット風に小さく。フッターにはサイト全体の一文 */
.oc-hero__ai { background: none; box-shadow: none; padding: 0; border-radius: 0; font-size: .66rem; font-weight: 500; letter-spacing: .02em; color: var(--d2-ink2); opacity: .85; }
.ai-credit { margin: 0 0 .3rem; font-size: .72rem; opacity: .8; }

/* ==========================================================
   スマホ表示の改善（2026年11月）
   配色に関係しない書き方なので、style.css / style.pink.css / style.orange.css の末尾に同じものを入れる
   ========================================================== */
@media (max-width: 899px) {
  /* 横に長い表：左端の見出し（区分・学科名など）を固定して、横に送っても行の名前が見えるようにする */
  .adm-table { clip-path: inset(0 0 0 0); }
  .adm-table table { overflow: clip; }
  .adm-table tbody tr > th:first-child, .adm-table thead tr:first-child > th:first-child { position: sticky; left: 0; z-index: 1; max-width: 8em; white-space: normal; box-shadow: 1px 0 0 var(--d2-light), 6px 0 8px -6px rgba(0, 0, 0, .25); }
  .adm-table thead tr:first-child > th:first-child { z-index: 2; }

  /* タブ（卒業生インタビュー・先輩たちのその後）：スクロールしても画面の上部についてくる */
  .section { overflow: clip; }
  .tabs[data-tabs], .car-tabs {
    position: sticky; top: calc(var(--header-h) + 1px); z-index: 30;
    margin-left: -6px; margin-right: -6px; padding: .5rem 6px;
    background: rgba(255, 255, 255, .94); /* 古いブラウザ用（color-mix が使えないとき） */
    background: color-mix(in srgb, var(--d2-paper, #fff) 94%, transparent);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-radius: 0 0 14px 14px;
  }
  .tabs[data-tabs] { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
  .tabs[data-tabs] button { min-height: 40px; padding: .3rem .6rem; font-size: .88rem; justify-content: center; }
  .car-tabs { flex-wrap: nowrap; gap: .4rem; }
  .car-tabs button { flex: 1 1 0; min-height: 40px; padding: .25rem .4rem; font-size: .88rem; white-space: nowrap; }
  .car-tabs button:not([aria-selected="true"]) { background: #fff !important; color: var(--d2-deep) !important; border-color: var(--d2-deep) !important; }

  /* ミマッパのナビ：下にスクロールしている間は隠し、本文やボタンに重ならないようにする（上に戻すと出てくる） */
  .navi-launch { transition: transform .3s ease, opacity .3s ease; }
  html.is-scroll-down .navi-launch { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
}
@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .navi-launch { transition: none; }
}

/* ==========================================================
   共通部品（2026年11月）：畳む項目・カード表示・関連ページの一覧
   配色に関係しない書き方なので、style.css / style.pink.css / style.orange.css の末尾に同じものを入れる
   ========================================================== */
/* 畳む項目（必要な人だけが開く手続き・注意事項など） */
.adm-fold { margin-top: .9rem; padding: 0 1.1rem; background: #fff; border: 2px solid var(--d2-light); border-radius: var(--d2-r, 16px); color: var(--d2-ink); scroll-margin-top: calc(var(--header-h) + 12px); }
.adm-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .8rem 0; }
.adm-fold > summary::-webkit-details-marker { display: none; }
.adm-fold > summary::after { content: "＋"; flex: none; font-weight: 900; font-size: 1.2rem; color: var(--d2-deep); }
.adm-fold[open] > summary::after { content: "－"; }
.adm-fold > summary:focus-visible { outline: 3px solid var(--d2-deep); outline-offset: 4px; border-radius: 8px; }
.adm-fold__title { margin: 0; font-size: 1.08rem; font-weight: 900; line-height: 1.45; }
.adm-fold__title small { display: block; margin-top: .15rem; font-size: .78rem; font-weight: 700; color: var(--color-muted-on-light, #6C635E); }
.adm-fold[open] { padding-bottom: 1.2rem; }
.adm-fold[open] > summary { border-bottom: 1px dashed var(--d2-light); margin-bottom: .8rem; }
.adm-fold .adm-h3 { margin-top: 1.2rem; }

/* スマホでは表をカードに組み替える（同じデータから作る。PCは表のまま） */
.adm-cards { display: none; list-style: none; margin: 1.25rem 0 0; padding: 0; gap: .9rem; }
.adm-card { background: #fff; border: 2px solid var(--d2-light); border-radius: var(--d2-r, 16px); padding: 1rem 1rem .9rem; color: var(--d2-ink); }
.adm-card__title { margin: 0 0 .55rem; font-size: 1.05rem; font-weight: 900; line-height: 1.4; color: var(--d2-deep); }
.adm-card__term + .adm-card__term { margin-top: .7rem; padding-top: .7rem; border-top: 1px dashed var(--d2-light); }
.adm-card__label { display: inline-block; margin: 0 0 .45rem; padding: .1rem .75rem; border-radius: 999px; background: var(--d2-deep); color: #fff; font-size: .85rem; font-weight: 900; }
.adm-card__dl { display: grid; gap: .25rem; margin: 0; }
.adm-card__dl div { display: grid; grid-template-columns: 7.2em 1fr; gap: .5rem; font-size: .9rem; line-height: 1.55; }
.adm-card__dl dt { font-weight: 800; color: var(--d2-deep); }
.adm-card__dl dd { margin: 0; }
.adm-card__cap { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.4; }
.adm-card__cap th { width: 52%; padding: .45rem .4rem .45rem 0; text-align: left; font-weight: 800; }
.adm-card__cap td { padding: .45rem .15rem; text-align: right; white-space: nowrap; font-weight: 800; }
.adm-card__cap td span { margin-right: .3rem; font-size: .76rem; font-weight: 700; color: var(--d2-deep); }
.adm-card__cap tr + tr > * { border-top: 1px solid var(--d2-light); }
@media (max-width: 767px) {
  .adm-cards { display: grid; }
  .adm-pc-only { display: none !important; }
}

/* 関連ページの一覧（小さなボタンを並べる） */
.adm-others { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .55rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.adm-others a { display: flex; align-items: center; justify-content: space-between; gap: .4rem; min-height: 50px; height: 100%; padding: .55rem .85rem; background: #fff; border: 2px solid var(--d2-light); border-radius: 14px; color: var(--d2-ink); font-weight: 800; font-size: .93rem; line-height: 1.35; text-decoration: none; }
.adm-others a:hover { border-color: var(--d2-deep); }
.adm-others a::after { content: "→"; flex: none; color: var(--d2-deep); }
.adm-others a[target="_blank"]::after { content: "↗"; }
.adm-others small { display: block; font-size: .74rem; font-weight: 700; color: var(--color-muted-on-light, #6C635E); }
@media (max-width: 767px) {
  .adm-others { grid-template-columns: 1fr 1fr; }
  .toc--grid { display: grid; grid-template-columns: 1fr 1fr; }
  .toc--grid a { justify-content: center; text-align: center; padding: .2rem .5rem; font-size: .85rem; }
}

/* ==========================================================
   横に送るカード・続きを読む（2026年11月）
   配色に関係しない書き方なので、style.css / style.pink.css / style.orange.css の末尾に同じものを入れる
   ========================================================== */
.swipe-dots { display: none; }
.car-more > summary { display: none; }
@media (max-width: 767px) {
  /* data-swipe を付けた一覧は、スマホでは横に並べて送る（次のカードの端が見える幅） */
  [data-swipe] { display: flex !important; grid-template-columns: none !important; flex-wrap: nowrap !important; gap: .8rem !important; overflow-x: auto; scroll-snap-type: x mandatory; padding: .3rem 2px .9rem !important; scrollbar-width: none; }
  [data-swipe]::-webkit-scrollbar { display: none; }
  [data-swipe] > * { flex: 0 0 84%; min-width: 0; margin: 0 !important; scroll-snap-align: start; }
  [data-swipe]:focus-visible { outline: 3px solid var(--d2-deep); outline-offset: 4px; }
  .swipe-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem; margin: .1rem 0 .4rem; }
  .swipe-dots[hidden] { display: none; }
  .swipe-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--d2-deep); opacity: .22; transition: width .25s, opacity .25s; }
  .swipe-dots span.is-on { width: 22px; border-radius: 999px; opacity: .85; }

  /* 卒業生インタビュー：2段落目からは「続きを読む」 */
  .car-more > summary { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; cursor: pointer; font-weight: 800; color: var(--d2-deep); list-style: none; }
  .car-more > summary::-webkit-details-marker { display: none; }
  .car-more > summary::after { content: "＋"; }
  .car-more[open] > summary { display: none; }

  /* 3つの力：冒頭の4つの入口は2列に */
  .str-index { display: grid !important; grid-template-columns: 1fr 1fr; gap: .5rem !important; }
  .str-index a { padding: .7rem .75rem !important; }
  .str-index__text { font-size: .78rem; line-height: 1.5; }
}

/* ヘッダー（PC）：「3つの力」を加えたので、「大学ホームページ」はPCのヘッダーからは外す（スマホのメニューとフッターには残す） */
@media (min-width: 900px) {
  .global-nav .nav-univ { display: none; }
}

/* ==========================================================
   段階4（2026年11月）：学費シミュレーター・送迎バスの日付選択
   ========================================================== */
.sim-float { display: none; }
@media (max-width: 899px) {
  .sim-float { position: fixed; left: 10px; right: 10px; bottom: calc(var(--bottom-cta-h) + 10px + env(safe-area-inset-bottom, 0px)); z-index: 95; display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem .55rem 1rem; background: var(--d2-deep); color: #fff; border-radius: 14px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
  .sim-float[hidden] { display: none; }
  .sim-float__label { font-size: .75rem; font-weight: 700; line-height: 1.3; }
  .sim-float__total { margin-left: auto; font-size: 1.15rem; font-weight: 900; white-space: nowrap; }
  .sim-float__link { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 .75rem; border-radius: 999px; background: #fff; color: var(--d2-deep); font-weight: 800; font-size: .8rem; text-decoration: none; }
  html.has-sim-float .navi-launch, html.has-sim-float .theme-switch { opacity: 0; pointer-events: none; }
}
.oc-jump button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border: 2px solid transparent; border-radius: 999px; background: var(--d2-light); color: var(--d2-ink); font: inherit; font-weight: 800; font-size: .9rem; cursor: pointer; }
.oc-jump button:hover { border-color: var(--d2-deep); }
.oc-jump button[aria-pressed="true"] { background: var(--d2-deep); color: #fff; }
.oc-bus[hidden] { display: none; }
/* スマホだけで改行する <br class="sp-br">（トップページは top.css の指定が優先） */
.sp-br { display: none; }
@media (max-width: 767px) { .sp-br { display: inline; } }
.adm-fold--sec { margin-top: clamp(1.25rem, 3vw, 1.75rem); }
.adm-fold--sec > summary .adm-fold__title { font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem); }
.adm-fold--hero { margin-top: 1.25rem; max-width: 60rem; }
.adm-fold--hero .adm-others { margin-top: .2rem; }
.apply-box--pair { align-items: flex-start; gap: 1rem 1.5rem; }
.apply-box__item { display: flex; flex-direction: column; gap: .45rem; }
.apply-box__item .small { margin: 0; }
.toc a.toc__page span[aria-hidden] { margin-left: .3em; }
@media (max-width: 767px) {
  .apply-box--pair { flex-direction: column; align-items: stretch; }
  .apply-box__item .btn { width: 100%; justify-content: center; }
}
/* OCページ（PC）：「写真はAIで…」が髪に重なっていたので、写真のすぐ上の余白へ */
@media (min-width: 900px) { .oc-hero__ai { top: auto; bottom: 100%; margin-bottom: .35rem; } }
/* ヘッダー（PC）：ネット出願とLINEのボタンの高さを揃える（色の違いはそのまま） */
@media (min-width: 900px) {
  .global-nav .nav-apply a, .global-nav .nav-line a { min-height: 44px; height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
}
/* 卒業生の本文（トップ・3つの力）：スマホは書き出し3行だけ見せて下を薄く消し、名前入りボタンで全文。PC・タブレットは最初から全文 */
.read-more__text > p + p { margin-top: .8em; }
.read-more__text:focus { outline: none; }
.read-more__btn { display: none; }
@media (max-width: 767px) {
  .read-more__text { line-height: 1.95; }
  .read-more:not(.is-open) .read-more__text { max-height: calc(3 * 1.95em); overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); }
  .read-more__btn { display: flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; min-height: 46px; margin-top: .6rem;
    border: 2px solid var(--d2-deep); border-radius: 999px; background: #fff; color: var(--d2-deep); font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer; }
  .read-more__btn::after { content: "＋"; font-weight: 900; }
  .read-more__btn[hidden] { display: none; }
  .read-more__btn:focus-visible { outline: 3px solid var(--d2-deep); outline-offset: 3px; }
}
/* 表の左端固定（スマホ）：区分を縦にまとめた表（rowspan。過去問・入試結果・配点・送迎バス）では固定しない。
   「区分」と「科目・試験期」の2段の見出しがあり、片方だけ固定すると、もう片方が隠れたり重なったりするため */
@media (max-width: 899px) {
  .adm-table table:has(th[rowspan]) tbody tr > th:first-child,
  .adm-table table:has(th[rowspan]) thead tr:first-child > th:first-child { position: static; box-shadow: none; max-width: none; }
}
@media (max-width: 899px) {
  .adm-table table:has(th[rowspan]) tbody th[scope="row"] { white-space: nowrap; }   /* 「└専願」などが1文字ずつ折れないように */
}
/* 3つの力：横棒グラフの数値（25.25倍など）を折り返さない／順位の帯は数字を右に置いたまま、文字だけ折り返す */
.str-hbars b, .str-bar__val { white-space: nowrap; }
@media (max-width: 479px) { .str-hbars li { grid-template-columns: minmax(0, 1fr) auto; } }
@media (max-width: 599px) {
  .str-rank { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; border-radius: 28px; }
  .str-rank__streak { grid-column: 1; justify-self: start; }
}
.str-dnote b { white-space: nowrap; }
/* OC日程の「NEXT」：背景がページの地色と同じで上半分が消えて見えていたので、白地＋濃い枠に。
   スマホの横送りでは、カードの上にはみ出す分が切れないよう一覧の上に余白を取る */
.oc-card__next { background: #fff; color: var(--d2-deep); border: 2px solid var(--d2-deep); line-height: 1.5; padding: .1rem .5rem .1rem calc(.5rem + .16em); z-index: 2; }
@media (max-width: 767px) { .oc-list[data-swipe] { padding-top: 1.1rem !important; } }
/* フッターのお問い合わせ（スマホ）：メール・LINEも電話と同じく、見出しの横に並べる（長いメールアドレスが下の行に落ちていた） */
@media (max-width: 767px) {
  .footer-contact__list li { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); align-items: baseline; column-gap: .6rem; }
  .footer-contact__label { min-width: 0; font-size: .74rem; line-height: 1.35; }
  .footer-contact__list a { font-size: min(1.1rem, 4.1vw); white-space: nowrap; min-height: 40px; }
}
/* 読みやすさ（色の差を十分に）：AI生成の注記、入試情報の「その他の入試」の補足文字 */
.ai-credit { opacity: 1; }
.adm-fold--hero small, .adm-fold--hero .adm-others small { color: #5f5853; }
/* OCの女の子：スマホ用の小さい画像に切り替える <picture> で囲んでも、並び順・配置が変わらないように */
.oc-hero picture { display: contents; }
