/* ============================================================
   玉野高校 HP — Gothic Edition (Figma-aligned)
   Type: Noto Sans JP (display 和) + Inter (display EN) +
         Zen Kaku Gothic New (UI 和) + DM Mono (data)
   Color: Ink #0E1E2E / Paper #FAFAF5 / Teal #00BEC8 / Orange #FF6B35
============================================================ */

:root {
  --ink: #0E1E2E;
  --ink-2: #1A2B3C;
  --ink-3: #3D4D5C;
  --paper: #FAFAF5;
  --paper-2: #F2EFE6;
  --paper-3: #FFFFFF;
  --line: #DAD3C2;
  --teal: #00BEC8;
  --teal-deep: #008A92;
  --teal-pale: #C9F0F2;
  --teal-mid: #4FD4DA;
  --orange: #FF6B35;
  --orange-pale: #FFE4D7;
  --gold: #C9A86A;
  --grid-gap: 24px;
  --container: 1200px;
  --pad-x: 160px;
  --annc-h: 0px; /* アナウンスバーの高さ。ピックアップ記事がある時だけ .has-annc で値が入る */
}
:target {
  scroll-margin-top: 200px;
}
/* ピックアップ記事がある時だけアナウンスバー分の高さを確保（0件時は 0px で現状どおり） */
.has-annc { --annc-h: 44px; }
@media (max-width: 767px) { .has-annc { --annc-h: 40px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

/* 横スクロール禁止は html にも指定する（iOS Safari は body だけではページの横パンを止められない） */
html {
  overflow-x: hidden;
}
body {
  min-width: 320px;
  overflow-x: hidden;
  padding-top: var(--annc-h); /* アナウンスバー分だけコンテンツを下げる（0件時は0） */
}

img {
  max-width: 100%;
}

/* paper texture overlay */
.paper-tex {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.25;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(180,160,120,0.04) 0, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(180,160,120,0.05) 0, transparent 50%),
    repeating-linear-gradient(0deg,
      rgba(180,160,120,0.012) 0,
      rgba(180,160,120,0.012) 1px,
      transparent 1px, transparent 3px);
}

.no-tex .paper-tex { display: none; }

/* shared display type */
.display-jp {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.display-en {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-variation-settings: "SOFT" 30;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.eyebrow {
  font-family: "DM Mono", "Inter", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow .num {
  color: var(--orange);
  font-weight: 600;
  margin-right: 10px;
}
.mono { font-family: "DM Mono", monospace; }

/* ===== Header ===== */
.hdr {
  position: fixed;
  top: var(--annc-h); left: 0;
  width: 100%;
  min-width: 0;
  height: 76px;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 56px 0 200px;
  background: rgba(245,241,232,0.85);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  white-space: nowrap;
}
.hdr__nav a, .hdr__btn { white-space: nowrap; }
.hdr.scrolled {
  border-bottom-color: var(--line);
  background: rgba(245,241,232,0.95);
}
.hdr.on-dark {
  background: rgba(14,30,46,0.0);
  backdrop-filter: none;
  color: #fff;
}
.hdr.on-dark .hdr__logo-mark { background: var(--teal); }
/* ⚠️ 校章プレースホルダー — WordPress実装時に校章画像へ差し替え（README「校章の差し替え」参照） */
.hdr__logo-crest-placeholder {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px dashed rgba(255,255,255,0.75);
  border-radius: 50%;
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: #fff;
}
.hdr.on-dark .hdr__brand { color: #fff; }
.hdr.on-dark .hdr__nav a { color: rgba(255,255,255,0.85); }
.hdr.on-dark .hdr__nav a:hover { color: #fff; }
.hdr.on-dark .hdr__btn--ghost { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); }

.hdr__logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 156px;
  height: 168px;
  background: var(--teal-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 110;
  padding: 18px 14px 20px;
  box-shadow: 0 8px 24px rgba(14,30,46,0.18);
  transition: background 0.3s, transform 0.3s;
  overflow: hidden;
}
.hdr__logo::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 24px; height: 4px;
  background: var(--orange);
}
.hdr__logo:hover {
  background: var(--orange);
}
.hdr__logo-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  width: 100%;
}
.hdr__logo-mark {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 2px;
}
.hdr__logo-char {
  font-family: "Shippori Mincho", "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  position: relative;
  z-index: 1;
  line-height: 1;
}
.hdr__logo-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hdr__logo-pref {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
}
.hdr__logo-school {
  font-family: "Shippori Mincho", "Zen Old Mincho", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
.hdr__logo-en {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 6px;
  margin-top: 2px;
  width: 100%;
}
.hdr__logo-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  width: 100%;
}
.hdr__logo-mark {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 2px;
}
.hdr__logo-char {
  font-family: "Shippori Mincho", "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  position: relative;
  z-index: 1;
  line-height: 1;
}
.hdr__logo-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hdr__logo-pref {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
}
.hdr__logo-school {
  font-family: "Shippori Mincho", "Zen Old Mincho", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
.hdr__logo-en {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 6px;
  margin-top: 2px;
  width: 100%;
}
.hdr.on-dark .hdr__logo {
  background: rgba(14,30,46,0.92);
  backdrop-filter: blur(8px);
}

.hdr__nav { display: flex; flex: 1; }
.hdr__nav ul { width:100%; display: flex; gap: 38px; justify-content: center; list-style:none; }
.hdr__nav a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.hdr__nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.3s cubic-bezier(.7,0,.3,1);
}
.hdr__nav a:hover { color: var(--teal-deep); }
.hdr__nav a:hover::after { width: 100%; }
.hdr__nav a.is-active::after { width: 100%; }

.hdr__cta { display: flex; gap: 12px; align-items: center; }
.hdr__social {
  display: flex;
  gap: 4px;
  margin-right: 8px;
  padding-right: 12px;
  border-right: 1px solid var(--line);
}
.hdr__social-link {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-3);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.hdr__social-link:hover {
  background: var(--ink);
  color: #fff;
}
.hdr.on-dark .hdr__mobile-title-pref { color: rgba(255,255,255,0.6); }
.hdr.on-dark .hdr__mobile-title-school { color: #fff; }
.hdr.on-dark .hdr__social { border-right-color: rgba(255,255,255,0.25); }
.hdr.on-dark .hdr__social-link { color: rgba(255,255,255,0.8); }
.hdr.on-dark .hdr__social-link:hover { background: #fff; color: var(--ink); }
.hdr__btn {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.hdr__btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.hdr__btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.hdr.on-dark .hdr__btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.06);
}

/* Accent (オープンスクール) — primary CTA, orange */
.hdr__btn--accent {
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 12px 22px 12px 18px;
  position: relative;
  box-shadow: 0 6px 18px rgba(255,107,53,0.32);
  letter-spacing: 0.06em;
}
.hdr__btn--accent:hover {
  background: #E55520;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,107,53,0.42);
}
.hdr__btn-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  animation: hdr-pulse 1.8s ease-in-out infinite;
}
@keyframes hdr-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

/* フローティングCTA — 全ページ右下追従の1枚カード（閉じるボタン付き） */
.fcta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 240px;
  padding: 34px 18px 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(14,30,46,0.22);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fcta__close,
.fcta__minimize {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--paper-2);
  color: var(--ink-3);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.fcta__minimize {
  right: 42px;
}
/* 最小化した状態 */
.fcta.is-minimized {
    height: 48px;
    padding: 15px 20px;
}

.fcta.is-minimized .fcta__row,
.fcta.is-minimized .fcta__close {
  display: none;
}

.fcta.is-minimized .fcta__minimize {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* 最小化時は「＋」に変更 */
.fcta.is-minimized .fcta__minimize svg path {
  d: path("M12 5v14M5 12h14");
}
.fcta__close:hover,.fcta__minimize:hover { background: var(--ink); color: #fff; }
.fcta__lead {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.fcta__row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1.5px solid var(--teal-deep);
  background: #fff;
  color: var(--teal-deep);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.fcta__row:hover { background: var(--teal-deep); color: #fff; }
.fcta__row--primary {
  background: var(--teal-deep);
  color: #fff;
}
.fcta__row--primary:hover { background: #fff; color: var(--teal-deep); }
.fcta__row--accent {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255,107,53,0.32);
}
.fcta__row--accent:hover { background: #E55520; border-color: #E55520; }
@media (max-width: 640px) {
  .fcta { right: 12px; bottom: 12px; width: calc(100vw - 24px); max-width: 280px; }
}

/* ===== アナウンスバー（ピックアップ記事の流れる帯／全ページ固定表示） ===== */
.annc {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--annc-h);
  z-index: 101; /* ヘッダー(100)より前面 */
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--teal-deep);
  color: #fff;
}
.annc__label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 16px;
  background: var(--orange);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.annc__label svg { width: 13px; height: 13px; }
.annc__viewport {
  position: relative;
  flex: 1 1 auto;
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.annc__track {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: annc-scroll 40s linear infinite;
}
.annc:hover .annc__track { animation-play-state: paused; }
.annc__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.annc__item:hover .annc__item-title { text-decoration: underline; }
.annc__item-cat {
  flex: none;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.annc__item-date { opacity: 0.7; font-family: "DM Mono", monospace; font-size: 11px; }
.annc__sep { color: rgba(255,255,255,0.4); }
@keyframes annc-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .annc__track { animation: none; transform: none; }
  .annc__viewport { overflow-x: auto; }
}
@media (max-width: 767px) {
  .annc__label { padding: 0 11px; font-size: 10px; letter-spacing: 0.08em; }
  .annc__label .annc__label-text { display: none; } /* モバイルはアイコンのみ */
  .annc__item { font-size: 12px; padding: 0 16px; }
  .annc__item-date { display: none; }
}

/* ===== Hero — Peek Carousel ===== */
.hero {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
  background: var(--paper);
  padding-top: 72px;
}

/* horizontal track */
.hero__track {
  display: flex;
  height: 100%;
  gap: 1.5%;
  width: 100%;
  transition: transform 1.2s cubic-bezier(.7, 0, .2, 1);
  will-change: transform;
}

.hero__slide {
  flex: 0 0 76%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  /* dim non-active slides */
  opacity: 0.32;
  transform: scale(0.94);
  transform-origin: center;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.4, 0, .2, 1);
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  cursor: default;
}

/* folder-based image fills slide */
.hero__slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}
.hero__slide-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
  z-index: 0;
}
.hero__slide-placeholder span {
  font-family: "Inter", sans-serif;
  font-size: 64px;
  font-weight: 800;
  color: rgba(255,255,255,0.12);
  line-height: 1;
}
.hero__slide-placeholder small {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}

/* Placeholder tones */
.hero__slide--a { background: linear-gradient(135deg, #1e3a52 0%, #0e1e2e 100%); }
.hero__slide--b { background: linear-gradient(135deg, #008a92 0%, #00505a 100%); }
.hero__slide--c { background: linear-gradient(135deg, #c97b5c 0%, #8e4828 100%); }
.hero__slide--d { background: linear-gradient(135deg, #5c7a8b 0%, #2e4858 100%); }
.hero__slide--e { background: linear-gradient(135deg, #3d4d5c 0%, #1a2b3c 100%); }

/* Ken-burns on active slide only */
.hero__slide.is-active image-slot {
  animation: hero-kenburns 8s ease-out forwards;
}
@keyframes hero-kenburns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.05); }
}

/* dim non-active with darker overlay */
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(14,30,46,0.35);
  opacity: 1;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero__slide.is-active::after {
  opacity: 0;
}

/* ===== Slide navigation (bottom-center) ===== */
.hero__nav {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 10;
  color: var(--ink);
}
.hero__nav-count {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
}
.hero__nav-current {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}
.hero__nav-sep {
  font-size: 12px;
  color: var(--ink-3);
}
.hero__nav-total {
  font-size: 12px;
  color: var(--ink-3);
}
.hero__nav-dots {
  display: flex;
  gap: 10px;
}
.hero__nav-dot {
  width: 28px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hero__nav-dot-fill {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(14,30,46,0.2);
  transition: background 0.3s, transform 0.3s;
}
.hero__nav-dot:hover .hero__nav-dot-fill {
  background: rgba(14,30,46,0.45);
}
.hero__nav-dot.is-active .hero__nav-dot-fill {
  background: var(--orange);
}

/* ===== Prev / Next arrows ===== */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 10;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 20px rgba(14,30,46,0.08);
}
.hero__arrow:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.hero__arrow--prev { left: 32px; }
.hero__arrow--next { right: 32px; }
.hero__arrow--next:hover { transform: translateY(-50%) translateX(2px); }
.hero__arrow--prev:hover { transform: translateY(-50%) translateX(-2px); }

/* Slogan overlay */
.hero__slogan {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.05em;
  pointer-events: none;
  white-space: nowrap;
}
.hero__slogan span {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 54px);
  color: #fff;
  letter-spacing: 0.08em;
  text-shadow:
    0 2px 16px rgba(0,0,0,0.45),
    0 0 48px rgba(0,0,0,0.2);
}

/* ===== Entry strip (③) ===== */
.entry {
  position: relative;
  background: linear-gradient(90deg, var(--teal-deep) 0%, var(--teal) 100%);
  color: #fff;
  padding: 28px var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  z-index: 2;
}
.entry__col {
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.entry__col + .entry__col { border-left: 1px solid rgba(255,255,255,0.25); }
.entry__col:hover { background: rgba(255,255,255,0.1); }
.entry__col-num {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.2em;
  margin-bottom: 4px;
}
.entry__col-ttl {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.entry__col-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.entry__col-arrow {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s, border-color 0.2s, transform 0.3s;
}
.entry__col:hover .entry__col-arrow {
  background: #fff;
  border-color: #fff;
  color: var(--teal-deep);
  transform: rotate(-45deg);
}

/* ===== Section common ===== */
.sec {
  position: relative;
  padding: 64px var(--pad-x);
  z-index: 2;
}
.sec__head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.sec__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 60px;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.sec__title .accent {
  color: var(--orange);
  font-style: normal;
}
.sec__title-en {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-3);
  margin-top: 16px;
  display: block;
}
.sec__desc {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-3);
  max-width: 540px;
}

/* ===== Inquiry — 総合的な探究の時間 ===== */
.inq {
  background: var(--paper);
  padding: 64px var(--pad-x);
  position: relative;
  overflow: visible;
}
.inq__head {
  max-width: 920px;
  margin: 0 auto 56px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.inq__eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.inq__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.inq__title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}
.inq__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.04em;
  height: 8px;
  background: rgba(255,107,53,0.18);
  z-index: -1;
}
.inq__lede {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-3);
  max-width: 640px;
  margin: 0 auto;
}

/* 3 pillars: 問い → 地域 → 形にする */
.inq__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}
.inq__pillar {
  background: #fff;
  border: 1px solid var(--line);
  padding: 36px 32px 32px;
  position: relative;
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1), box-shadow 0.4s, border-color 0.4s;
}
.inq__pillar:hover {
  transform: translateY(-6px);
  border-color: var(--teal-deep);
  box-shadow: 0 14px 32px rgba(14,30,46,0.08);
}
.inq__pillar::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 36px; height: 3px;
  background: var(--orange);
}
.inq__pillar-step {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: var(--teal-deep);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.inq__pillar-en {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.inq__pillar-title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.inq__pillar-desc {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--ink-3);
}

/* Feature project bar */
.inq__feature {
  background: var(--ink);
  color: #fff;
  padding: 32px 40px;
  position: relative;
  margin-bottom: 40px;
  z-index: 2;
}
.inq__feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--teal) 60%, transparent 100%);
}
.inq__feature-tag {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--orange);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.inq__feature-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: center;
}
.inq__feature-name {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.inq__feature-desc {
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255,255,255,0.78);
}
.inq__feature-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.inq__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid rgba(255,255,255,0.18);
  padding-left: 16px;
}
.inq__stat .n {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.inq__stat .l {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}

/* Tags row */
.inq__tags {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}
.inq__tags-label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  border-right: 1px solid var(--line);
  padding-right: 16px;
}
.inq__tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.inq__tag {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-deep);
  background: var(--teal-pale);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
  cursor: default;
}
.inq__tag:hover {
  background: var(--teal-deep);
  color: #fff;
}

/* More link */
.inq__more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
  position: relative;
  z-index: 2;
}
.inq__more:hover { background: var(--ink); color: #fff; }
.inq__more .arrow {
  font-family: "DM Mono", monospace;
  transition: transform 0.3s;
}
.inq__more:hover .arrow { transform: translateX(4px); }

/* ===== 5つの学系 — Mosaic ===== */
.gakkei {
  background: var(--paper);
  padding: 40px var(--pad-x) 60px;
  position: relative;
  overflow: hidden;
}
.gakkei::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/campus.webp') center / cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

/* Gakkei header — inline (Diversity-style) */
.gakkei__head {
  margin-bottom: 36px;
  max-width: 900px;
}
.gakkei__head-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.gakkei__head-title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.gakkei__head-title--catch {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 40px;
  border-left: none;
  padding-left: 0;
}
.gakkei__head-title--catch em {
  font-style: normal;
  color: var(--teal-deep);
}
.gakkei__head-title small {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 0.4em;
  color: var(--ink-3);
  margin: 0 0.06em;
}
.gakkei__head-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-3);
  max-width: 560px;
}

/* Mosaic grid: 4 cols × 3 rows */
.gakkei__mosaic {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 440px;
  gap: 4px;
  background: transparent;
  position: relative;
  z-index: 1;
}

/* Title cell — dark ink with eyebrow + giant numeral */
.gakkei__title-cell {
  grid-column: span 2;
  grid-row: span 1;
  background: var(--ink);
  color: #fff;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.gakkei__title-cell::after {
  /* corner orange tick */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 32px; height: 4px;
  background: var(--orange);
}
.gakkei__title-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.6);
}
.gakkei__title-eyebrow .num {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}
.gakkei__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 78px;
  line-height: 0.95;
  color: #fff;
  letter-spacing: 0.01em;
}
.gakkei__title small {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 0.32em;
  color: rgba(255,255,255,0.6);
  margin: 0 0.05em;
}
.gakkei__title-desc {
  display: none;
}
.gakkei__title-deco {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gakkei__title-en {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* Cards as image panels */
.gakkei__card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: var(--ink-2);
  cursor: pointer;
  display: block;
}
/* Specific positions (asymmetric) */
.gakkei__card--n1,
.gakkei__card--n2,
.gakkei__card--n3,
.gakkei__card--n4,
.gakkei__card--n5 { grid-column: span 1; grid-row: span 1; }

/* Tone backgrounds (placeholder photo tones) */
/* デフォルト: 各学系・落ち着いたテーマカラー */
.gakkei__card--a .gakkei__card-photo { background: linear-gradient(160deg, #2D6A4F 0%, #1B4332 100%); } /* 自然: 深緑 */
.gakkei__card--b .gakkei__card-photo { background: linear-gradient(160deg, #0B6272 0%, #07424E 100%); } /* 医療: ダークteal */
.gakkei__card--c .gakkei__card-photo { background: linear-gradient(160deg, #A8521A 0%, #6E3410 100%); } /* 地域: 落ち着いたオレンジ */
.gakkei__card--d .gakkei__card-photo { background: linear-gradient(160deg, #2A4B82 0%, #1A3060 100%); } /* 人文: ダーク藍 */
.gakkei__card--e .gakkei__card-photo { background: linear-gradient(160deg, #52297A 0%, #341A52 100%); } /* 芸術: ダーク紫 */
/* ホバー: わずかに明るく */
.gakkei__card--a:hover .gakkei__card-photo { background: linear-gradient(160deg, #3A8A65 0%, #255A44 100%); }
.gakkei__card--b:hover .gakkei__card-photo { background: linear-gradient(160deg, #0E7E92 0%, #0A5865 100%); }
.gakkei__card--c:hover .gakkei__card-photo { background: linear-gradient(160deg, #C46422 0%, #8A4016 100%); }
.gakkei__card--d:hover .gakkei__card-photo { background: linear-gradient(160deg, #3560A8 0%, #243E78 100%); }
.gakkei__card--e:hover .gakkei__card-photo { background: linear-gradient(160deg, #6A369E 0%, #46226A 100%); }

.gakkei__card-photo {
  position: absolute;
  inset: 0;
  transition: transform 1s cubic-bezier(.2,.7,.3,1);
}
.gakkei__card:hover .gakkei__card-photo { transform: scale(1.06); }

.gakkei__card-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.4s ease;
  z-index: 1;
}
.gakkei__card:hover .gakkei__card-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(14,30,46,0.55) 100%);
}

.gakkei__card-num {
  position: absolute;
  top: 20px; left: 22px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  z-index: 3;
}

.gakkei__card-arrow {
  position: absolute;
  top: 18px; right: 18px;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  z-index: 3;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.gakkei__card:hover .gakkei__card-arrow {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateX(3px);
}

.gakkei__card-illust {
  position: absolute;
  bottom: 0;
  right: -8px;
  height: 88%;
  width: auto;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.08));
  transition: transform 0.5s cubic-bezier(.2,.8,.3,1), opacity 0.4s ease;
}
.gakkei__card:hover .gakkei__card-illust {
  transform: translateY(-6px) scale(1.03);
}

.gakkei__card-kanji {
  position: absolute;
  bottom: -16px;
  right: -8px;
  font-family: "Zen Old Mincho", "Noto Sans JP", serif;
  font-size: 170px;
  font-weight: 900;
  line-height: 1;
  color: rgba(14,30,46,0.08);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  display: none;
}

.gakkei__card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 26px;
  z-index: 2;
  color: #fff;
}
.gakkei__card-en {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.gakkei__card-name {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.gakkei__card-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 380px;
}

/* Special promo bar — sit below mosaic with its own padding */
.gakkei__special {
  margin: 50px 0 0;
  padding: 28px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 32px;
}
.gakkei__special-tag {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--orange);
  letter-spacing: 0.2em;
  padding: 6px 12px;
  border: 1px solid var(--orange);
  background: var(--orange-pale);
}
.gakkei__special-name {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}
.gakkei__special-desc {
  color: var(--ink-3);
  font-size: 13px;
  flex: 1;
}
.gakkei__special-link {
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== Diversity (⑥) ===== */
.diversity {
  background: #F2EDE4;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.diversity::before {
  content: "DIVERSITY";
  position: absolute;
  top: 60px; right: -40px;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 220px;
  font-weight: 300;
  color: rgba(14,30,46,0.05);
  letter-spacing: -0.04em;
  pointer-events: none;
}
.diversity__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.diversity__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 72px;
  line-height: 1.05;
  color: var(--ink);
}
.diversity__title em { font-style: normal; color: var(--orange); }
.diversity__title .accent-bar {
  display: inline-block;
  width: 0.7em; height: 0.04em;
  background: var(--teal-deep);
  vertical-align: 0.3em;
  margin-right: 0.2em;
}
.diversity__sub {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 20px;
  color: var(--teal-deep);
  margin-top: 28px;
}
.diversity__lede {
  margin-top: 36px;
  font-size: 16px;
  line-height: 2;
  color: var(--ink-3);
  max-width: 480px;
}

.diversity__cards {
  display: grid; gap: 16px;
}
.diversity__card {
  background: #fff;
  border: 1px solid rgba(0,138,146,0.15);
  padding: 32px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.diversity__card:hover {
  background: #fff;
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,138,146,0.15);
}
.diversity__card.orange:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 32px rgba(255,107,53,0.15);
}
.diversity__card-tag {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--teal-deep);
  margin-bottom: 12px;
}
.diversity__card.orange .diversity__card-tag { color: var(--orange); }
.diversity__card-h {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 14px;
}
.diversity__card-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-3);
}
.diversity__card-link {
  margin-top: 24px;
  font-size: 13px;
  color: var(--teal-deep);
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600;
  text-decoration: none;
}
.diversity__card.orange .diversity__card-link { color: var(--orange); }
.diversity__card-arrow {
  width: 32px; height: 32px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform 0.3s;
}
.diversity__card:hover .diversity__card-arrow { transform: rotate(-45deg); }

/* ===== News (⑦) ===== */
.news { background: var(--paper); }
.news__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
}
.news__list {}
.news__item {
  display: grid;
  grid-template-columns: 110px 70px 1fr 30px;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding 0.3s;
}
.news__item:hover { padding-left: 12px; }
.news__date {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.news__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  border: 1px solid var(--line);
  padding: 5px 10px;
  text-align: center;
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-decoration: none;
}
.news__cat.teal,.cat_4 { color: var(--teal-deep); border-color: var(--teal); background: var(--teal-pale); }
.news__cat.orange,.cat_6 { color: var(--orange); border-color: var(--orange); background: var(--orange-pale); }
.news__cat.ink,.cat_3 { color: #fff; background: var(--ink); border-color: var(--ink); }
.news__cat.red,.cat_5 { color: #fff; background: #c0392b; border-color: #c0392b; }
.news__h {
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
  transition: color 0.3s;
}
.news__item:hover .news__h { color: var(--teal-deep); }
.news__arrow {
  font-size: 14px; color: var(--ink-3);
  transition: transform 0.3s, color 0.3s;
}
.news__item:hover .news__arrow { color: var(--teal-deep); transform: translateX(6px); }

.news__events {}
.news__events-h {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 24px;
}
.news__event {
  background: #fff;
  padding: 20px 24px;
  border-left: 3px solid var(--teal);
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.news__event:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(14,30,46,0.08);
}
.news__event-date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 18px;
}
.news__event-day {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  color: var(--teal-deep);
}
.news__event-month {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--ink-3);
  margin-top: 4px;
}
.news__event-title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
}
.news__event-time {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
}
.news__event.orange { border-left-color: var(--orange); }
.news__event.orange .news__event-day { color: var(--orange); }

/* ===== Stats (⑧) ===== */
.stats {
  background: var(--paper-2);
  padding: 64px var(--pad-x);
}
.stats__inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  align-items: center;
}
.stats__h {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.2;
}
.stats__h .accent-bar {
  display: block;
  width: 40px; height: 3px;
  background: var(--teal);
  margin-top: 20px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stats__cell {
  position: relative;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.stats__cell-num {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 76px;
  line-height: 0.95;
  color: var(--ink);
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.stats__cell-unit {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 26px;
  color: var(--orange);
  font-weight: 700;
}
.stats__cell-label {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.stats__cell-sub {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.stats__more {
  margin-top: 56px;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
}
.stats__more:hover { color: var(--teal-deep); border-color: var(--teal-deep); gap: 22px; }

/* ===== Instagram (⑨) ===== */
.ig { background: var(--paper); padding: 50px var(--pad-x); }
.ig__head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 40px; }
.ig__h {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 56px;
  letter-spacing: 0.01em;
}
.ig__handle {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  color: var(--ink-3);
  margin-left: 20px;
}
.ig__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.ig__cell {
  aspect-ratio: 1;
  background: var(--c, #ddd);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.ig__cell::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5));
  opacity: 0;
  transition: opacity 0.3s;
}
.ig__cell:hover::before { opacity: 1; }
.ig__cell-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.3s;
}
.ig__cell:hover .ig__cell-tag { opacity: 1; }
.ig__follow {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}
.ig__follow a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}
.ig__follow a:hover { color: var(--teal-deep); border-color: var(--teal-deep); }



/* ===== ArticleSlider (活動ブログ・スライダー) ===== */
.artslider {
  background: var(--paper);
  padding: 80px 0 40px;
  overflow: hidden;
  position: relative;
  --card-gap: 24px;
  --card-w: calc((100vw - 2 * var(--pad-x) - 2 * var(--card-gap)) / 3);
}
.artslider__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
  padding: 0 var(--pad-x);
}
.artslider__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.artslider__eyebrow .num {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}
.artslider__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.artslider__lede {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-3);
  max-width: 520px;
}

.artslider__controls {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 4px;
}
.artslider__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.artslider__btn:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.artslider__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.artslider__count {
  font-family: "DM Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  display: flex;
  gap: 6px;
  align-items: baseline;
  min-width: 64px;
  justify-content: center;
}
.artslider__count .cur {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.artslider__count .sep,
.artslider__count .tot {
  font-size: 13px;
  color: var(--ink-3);
}
.artslider__more {
  margin-left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.artslider__more:hover {
  background: var(--ink);
  color: #fff;
}
.artslider__more .arrow {
  font-family: "DM Mono", monospace;
  transition: transform 0.3s;
}
.artslider__more:hover .arrow { transform: translateX(4px); }

/* Track */
.artslider__viewport {
  position: relative;
  width: 100%;
  overflow: visible;
}
.artslider__track {
  display: flex;
  gap: var(--card-gap);
  transition: transform 0.7s cubic-bezier(.5, 0, .15, 1);
  will-change: transform;
}
.artslider__card {
  flex: 0 0 var(--card-w);
}
.artslider__card.is-ghost {
  pointer-events: none;
  opacity: 0.5;
  filter: saturate(0.5);
  transition: opacity 0.6s;
}
.artslider__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.artslider__card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-2);
  margin-bottom: 18px;
}
.artslider__card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.artslider__card-photo image-slot {
  --image-slot-radius: 0;
  transition: transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.artslider__card-link:hover .artslider__card-photo image-slot {
  transform: scale(1.05);
}
.artslider__card--a .artslider__card-photo { background: linear-gradient(135deg, #2e4858 0%, #0e1e2e 100%); }
.artslider__card--b .artslider__card-photo { background: linear-gradient(135deg, #c97b5c 0%, #8e4828 100%); }
.artslider__card--c .artslider__card-photo { background: linear-gradient(135deg, #008a92 0%, #00505a 100%); }
.artslider__card--d .artslider__card-photo { background: linear-gradient(135deg, #5c7a8b 0%, #2e4858 100%); }
.artslider__card--e .artslider__card-photo { background: linear-gradient(135deg, #5c8b7a 0%, #2e5848 100%); }

.artslider__card-body {
  padding: 0 2px;
}
.artslider__card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.artslider__card-date {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.artslider__card-era {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--teal-deep);
  padding: 3px 10px;
  letter-spacing: 0.04em;
}
.artslider__card-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.artslider__card-cat {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--teal-deep);
  background: var(--teal-pale);
  padding: 4px 10px;
  letter-spacing: 0.02em;
  border-radius: 2px;
  text-decoration: none;
}
.artslider__card-title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  transition: color 0.2s;
}
.artslider__card-link:hover .artslider__card-title {
  color: var(--teal-deep);
}

/* ===== NavGrid (朝日高校風3×2画像ナビゲーション) ===== */
.navgrid {
  background: var(--paper);
  padding: 50px 0;
}
.navgrid__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.navgrid__card {
  position: relative;
  display: block;
  height: 320px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  background-color: var(--ink-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.navgrid__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,30,46,0.45);
  transition: background 0.5s ease;
  z-index: 1;
}
.navgrid__card:hover .navgrid__overlay {
  background: rgba(0,138,146,0.55);
}

.navgrid__body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #fff;
  text-align: center;
  padding: 24px;
}
.navgrid__en {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.navgrid__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.navgrid__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  margin-top: 4px;
  transition: background 0.3s, transform 0.3s, border-color 0.3s, color 0.3s;
}
.navgrid__card:hover .navgrid__arrow {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateX(4px);
}


/* ===== CampusBanner ===== */
.campus-banner {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: var(--ink-2);
}
.campus-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,30,46,0.45);
  pointer-events: none;
  z-index: 1;
}

/* ===== YouTubeSection ===== */
.ytsec {
  background: var(--paper);
  padding: 64px var(--pad-x);
}
.ytsec__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.ytsec__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.ytsec__eyebrow .num {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}
.ytsec__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.ytsec__lede {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-3);
  max-width: 520px;
}
.ytsec__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.ytsec__more:hover { background: var(--ink); color: #fff; }
.ytsec__more .arrow {
  font-family: "DM Mono", monospace;
  transition: transform 0.3s;
}
.ytsec__more:hover .arrow { transform: translateX(4px); }

.ytsec__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.ytsec__item {
  display: flex;
  flex-direction: column;
}
.ytsec__player {
  position: relative;
  aspect-ratio: 16 / 9;
  /* background: var(--ink-2); */
  overflow: hidden;
  margin-bottom: 18px;
}
.ytsec__player iframe,
.ytsec__player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  /* background: var(--ink); */
}
.ytsec__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,107,53,0.15), transparent 50%),
    linear-gradient(135deg, #2e4858 0%, #0e1e2e 100%);
  color: rgba(255,255,255,0.7);
}
.ytsec__placeholder-icon {
  display: grid; place-items: center;
}
.ytsec__placeholder-text {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.ytsec__body {
  padding: 0 2px;
}
.ytsec__tag {
  display: inline-block;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-pale);
  padding: 4px 12px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.ytsec__name {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}


/* ===== MapSection (アクセス) ===== */
.mapsec {
  background: var(--paper);
  padding: 70px var(--pad-x) 90px;
}
.mapsec__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: stretch;
}
.mapsec__info {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}
.mapsec__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.mapsec__eyebrow .num {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}
.mapsec__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.mapsec__routes {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}
.mapsec__route {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(14,30,46,0.09);
}
.mapsec__route:first-child {
  border-top: 1px solid rgba(14,30,46,0.09);
}
.mapsec__route-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: var(--teal-pale);
  color: var(--teal-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.mapsec__route-body { flex: 1; min-width: 0; }
.mapsec__route-label {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: var(--teal-deep);
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  margin-bottom: 4px;
}
.mapsec__route-main {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 4px;
}
.mapsec__route-sub {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-3);
}
.mapsec__addr {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  padding-top: 22px;
}
.mapsec__addr-line {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}
.mapsec__addr-label {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.15em;
  padding-top: 4px;
}
.mapsec__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.mapsec__more:hover { background: var(--ink); color: #fff; }
.mapsec__more .arrow {
  font-family: "DM Mono", monospace;
  transition: transform 0.3s;
}
.mapsec__more:hover .arrow { transform: translateX(4px); }
.mapsec__map {
  position: relative;
  min-height: 380px;
  background: var(--ink-2);
  overflow: hidden;
}
.mapsec__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  filter: grayscale(0.2) saturate(0.9);
}

/* ===== Footer (⑩) ===== */
.ftr {
  background: var(--paper-2);
  color: var(--ink);
  padding: 120px var(--pad-x) 0;
  position: relative;
  overflow: hidden;
}
.ftr::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-deep), var(--teal-mid), var(--orange));
}
.ftr__top {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(14,30,46,0.12);
}
.ftr__brand {}
.ftr__brand-mark {
  width: 60px; height: 60px;
  background: var(--teal-deep);
  color: #fff;
  /* display: grid; place-items: center; */
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800; font-size: 28px;
  border-radius: 2px;
  padding: 2px;
}
.ftr__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* ⚠️ 校章プレースホルダー — WordPress実装時に校章画像へ差し替え（README「校章の差し替え」参照） */
.ftr__brand-crest-placeholder {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px dashed rgba(255,255,255,0.75);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.ftr__brand-name {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin-top: 24px;
}
.ftr__brand-en {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 4px;
}
.ftr__addr {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 24px;
  line-height: 1.9;
}
.ftr__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.ftr__nav-col-h {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.ftr__nav-col-h::before {
  content: ""; width: 16px; height: 1px; background: var(--ink-3);
}
.ftr__nav-col ul { list-style: none; }
.ftr__nav-col li { margin-bottom: 12px; }
.ftr__nav-col a {
  color: var(--ink-3);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.ftr__nav-col a:hover { color: var(--ink); }
.ftr__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--pad-x);
  margin: 0 calc(-1 * var(--pad-x));
  background: linear-gradient(160deg, var(--teal-deep) 0%, #006A72 100%);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
}
.ftr__social { display: flex; gap: 20px; align-items: center; }
.ftr__social a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  display: flex;
  transition: color 0.2s, transform 0.2s;
}
.ftr__social a:hover { color: #fff; transform: translateY(-2px); }

/* ===== Animation primitives ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(.2,.7,.3,1), transform 0.9s cubic-bezier(.2,.7,.3,1);
}
.fade-up.in { opacity: 1; transform: none; }

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}
.fade-in.in { opacity: 1; }

.split-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.7,0,.3,1);
}
.in .split-line > span,
.split-line.in > span { transform: none; }


.news.sec { padding-top: 40px; padding-bottom: 32px; }

/* ===== Mascot accents (school-guide illustrations) ===== */
.mascot {
  filter: drop-shadow(0 8px 20px rgba(14,30,46,0.12));
}
/* Ensure parent sections clip-or-overflow appropriately */
.gakkei, .diversity, .news, .artslider, .navgrid, .ytsec {
  position: relative;
}
/* allow mascots to spill across section seams */
.gakkei, .diversity, .artslider, .news, .navgrid, .ytsec {
  overflow: visible !important;
}

/* Mascots are background; lift section inner content above */
.gakkei__mosaic, .gakkei__special,
.diversity__inner,
.news__inner,
.artslider__head, .artslider__viewport,
.navgrid__grid,
.ytsec__head, .ytsec__grid {
  position: relative;
  z-index: 2;
}

/* News section — laptop mascot below the events list */
.news__mascot {
  margin-top: 32px;
  width: 440px;
  max-width: 100%;
  margin-left: auto;
  filter: drop-shadow(0 6px 16px rgba(14,30,46,0.10));
  position: relative;
  z-index: 2;
}

/* Lift baseball mascot a bit so feet clear the next section title */
.diversity > .mascot {
  bottom: -80px !important;
}

/* Shorten 特別進学グループ bar so basketball mascot has room on the right */
.gakkei__special {
  max-width: calc(75% - 4px);
}

/* Mobile title — hidden on desktop */
.hdr__mobile-title { display: none; }

/* ===== Hamburger button (hidden on desktop) ===== */
.hdr__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  z-index: 120;
  position: relative;
  color: inherit;
}
.hdr__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(.7,0,.3,1), opacity 0.2s;
}
.hdr__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hdr__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile full-screen menu (hidden on desktop) ===== */
.hdr__mobile-menu {
  display: none;
  position: fixed;
  top: calc(60px + var(--annc-h));
  left: 0; right: 0; bottom: 0;
  background: var(--paper);
  z-index: 90;
  flex-direction: column;
  padding: 32px 24px 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.7,0,.3,1), visibility 0s linear 0.35s;
}
.hdr__mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.7,0,.3,1), visibility 0s;
}
.hdr__mobile-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hdr__mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.04em;
  transition: color 0.2s, padding-left 0.25s;
}
.hdr__mobile-nav a::after {
  content: "→";
  font-family: "DM Mono", monospace;
  font-size: 14px;
  color: var(--ink-3);
  transition: transform 0.2s, color 0.2s;
}
.hdr__mobile-nav a:hover { color: var(--teal-deep); padding-left: 6px; }
.hdr__mobile-nav a:hover::after { color: var(--teal-deep); transform: translateX(4px); }
.hdr__mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}
.hdr__mobile-cta .hdr__btn {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 16px 24px;
  border-radius: 6px;
}
.hdr__mobile-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hdr__mobile-social-link {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-3);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hdr__mobile-social-link:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* ---------- Tablet (768px – 1199px) ---------- */
@media (max-width: 1199px) {
  :root {
    --pad-x: 48px;
  }

  .hdr { padding: 0 32px 0 160px; }
  .hdr__logo { width: 132px; height: 142px; }
  .hdr__nav { gap: 22px; }
  .hdr__nav a { font-size: 12px; }
  .hdr__social { display: none; }

  .sec__title { font-size: 48px; }
  .sec__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }

  .inq__title { font-size: 52px; }
  .inq__feature-body { grid-template-columns: 1fr; gap: 28px; }

  .gakkei__head-title { font-size: 44px; }
  .gakkei__title { font-size: 60px; }
  .gakkei__mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; }
  .gakkei__card--n1, .gakkei__card--n2, .gakkei__card--n3,
  .gakkei__card--n4, .gakkei__card--n5 { grid-column: span 1; grid-row: span 1; }
  .gakkei__special { max-width: 100%; }

  .diversity__title { font-size: 56px; }
  .diversity::before { font-size: 140px; }

  .news__inner { grid-template-columns: 1fr; gap: 56px; }

  .stats__inner { grid-template-columns: 1fr; gap: 40px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .ig__grid { grid-template-columns: repeat(4, 1fr); }

  .artslider { --card-w: calc((100vw - 2 * var(--pad-x) - var(--card-gap)) / 2); }

  .navgrid__grid { grid-template-columns: repeat(3, 1fr); }

  .ytsec__grid { grid-template-columns: repeat(2, 1fr); }

  .mapsec__inner { grid-template-columns: 1fr; gap: 40px; }
  .mapsec__map { min-height: 340px; }

  .ftr__top { grid-template-columns: 1fr; gap: 48px; }
  .ftr__nav { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Mobile (≤767px) ---------- */
@media (max-width: 767px) {
  :root {
    --pad-x: 20px;
  }

  /* Header */
  .hdr {
    height: 72px;
    padding: 0 16px 0 114px;
  }
  .hdr__logo {
    width: 96px;
    height: 96px; /* perfect square */
    padding: 12px 10px 10px;
  }
  .hdr__logo-mark { width: 36px; height: 36px; }
  .hdr__logo-char { font-size: 16px; }
  .hdr__logo-crest-placeholder { width: 34px; height: 34px; font-size: 8px; }
  .hdr__logo-pref { font-size: 8.5px; }
  .hdr__logo-school { font-size: 12.5px; white-space: nowrap; }
  .hdr__logo-en { display: none; } /* hidden: too small to read, would overflow */
  .hdr__logo::after { width: 18px; }
  .hdr__nav { display: none; }
  .hdr__cta { display: none; }
  .hdr__hamburger { display: flex; }
  .hdr__mobile-menu { display: flex; top: calc(72px + var(--annc-h)); }

  /* Mobile title (school name in header bar) */
  .hdr__mobile-title {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 5px;
    margin-right: auto;
    white-space: nowrap;
  }
  .hdr__mobile-title-pref,
  .hdr__mobile-title-school {
    font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.04em;
  }

  /* Hero */
  .hero {
    height: 400px;
    padding-top: 72px;
  }
  /* Mobile: peek carousel — JS slideW=82, gap=2.5 */
  .hero__track { gap: 2.5%; }
  .hero__slide {
    flex: 0 0 82%;
    border-radius: 8px;
    transform: none !important; /* no scale on mobile */
    opacity: 0.45;
  }
  .hero__slide.is-active { opacity: 1 !important; }
  .hero__arrow { width: 40px; height: 40px; }
  .hero__arrow--prev { left: 12px; }
  .hero__arrow--next { right: 12px; }
  .hero__nav { bottom: 16px; gap: 14px; }
  .hero__nav-current { font-size: 16px; }
  .hero__slogan { bottom: 52px; gap: 0; }
  .hero__slogan span { letter-spacing: 0.04em; }

  /* Entry strip */
  .entry {
    grid-template-columns: 1fr;
    padding: 0 var(--pad-x);
  }
  .entry__col { padding: 18px 0; justify-content: space-between; }
  .entry__col + .entry__col {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.25);
  }

  /* Section common */
  .sec { padding: 56px var(--pad-x); }
  .sec__title { font-size: 36px; }
  .sec__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .sec__desc { font-size: 14px; }

  /* Inquiry */
  .inq { padding: 56px var(--pad-x); }
  .inq__title { font-size: 36px; line-height: 1.35; }
  .inq__pillars { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .inq__pillar { padding: 28px 24px; }
  .inq__pillar-step { font-size: 36px; }
  .inq__pillar-title { font-size: 20px; }
  .inq__feature { padding: 24px 20px; margin-bottom: 28px; }
  .inq__feature-body { grid-template-columns: 1fr; gap: 20px; }
  .inq__feature-name { font-size: 20px; }
  .inq__feature-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .inq__stat .n { font-size: 26px; }

  /* Gakkei */
  .gakkei { padding: 56px var(--pad-x) 40px; }
  .gakkei__head-title { font-size: 36px; }
  .gakkei__mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 260px;
  }
  .gakkei__card--n1, .gakkei__card--n2, .gakkei__card--n3,
  .gakkei__card--n4, .gakkei__card--n5 { grid-column: span 1; grid-row: span 1; }
  .gakkei__title-cell {
    grid-column: span 2;
    padding: 20px 16px;
  }
  .gakkei__title { font-size: 36px; }
  .gakkei__card-name { font-size: 16px; }
  .gakkei__card-desc { font-size: 11px; }
  .gakkei__special {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px 20px;
  }
  .gakkei__special-name { font-size: 18px; }

  /* Diversity */
  .diversity__inner { grid-template-columns: 1fr; gap: 40px; }
  .diversity__title { font-size: 40px; }
  .diversity__sub { font-size: 16px; margin-top: 16px; }
  .diversity::before { display: none; }
  .diversity__card { padding: 24px 20px; }
  .diversity__card-h { font-size: 20px; }

  /* News */
  .news__inner { grid-template-columns: 1fr; gap: 40px; }
  .news__item {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    padding: 18px 0;
    align-items: start;
  }
  .news__arrow { display: none; }
  .news__h { grid-column: 1 / -1; grid-row: 2; font-size: 14px; line-height: 1.6; }
  .news__events-h { font-size: 20px; }
  .news__mascot { width: 280px; }

  /* Stats */
  .stats { padding: 56px var(--pad-x); }
  .stats__inner { grid-template-columns: 1fr; gap: 32px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats__cell-num { font-size: 56px; }
  .stats__h { font-size: 28px; }

  /* Instagram */
  .ig { padding: 40px var(--pad-x); }
  .ig__h { font-size: 36px; }
  .ig__head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
  .ig__grid { grid-template-columns: repeat(3, 1fr); }

  /* Article slider — スマホはネイティブ横スクロール（スワイプ）に切り替え。
     transformでのページ送りは無効化し、ページ全体が横に動くのを防ぐ */
  .artslider {
    --card-w: calc(100vw - 2 * var(--pad-x) - 32px);
    --card-gap: 16px;
    padding: 56px 0 32px;
  }
  .artslider__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--pad-x);
    padding: 0 var(--pad-x);
    scrollbar-width: none;
  }
  .artslider__viewport::-webkit-scrollbar { display: none; }
  .artslider__track {
    transform: none !important;
    transition: none;
    width: max-content;
  }
  .artslider__card { scroll-snap-align: start; }
  .artslider__card.is-ghost { display: none; }
  .artslider__head {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }
  .artslider__title { font-size: 28px; }
  .artslider__controls { flex-wrap: wrap; gap: 10px; }
  .artslider__more { margin-left: 0; font-size: 12px; padding: 10px 16px; }

  /* NavGrid */
  .navgrid__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
    gap: 4px;
  }
  .navgrid__card { height: 200px; }
  .navgrid__title { font-size: 18px; }

  /* YouTube */
  .ytsec { padding: 56px var(--pad-x); }
  .ytsec__grid { grid-template-columns: 1fr; gap: 32px; }
  .ytsec__title { font-size: 28px; }
  .ytsec__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }

  /* Map */
  .mapsec { padding: 56px var(--pad-x); }
  .mapsec__inner { grid-template-columns: 1fr; gap: 32px; }
  .mapsec__title { font-size: 28px; }
  .mapsec__map { min-height: 260px; }

  /* Footer */
  .ftr { padding: 72px var(--pad-x) 32px; }
  .ftr__top { grid-template-columns: 1fr; gap: 40px; }
  .ftr__nav { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ftr__brand-name { font-size: 18px; }
  .ftr__bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .ftr__social { justify-content: center; gap: 20px; }
}

/* ============================================================
   ABOUT PAGE — 学校紹介
   ============================================================ */

/* PageHero */
/* 写真は使わず、entry strip（トップページ）と同じティールのグラデーション帯にする */
.page-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, var(--teal-deep) 0%, var(--teal) 100%);
  padding: 128px var(--pad-x) 32px;
  box-sizing: border-box;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: radial-gradient(circle, #fff 1.6px, transparent 1.8px);
  background-size: 18px 18px;
  pointer-events: none;
}
.page-hero__body {
  position: relative;
  z-index: 1;
}
.page-hero__breadcrumb {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
.page-hero__breadcrumb a:hover { color: #fff; }
.page-hero__bc-sep { margin: 0 6px; }
.page-hero__en {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.page-hero__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0;
}

/* ページ制作状況の案内 */
.work-note {
  padding: 0 var(--pad-x);
  background: var(--paper);
}
.work-note--below-hero {
  padding-top: 28px;
}
.work-note--tankyu {
  padding-top: 28px;
  background: var(--paper-2);
}
.work-note__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(225, 93, 38, 0.28);
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.72);
}
.work-note__label {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.work-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-3);
}

/* ── 校長メッセージ ── */
.ab-principal {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 72px var(--pad-x) 40px;
}
.ab-principal::before {
  content: "";
  position: absolute;
  right: min(6vw, 80px);
  top: 72px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  opacity: 0.22;
  background-image: radial-gradient(circle, var(--teal-deep) 1.7px, transparent 1.9px);
  background-size: 13px 13px;
  pointer-events: none;
}
.ab-principal::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--teal-deep) 0%, var(--orange) 100%);
  opacity: 0.6;
}
.ab-principal__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ab-principal__header {
  margin-bottom: 56px;
}
.ab-principal__header .eyebrow { margin-bottom: 20px; }
.ab-principal__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0;
}
.ab-principal__content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}
.ab-principal__photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-2);
}
.ab-principal__name-block {
  margin-top: 20px;
  text-align: center;
}
.ab-principal__role {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.ab-principal__name {
  font-family: "Noto Sans JP", sans-serif;
  /* font-weight: 700; */
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0.1em;
}
.ab-principal__text p {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.ab-principal__text p:last-child { margin-bottom: 0; }
.ab-principal__date {
  margin-top: 32px;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-align: right;
}

/* ── スクールミッション ── */
.ab-mission-wrap { background: var(--paper-2); }
.ab-mission {
  position: relative;
  overflow: hidden;
  padding: 72px var(--pad-x) 60px;
  text-align: center;
  background:
    radial-gradient(circle at 10% 90%, rgba(0,190,200,0.14) 0 100px, transparent 102px),
    radial-gradient(circle at 92% 12%, rgba(0,138,146,0.12) 0 80px, transparent 82px),
    linear-gradient(160deg, #E4F6F7 0%, #F0FAFB 50%, #FAFFFE 100%);
  color: var(--ink);
}
.ab-mission::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle, var(--teal-deep) 1.6px, transparent 1.8px);
  background-size: 20px 20px;
  pointer-events: none;
}
.ab-mission .eyebrow { color: var(--teal-deep); margin-bottom: 28px; }
.ab-mission__statement {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}
.ab-mission__statement em {
  font-style: normal;
  color: var(--teal-deep);
  border-bottom: 2px solid var(--teal-deep);
  padding-bottom: 2px;
}
.ab-mission__sub {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-3);
  margin: 0;
}

/* ── 学校教育目標 ── */
.ab-goals {
  position: relative;
  overflow: hidden;
  padding: 64px var(--pad-x);
  background:
    radial-gradient(circle at 90% 80%, rgba(255,107,53,0.12) 0 110px, transparent 112px),
    radial-gradient(circle at 8% 20%, rgba(166,124,46,0.10) 0 80px, transparent 82px),
    linear-gradient(150deg, #FDF8F0 0%, #FAFAF5 60%, #F8F4EE 100%);
}
.ab-goals::before {
  content: none;
}
.ab-goals__inner { max-width: 1100px; margin: 0 auto; }
.ab-goals .eyebrow { margin-bottom: 16px; }
.ab-goals__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0 0 48px;
}
.ab-goals__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ab-goals__pillar {
  --acc: var(--teal-deep);
  position: relative;
  background: #fff;
  border: 1px solid rgba(14,30,46,0.10);
  border-top: 3px solid var(--acc);
  border-radius: 5px;
  padding: 34px 30px 32px;
  transition: transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.35s, border-color 0.35s;
}
.ab-goals__pillar.acc-0 { --acc: #008A92; }
.ab-goals__pillar.acc-1 { --acc: #FF6B35; }
.ab-goals__pillar.acc-2 { --acc: #A67C2E; }
.ab-goals__pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(14,30,46,0.10);
  border-color: var(--acc);
}
.ab-goals__pillar-num {
  font-family: "Inter", sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--acc);
  margin-bottom: 18px;
}
.ab-goals__pillar-num::after {
  content: "";
  display: block;
  width: 32px; height: 3px;
  background: var(--acc);
  margin-top: 16px;
}
.ab-goals__pillar-body {
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink);
  font-weight: 500;
}

/* ── Photo strip divider ── */
.ab-photo-strip {
  display: flex;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.ab-photo-strip__cell {
  flex: 1;
  overflow: hidden;
}
.ab-photo-strip__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.ab-photo-strip__cell:hover img {
  transform: scale(1.06);
}

/* ── グラデュエーションポリシー ── */
.ab-gp {
  position: relative;
  overflow: hidden;
  padding: 64px var(--pad-x);
  background: linear-gradient(170deg, #F5FFFE 0%, #EEF9FA 40%, #F8FBFC 100%);
}
.ab-gp::before {
  content: none;
}
.ab-gp__inner { max-width: 1100px; margin: 0 auto; }
.ab-gp .eyebrow { margin-bottom: 16px; }
.ab-gp__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0 0 36px;
}
.ab-gp__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ab-gp__item {
  position: relative;
  background: var(--paper-2);
  border: 1px solid rgba(14,30,46,0.08);
  border-radius: 6px;
  padding: 32px 26px 30px;
  transition: transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.35s;
}
.ab-gp__item:first-child { border-top: 1px solid rgba(14,30,46,0.08); }
.ab-gp__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(14,30,46,0.09);
}
.ab-gp__item-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  padding-top: 0;
}
.ab-gp__item-body {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink);
}

/* ── 沿革 ── */
.ab-history {
  position: relative;
  overflow: hidden;
  padding: 72px var(--pad-x);
  background: linear-gradient(160deg, #F2F5F7 0%, #FAFBFC 50%, #F4F6F8 100%);
}
.ab-history::before {
  content: none;
}
.ab-history::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--teal-deep) 0%, var(--teal-mid) 100%);
  opacity: 0.5;
}
.ab-history__inner { max-width: 980px; margin: 0 auto; }
.ab-history .eyebrow { margin-bottom: 16px; }
.ab-history__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0 0 56px;
}

/* timeline */
.ab-tl { display: flex; flex-direction: column; }
.ab-tl__row {
  display: grid;
  grid-template-columns: 128px 40px 1fr;
  align-items: stretch;
}
.ab-tl__year {
  padding: 22px 22px 22px 0;
  text-align: right;
}
.ab-tl__year-main {
  display: block;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.ab-tl__year-era {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 5px;
  letter-spacing: 0.04em;
}
.ab-tl__spine {
  position: relative;
  display: flex;
  justify-content: center;
}
.ab-tl__spine::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: rgba(14,30,46,0.14);
  transform: translateX(-50%);
}
.ab-tl__row:first-child .ab-tl__spine::before { top: 28px; }
.ab-tl__row:last-child .ab-tl__spine::before { bottom: auto; height: 28px; }
.ab-tl__node {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--teal-deep);
  box-shadow: 0 0 0 4px var(--paper-2);
  flex: 0 0 auto;
  align-self: flex-start;
}
.ab-tl__event { padding: 14px 0 14px 28px; }
.ab-tl__event p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(14,30,46,0.07);
  border-left: 3px solid transparent;
  border-radius: 6px;
  padding: 16px 20px;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.ab-tl__row:hover .ab-tl__event p {
  box-shadow: 0 8px 22px rgba(14,30,46,0.08);
  transform: translateY(-2px);
}
/* milestone */
.ab-tl__row.is-hot .ab-tl__node {
  width: 20px; height: 20px;
  margin-top: 20px;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 5px rgba(255,107,53,0.18), 0 0 0 9px rgba(255,107,53,0.07);
  animation: ab-tl-pulse 2.4s ease-in-out infinite;
}
@keyframes ab-tl-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(255,107,53,0.18), 0 0 0 9px rgba(255,107,53,0.07); }
  50%       { box-shadow: 0 0 0 7px rgba(255,107,53,0.12), 0 0 0 14px rgba(255,107,53,0.04); }
}
.ab-tl__row.is-hot .ab-tl__year-main {
  color: var(--orange);
  font-size: 26px;
}
.ab-tl__row.is-hot .ab-tl__year-era { color: var(--orange); opacity: 0.75; }
.ab-tl__row.is-hot .ab-tl__event p {
  border-left: 4px solid var(--orange);
  background: linear-gradient(135deg, rgba(255,107,53,0.05) 0%, #fff 60%);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(255,107,53,0.10);
}

/* ── 公開資料 ── */
.ab-docs {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(0,190,200,0.13) 0 90px, transparent 92px),
    linear-gradient(160deg, #E8F7F7 0%, #F2FBFB 50%, #FAFFFE 100%);
  padding: 72px var(--pad-x);
}
.ab-docs::before {
  content: none;
}
.ab-docs__inner { max-width: 1100px; margin: 0 auto; }
.ab-docs__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  margin: 12px 0 56px;
}
.ab-docs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ab-docs__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 32px;
  background: #fff;
  border: 1px solid rgba(0,138,146,0.15);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.ab-docs__card:hover {
  background: var(--teal-pale);
  border-color: var(--teal-deep);
  box-shadow: 0 4px 24px rgba(0,138,146,0.1);
}
.ab-docs__card-icon { color: var(--teal-deep); margin-bottom: 4px; }
.ab-docs__card-en {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--teal-deep);
  text-transform: uppercase;
}
.ab-docs__card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}
.ab-docs__card-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-3);
  flex: 1;
}
.ab-docs__card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-deep);
  margin-top: 8px;
}

/* ── 進路実績 ── */
.ab-career {
  position: relative;
  overflow: hidden;
  padding: 40px 80px 72px;
  background:
    radial-gradient(circle at 6% 85%, rgba(255,107,53,0.10) 0 100px, transparent 102px),
    radial-gradient(circle at 94% 10%, rgba(244,229,27,0.18) 0 80px, transparent 82px),
    linear-gradient(165deg, #FAFAF5 0%, #FDFDF9 60%, #F8F8F2 100%);
}
.ab-career::before {
  content: "";
  position: absolute;
  left: min(5vw, 64px);
  bottom: 64px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.16;
  background-image: radial-gradient(circle, var(--orange) 1.7px, transparent 1.9px);
  background-size: 12px 12px;
  pointer-events: none;
}
.ab-career__inner { max-width: none; }
.ab-career .eyebrow { margin-bottom: 16px; }
.ab-career__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 40px;
}
.ab-career__pdf-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: var(--paper-2);
  border: 1px solid rgba(14,30,46,0.1);
  border-left: 4px solid var(--teal-deep);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  margin-bottom: 72px;
  transition: background 0.2s;
}
.ab-career__pdf-link:hover { background: var(--teal-pale); }
.ab-career__pdf-icon { color: var(--teal-deep); flex-shrink: 0; }
.ab-career__pdf-title { font-size: 17px; font-weight: 700; }
.ab-career__pdf-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.ab-career__pdf-arrow {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-deep);
  white-space: nowrap;
}
.ab-career__msgs-head { margin-bottom: 36px; }

/* 卒業生カード — 横並びグリッド */
.ab-grad-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.ab-grad-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(14,30,46,0.07);
  box-shadow: 0 4px 16px rgba(14,30,46,0.06);
  transition: transform 0.3s cubic-bezier(.2,.7,.3,1), box-shadow 0.3s;
}
.ab-grad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(14,30,46,0.10);
}
.ab-grad-card__photo {
  flex: 0 0 160px;
  width: 160px;
  background: var(--ink-2);
  overflow: hidden;
}
.ab-grad-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.45s ease;
}
.ab-grad-card:hover .ab-grad-card__photo img {
  transform: scale(1.04);
}
.ab-grad-card__body {
  flex: 1;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ab-grad-card__course-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--teal-pale);
  color: var(--teal-deep);
  margin-bottom: 14px;
  align-self: flex-start;
}
.ab-grad-card__dest {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal-deep);
  line-height: 1.5;
  margin-bottom: 6px;
}
.ab-grad-card__name {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.ab-grad-card__club {
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.ab-grad-card__msg {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-3);
  margin: 0;
  flex: 1;
}
.ab-grad-card__video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  min-height: 38px;
  padding: 0 16px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(255,107,53,0.24);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ab-grad-card__video-link:hover {
  background: #E55520;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255,107,53,0.30);
}
.ab-grad-card__video-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.22);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .ab-grad-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ab-grad-card { gap: 16px; padding: 20px; }
  .ab-grad-card__photo { flex: 0 0 88px; width: 88px; height: 116px; }
}

/* ── アクセス ── */
.ab-access {
  position: relative;
  overflow: hidden;
  padding: 72px var(--pad-x);
  background: linear-gradient(160deg, #EDF2F4 0%, #F4F7F9 50%, #EEF3F5 100%);
}
.ab-access::before {
  content: none;
}
.ab-access__inner { max-width: 1100px; margin: 0 auto; }
.ab-access .eyebrow { margin-bottom: 16px; }
.ab-access__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 48px;
}
.ab-access__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.ab-access__map {
  height: 400px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-2);
}
.ab-access__map iframe { display: block; }
.ab-access__info { display: flex; flex-direction: column; gap: 28px; }
.ab-access__block-h {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(14,30,46,0.12);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.ab-access__block p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-3);
  margin: 0 0 4px;
}
.ab-access__tel { font-size: 13px; color: var(--ink-3); margin-top: 6px; }
.ab-access__tel a { color: var(--teal-deep); text-decoration: none; font-weight: 600; }
.ab-access__routes { display: flex; flex-direction: column; gap: 0; }
.ab-access__route {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(14,30,46,0.07);
}
.ab-access__route-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.ab-access__route-body { flex: 1; }
.ab-access__route-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}
.ab-access__route-main {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.ab-access__route-sub {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.7;
}

/* ── About page responsive ── */
@media (max-width: 1024px) {
  .ab-docs__grid { grid-template-columns: 1fr; gap: 16px; }
  .ab-career__grid { grid-template-columns: repeat(3, 1fr); }
  .ab-access__layout { grid-template-columns: 1fr; }
  .ab-access__map { height: 300px; }
}
@media (max-width: 767px) {
  .page-hero { padding: 108px 20px 24px; }
  .page-hero__title { font-size: 24px; }
  .work-note { padding-left: 20px; padding-right: 20px; }
  .work-note__inner { grid-template-columns: 1fr; gap: 10px; }
  .work-note__label { width: fit-content; }
  /* 校長メッセージ: タイトル → 本文 → 写真・氏名 の順で縦積み */
  .ab-principal { padding-top: 56px; }
  .ab-principal__header { margin-bottom: 28px; }
  .ab-principal__heading { font-size: 24px; line-height: 1.6; }
  .ab-principal__content { grid-template-columns: 1fr; gap: 28px; }
  .ab-principal__body { order: 1; }
  .ab-principal__photo-col { order: 2; }
  .ab-principal__photo { max-width: 200px; margin: 0 auto; }
  .ab-principal__text p { font-size: 14px; line-height: 1.95; }
  .ab-principal__date { text-align: left; }
  .ab-mission__statement { font-size: 32px; }
  .ab-goals__pillars { grid-template-columns: 1fr; }
  .ab-gp__list { grid-template-columns: 1fr; }
  /* 卒業生メッセージ: 横スワイプのスライダー（縦カード・写真大きめ） */
  .ab-career { padding: 40px var(--pad-x) 56px; }
  .ab-grad-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--pad-x);
    gap: 16px;
    padding-bottom: 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ab-grad-grid::-webkit-scrollbar { display: none; }
  .ab-grad-card {
    flex: 0 0 84%;
    flex-direction: column;
    scroll-snap-align: start;
  }
  .ab-grad-card__photo { flex: none; width: 100%; height: 260px; }
  .ab-grad-card__body { padding: 22px 20px; }
  /* 教育目標下の写真ストリップ: 横スワイプで適切なサイズに */
  .ab-photo-strip {
    height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .ab-photo-strip::-webkit-scrollbar { display: none; }
  .ab-photo-strip__cell {
    flex: 0 0 44vw;
    height: 150px;
    scroll-snap-align: start;
  }
  .ab-tl__row { grid-template-columns: 104px 36px 1fr; }
  .ab-tl__year-main { font-size: 19px; }

}
@media (max-width: 560px) {
  .ab-tl__row { grid-template-columns: 1fr; }
  .ab-tl__spine { display: none; }
  .ab-tl__year {
    text-align: left;
    padding: 18px 0 8px;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .ab-tl__year-era { margin-top: 0; }
  .ab-tl__event { padding: 0 0 4px; }
  .ab-tl__event p { border-left-width: 3px; border-left-color: rgba(14,30,46,0.12); }
  .ab-tl__row.is-hot .ab-tl__event p { border-left-color: var(--orange); }
}
@media (max-width: 480px) {
  .ab-career__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ── GPタグライン ── */
.ab-gp__tagline {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  border-left: 4px solid var(--teal-deep);
  padding: 4px 0 4px 28px;
  background: none;
  border-radius: 0;
  margin-bottom: 52px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  max-width: 920px;
}
.ab-goals__pillar-body {
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink);
  font-weight: 500;
}
.ab-mission__body {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-3);
  max-width: 760px;
  margin: 0 auto;
}

/* ── 校歌 ── */
.ab-song {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #FDF9F2 0%, #FAF6ED 50%, #FDFAF5 100%);
  padding: 72px var(--pad-x);
  color: var(--ink);
}
.ab-song::before {
  content: "";
  position: absolute;
  right: min(6vw, 80px);
  bottom: 60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  opacity: 0.14;
  background-image: radial-gradient(circle, #A67C2E 1.7px, transparent 1.9px);
  background-size: 14px 14px;
  pointer-events: none;
}
.ab-song__inner { max-width: 1100px; margin: 0 auto; }
.ab-song .eyebrow { color: var(--teal-deep); margin-bottom: 16px; }
.ab-song__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px;
}
.ab-song__credit {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  margin-bottom: 64px;
  font-family: "DM Mono", monospace;
}
.ab-song__verses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.ab-song__verse {
  border-top: 1px solid rgba(0,138,146,0.2);
  padding-top: 28px;
}
.ab-song__verse-num {
  font-family: "Zen Old Mincho", serif;
  font-size: 28px;
  color: rgba(0,138,146,0.2);
  margin-bottom: 20px;
  line-height: 1;
}
.ab-song__line {
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  line-height: 2.2;
  color: var(--ink);
  letter-spacing: 0.08em;
}
.ab-song__refrain {
  margin-top: 20px;
  font-family: "Zen Old Mincho", serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.1em;
  line-height: 1.8;
}

/* ── 校章の由来 ── */
.ab-crest {
  background: var(--paper);
  padding: 72px var(--pad-x);
}
.ab-crest__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: center;
}
.ab-crest .eyebrow { margin-bottom: 16px; }
.ab-crest__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 36px;
}
.ab-crest__body p {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.ab-crest__body p:last-child { margin-bottom: 0; }
.ab-crest__img-col { text-align: center; }
.ab-crest__img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}
.ab-crest__img-caption {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}

/* ── responsive (追加分) ── */
@media (max-width: 767px) {
  .ab-song__verses { grid-template-columns: 1fr; gap: 32px; }
  .ab-crest__inner { grid-template-columns: 1fr; gap: 40px; }
  .ab-crest__img-col { order: -1; }
}

/* ============================================================
   ALUMNI PAGE — 卒業生の皆様へ
   ============================================================ */

/* リード */
.al-lead {
  background: var(--paper);
  padding: 80px var(--pad-x);
  text-align: center;
}
.al-lead__inner { max-width: 1100px; margin: 0 auto; }
.al-lead .eyebrow { margin-bottom: 20px; }
.al-lead__heading {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 32px;
}
.al-lead__heading em {
  font-style: normal;
  color: var(--teal-deep);
  border-bottom: 2px solid var(--teal-deep);
  padding-bottom: 2px;
}
.al-lead__body {
  font-size: 16px;
  line-height: 2.0;
  color: var(--ink-3);
  margin-bottom: 16px;
}

/* お知らせ */
.al-news {
  background: var(--paper-2);
  padding: 80px var(--pad-x);
}
.al-news__inner { max-width: 1100px; margin: 0 auto; }
.al-news .eyebrow { margin-bottom: 16px; }
.al-news__heading {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 48px;
}
.al-news__list { display: flex; flex-direction: column; }
.al-news__item {
  display: grid;
  grid-template-columns: 80px auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(14,30,46,0.08);
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 4px;
}
.al-news__item:first-child { border-top: 1px solid rgba(14,30,46,0.08); }
.al-news__item:hover { background: rgba(0,138,146,0.04); padding-left: 8px; }
.al-news__date {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.05em;
}
.al-news__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.al-news__tag--teal   { background: var(--teal-pale);       color: var(--teal-deep); }
.al-news__tag--orange { background: var(--orange-pale);     color: var(--orange); }
.al-news__tag--ink    { background: rgba(14,30,46,0.07);    color: var(--ink-3); }
.al-news__title { font-size: 15px; color: var(--ink); }
.al-news__arrow { font-size: 13px; color: var(--ink-3); }

/* 名簿申請 */

/* 役員・支部 */
.al-org {
  background: linear-gradient(160deg, #EEF9FA 0%, #F5FFFE 100%);
  padding: 80px var(--pad-x);
}
.al-org__inner { max-width: 1100px; margin: 0 auto; }
.al-org .eyebrow { margin-bottom: 16px; }
.al-org__heading {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 56px;
}
.al-org__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.al-org__subhead {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal-deep);
}
.al-org__table { width: 100%; border-collapse: collapse; }
.al-org__table tr { border-bottom: 1px solid rgba(14,30,46,0.07); }
.al-org__role {
  padding: 12px 16px 12px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-deep);
  white-space: nowrap;
  width: 72px;
}
.al-org__name {
  padding: 12px 16px 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.al-org__year {
  padding: 12px 0;
  font-size: 12px;
  color: var(--ink-3);
}
.al-org__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-3);
  padding: 10px 14px;
  background: rgba(14,30,46,0.04);
  border-radius: 4px;
}
.al-org__branches { display: flex; flex-direction: column; gap: 16px; }
.al-org__branch {
  background: #fff;
  border: 1px solid rgba(0,138,146,0.15);
  border-left: 3px solid var(--teal-deep);
  border-radius: 0 4px 4px 0;
  padding: 16px 20px;
}
.al-org__branch-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.al-org__branch-info {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.al-org__branch-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--teal-deep);
  background: var(--teal-pale);
  padding: 1px 8px;
  border-radius: 10px;
  white-space: nowrap;
  align-self: center;
}

/* 各種証明書 */
.al-cert { background: linear-gradient(160deg, #EEF9FA 0%, #F5FFFE 100%); padding: 80px var(--pad-x); }
.al-cert__inner { max-width: 1100px; margin: 0 auto; }
.al-cert .eyebrow { margin-bottom: 16px; }
.al-cert__heading {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 32px; font-weight: 700; color: var(--ink); margin: 0 0 40px;
}
.al-cert__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(14,30,46,0.09);
  border: 1px solid rgba(14,30,46,0.09);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 48px;
}
.al-cert__card {
  background: var(--paper);
  padding: 24px 20px;
}
.al-cert__card-name {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 8px;
}
.al-cert__card-note {
  font-size: 11px; font-weight: 600; color: var(--teal-deep);
  background: var(--teal-pale);
  display: inline-block; padding: 2px 8px; border-radius: 2px;
  margin-bottom: 12px; letter-spacing: 0.03em;
}
.al-cert__card-desc { font-size: 13.5px; line-height: 1.8; color: var(--ink-3); }

.al-cert__table-wrap { margin-bottom: 48px; }
.al-cert__table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.al-cert__table thead tr { background: var(--teal-deep); color: #fff; }
.al-cert__table th {
  padding: 12px 16px; text-align: left; font-size: 12px;
  font-weight: 700; letter-spacing: 0.04em;
}
.al-cert__table td { padding: 14px 16px; border-bottom: 1px solid rgba(14,30,46,0.07); vertical-align: top; }
.al-cert__table tbody tr:last-child td { border-bottom: none; }
.al-cert__table tbody tr:nth-child(even) { background: rgba(14,30,46,0.025); }
.al-cert__table-note { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; padding-left: 2px; }
.al-cert__method-note { display: block; margin-top: 8px; font-size: 12.5px; color: var(--teal-deep); font-weight: 600; }
@media (max-width: 767px) {
  .al-cert__heading {
    font-size: 26px;
  }
  .al-cert__table th {
    padding: 12px 5px;
  }
  .al-cert__table td {
    padding: 14px 5px;
  }
  .al-cert__table thead tr:first-child th:last-child {
    width: 42%;
  }
}
.al-cert__subhead {
  font-size: 15px; font-weight: 700; color: var(--ink);
  padding-left: 14px; border-left: 2px solid var(--teal-deep);
  margin-bottom: 20px;
}
.al-cert__methods {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 40px;
}
.al-cert__method {
  background: var(--paper); border: 1px solid rgba(14,30,46,0.09);
  border-radius: 6px; padding: 20px 22px;
}
.al-cert__method-label {
  font-size: 13px; font-weight: 700; color: var(--teal-deep);
  margin-bottom: 10px; letter-spacing: 0.05em;
}
.al-cert__method-body { font-size: 14px; line-height: 1.85; color: var(--ink-3); }

.al-cert__info {
  background: var(--paper); border: 1px solid rgba(14,30,46,0.09);
  border-radius: 6px; overflow: hidden;
}
.al-cert__info-row {
  display: grid; grid-template-columns: 100px 1fr;
  gap: 16px; align-items: center;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(14,30,46,0.06);
  font-size: 14px;
}
.al-cert__info-row:last-child { border-bottom: none; }
.al-cert__info-label { font-weight: 700; color: var(--ink); font-size: 13px; }
.al-cert__info-row a { color: var(--teal-deep); text-decoration: none; font-weight: 600; }
@media (max-width: 767px) {
  .al-cert__methods {
    grid-template-columns: repeat(1, 1fr);
  }
}
/* Alumni responsive */
@media (max-width: 1024px) {

  .al-org__cols      { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 767px) {
  .al-lead__heading { font-size: 32px; }
  .al-news__item { grid-template-columns: auto auto 1fr; }
  .al-news__arrow { display: none; }
}

/* フォトストリップ */
.al-photo-strip {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  height: 180px;
  overflow: hidden;
}
.al-photo-strip__cell {
  overflow: hidden;
}
.al-photo-strip__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.al-photo-strip__cell:hover img {
  transform: scale(1.06);
}
@media (max-width: 767px) {
  .al-photo-strip {
      height: 90px;
  }
}

/* 同窓会CTA */
.al-assoc-cta { background: var(--paper); padding: 80px var(--pad-x); }
.al-assoc-cta__inner { max-width: 1100px; margin: 0 auto; }
.al-assoc-cta .eyebrow { margin-bottom: 16px; }
.al-assoc-cta__heading {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 32px; font-weight: 700; color: var(--ink);
  line-height: 1.5; margin: 0 0 20px;
}
.al-assoc-cta__body { font-size: 16px; line-height: 2.0; color: var(--ink-3); max-width: 700px; margin-bottom: 36px; }
.al-assoc-cta__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 24px; }
.al-assoc-cta__btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--teal-deep); color: #fff;
  padding: 14px 28px; border-radius: 4px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: opacity 0.18s;
}
.al-assoc-cta__btn-primary:hover { opacity: 0.85; }
.al-assoc-cta__btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--ink);
  border: 1px solid rgba(14,30,46,0.18);
  padding: 13px 24px; border-radius: 4px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: border-color 0.18s, color 0.18s;
}
.al-assoc-cta__btn-secondary:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.al-assoc-cta__note { font-size: 12.5px; color: var(--ink-3); }
@media (max-width: 767px) {
  .al-assoc-cta__heading {
      font-size: 26px;
  }
}
.al-meibo { background: var(--paper); padding: 80px var(--pad-x); }
.al-meibo__inner { max-width: 1100px; margin: 0 auto; }
.al-meibo .eyebrow { margin-bottom: 16px; }
.al-meibo__heading {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 32px; font-weight: 700; color: var(--ink); margin: 0 0 28px;
}
.al-meibo__body { font-size: 16px; line-height: 2.0; color: var(--ink-3); margin-bottom: 14px; }
.al-pdf-link {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 32px;
  background: var(--paper-2);
  border: 1px solid rgba(14,30,46,0.1);
  border-left: 4px solid var(--teal-deep);
  border-radius: 4px;
  text-decoration: none; color: var(--ink);
  margin-top: 32px;
  transition: background 0.2s;
}
.al-pdf-link:hover { background: var(--teal-pale); }
.al-pdf-link__icon { color: var(--teal-deep); flex-shrink: 0; }
.al-pdf-link__title { font-size: 16px; font-weight: 700; }
.al-pdf-link__sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.al-pdf-link__arrow { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--teal-deep); white-space: nowrap; }

/* ── 教育実習 ── */
.al-kenshu {
  background: var(--paper-2);
  padding: 80px var(--pad-x);
}
.al-kenshu__inner { max-width: 1100px; margin: 0 auto; }
.al-kenshu .eyebrow { margin-bottom: 16px; }
.al-kenshu__heading {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 32px; font-weight: 700; color: var(--ink); margin: 0 0 28px;
}
.al-kenshu__lead {
  font-size: 16px; line-height: 2.0; color: var(--ink-3);
  padding: 20px 24px;
  background: var(--teal-pale);
  border-left: 3px solid var(--teal-deep);
  border-radius: 0 4px 4px 0;
  margin-bottom: 48px;
}
.al-kenshu__flow { display: flex; flex-direction: column; gap: 0; margin-bottom: 48px; }
.al-kenshu__step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(14,30,46,0.08);
  align-items: start;
}
.al-kenshu__step:first-child { border-top: 1px solid rgba(14,30,46,0.08); }
.al-kenshu__step-num {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  background: var(--teal-deep);
  padding: 6px 12px;
  border-radius: 2px;
  text-align: center;
  margin-top: 3px;
}
.al-kenshu__step-title {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 10px;
}
.al-kenshu__step-text {
  font-size: 14px; line-height: 1.9; color: var(--ink-3);
}
.al-kenshu__notes {
  background: var(--paper);
  border: 1px solid rgba(14,30,46,0.1);
  border-radius: 4px;
  padding: 28px 32px;
  margin-bottom: 32px;
}
.al-kenshu__notes-h {
  font-size: 13px; font-weight: 700; color: var(--ink);
  margin-bottom: 14px; letter-spacing: 0.05em;
}
.al-kenshu__notes-list {
  margin: 0; padding-left: 20px;
  display: flex; flex-direction: column; gap: 8px;
}
.al-kenshu__notes-list li {
  font-size: 14px; line-height: 1.8; color: var(--ink-3);
}
.al-kenshu__contact {
  background: var(--paper);
  border-left: 4px solid var(--orange);
  border-radius: 0 4px 4px 0;
  padding: 20px 24px;
}
.al-kenshu__contact-h {
  font-size: 13px; font-weight: 700; color: var(--orange);
  margin-bottom: 10px; letter-spacing: 0.05em;
}
.al-kenshu__contact p {
  font-size: 14px; line-height: 1.9; color: var(--ink-3); margin: 0 0 4px;
}
.al-kenshu__contact a { color: var(--teal-deep); font-weight: 600; text-decoration: none; }

@media (max-width: 767px) {
  .al-kenshu__heading {
    font-size: 24px;
  }
  .al-kenshu__step { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================================================
   STUDENTS & PARENTS PAGE — 在校生・保護者の方へ
   ============================================================ */
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STUDENTS PAGE — 在校生・保護者の方へ
   Refined, quiet design for parents
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* セクション基盤 */
.st-section {
  padding: 80px var(--pad-x);
  border-top: 1px solid rgba(14,30,46,0.07);
}
.st-section:first-of-type { border-top: none; }
.st-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.st-inner .eyebrow {
  margin-bottom: 14px;
  letter-spacing: 0.16em;
  opacity: 0.7;
}

/* 見出し */
.st-heading {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 0 0 24px;
}
.st-subheading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
  margin: 52px 0 20px;
  padding-left: 14px;
  border-left: 2px solid var(--teal-deep);
  display: block;
}
.st-lead {
  font-size: 16px;
  line-height: 2.0;
  color: var(--ink-3);
  margin-bottom: 40px;
  max-width: 820px;
}

/* ── 共通書類グリッド ── */
.st-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(14,30,46,0.08);
  border: 1px solid rgba(14,30,46,0.08);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 28px;
}
.st-docs-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
.st-docs-grid--3col .st-doc-card:last-child:nth-child(3n + 2) {
  grid-column: span 2;
}
/* 2列グリッドで最後のアイテムが奇数番目（1列に孤立）のとき2列にスパン */
.st-docs-grid:not(.st-docs-grid--3col) .st-doc-card:last-child:nth-child(odd) {
  grid-column: span 2;
}
.st-doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--paper-3);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s;
}
.st-doc-card:hover { background: #F5FFFE; }
.st-doc-card__icon { color: var(--ink-3); flex-shrink: 0; opacity: 0.55; }
.st-doc-card__title {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  flex: 1;
  letter-spacing: 0.01em;
}
.st-doc-card__badge {
  font-family: "DM Mono", monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  opacity: 0.6;
  flex-shrink: 0;
}
.st-external-link { margin-top: 20px; }
.st-external-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--teal-deep);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.st-external-link a:hover { opacity: 1; text-decoration: underline; }

/* ── 緊急時カード ── */
.st-emergency-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.st-emergency-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: var(--paper-3);
  border: 1px solid rgba(14,30,46,0.09);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.st-emergency-card:hover {
  border-color: rgba(14,30,46,0.18);
  box-shadow: 0 6px 24px rgba(14,30,46,0.06);
}
.st-emergency-card__icon { font-size: 22px; opacity: 0.75; }
.st-emergency-card__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.st-emergency-card__desc {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-3);
  flex: 1;
}
.st-emergency-card__arrow {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── 感染症テーブル ── */
.st-infection-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 44px;
  border-top: 1px solid rgba(14,30,46,0.09);
}
.st-infection-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(14,30,46,0.09);
  align-items: start;
}
.st-infection-row__kind {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 0;
  text-align: center;
  border-radius: 0;
  margin-top: 1px;
  color: #fff;
}
.st-infection-row--red    .st-infection-row__kind { background: #B91C1C; }
.st-infection-row--orange .st-infection-row__kind { background: #C2540A; }
.st-infection-row--teal   .st-infection-row__kind { background: var(--teal-deep); }
.st-infection-row__desc {
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.7;
  font-weight: 400;
}
.st-infection-row__rule {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.7;
}
.st-infection-row__rule-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  border: 1px solid rgba(14,30,46,0.16);
  padding: 1px 7px;
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}
.st-cert-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(14,30,46,0.09);
  border-radius: 6px;
  overflow: hidden;
  background: transparent;
}

/* ── SCカード ── */
.st-sc-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.st-sc-card {
  padding: 26px 28px;
  background: var(--paper-3);
  border: 1px solid rgba(14,30,46,0.09);
  border-radius: 6px;
}
.st-sc-card__role {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.st-sc-card__name {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.st-sc-card__note {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.7;
}
.st-sc-how {
  background: var(--paper);
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 36px;
}
.st-sc-how__h {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.st-sc-how p {
  font-size: 14px;
  line-height: 2.05;
  color: var(--ink-3);
  margin: 0;
}

/* ── 図書室ボタン ── */
.st-external-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(14,30,46,0.22);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: border-color 0.2s, background 0.2s;
}
.st-external-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ── al-pdf-link (shared) ── */
.al-pdf-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: transparent;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid rgba(14,30,46,0.07);
  transition: background 0.18s;
}
.al-pdf-link:last-child { border-bottom: none; }
.al-pdf-link:hover { background: rgba(14,30,46,0.03); }
.al-pdf-link__icon { color: var(--ink-3); flex-shrink: 0; opacity: 0.5; }
.al-pdf-link__title { font-size: 14px; font-weight: 500; letter-spacing: 0.01em; }
.al-pdf-link__sub { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.al-pdf-link__arrow { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--ink-3); white-space: nowrap; }

/* Students responsive */
@media (max-width: 900px) {
  .st-docs-grid, .st-docs-grid--3col { grid-template-columns: 1fr; }
  .st-emergency-cards { grid-template-columns: 1fr; gap: 12px; }
  .st-sc-cards { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 767px) {
  .st-section { padding: 56px 22px; }
  .st-heading { font-size: 23px; }
  .st-infection-row { grid-template-columns: 60px 1fr; gap: 14px; padding: 18px 0; }
}

/* ============================================================
   JUNIOR PAGE — 中学生の方へ
   ============================================================ */
.jr-section { padding: 64px var(--pad-x); }
/* 幅・見出しサイズ・太さ・本文サイズは alumni（卒業生の方へ）ページの設計値に合わせている */
.jr-inner { max-width: 1100px; margin: 0 auto; }
.jr-inner .eyebrow { margin-bottom: 16px; }
/* 学校紹介・学校生活ページの見出し（lf-heading）とフォント・太さを統一 */
.jr-heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 44px; font-weight: 800; color: var(--ink);
  line-height: 1.3; letter-spacing: 0.01em; margin: 0 0 24px;
}
@media (max-width: 767px) {
  .jr-heading { font-size: 28px; }
}
.jr-lead {
  font-size: 16px; line-height: 2; color: var(--ink-3);
  margin-bottom: 48px; max-width: 760px;
}

/* 求める生徒像 */
.jr-profiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.jr-profile-card {
  background: var(--paper-2);
  border-top: 3px solid var(--teal-deep);
  border-radius: 4px;
  padding: 24px 20px;
}
.jr-profile-card__num {
  font-family: "DM Mono", monospace;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--teal-deep); margin-bottom: 12px;
}
.jr-profile-card__title {
  font-size: 14px; font-weight: 800; color: var(--ink);
  margin-bottom: 10px; line-height: 1.4;
}
.jr-profile-card__body { font-size: 12px; line-height: 1.8; color: var(--ink-3); }

/* 動画 */
.jr-video-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
  background: var(--paper-2);
  border-radius: 4px;
  padding: 40px;
}
.jr-video-desc { font-size: 14px; color: var(--ink-3); line-height: 1.8; margin: 0; }
.jr-video-player { width: 100%; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; }
.jr-video-placeholder {
  width: 100%; height: 100%;
  background: var(--ink-2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: rgba(255,255,255,0.5);
  font-size: 13px;
}

/* Q&A */
.jr-qa-list { display: flex; flex-direction: column; }
.jr-qa-item { border-bottom: 1px solid rgba(14,30,46,0.08); }
.jr-qa-item:first-child { border-top: 1px solid rgba(14,30,46,0.08); }
.jr-qa-q {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 22px 0; background: none; border: none; cursor: pointer;
  text-align: left;
}
.jr-qa-q:hover { background: rgba(0,138,146,0.03); }
.jr-qa-q__label {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--teal-deep); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
}
.jr-qa-q__text { flex: 1; font-size: 15px; font-weight: 600; color: var(--ink); }
.jr-qa-q__icon { font-size: 20px; color: var(--teal-deep); font-weight: 300; width: 24px; text-align: center; flex-shrink: 0; }
.jr-qa-a {
  display: flex; gap: 16px; padding: 0 0 22px 0; align-items: flex-start;
}
.jr-qa-a__label {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper-2); color: var(--teal-deep);
  border: 1.5px solid var(--teal-deep);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800; flex-shrink: 0;
}
.jr-qa-a__text { flex: 1; font-size: 14px; line-height: 1.9; color: var(--ink-3); padding-top: 4px; }
.jr-qa-a {
  display: none;
}
.jr-qa-item.is-open .jr-qa-a {
  display: flex;
}
/* 制服紹介 */
.jr-uniform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.jr-uniform-card {
  background: var(--paper-2);
  border-radius: 6px;
  padding: 20px 20px 24px;
}
.jr-uniform-card__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.jr-uniform-card__photo {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-2);
}
.jr-uniform-card__label {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 18px; font-weight: 800; color: var(--teal-deep);
  margin-bottom: 10px;
}
.jr-uniform-card__desc { font-size: 13px; line-height: 1.9; color: var(--ink-3); margin: 0; }
.jr-uniform-card__details { margin: 0; }
.jr-uniform-card__detail-row { padding: 10px 0; border-top: 1px solid rgba(14,30,46,0.08); }
.jr-uniform-card__detail-row:first-child { border-top: none; padding-top: 0; }
.jr-uniform-card__detail-row dt {
  font-size: 12px; font-weight: 800; color: var(--ink);
  margin-bottom: 4px;
}
.jr-uniform-card__detail-row dd {
  font-size: 13px; line-height: 1.8; color: var(--ink-3); margin: 0;
}
@media (max-width: 1024px) {
  .jr-uniform-grid { grid-template-columns: 1fr; }
}

/* 学校紹介・学校生活への導線バナー */
.jr-explore {
  padding-top: 32px;
  padding-bottom: 32px;
}
.jr-explore__inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: 36px;
  background: linear-gradient(115deg, var(--teal-deep) 0%, var(--teal) 100%);
  border-radius: 16px;
  padding: 28px 40px;
  overflow: hidden;
  position: relative;
}
.jr-explore__illust {
  width: 100%;
  aspect-ratio: 3/4;
  align-self: end;
  margin-bottom: -28px;
}
.jr-explore__illust image-slot::part(frame) {
  background: transparent;
}
.jr-explore__body { position: relative; z-index: 1; }
.jr-explore__heading {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 24px; font-weight: 800; color: #fff;
  margin: 0 0 10px;
}
.jr-explore__lead { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.85); margin: 0 0 20px; }
.jr-explore__btns { display: flex; flex-wrap: wrap; gap: 16px; }
.jr-explore__video {
  position: relative;
  z-index: 1;
}
.jr-explore__video video {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 18px 34px rgba(14, 30, 46, 0.24);
}
.jr-explore__video-cap {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
}
.jr-explore__btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid #fff;
  background: #fff;
  color: var(--teal-deep);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700; font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.jr-explore__btn:hover { background: transparent; color: #fff; transform: translateY(-2px); }
.jr-explore__btn--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.jr-explore__btn--accent:hover { background: #E55520; border-color: #E55520; color: #fff; }
/* @media (max-width: 1024px) {
  .jr-explore__inner {
    grid-template-columns: 140px 1fr;
  }
  .jr-explore__video {
    grid-column: 1 / -1;
  }
} */
@media (max-width: 1024px) {
  .jr-explore__inner { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
  .jr-explore__illust { max-width: 180px; margin: 0 auto; align-self: center; }
  .jr-explore__btns { justify-content: center; }
}

/* デジタルパンフ */
.jr-pamphlet-cards { display: flex; gap: 24px; }
.jr-pamphlet-card {
  display: flex; gap: 32px; align-items: center;
  background: var(--paper-2);
  border: 1px solid rgba(14,30,46,0.08);
  border-radius: 4px;
  padding: 32px;
  text-decoration: none; color: var(--ink);
  transition: box-shadow 0.2s, border-color 0.2s;
  max-width: 680px;
}
.jr-pamphlet-card:hover { box-shadow: 0 4px 24px rgba(0,138,146,0.12); border-color: var(--teal-deep); }
.jr-pamphlet-card__img { width: 160px; height: 220px; flex-shrink: 0; border-radius: 2px; overflow: hidden; background: var(--ink-2); }
.jr-pamphlet-card__tag {
  font-family: "DM Mono", monospace; font-size: 10px;
  letter-spacing: 0.2em; color: var(--teal-deep); margin-bottom: 10px;
}
.jr-pamphlet-card__title { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.jr-pamphlet-card__desc { font-size: 13px; line-height: 1.8; color: var(--ink-3); margin-bottom: 20px; }
.jr-pamphlet-card__btn { font-size: 14px; font-weight: 700; color: var(--teal-deep); }

/* バーチャルツアー */
.jr-tour-wrap { max-width: 70%; margin: 0 auto; }
.jr-tour-viewer { aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; }
.jr-tour-placeholder {
  width: 100%; height: 100%;
  background: rgba(14,30,46,0.06);
  border: 2px dashed rgba(0,138,146,0.3);
  border-radius: 4px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--teal-deep); padding: 24px; text-align: center;
  font-size: 14px; font-weight: 600;
}
.jr-tour-placeholder__sub { font-size: 12px; color: var(--ink-3); font-weight: 400; margin-top: -4px; }

/* オープンスクール */
.jr-open-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.jr-open-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 28px 24px;
}
.jr-open-card__date { font-family: "DM Mono", monospace; font-size: 11px; color: var(--teal-mid); letter-spacing: 0.05em; margin-bottom: 10px; }
.jr-open-card__title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.jr-open-card__time { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.jr-open-card__desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55); }
.jr-open-cta { text-align: center; }
.jr-open-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 40px;
  background: var(--orange); color: #fff;
  border-radius: 4px; font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.jr-open-btn:hover { background: #e55a22; transform: translateY(-2px); }

/* Junior responsive */
@media (max-width: 1024px) {
  .jr-profiles { grid-template-columns: repeat(3, 1fr); }
  .jr-open-cards { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .jr-profiles { grid-template-columns: repeat(2, 1fr); }
  .jr-tour-wrap { max-width: 100%; }
  .jr-video-wrap { grid-template-columns: 1fr; gap: 24px; }
  .jr-pamphlet-card { flex-direction: column; }
  .jr-pamphlet-card__img { width: 100%; height: 200px; }
}

.jr-tour-fullscreen { margin-top: 12px; }
.jr-tour-fullscreen-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--teal-deep);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--teal-deep);
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.jr-tour-fullscreen-btn:hover { background: var(--teal-deep); color: #fff; }

/* ============================================================
   LIFE PAGE — 学校生活
   ============================================================ */
.lf-section { padding: 64px var(--pad-x); }
.lf-inner { max-width: 1100px; margin: 0 auto; }
.lf-inner .eyebrow { margin-bottom: 16px; }
.lf-heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 44px; font-weight: 800; color: var(--ink);
  line-height: 1.3; letter-spacing: 0.01em; margin: 0 0 24px;
}
.lf-lead {
  font-size: 15px; line-height: 2; color: var(--ink-3);
  margin-bottom: 48px; max-width: 760px;
}

/* ⑤ 末尾CTA — 薄い色の角丸バンド + 白カード3枚（learningBOX参考） */
.lf-endcta__panel {
  background: var(--teal-pale);
  border-radius: 24px;
  padding: 56px clamp(20px, 5vw, 64px);
  text-align: center;
}
.lf-endcta__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--teal-deep);
  margin: 0 0 36px;
}
.lf-endcta__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lf-endcta__card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(14,30,46,0.06);
}
.lf-endcta__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  margin-bottom: 14px;
}
.lf-endcta__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-pale);
  color: var(--teal-deep);
  margin-bottom: 22px;
}
.lf-endcta__icon--accent { background: var(--orange); color: #fff; }
.lf-endcta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1.5px solid var(--teal-deep);
  background: #fff;
  color: var(--teal-deep);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.lf-endcta__btn:hover { background: var(--teal-deep); color: #fff; }
.lf-endcta__btn--accent {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255,107,53,0.32);
}
.lf-endcta__btn--accent:hover {
  background: #E55520;
  border-color: #E55520;
  transform: translateY(-2px);
}
@media (max-width: 767px) {
  .lf-endcta__cards { grid-template-columns: 1fr; }
  .lf-endcta__panel { padding: 40px 20px; border-radius: 16px; }
}

/* ── カリキュラムページ用エンドCTA（特徴セクションのトーンに統一） ── */
.cur-endcta { position: relative; background: var(--paper-2); }
.cur-endcta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.10;
  background-image: radial-gradient(circle, var(--ink) 1.4px, transparent 1.6px);
  background-size: 20px 20px;
  pointer-events: none;
}
.cur-endcta .lf-inner { position: relative; z-index: 1; }
.cur-endcta .lf-endcta__panel {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.cur-endcta .lf-endcta__heading { color: var(--ink); }
.cur-endcta .lf-endcta__card {
  background: transparent;
  border: 1.5px solid rgba(14,30,46,0.22);
  border-radius: 22px;
  box-shadow: none;
  padding: 34px 24px 30px;
}
.cur-endcta .lf-endcta__label { color: var(--ink-3); }
.cur-endcta .lf-endcta__icon {
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(14,30,46,0.10);
  color: var(--teal-deep);
}
.cur-endcta .lf-endcta__icon--accent {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ============================================================
   年間行事 — Seasonal term-rail calendar
   ============================================================ */
.lf-section--events {
  position: relative;
  overflow: hidden;
  padding-left: clamp(28px, 6vw, 96px);
  padding-right: clamp(28px, 6vw, 96px);
}
.lf-section--events::before {
  content: "";
  position: absolute;
  right: min(6vw, 88px);
  top: 96px;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  opacity: 0.28;
  background-image: radial-gradient(circle, var(--teal-deep) 1.7px, transparent 1.9px);
  background-size: 13px 13px;
  pointer-events: none;
}
.lf-section--events .lf-inner {
  max-width: 1480px;
  position: relative;
}
.lf-section--events .lf-heading span,
.lf-section--events .lf-heading {
  text-decoration-thickness: 0;
}
.lf-cal { display: flex; flex-direction: column; gap: 28px; }

/* ── one term band: label rail + month cards ── */
.lf-term {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  align-items: start;
}
.lf-term + .lf-term { padding-top: 22px; border-top: 2px solid rgba(0,138,146,0.18); }

.lf-term__rail {
  position: sticky;
  top: calc(100px + var(--annc-h));
  padding: 16px 0 16px 18px;
  border-left: 5px solid var(--teal-deep);
  background: linear-gradient(90deg, rgba(0,190,200,0.10), rgba(0,190,200,0));
}
.lf-term__no {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.lf-term__en {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 8px;
}
.lf-term__season {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

/* ── month cards grid ── */
.lf-term__months {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}
/* デスクトップでは各学期を必ず1行に収め、12ヶ月が一望できるようにする */
@media (min-width: 901px) {
  .lf-term__months.cols-5 { grid-template-columns: repeat(5, 1fr); }
  .lf-term__months.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lf-term__months.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.lf-mcard {
  --acc: var(--teal-deep);
  --acc-soft: var(--teal-pale);
  position: relative;
  background: transparent;
  border: 1.5px solid rgba(14,30,46,0.22);
  border-radius: 20px;
  min-height: 0;
  padding: 32px 20px 22px;
  transition: transform 0.3s cubic-bezier(.2,.7,.3,1), box-shadow 0.3s, border-color 0.3s;
}
.lf-mcard.is-spring { --acc: #008A92; --acc-soft: #D7F1F2; }
.lf-mcard.is-summer { --acc: #FF6B35; --acc-soft: #FFE4D7; }
.lf-mcard.is-autumn { --acc: #B5852A; --acc-soft: #F3E9CF; }
.lf-mcard.is-winter { --acc: #4B7BB5; --acc-soft: #DEE8F1; }
.lf-mcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(14,30,46,0.10);
  border-color: var(--acc);
}
/* 月ラベル（COURSE 01 と同じ上辺ピル） */
.lf-mcard__en {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 5px 14px;
  background: var(--paper);
  border: 1.5px solid var(--acc);
  border-radius: 999px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  line-height: 1.2;
}
.lf-mcard.has-photo {
  min-height: 318px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(14,30,46,0.08);
}
.lf-mcard.is-major {
  grid-column: span 2;
  min-height: 336px;
  border-color: rgba(255,107,53,0.44);
}
.lf-mcard__photo {
  position: relative;
  height: 150px;
  margin: 0 -16px 14px;
  background: var(--ink);
}
.lf-mcard.is-major .lf-mcard__photo { height: 178px; }
.lf-mcard__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,30,46,0) 42%, rgba(14,30,46,0.58) 100%);
}
.lf-mcard__photo img,
.lf-event-gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.lf-mcard__top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.lf-mcard__num {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 0.9;
  color: var(--acc);
  letter-spacing: -0.03em;
}
.lf-mcard.has-photo .lf-mcard__num,
.lf-mcard.is-major .lf-mcard__num { color: var(--ink); }
.lf-mcard__suf {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-3);
}

.lf-mcard__list { display: flex; flex-direction: column; gap: 0; }
.lf-mcard__feature-title {
  margin: -4px 0 8px;
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  color: var(--ink);
}
.lf-mcard.is-major .lf-mcard__feature-title { font-size: 24px; }
.lf-mcard__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-3);
  border-top: 1px solid rgba(14,30,46,0.06);
}
.lf-mcard__item:first-child { border-top: none; }
.lf-mcard__item::before {
  content: "";
  flex: 0 0 auto;
  width: 6px; height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  border: 1.5px solid var(--acc);
}
/* signature / marquee events */
.lf-mcard__item.is-hot {
  color: var(--ink);
  font-weight: 700;
}
.lf-mcard__item.is-hot::before {
  background: var(--acc);
  border-color: var(--acc);
  box-shadow: 0 0 0 3px var(--acc-soft);
}
.lf-mcard__item.is-hot .lf-mcard__star {
  flex: 0 0 auto;
  margin-left: 4px;
  margin-top: 1px;
  color: var(--acc);
}

.lf-event-gallery {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px dashed rgba(14,30,46,0.16);
}
.lf-event-gallery__head {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 24px;
}
.lf-event-gallery__head .eyebrow { margin-bottom: 10px; }
.lf-event-gallery__head h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
}
.lf-event-slider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}
.lf-event-slider__track {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 6px var(--pad-x) 14px;
  animation: lf-event-marquee 96s linear infinite; /* 速すぎたため48s→96sに減速 */
}
.lf-event-slider:hover .lf-event-slider__track { animation-play-state: paused; }
.lf-event-slide {
  position: relative;
  overflow: hidden;
  flex: 0 0 clamp(220px, 22vw, 360px);
  aspect-ratio: 4 / 3;
  margin: 0;
  background: var(--ink);
  border-radius: 5px;
  box-shadow: 0 12px 28px rgba(14,30,46,0.10);
}
.lf-event-slide.is-wide {
  flex-basis: clamp(320px, 32vw, 520px);
  aspect-ratio: 16 / 9;
}
.lf-event-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@keyframes lf-event-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .lf-event-gallery__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lf-event-slider__track { padding-inline: var(--pad-x); }
  .lf-term {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lf-term__rail {
    position: static;
    border-left: none;
    padding-left: 0;
    display: flex;
    align-items: baseline;
    gap: 14px;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 10px;
  }
  .lf-term__en { margin-top: 0; }
  .lf-term__season { margin-top: 0; margin-left: auto; }
  .lf-term__months {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lf-mcard.is-major {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .lf-term__months {
    grid-template-columns: minmax(0, 1fr);
  }
  .lf-section--events::before { display: none; }
  .lf-mcard.is-major { grid-column: auto; }
  .lf-mcard,
  .lf-mcard.has-photo,
  .lf-mcard.is-major { min-height: 0; }
  .lf-mcard__photo,
  .lf-mcard.is-major .lf-mcard__photo { height: 168px; }
  .lf-event-slider__track { gap: 8px; animation-duration: 84s; } /* 速すぎたため42s→84sに減速 */
  .lf-event-slide { flex-basis: 240px; }
  .lf-event-slide.is-wide { flex-basis: 300px; }
}

/* 部活動 */
.lf-section--clubs {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(244,229,27,0.24) 0 70px, transparent 72px),
    radial-gradient(circle at 12% 78%, rgba(0,190,200,0.18) 0 92px, transparent 94px),
    linear-gradient(160deg, #E8F7F7 0%, #FAFAF5 58%, #F8EFE2 100%);
}
.lf-section--clubs::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.20;
  background-image: radial-gradient(circle, var(--teal-deep) 1.6px, transparent 1.8px);
  background-size: 18px 18px;
  pointer-events: none;
}
.lf-section--clubs .lf-inner { position: relative; }
.lf-section--clubs .eyebrow { color: var(--teal-deep); }
.lf-section--clubs .lf-lead { color: var(--ink-3); }
.lf-club-strip {
  position: relative;
  display: flex;
  width: 100%;
  height: 220px;
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 6px;
  box-shadow: 0 14px 34px rgba(14,30,46,0.14);
}
.lf-club-strip__cell { flex: 1; overflow: hidden; background: var(--ink); }
.lf-club-strip__cell img {
  transition: transform 0.6s ease;
  height: 100%;
  object-fit: cover;
}
.lf-club-strip:hover .lf-club-strip__cell img { transform: scale(1.05); }
.lf-club-strip__overlay {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(14,30,46,0.72);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.lf-club-video-links {
  margin: -12px 0 40px;
  padding: 24px;
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,138,146,0.16);
  box-shadow: 0 10px 28px rgba(14,30,46,0.06);
}
.lf-club-video-links__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}
.lf-club-video-links__head .eyebrow {
  margin-bottom: 8px;
  color: var(--teal-deep);
}
.lf-club-video-links__head h3 {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}
.lf-club-video-links__head p {
  max-width: 420px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-3);
  margin: 0;
}
.lf-club-video-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.lf-club-video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--teal-deep);
  color: var(--teal-deep);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,138,146,0.10);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.lf-club-video-link:hover {
  transform: translateY(-2px);
  background: var(--teal-deep);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,138,146,0.18);
}
.lf-club-video-link__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-pale);
  color: var(--teal-deep);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.lf-club-video-link:hover .lf-club-video-link__icon {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.lf-club-video-link__arrow { flex-shrink: 0; }
.lf-club-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.lf-club-cat__h {
  font-size: 13px; font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  border-bottom: 2px solid rgba(0,138,146,0.22);
  padding-bottom: 10px;
}
.lf-club-cat__list { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-club-tag {
  font-size: 13px;
  background: #fff;
  color: var(--ink-3);
  border: 1px solid rgba(0,138,146,0.18);
  padding: 5px 14px; border-radius: 20px;
}
.lf-club-cta { text-align: center; }
.lf-club-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 56px;
  padding: 0 30px;
  border: 2px solid var(--orange);
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(255,107,53,0.24);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.lf-club-btn:hover {
  transform: translateY(-2px);
  background: #ff7d4f;
  box-shadow: 0 18px 36px rgba(255,107,53,0.32);
}

/* 施設案内 */
.lf-facilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.lf-facility-card {
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(14,30,46,0.08);
  transition: transform 0.35s cubic-bezier(.2,.7,.3,1), box-shadow 0.35s;
}
.lf-facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(14,30,46,0.10);
}
.lf-facility-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ink-2);
}
.lf-facility-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.lf-facility-card:hover .lf-facility-card__img img { transform: scale(1.04); }
.lf-facility-card__body { padding: 16px; }
.lf-facility-card__name { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.lf-facility-card__desc { font-size: 12px; line-height: 1.7; color: var(--ink-3); }

/* フォトギャラリー */
.lf-section--daily-gallery {
  padding: 0;
}
/* 雑誌のフォトカタログのような、全幅・隙間なしの大小混在モザイク。
   7枚を1セットとして6列×2行（12マス）をぴったり埋める配置なので、
   grid-auto-flowの自動判定に頼らず、通常のグリッド順送りだけで隙間なく敷き詰まる。 */
.lf-gallery {
  display: grid;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 15vw;
  gap: 0;
}
.lf-gallery__item {
  overflow: hidden;
  background: var(--ink-2);
}
.lf-gallery__item--lg { grid-column: span 2; grid-row: span 2; }
.lf-gallery__item--wide { grid-column: span 2; grid-row: span 1; }
.lf-gallery__item--tall { grid-column: span 1; grid-row: span 2; }
.lf-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.lf-gallery__item:hover img { transform: scale(1.05); }

/* Life responsive — モバイル・タブレットは列数が変わり7枚1セットの計算が崩れるため、
   一律サイズの単純グリッドにして隙間のリスクをなくす */
@media (max-width: 1024px) {
  .lf-facilities { grid-template-columns: repeat(3, 1fr); }
  .lf-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 22vw; }
  .lf-gallery__item--lg,
  .lf-gallery__item--wide,
  .lf-gallery__item--tall { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 767px) {
  .lf-heading { font-size: 28px; }
  .lf-club-video-links { padding: 20px; }
  .lf-club-video-links__head { display: block; }
  .lf-club-video-links__head p { margin-top: 10px; }
  .lf-club-video-link { width: 100%; justify-content: center; }
  .lf-club-cats { grid-template-columns: 1fr; gap: 28px; }
  .lf-facilities { grid-template-columns: repeat(2, 1fr); }
  .lf-gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 28vw; }
}

/* ============================================================
   TANKYU SECTION — 総合的な探究の時間（ギャラリーモザイク）
   ============================================================ */
.tnk {
  background: var(--paper);
  padding: 72px var(--pad-x) 90px;
}
.tnk__inner { max-width: 1200px; margin: 0 auto; }

.tnk__head { margin-bottom: 40px; }
.tnk__head .eyebrow { margin-bottom: 14px; }
.tnk__head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.tnk__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin: 0;
}
.tnk__more {
  font-size: 13px; font-weight: 600;
  color: var(--teal-deep); text-decoration: none;
  white-space: nowrap; padding-bottom: 4px;
  border-bottom: 1px solid var(--teal-deep);
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.tnk__more:hover { opacity: 0.7; }
.tnk__more span { display: inline-block; transition: transform 0.2s; }
.tnk__more:hover span { transform: translateX(4px); }

/* モザイクグリッド */
.tnk__mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 200px;
  gap: 8px;
}
.tnk__card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  background: var(--ink-2);
}
.tnk__card--large { grid-row: span 2; }
.tnk__card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.7s cubic-bezier(.2,.7,.3,1);
}
.tnk__card:hover .tnk__card-bg { transform: scale(1.05); }
.tnk__card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,30,46,0.85) 0%, rgba(14,30,46,0.15) 55%, transparent 100%);
  transition: background 0.4s;
}
.tnk__card:hover .tnk__card-overlay {
  background: linear-gradient(to top, rgba(14,30,46,0.9) 0%, rgba(14,30,46,0.3) 60%, transparent 100%);
}
.tnk__card-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 24px 24px 20px;
  z-index: 2;
}
.tnk__card-cats { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.tnk__card-cat {
  font-size: 10px; padding: 2px 8px; border-radius: 20px;
  background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85);
}
.tnk__card-cat.is-primary {
  background: var(--teal-deep); color: #fff; font-weight: 600;
}
.tnk__card-title {
  font-size: 16px; font-weight: 700; line-height: 1.5;
  color: #fff; margin-bottom: 8px;
}
.tnk__card--large .tnk__card-title { font-size: 22px; }
.tnk__card-date {
  font-family: "DM Mono", monospace;
  font-size: 11px; color: rgba(255,255,255,0.5);
}
.tnk__card-arrow {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  display: grid; place-items: center;
  font-size: 13px; color: #fff; z-index: 2;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.tnk__card:hover .tnk__card-arrow {
  background: var(--teal-deep); border-color: var(--teal-deep);
  transform: translateX(3px);
}

@media (max-width: 767px) {
  .tnk__title { font-size: 28px; }
  .tnk__head-row { flex-direction: column; align-items: flex-start; }
  .tnk__mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 180px 180px;
  }
  .tnk__card--large { grid-row: span 1; }
}

/* カリキュラムページのヒーロー（ノーフォト・タイポグラフィ／無地A） */
.cur-thero {
  position: relative;
  background: var(--paper);
  padding: 132px var(--pad-x) 76px;
  overflow: hidden;
}
.cur-thero__inner { max-width: 1000px; margin: 0 auto; }
.cur-thero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.cur-thero__breadcrumb a { color: var(--ink-3); text-decoration: none; transition: color 0.2s; }
.cur-thero__breadcrumb a:hover { color: var(--teal-deep); }
.cur-thero__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 1.5px solid rgba(14,30,46,0.22);
  border-radius: 999px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}
.cur-thero__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(34px, 5.2vw, 66px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 22px 0 0;
}
.cur-thero__acc { -webkit-text-stroke: 0.4px currentColor; }
.cur-thero__acc--o { color: var(--orange); }
.cur-thero__acc--t { color: var(--teal-deep); }
.cur-thero__lead {
  max-width: 640px;
  margin: 26px 0 0;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-3);
}
.cur-thero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 14px 30px;
  background: var(--teal-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 3px;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}
.cur-thero__cta:hover { background: #006F75; transform: translateY(-2px); }

/* フルブリードの写真バンド（セクション間のリズム緩衝） */
.cur-band {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.cur-band__bg { position: absolute; inset: 0; background: var(--ink); }
.cur-band__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  opacity: 0.6; display: block;
}
.cur-band__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,30,46,0.48) 0%, rgba(14,30,46,0.64) 100%);
}
.cur-band__content { position: relative; z-index: 1; padding: 0 22px; }
.cur-band__label {
  font-family: "DM Mono", monospace;
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--teal-mid);
  margin: 0 0 18px;
}
.cur-band__text {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(22px, 3.4vw, 38px);
  font-weight: 900;
  line-height: 1.5;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* 特色ある授業の全幅フィルムストリップ（枠なし・全幅：カードグリッドと別カテゴリ） */
.cur-lstrip { position: relative; background: var(--ink); }
.cur-lstrip__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}
.cur-lstrip__item {
  position: relative;
  height: clamp(240px, 25vw, 360px);
  overflow: hidden;
  background: var(--ink);
}
.cur-lstrip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.cur-lstrip__item:hover img { transform: scale(1.05); }
.cur-lstrip__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 12px 14px;
  background: linear-gradient(transparent, rgba(14,30,46,0.78));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
}
.cur-lstrip__note {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: #FFD84D;
  color: #5A3E00;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0,0,0,0.28);
}

/* ============================================================
   TANKYU PAGE（マガジン型リデザイン）— tqm-*
   既存サイトの teal / ink / paper を基調にした探究ページ
   ============================================================ */
.tqm {
  --cream: var(--paper);
  --cream-2: #EEF7F8;
  --cream-box: #FFFFFF;
  --pop: var(--teal-deep);
  --pop-2: var(--teal-pale);
  --tqm-ink: var(--ink);
  --tqm-corner: 4px;
  --tqm-media-corner: 2px;
  background: var(--cream);
  color: var(--tqm-ink);
}
.tqm-sec-head { max-width: 1160px; margin: 0 auto 48px; text-align: left; position: relative; }
.tqm-sec-head__top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.tqm-sec-head__flag { font-size: 22px; line-height: 1; flex: 0 0 auto; }
.tqm-sec-head__en {
  font-family: "DM Mono", monospace; font-weight: 700;
  font-size: 15px; letter-spacing: 0.2em; color: var(--tqm-ink); flex: 0 0 auto;
}
.tqm-sec-head__rule { flex: 1; height: 0; border-top: 2px dashed rgba(27,25,23,0.2); }
.tqm-sec-head h2 {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(28px, 3.8vw, 46px); font-weight: 900; line-height: 1.38;
  color: var(--tqm-ink); margin: 0;
}
.tqm-sec-head p { font-size: 15px; line-height: 1.95; color: rgba(27,25,23,0.62); margin: 18px 0 0; max-width: 620px; }
.tqm-wip {
  display: inline-block; margin-top: 16px; padding: 6px 15px; border-radius: 999px;
  background: var(--teal-pale); color: var(--teal-deep); font-size: 12px; font-weight: 900; letter-spacing: 0.03em;
}

/* 共通ボタン（丸い pill） */
.tqm-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; border-radius: 999px; font-size: 14px; font-weight: 900;
  text-decoration: none; border: 2px solid transparent; transition: transform 0.18s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.tqm-btn--primary { background: var(--tqm-ink); color: #fff; }
.tqm-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(36,30,20,0.24); }
.tqm-btn--sns { background: #fff; color: var(--tqm-ink); border-color: var(--tqm-ink); }
.tqm-btn--sns:hover { background: var(--tqm-ink); color: #fff; }
.tqm-btn--accent { background: var(--pop); color: #fff; box-shadow: 0 10px 24px rgba(0,138,146,0.24); }
.tqm-btn--accent:hover { transform: translateY(-2px); }
.tqm-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.tqm-btn--ghost:hover { background: rgba(255,255,255,0.16); }

/* ── HERO ── */
.tqm-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 56px; align-items: center;
  padding: 148px var(--pad-x) 112px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 20%, rgba(0,190,200,0.12), transparent 60%),
    radial-gradient(80% 70% at 0% 100%, rgba(14,30,46,0.04), transparent 60%),
    var(--cream);
}
/* 大きな有機カーブ（カルーセルの背後に淡い円が抜ける） */
.tqm-hero__curve {
  position: absolute; top: -34%; right: -18%;
  width: 820px; height: 820px; border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 60%, #EEF3FA 100%);
  box-shadow: 0 40px 100px rgba(27,25,23,0.05);
  z-index: 0; pointer-events: none;
}
.tqm-hero__deco { position: absolute; top: 12%; right: 3%; width: 210px; color: rgba(0,138,146,0.22); pointer-events: none; z-index: 1; }
.tqm-hero__deco svg { width: 100%; height: auto; }
.tqm-hero__intro { position: relative; z-index: 1; }
.tqm-hero__breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: 0.1em; color: rgba(36,30,20,0.55); }
.tqm-hero__breadcrumb a { color: rgba(36,30,20,0.55); text-decoration: none; }
.tqm-hero__breadcrumb a:hover { color: var(--pop); }
.tqm-hero__eyebrow {
  display: inline-block; font-family: "Fraunces", serif; font-style: italic; font-weight: 600;
  font-size: 18px; color: var(--pop);
}
.tqm-hero__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(34px, 4.2vw, 56px); font-weight: 900; line-height: 1.24; letter-spacing: 0.01em;
  color: var(--tqm-ink); margin: 14px 0 0;
}
.tqm-hero__title-acc {
  color: var(--pop);
  background: linear-gradient(transparent 60%, var(--pop-2) 60%, var(--pop-2) 92%, transparent 92%);
}
.tqm-hero__lead { max-width: 430px; margin: 26px 0 0; font-size: 15px; line-height: 2.05; color: rgba(27,25,23,0.7); }
/* 吹き出し型CTA */
.tqm-hero__cta {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px; margin-top: 36px;
  padding: 17px 34px; background: var(--tqm-ink); color: #fff; font-size: 14px; font-weight: 900;
  text-decoration: none; border-radius: 40px; transition: transform 0.18s, box-shadow 0.2s;
}
.tqm-hero__cta::after {
  content: ""; position: absolute; left: 40px; bottom: -7px;
  width: 16px; height: 16px; background: var(--tqm-ink);
  border-radius: 0 0 4px 0; transform: rotate(45deg);
}
.tqm-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(27,25,23,0.26); }

/* PICK UP カルーセル（大きな白い角丸パネル） */
.tqm-hero__pickup { position: relative; z-index: 1; }
.tqm-hero__pickup-label { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: "DM Mono", monospace; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--tqm-ink); }
.tqm-hero__pickup-icon { display: inline-flex; color: var(--pop); }
.tqm-hero__pickup-sep { color: rgba(36,30,20,0.4); }
.tqm-carousel { position: relative; background: #fff; border-radius: var(--tqm-corner); padding: 24px; box-shadow: 0 40px 80px rgba(36,30,20,0.16); }
.tqm-carousel--empty { padding: 60px 22px; text-align: center; color: rgba(36,30,20,0.5); font-size: 14px; }
.tqm-slide { display: none; text-decoration: none; color: inherit; }
.tqm-slide.is-active {display: block;}
.tqm-slide__img { aspect-ratio: 16 / 10; border-radius: var(--tqm-media-corner); overflow: hidden; background: var(--cream-2); }
.tqm-slide__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.tqm-slide:hover .tqm-slide__img img { transform: scale(1.04); }
.tqm-slide__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin: 18px 6px 0; }
.tqm-slide__date { display: flex; align-items: baseline; gap: 8px; }
.tqm-slide__date strong { font-family: "Inter", sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; color: var(--tqm-ink); line-height: 1; }
.tqm-slide__date span { font-family: "DM Mono", monospace; font-size: 12px; color: rgba(36,30,20,0.55); }
.tqm-slide__cats { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tqm-slide__gakkei, .tqm-slide__cat { font-size: 11px; font-weight: 800; padding: 4px 11px; border-radius: 999px; }
.tqm-slide__gakkei { background: rgba(0,138,146,0.12); color: var(--teal-deep); }
.tqm-slide__cat { background: rgba(36,30,20,0.08); color: var(--tqm-ink); }
.tqm-slide__title { font-size: 20px; font-weight: 900; line-height: 1.5; color: var(--tqm-ink); margin: 12px 6px 4px; }
.tqm-carousel__arrow { position: absolute; top: 35%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: none; background: #fff; color: var(--tqm-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 20px rgba(36,30,20,0.2); transition: background 0.2s, color 0.2s, transform 0.2s; z-index: 2; }
.tqm-carousel__arrow:hover { background: var(--pop); color: #fff; transform: translateY(-50%) scale(1.06); }
.tqm-carousel__arrow--prev { left: -22px; }
.tqm-carousel__arrow--next { right: -22px; }
.tqm-carousel__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.tqm-carousel__dots { display: flex; align-items: center; gap: 9px; }
.tqm-carousel__dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(36,30,20,0.22); cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s; }
.tqm-carousel__dot.is-active { background: var(--pop); transform: scale(1.3); }
.tqm-carousel__play { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(36,30,20,0.22); background: #fff; color: var(--tqm-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tqm-carousel__play:hover { border-color: var(--pop); color: var(--pop); }

/* ── PROGRAM ── */
.tqm-program { padding: 88px var(--pad-x) 100px; background: #fff; }
/* 大きな写真＋2カラム（交互・画面端まで100%幅） */
.tqm-progs { margin: 44px calc(-1 * var(--pad-x)) 0; }
.tqm-prog { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.tqm-prog--rev .tqm-prog__media { order: 2; }
.tqm-prog__media { position: relative; min-height: 440px; overflow: hidden; }
.tqm-prog__media img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--cream-2); }
/* メイン写真の自動クロスフェード切替 */
.tqm-prog__slides { position: absolute; inset: 0; }
.tqm-prog__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.tqm-prog__slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .tqm-prog__slide { transition: none; }
}
.tqm-prog__ph { position: absolute; top: 16px; left: 16px; padding: 5px 12px; border-radius: 999px; background: var(--teal-pale); color: var(--teal-deep); font-size: 11px; font-weight: 900; }
.tqm-prog__text { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 60px var(--pad-x) 60px clamp(40px, 5vw, 84px); }
.tqm-prog--rev .tqm-prog__text { padding: 60px clamp(40px, 5vw, 84px) 60px var(--pad-x); }
.tqm-prog__num { position: absolute; top: 30px; left: clamp(36px, 4.6vw, 78px); font-family: "Inter", sans-serif; font-weight: 800; font-size: clamp(96px, 10vw, 168px); line-height: 1; color: rgba(27,25,23,0.06); z-index: 0; letter-spacing: -0.03em; }
.tqm-prog--rev .tqm-prog__num { left: auto; right: clamp(36px, 4.6vw, 78px); }
.tqm-prog__head { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tqm-prog__year { display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 999px; background: var(--pop); color: #fff; font-size: 13px; font-weight: 900; }
.tqm-prog--career .tqm-prog__year { background: var(--tqm-ink); }
.tqm-prog__en { font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: 0.16em; color: rgba(27,25,23,0.5); }
.tqm-prog__name { position: relative; z-index: 1; font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; color: var(--tqm-ink); line-height: 1.3; margin: 0; }
.tqm-prog__sub { position: relative; z-index: 1; font-size: clamp(17px, 2vw, 23px); font-weight: 900; color: var(--pop); margin: 8px 0 0; }
.tqm-prog__inner { position: relative; z-index: 1; display: inline-block; margin: 16px 0 0; padding: 8px 16px; border-radius: var(--tqm-corner); background: var(--cream-2); font-size: 13px; font-weight: 700; color: var(--tqm-ink); }
.tqm-prog__inner strong { color: var(--pop); }
.tqm-prog__body { position: relative; z-index: 1; font-size: 14.5px; line-height: 2; color: rgba(27,25,23,0.66); margin: 18px 0 0; max-width: 560px; }
.tqm-progs__bridge { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 30px 0; }
.tqm-progs__bridge::before, .tqm-progs__bridge::after { content: ""; width: 40px; height: 2px; background: rgba(27,25,23,0.2); }
.tqm-progs__bridge span { font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: 0.14em; color: rgba(27,25,23,0.55); }
.tqm-prog--career { background: var(--cream-2); }
.tqm-courses { max-width: 1080px; margin: 60px auto 0; padding-top: 44px; border-top: 1px dashed rgba(27,25,23,0.2); }
.tqm-courses + .tqm-courses { margin-top: 40px; border-top: none; padding-top: 0; }
.tqm-courses__label { text-align: center; font-size: 15px; font-weight: 900; color: var(--tqm-ink); margin-bottom: 20px; }
.tqm-courses__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tqm-courses__note { text-align: center; font-size: 12.5px; line-height: 1.8; color: rgba(27,25,23,0.5); margin: 18px auto 0; max-width: 720px; }
.tqm-course { flex: 1 1 260px; max-width: 380px; background: var(--cream-box); border: 1px solid rgba(27,25,23,0.06); border-radius: var(--tqm-corner); padding: 24px 26px; }

/* 探究を支える講座（エリア探究→進路選択の“つなぎ”）。
   破線ボーダーと枠付きカードをやめ、軽い注記のように見せて境界感を消す。 */
.tqm-courses--support { margin-top: clamp(48px, 6vw, 72px); padding-top: 0; border-top: none; }
.tqm-courses--support .tqm-courses__label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  color: rgba(27,25,23,0.42); margin-bottom: 24px;
}
.tqm-courses--support .tqm-course {
  flex: 1 1 240px; max-width: 320px;
  background: transparent; border: none; border-radius: 0;
  padding: 6px 22px; text-align: center;
}
.tqm-courses--support .tqm-course h4 { font-size: 15.5px; }
.tqm-courses--support .tqm-course h4::before {
  content: ""; display: block; width: 26px; height: 3px; border-radius: 2px;
  background: var(--teal); opacity: 0.75; margin: 0 auto 12px;
}
.tqm-courses--support .tqm-course p { font-size: 13px; }
.tqm-courses--support .tqm-courses__note { color: rgba(27,25,23,0.4); margin-top: 8px; }

/* ── 科目選択への導線（学校設定科目 CTA → 学びカリキュラムへ） ── */
.tqm-subjects { padding: 24px var(--pad-x) 80px; background: var(--cream); }
.tqm-subjects__panel {
  max-width: 1040px; margin: 0 auto; text-align: center;
  border-radius: var(--tqm-corner);
  padding: 56px clamp(24px, 5vw, 72px);
  background: linear-gradient(158deg, var(--teal-pale), #E7F8F9);
  border: 1px solid rgba(0,138,146,0.14);
}
.tqm-subjects__eyebrow {
  font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: 0.18em;
  font-weight: 500; color: var(--teal-deep);
}
.tqm-subjects__title {
  font-size: clamp(24px, 3.4vw, 36px); font-weight: 900; color: var(--tqm-ink);
  line-height: 1.35; margin: 12px 0 0;
}
.tqm-subjects__lead {
  font-size: 15px; line-height: 1.95; color: rgba(27,25,23,0.7);
  max-width: 640px; margin: 16px auto 0;
}
.tqm-subjects__btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 30px; min-height: 54px; padding: 0 30px;
  border-radius: 999px; background: var(--teal-deep); color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 700; font-size: 15px;
  text-decoration: none; box-shadow: 0 10px 24px rgba(0,138,146,0.28);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.tqm-subjects__btn:hover {
  background: #00727A; transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,138,146,0.34);
}
@media (max-width: 767px) {
  .tqm-subjects { padding: 8px 22px 60px; }
  .tqm-subjects__panel { padding: 40px 22px; border-radius: 16px; }
}
.tqm-course--project { border-color: rgba(0,138,146,0.28); }
.tqm-course__tag { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: var(--pop); color: #fff; font-size: 11px; font-weight: 900; }
.tqm-course h4 { font-size: 17px; font-weight: 900; color: var(--tqm-ink); margin: 0 0 8px; }
.tqm-course p { font-size: 13.5px; line-height: 1.85; color: rgba(27,25,23,0.66); margin: 0; }

/* ── PHOTO GALLERY（全幅タイル） ── */
.tqm-gallery {
  padding: 0;
  background: #fff;
}
.tqm-gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 15vw, 260px);
  gap: 4px;
}
.tqm-gallery__tile {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--cream-2);
}
.tqm-gallery__tile--wide { grid-column: span 2; }
.tqm-gallery__tile--tall { grid-row: span 2; }
.tqm-gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}
.tqm-gallery__tile:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

/* ── BLOG & SNS（2 feature cards + 4 compact rows） ── */
.tqm-blog { padding: 92px var(--pad-x) 100px; background: #fff; }
.tqm-blog__layout {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: clamp(26px, 3.2vw, 50px);
  align-items: start;
}
.tqm-blog-feature {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.tqm-blog-feature__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--tqm-media-corner);
  background: #fff;
}
.tqm-blog-feature__thumb img,
.tqm-blog-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}
.tqm-blog-feature:hover img,
.tqm-blog-list__item:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}
.tqm-blog-feature__meta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(27,25,23,0.66);
}
.tqm-blog-feature__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-deep);
  flex: 0 0 auto;
}
.tqm-blog-feature__date {
  margin-top: 16px;
  color: rgba(27,25,23,0.62);
}
.tqm-blog-feature__date strong,
.tqm-blog-list__date strong {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}
.tqm-blog-feature h3 {
  margin: 14px 0 0;
  font-size: clamp(18px, 1.38vw, 22px);
  font-weight: 700;
  line-height: 1.68;
  color: var(--tqm-ink);
}
.tqm-blog-list {
  border-top: 2px solid rgba(14,30,46,0.62);
}
.tqm-blog-list__item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 2px solid rgba(14,30,46,0.62);
  color: inherit;
  text-decoration: none;
}
.tqm-blog-list__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--tqm-media-corner);
  background: #fff;
}
.tqm-blog-list__date {
  margin-bottom: 9px;
  color: rgba(27,25,23,0.58);
}
.tqm-blog-list__date strong {
  font-size: 15px;
  font-weight: 650;
}
.tqm-blog-list__item h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.68;
  color: var(--tqm-ink);
}
.tqm-blog__actions { display: flex; justify-content: center; gap: 16px; margin-top: 48px; flex-wrap: wrap; }

/* ── GRADUATE VOICES ── */
.tqm-grads {
  padding: 92px var(--pad-x) 100px;
  background: var(--cream-2);
}
.tqm-grads__grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tqm-grad-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-width: 0;
  padding: 22px;
  border-radius: var(--tqm-corner);
  border: 1px solid rgba(27,25,23,0.08);
  background: #fff;
}
.tqm-grad-card__photo {
  width: 108px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--tqm-media-corner);
  background: var(--cream-2);
}
.tqm-grad-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tqm-grad-card__course {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,138,146,0.12);
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 900;
}
.tqm-grad-card h3 {
  margin: 12px 0 0;
  color: var(--tqm-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.55;
}
.tqm-grad-card p {
  margin: 12px 0 0;
  color: rgba(27,25,23,0.64);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.85;
}
.tqm-grad-card__name {
  margin-top: 14px;
  color: var(--tqm-ink);
  font-size: 13px;
  font-weight: 900;
}
.tqm-grads__action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ── END CTA ── */
.tqm-endcta { padding: 40px var(--pad-x) 100px; background: var(--cream); }
/* 学生生活ページ（.lf-endcta）とトーン&マナーを統一。パネル/カード/ボタンは lf-endcta__* を流用 */
.tqm-endcta .lf-endcta__panel { max-width: 1040px; margin: 0 auto; }
.tqm-endcta .lf-endcta__heading { margin-bottom: 14px; }
.tqm-endcta__lead { font-size: 15px; line-height: 1.9; color: var(--ink-3); margin: 0 auto 34px; max-width: 620px; }
.lf-endcta__cards--2 { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; }
@media (max-width: 767px) { .lf-endcta__cards--2 { grid-template-columns: 1fr; } }

/* ── レスポンシブ ── */
@media (max-width: 1024px) {
  .tqm-hero { grid-template-columns: 1fr; gap: 40px; padding: 116px 48px 80px; }
  .tqm-hero__lead { max-width: none; }
  .tqm-hero__deco { display: none; }
  .tqm-program, .tqm-blog, .tqm-grads { padding-left: 48px; padding-right: 48px; }
  .tqm-gallery__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 24vw, 230px); }
  .tqm-blog__layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tqm-blog-list { grid-column: 1 / -1; }
  .tqm-blog-list__item { grid-template-columns: 150px minmax(0, 1fr); }
  .tqm-grads__grid { grid-template-columns: 1fr; }
  .tqm-endcta { padding-left: 48px; padding-right: 48px; }
}
@media (max-width: 767px) {
  .tqm-hero { padding: 104px 22px 64px; }
  .tqm-hero__title { font-size: 34px; }
  .tqm-carousel { padding: 16px; border-radius: var(--tqm-corner); }
  .tqm-carousel__arrow { width: 40px; height: 40px; }
  .tqm-carousel__arrow--prev { left: -8px; }
  .tqm-carousel__arrow--next { right: -8px; }
  .tqm-slide__title { font-size: 18px; }
  .tqm-program, .tqm-blog, .tqm-grads { padding: 64px 22px 72px; }
  .tqm-prog { grid-template-columns: 1fr; gap: 0; align-items: start; }
  .tqm-prog--rev .tqm-prog__media { order: 0; }
  .tqm-prog__media { min-height: 240px; }
  .tqm-prog__text,
  .tqm-prog--rev .tqm-prog__text { padding: 28px 22px 40px; }
  .tqm-prog__num { font-size: 72px; top: 14px; left: 22px; }
  .tqm-prog--rev .tqm-prog__num { right: auto; left: 22px; }
  .tqm-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46vw; gap: 3px; }
  .tqm-gallery__tile--wide,
  .tqm-gallery__tile--tall { grid-column: span 1; grid-row: span 1; }
  .tqm-blog__layout { grid-template-columns: 1fr; gap: 34px; }
  .tqm-blog-feature__meta { margin-top: 18px; }
  .tqm-blog-feature__date { margin-top: 12px; }
  .tqm-blog-feature h3 { margin-top: 12px; font-size: 19px; line-height: 1.65; }
  .tqm-blog-list__item { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .tqm-blog-list__date { margin-bottom: 7px; }
  .tqm-blog-list__date strong { font-size: 14px; }
  .tqm-blog-list__item h3 { font-size: 13.5px; line-height: 1.62; }
  .tqm-grad-card { grid-template-columns: 82px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .tqm-grad-card__photo { width: 82px; }
  .tqm-grad-card h3 { font-size: 15px; line-height: 1.55; }
  .tqm-grad-card p { font-size: 12.5px; line-height: 1.75; }
  .tqm-endcta { padding: 24px 22px 72px; }
}

/* ============================================================
   CURRICULUM PAGE — カリキュラム・学び
   ============================================================ */
.cur {
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.cur-hero {
  position: relative;
  min-height: 700px;
  padding: 148px var(--pad-x) 92px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.9fr);
  gap: 70px;
  align-items: center;
  background:
    linear-gradient(125deg, rgba(232,248,248,0.88) 0%, rgba(250,250,245,0.96) 45%, rgba(255,243,209,0.74) 100%);
}
.cur-hero::before {
  content: "5 SYSTEMS";
  position: absolute;
  right: 28px;
  top: 126px;
  writing-mode: vertical-rl;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(0,138,146,0.34);
}
.cur-hero__body {
  position: relative;
  z-index: 2;
}
.cur-hero__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 46px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.cur-hero__breadcrumb a {
  color: var(--ink-3);
  text-decoration: none;
}
.cur-hero__breadcrumb a:hover { color: var(--teal-deep); }
.cur-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal-deep);
}
.cur-hero__label::before {
  content: "";
  width: 44px;
  height: 3px;
  background: #D94B97;
}
.cur-hero h1 {
  max-width: 780px;
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: 0;
  margin: 0 0 26px;
  color: var(--ink);
}
.cur-hero p {
  max-width: 690px;
  font-size: 16px;
  line-height: 2;
  font-weight: 500;
  color: var(--ink-2);
  margin: 0;
}
.cur-hero__collage {
  position: relative;
  min-height: 420px;
}
.cur-hero__photo {
  position: absolute;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 22px 44px rgba(14,30,46,0.16);
}
.cur-hero__photo--main {
  right: 0;
  top: 20px;
  width: 78%;
  height: 320px;
  transform: rotate(2deg);
  border: 8px solid #fff;
}
.cur-hero__photo--sub {
  left: 0;
  bottom: 4px;
  width: 52%;
  height: 190px;
  transform: rotate(-5deg);
  border: 8px solid #fff;
}
.cur-hero__note {
  position: absolute;
  right: 42px;
  bottom: 18px;
  background: #F5E53D;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  padding: 12px 18px;
  border-radius: 999px;
  transform: rotate(-4deg);
  box-shadow: 0 10px 22px rgba(14,30,46,0.14);
}

.cur-section-head {
  max-width: 900px;
}
.cur-section-head h2,
.cur-system-panel h2,
.cur-course-table h2,
.cur-link h2 {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--ink);
}
.cur-section-head h2 {
  font-size: 42px;
  line-height: 1.34;
  margin: 14px 0 0;
}
.cur-section-head p {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-3);
  margin: 18px 0 0;
}

.cur-day {
  padding: 86px var(--pad-x);
  background: var(--paper);
}
.cur-day__grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
/* cur-day__item — 旧スタイル無効化（新デザインは下部に定義） */
.cur-day__item {
  min-height: 0;
  padding: 0;
  border: none;
  border-top: none;
  border-radius: 0;
  background: transparent;
}
.cur-day__item:nth-child(2) { border-top-color: transparent; }
.cur-day__item:nth-child(3) { border-top-color: transparent; }
.cur-day__item:nth-child(4) { border-top-color: transparent; }

.cur-systems {
  padding: 92px var(--pad-x) 104px;
  background: linear-gradient(180deg, #EEF9FA 0%, var(--paper) 100%);
}
.cur-map {
  position: relative;
  max-width: 1120px;
  min-height: 660px;
  margin: 54px auto 0;
}
.cur-map__center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  min-height: 230px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  text-align: center;
  color: #fff;
  background: var(--ink-2);
  border-radius: 50%;
  box-shadow: 0 24px 44px rgba(14,30,46,0.16);
  z-index: 2;
}
.cur-map__center span,
.cur-map__en {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.cur-map__center span { color: var(--teal-mid); margin-bottom: 10px; }
.cur-map__center strong {
  font-size: 25px;
  line-height: 1.35;
  font-weight: 900;
}
.cur-map__center p {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin: 14px 0 0;
}
.cur-map__node {
  position: absolute;
  width: 305px;
  min-height: 210px;
  padding: 28px;
  color: #fff;
  background: var(--system-color);
  border-radius: 48px;
  box-shadow: 0 20px 40px rgba(14,30,46,0.12);
}
.cur-map__node--1 { left: 50%; top: 0; transform: translateX(-50%); }
.cur-map__node--2 { right: 0; top: 160px; }
.cur-map__node--3 { right: 108px; bottom: 0; }
.cur-map__node--4 { left: 108px; bottom: 0; }
.cur-map__node--5 { left: 0; top: 160px; }
.cur-map__en {
  color: rgba(255,255,255,0.76);
  margin-bottom: 10px;
}
.cur-map__node h3 {
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 14px;
}
.cur-map__node p {
  font-size: 14px;
  line-height: 1.75;
  font-weight: 700;
  margin: 0;
  color: rgba(255,255,255,0.92);
}

.cur-detail {
  padding: 92px var(--pad-x);
  background: var(--paper);
}
.cur-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.cur-tabs__btn {
  appearance: none;
  border: 1px solid rgba(14,30,46,0.12);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cur-tabs__btn.is-active,
.cur-tabs__btn:hover {
  color: #fff;
  background: var(--system-color);
  border-color: var(--system-color);
}
.cur-system-panel {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 44px;
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(14,30,46,0.08);
  border-left: 8px solid var(--system-color);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(14,30,46,0.06);
}
.cur-system-panel__image {
  min-height: 360px;
  background: var(--ink-2);
}
.cur-system-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cur-system-panel__body {
  padding: 44px 44px 44px 0;
}
.cur-system-panel__en {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--system-color);
  margin-bottom: 12px;
}
.cur-system-panel h2 {
  font-size: 38px;
  margin: 0 0 18px;
}
.cur-system-panel__lead {
  font-size: 18px;
  line-height: 1.75;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 18px;
}
.cur-system-panel__for {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-3);
  margin: 0 0 24px;
}
.cur-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cur-subjects span {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--system-color) 18%, white);
  font-size: 12px;
  font-weight: 800;
}

.cur-schedule {
  padding: 88px var(--pad-x);
  background: linear-gradient(135deg, #F8FBF9 0%, #EAF8F8 100%);
}
.cur-schedule__table {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(14,30,46,0.08);
  border-radius: 6px;
  box-shadow: 0 16px 32px rgba(14,30,46,0.06);
}
.cur-schedule__period {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--system-color) 18%, white);
}
.cur-schedule__period span {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  color: var(--system-color);
}
.cur-schedule__period strong {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 900;
  color: var(--ink);
}

.cur-features {
  padding: 92px var(--pad-x);
  background: var(--paper);
}
.cur-feature-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cur-feature {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  background: #fff;
  border: 1px solid rgba(14,30,46,0.08);
  border-radius: 6px;
  overflow: hidden;
}
.cur-feature img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.cur-feature__body {
  padding: 22px;
}
.cur-feature__body span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 8px;
  background: var(--teal-pale);
  color: var(--teal-deep);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.cur-feature h3 {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 10px;
}
.cur-feature p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-3);
  margin: 0;
}

.cur-course-table {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  padding: 88px var(--pad-x);
  background: var(--paper-2);
}
.cur-course-table h2,
.cur-link h2 {
  font-size: 36px;
  line-height: 1.4;
  margin: 14px 0 0;
}
.cur-course-table p {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-3);
  margin: 0;
}
.cur-course-table__placeholder {
  grid-column: 1 / -1;
  min-height: 230px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  border: 2px dashed rgba(0,138,146,0.28);
  border-radius: 6px;
  background: rgba(255,255,255,0.62);
}
.cur-course-table__placeholder span {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
}
.cur-course-table__placeholder strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  margin: 8px 0;
}
.cur-course-table__placeholder small {
  color: var(--ink-3);
  font-size: 13px;
}

.cur-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 84px var(--pad-x) 104px;
  background: var(--ink);
  color: #fff;
}
.cur-link h2 { color: #fff; }
.cur-link p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.72);
  margin: 16px 0 0;
}
.cur-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  background: var(--orange);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

/* ── リード (単位制普通科) ───────────────────────── */
.cur-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  padding: 80px var(--pad-x);
  background: var(--paper);
}
.cur-lead__inner { position: relative; z-index: 1; }
.cur-lead__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--ink);
  margin: 16px 0 22px;
}
.cur-lead__body {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 640px;
}
.cur-lead__body strong { color: var(--teal-deep); font-weight: 900; }
.cur-lead__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.cur-lead__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.cur-lead__badge--teal { background: var(--teal-pale); color: var(--teal-deep); }
.cur-lead__badge--orange { background: var(--orange-pale); color: #C94A00; }
.cur-lead__badge--yellow { background: #FFF6CC; color: #9A7000; }
.cur-lead__photo {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 24px 48px rgba(14,30,46,0.14);
}
.cur-lead__photo img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* ── 玉野の学び・カリキュラムの特徴（アウトラインカード） ── */
.cur-feat {
  position: relative;
  padding: 92px var(--pad-x) 100px;
  background: var(--paper-2);
}
.cur-feat::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.10;
  background-image: radial-gradient(circle, var(--ink) 1.4px, transparent 1.6px);
  background-size: 20px 20px;
  pointer-events: none;
}
.cur-feat__inner { position: relative; max-width: 1200px; margin: 0 auto; }
.cur-feat__head { max-width: 900px; margin: 0 auto 48px; text-align: center; }
.cur-feat__head h2 {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  margin: 14px 0 0;
}
.cur-feat__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.feat-card {
  --accent: var(--teal-deep);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 50px 38px 34px;
  border: 1.5px solid rgba(14,30,46,0.22);
  border-radius: 26px;
  background: transparent;
}
.feat-card--c1 { --accent: #008A92; }
.feat-card--c2 { --accent: #FF6B35; }
.feat-card--c3 { --accent: #2FA36B; }
.feat-card--c4 { --accent: #E0699A; }
.feat-card__label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 7px 20px;
  background: var(--paper-2);
  border: 1.5px solid rgba(14,30,46,0.22);
  border-radius: 999px;
  font-family: "DM Mono", "Inter", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  white-space: nowrap;
}
.feat-card__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  margin: 6px 0 4px;
}
.feat-card__key {
  color: var(--accent);
  -webkit-text-stroke: 0.4px var(--accent);
}
.feat-card__list { list-style: none; margin: 22px 0 0; padding: 0; }
.feat-card__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 17px 4px;
  border-top: 1px solid rgba(14,30,46,0.14);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink-2);
}
.feat-card__dot {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.feat-card__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(14,30,46,0.14);
  font-family: "DM Mono", "Inter", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.feat-card__more:hover { color: var(--accent); gap: 12px; }

/* ── 特徴ある5つの授業（横並びカード＋モーダル） ── */
.cur-lessons {
  position: relative;
  padding: 92px var(--pad-x) 100px;
  background: var(--paper-2);
  scroll-margin-top: 84px; /* 固定ヘッダー(76px)分のオフセット。他ページから #lessons に飛んだ際に上部が隠れないように */
}
.cur-lessons::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.10;
  background-image: radial-gradient(circle, var(--ink) 1.4px, transparent 1.6px);
  background-size: 20px 20px;
  pointer-events: none;
}
.cur-lessons__inner { position: relative; max-width: 1200px; margin: 0 auto; }
.cur-lessons__head { max-width: 900px; margin: 0 auto 44px; text-align: center; }
.cur-lessons__pickup {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(47,163,107,0.14);
  color: #1E7A4C;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.cur-lessons__head h2 {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  margin: 14px 0 0;
}
.cur-lessons__head p { margin-left: auto; margin-right: auto; }
.cur-lessons__strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1.5px solid rgba(14,30,46,0.22);
  border-radius: 22px;
  background: rgba(255,255,255,0.5);
  overflow: hidden;
}
.cur-lesson {
  --accent: var(--teal-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 40px 22px 34px;
  background: transparent;
  border: none;
  border-left: 1.5px solid rgba(14,30,46,0.14);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
  font-family: inherit;
}
.cur-lesson:first-child { border-left: none; }
.cur-lesson:hover { background: rgba(255,255,255,0.85); }
.cur-lesson--c1 { --accent: #008A92; }
.cur-lesson--c2 { --accent: #FF6B35; }
.cur-lesson--c3 { --accent: #2FA36B; }
.cur-lesson--c4 { --accent: #E0699A; }
.cur-lesson--c5 { --accent: #4B7BB5; }
.cur-lesson__title {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.cur-lesson__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  color: var(--accent);
  margin: 4px 0;
}
.cur-lesson__icon svg { width: 64px; height: 64px; }
.cur-lesson__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  font-family: "DM Mono", "Inter", monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color 0.2s, gap 0.2s;
}
.cur-lesson:hover .cur-lesson__more { color: var(--accent); gap: 11px; }

/* 特徴ある授業モーダル */
.cur-lmodal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(14,30,46,0.5);
  backdrop-filter: blur(3px);
  animation: lmodal-fade 0.2s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cur-lmodal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: lmodal-fade 0.3s ease;
}

@keyframes lmodal-fade { from { opacity: 0; } to { opacity: 1; } }
.cur-lmodal {
  --accent: var(--teal-deep);
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--paper);
  border-radius: 22px;
  border-top: 6px solid var(--accent);
  padding: 44px 42px 40px;
  box-shadow: 0 40px 90px rgba(14,30,46,0.32);
  /* animation: lmodal-pop 0.24s cubic-bezier(0.2, 0.8, 0.3, 1); */
  animation: none;
  text-align: center;
}
.cur-lmodal.is-pop {
  animation: lmodal-pop 0.24s cubic-bezier(0.2, 0.8, 0.3, 1);
}
body.is-lmodal-open {
  overflow: hidden;
}
@keyframes lmodal-pop { from { transform: translateY(16px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.cur-lmodal--c1 { --accent: #008A92; }
.cur-lmodal--c2 { --accent: #FF6B35; }
.cur-lmodal--c3 { --accent: #2FA36B; }
.cur-lmodal--c4 { --accent: #E0699A; }
.cur-lmodal--c5 { --accent: #4B7BB5; }
.cur-lmodal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--ink-2);
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(14,30,46,0.18);
  transition: background 0.2s;
}
.cur-lmodal__close:hover { background: #fff; }
/* モーダル上部の写真バナー（仮画像・images/curriculum/lessons/） */
.cur-lmodal__photo {
  position: relative;
  margin: -44px -42px 0;
  height: 200px;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: var(--ink);
}
.cur-lmodal__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cur-lmodal__ph-flag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #FFD84D;
  color: #5A3E00;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.cur-lmodal__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px; height: 84px;
  margin: -42px auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(14,30,46,0.10);
  box-shadow: 0 6px 16px rgba(14,30,46,0.14);
  color: var(--accent);
}
.cur-lmodal__icon svg { width: 46px; height: 46px; }
.cur-lmodal__kei {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}
.cur-lmodal__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.3;
  margin: 0 0 6px;
}
.cur-lmodal__en {
  display: block;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  margin-top: 4px;
}
.cur-lmodal__lead {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 14px 0 12px;
}
.cur-lmodal__body {
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-3);
  margin: 0 0 26px;
  text-align: left;
}
.cur-lmodal__points-head {
  text-align: left;
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 10px;
}
.cur-lmodal__points { list-style: none; margin: 0; padding: 0; text-align: left; }
.cur-lmodal__points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 0;
  border-top: 1px solid rgba(14,30,46,0.12);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.6;
}
.cur-lmodal__dot {
  flex-shrink: 0;
  width: 10px; height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── 3ポイント ───────────────────────────────────── */
.cur-points {
  padding: 88px var(--pad-x);
  background: var(--paper-2);
}
.cur-points__inner { position: relative; }
.cur-points__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--ink);
  margin: 16px 0 44px;
}
.cur-points__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cur-point {
  position: relative;
  padding: 36px 28px 36px 32px;
  background: #fff;
  border: 1px solid rgba(14,30,46,0.08);
  border-left: 4px solid var(--point-color, var(--teal-deep));
  border-radius: 2px;
}
.cur-point__num {
  font-family: "DM Mono", monospace;
  font-size: 52px;
  font-weight: 700;
  color: rgba(14,30,46,0.06);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 22px;
}
.cur-point h3 {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 16px;
  padding-right: 52px;
}
.cur-point p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-3);
  margin: 0;
}

/* ── 5学系 ──────────────────────────────────────── */
.cur-systems {
  position: relative;
  padding: 92px var(--pad-x) 104px;
  background: var(--paper);
}
.cur-systems__inner { position: relative; max-width: 1280px; margin: 0 auto; }
.cur-systems__head { max-width: 900px; margin: 0 auto; text-align: center; }
.cur-systems__head p { margin-left: auto; margin-right: auto; }

.cur-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0 20px;
}
.cur-tabs__btn {
  appearance: none;
  border: 1px solid rgba(14,30,46,0.14);
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cur-tabs__btn.is-active,
.cur-tabs__btn:hover {
  color: #fff;
  background: var(--system-color);
  border-color: var(--system-color);
}

.cur-system-panel {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(14,30,46,0.08);
  border-left: 6px solid var(--system-color);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(14,30,46,0.06);
}
.cur-system-panel__image {
  min-height: 360px;
  background: var(--ink-2);
}
.cur-system-panel__image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cur-system-panel__body {
  padding: 44px 40px;
}
.cur-system-panel__en {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--system-color);
  margin-bottom: 8px;
}
.cur-system-panel__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 14px;
}
.cur-system-panel__keywords {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 20px;
}
.cur-system-panel__kw {
  padding: 4px 10px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--system-color) 14%, white);
  color: var(--system-color);
  font-size: 12px;
  font-weight: 800;
}
.cur-system-panel__lead {
  font-size: 17px;
  line-height: 1.8;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 14px;
}
.cur-system-panel__for {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-3);
  margin: 0 0 22px;
}
.cur-subjects__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cur-subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cur-subjects span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--system-color) 16%, white);
  font-size: 12px;
  font-weight: 800;
}

/* 特別進学グループ */
.cur-advance {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: start;
  padding: 30px 34px;
  background: #F4FAF9;
  border: 1px solid rgba(0,138,146,0.18);
  border-radius: 2px;
}
.cur-advance__accent {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal-deep);
  white-space: nowrap;
  margin-top: 4px;
}
.cur-advance__heading {
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 10px;
}
.cur-advance__text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  margin: 0 0 10px;
}
.cur-advance__text strong { color: var(--teal-deep); font-weight: 900; }
.cur-advance__tt-btns {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px;
}
.cur-advance__tt-label {
  font-size: 11px; font-weight: 700; color: var(--ink-3); white-space: nowrap;
}
.cur-advance__tt-btn {
  appearance: none; border: 1px solid var(--teal-deep); background: #fff;
  color: var(--teal-deep); font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 2px; cursor: pointer; transition: background 0.12s, color 0.12s;
}
.cur-advance__tt-btn.is-active,
.cur-advance__tt-btn:hover { background: var(--teal-deep); color: #fff; }
.cur-advance__note {
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-3);
  margin: 0;
}

/* ── Sim TaMano 2030 ────────────────────────────── */
.cur-sim {
  position: relative;
  overflow: hidden;
  padding: 92px var(--pad-x);
  background: var(--paper);
}
.cur-sim__head { position: relative; max-width: 900px; margin: 0 auto 44px; text-align: center; }
.cur-sim__head h2 {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}
.cur-sim__head p { margin: 14px auto 0; }
.cur-sim__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
}
.cur-sim__col {
  --accent: var(--teal-deep);
  position: relative;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 1.5px solid rgba(14,30,46,0.22);
  border-radius: 22px;
  padding: 52px 40px 40px;
}
.cur-sim__col--life { --accent: var(--orange); }
.cur-sim__label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 7px 20px;
  background: var(--paper);
  border: 1.5px solid rgba(14,30,46,0.22);
  border-radius: 999px;
  font-family: "DM Mono", "Inter", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  white-space: nowrap;
}
.cur-sim__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  margin: 14px 0 20px;
}
.cur-sim__title-en {
  display: inline-block;
  font-family: "Fraunces", serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-style: italic;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1.1;
  margin-bottom: 6px;
}
.cur-sim__title-en--life { color: var(--orange); }
.cur-sim__col p {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.cur-sim__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 12px 24px;
  background: var(--teal-deep);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s;
}
.cur-sim__link:hover { background: #006F75; }
.cur-sim__photo {
  position: relative;
  min-height: 380px;
}
.cur-sim__photo img:first-child {
  display: block;
  width: 84%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  border: 8px solid #fff;
  box-shadow: 0 22px 44px rgba(14,30,46,0.14);
  transform: rotate(1.5deg);
  position: relative;
  z-index: 2;
}
.cur-sim__photo--sub {
  position: absolute !important;
  left: 0;
  bottom: 0;
  width: 50% !important;
  height: 190px !important;
  object-fit: cover;
  border-radius: 8px;
  border: 6px solid #fff !important;
  box-shadow: 0 14px 28px rgba(14,30,46,0.12);
  transform: rotate(-3.5deg) !important;
  z-index: 1;
}

/* ── 学校設定科目 ────────────────────────────────── */
.cur-features {
  padding: 92px var(--pad-x);
  background: var(--paper-2);
}
.cur-feature-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cur-feature {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(14,30,46,0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(14,30,46,0.05);
}
.cur-feature img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.cur-feature__body {
  padding: 22px;
  flex: 1;
}
.cur-feature__tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: var(--teal-pale);
  color: var(--teal-deep);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.cur-feature h3 {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 10px;
}
.cur-feature p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-3);
  margin: 0;
}

/* ── 教育課程表 ──────────────────────────────────── */
.cur-course-table {
  padding: 88px var(--pad-x);
  background: var(--paper);
}
.cur-course-table__head { max-width: 680px; margin-bottom: 36px; }
.cur-course-table__head h2 {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: var(--ink);
  margin: 14px 0 0;
}
.cur-course-table__head p {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-3);
  margin: 12px 0 0;
}
.cur-course-table__placeholder {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 40px;
  border: 2px dashed rgba(0,138,146,0.28);
  border-radius: 8px;
  background: rgba(255,255,255,0.7);
}
.cur-course-table__placeholder span {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
}
.cur-course-table__placeholder strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
}
.cur-course-table__placeholder small {
  color: var(--ink-3);
  font-size: 13px;
}

/* ── 時間割 ──────────────────────────────────────── */
.cur-timetable {
  padding: 92px var(--pad-x);
  background: var(--paper);
}
.cur-timetable__inner { max-width: 1280px; margin: 0 auto; }

.cur-tt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 36px 0 16px;
}
.cur-tt-tab {
  appearance: none;
  border: 1px solid rgba(14,30,46,0.14);
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.cur-tt-tab.is-active,
.cur-tt-tab:hover {
  background: var(--tt-color, var(--teal-deep));
  color: #fff;
  border-color: var(--tt-color, var(--teal-deep));
}

.cur-tt-wrap {
  background: #fff;
  border-top: 1px solid rgba(14,30,46,0.1);
  border-bottom: 1px solid rgba(14,30,46,0.1);
  overflow: hidden;
  /* inner の外に出てセクション幅フルを使う */
  margin-top: 0;
}
.cur-tt-label-row {
  padding: 14px var(--pad-x) 0;
  max-width: 1280px;
  margin: 0 auto;
}
.cur-tt-label-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cur-tt-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--pad-x);
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}
.cur-tt-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}
.cur-tt-table th,
.cur-tt-table td {
  padding: 17px 12px;
  text-align: center;
  border: 1px solid rgba(14,30,46,0.07);
  font-size: 15px;
  white-space: nowrap;
}
.cur-tt-th-period {
  width: 60px;
  background: var(--ink);
  color: #fff;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.cur-tt-th-day {
  background: color-mix(in srgb, var(--tt-color, var(--teal-deep)) 12%, white);
  color: var(--ink);
  font-weight: 900;
  font-size: 17px;
}
.cur-tt-period {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}
.cur-tt-cell {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}
.cur-tt-cell--tanken {
  background: var(--teal-pale);
  color: var(--teal-deep);
  font-weight: 800;
  font-size: 13px;
}
.cur-tt-cell--lhr {
  background: #F2F2EE;
  color: var(--ink-3);
  font-size: 13px;
}
.cur-tt-cell--empty {
  background: #F8F8F4;
  color: rgba(14,30,46,0.25);
}
.cur-tt-note {
  padding: 12px var(--pad-x);
  font-size: 11px;
  line-height: 1.8;
  color: var(--ink-3);
  border-top: 1px solid rgba(14,30,46,0.07);
  margin: 0;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* ── カリキュラムページ フォトストリップ ────────── */
/* 写真は images/curriculum/strip/ に連番で置くと管理しやすい */
.cur-photo-strip {
  display: flex;
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.cur-photo-strip__cell {
  flex: 1;
  overflow: hidden;
}
.cur-photo-strip__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.cur-photo-strip__cell:hover img { transform: scale(1.06); }

/* スマホ: 8枚を等分すると各セルが極端に縦長になるため、横スワイプで適切な比率にする */
@media (max-width: 767px) {
  .cur-photo-strip {
    height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cur-photo-strip::-webkit-scrollbar { display: none; }
  .cur-photo-strip__cell {
    flex: 0 0 44vw;
    height: 150px;
    scroll-snap-align: start;
  }
}

/* ── ドーナツチャート ────────────────────────────── */
.donut-wrap { position: relative; display: inline-block; }
.donut-svg { display: block; width: 192px; height: 192px; flex-shrink: 0; }
.donut-label-main {
  font-family: "DM Mono", monospace;
  font-size: 28px;
  font-weight: 700;
  fill: var(--ink);
}
.donut-label-sub {
  font-size: 11px;
  fill: var(--ink-3);
  font-family: "Noto Sans JP", sans-serif;
}

/* ── 通学インフォグラフィック ────────────────────── */
.cur-commute {
  padding: 88px var(--pad-x);
  background: var(--paper);
}
.cur-commute__inner { max-width: 1280px; margin: 0 auto; }
.cur-commute__head { margin-bottom: 52px; }
.cur-commute__head h2 {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--ink);
  margin: 14px 0 0;
}
.cur-commute__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 72px;
  align-items: center;
}
.cur-commute__chart-block { display: flex; align-items: center; gap: 36px; }
.cur-commute__legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cur-commute__legend-item { display: flex; align-items: center; gap: 10px; }
.cur-commute__legend-dot { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }
.cur-commute__legend-label { font-size: 13px; font-weight: 700; color: var(--ink); flex: 1; }
.cur-commute__legend-pct { font-family: "DM Mono", monospace; font-size: 15px; font-weight: 700; color: var(--ink); min-width: 36px; text-align: right; }
.cur-commute__residence { max-width: 480px; }
.cur-commute__res-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; margin-bottom: 14px; }
.cur-commute__res-bar { display: flex; border-radius: 2px; overflow: hidden; height: 56px; margin-bottom: 20px; }
.cur-commute__res-fill {
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; line-height: 1.4; text-align: center; color: #fff;
}
.cur-commute__res-fill--in { background: var(--teal-deep); }
.cur-commute__res-fill--out { background: var(--orange); }
.cur-commute__res-note { font-size: 13px; line-height: 1.9; color: var(--ink-3); }
.cur-commute__res-note small { font-size: 11px; opacity: 0.8; }

/* ── 1日のタイムライン ───────────────────────────── */
.cur-day {
  padding: 88px var(--pad-x);
  background: var(--teal-pale);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.cur-day__inner { max-width: 1280px; margin: 0 auto; }
.cur-day__head { margin-bottom: 36px; }
.cur-day__head h2 {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 900;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}

/* 横並びコマ表示 */
.cur-day__blocks {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.cur-day__block {
  flex: 1 0 0;
  min-width: 88px;
  padding: 16px 10px 18px;
  background: rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cur-day__block--lunch,
.cur-day__block--after {
  background: rgba(232,100,42,0.14);
}
.cur-day__block-time {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: var(--teal-deep);
  line-height: 1.3;
  opacity: 0.7;
}
.cur-day__block-label {
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.3;
}
.cur-day__block--lunch .cur-day__block-label,
.cur-day__block--after .cur-day__block-label { color: var(--orange); }
.cur-day__block-note {
  font-size: 10px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ── 学系カードグリッド（アウトライン型・特徴セクションと統一） ── */
.cur-sys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 48px auto 0;
}
.sys-card {
  --accent: var(--teal-deep);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 46px 30px 32px;
  border: 1.5px solid rgba(14,30,46,0.22);
  border-radius: 22px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.sys-card:hover {
  background: rgba(255,255,255,0.7);
  border-color: var(--accent);
  transform: translateY(-3px);
}
.sys-card--c1 { --accent: #008A92; }
.sys-card--c2 { --accent: #FF6B35; }
.sys-card--c3 { --accent: #2FA36B; }
.sys-card--c4 { --accent: #E0699A; }
.sys-card--c5 { --accent: #4B7BB5; }
.sys-card--c6 { --accent: #B5852A; }
.sys-card__label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 7px 18px;
  background: var(--paper);
  border: 1.5px solid rgba(14,30,46,0.22);
  border-radius: 999px;
  font-family: "DM Mono", "Inter", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-2);
  white-space: nowrap;
}
.sys-card__name {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--ink);
  margin: 4px 0 0;
}
.sys-card__key {
  color: var(--accent);
  -webkit-text-stroke: 0.4px var(--accent);
}
.sys-card__en {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  margin-top: 4px;
}
.sys-card__lead {
  font-size: 13.5px;
  line-height: 1.85;
  font-weight: 700;
  color: var(--ink-3);
  margin: 16px 0 22px;
}
.sys-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  font-family: "DM Mono", "Inter", monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color 0.2s, gap 0.2s;
}
.sys-card:hover .sys-card__more { color: var(--accent); gap: 11px; }

/* ── 学系モーダル ────────────────────────────────── */
.cur-modal-backdrop {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(14,30,46,0.55);
  backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.cur-modal-backdrop.is-active {
  display: flex;
}
.cur-modal {
  background: #fff;
  border-radius: 6px;
  width: 100%;
  max-width: 940px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(14,30,46,0.25);
}
.cur-modal__close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  appearance: none; border: none;
  background: rgba(14,30,46,0.35);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  z-index: 10;
}
.cur-modal__close:hover { background: rgba(14,30,46,0.6); }
.cur-modal__bar {
  background: #00727A;
  padding: 22px 36px;
  display: flex; align-items: baseline; gap: 14px;
}
.cur-modal__bar-num {
  font-family: "DM Mono", monospace;
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.1em;
}
.cur-modal__bar-name {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 900; color: #fff; line-height: 1.2;
}
.cur-modal__body { padding: 28px 36px 36px; }
.cur-modal__tt-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.cur-modal__tt-label {
  font-size: 11px; font-weight: 700;
  color: var(--ink-3); letter-spacing: 0.06em;
}
.cur-modal__tt-sw { display: flex; gap: 6px; }
.cur-modal__tt-btn {
  appearance: none;
  border: 1px solid #1A5CA0; background: #fff;
  color: #1A5CA0; font-size: 12px; font-weight: 700;
  padding: 4px 14px; border-radius: 2px; cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.cur-modal__tt-btn.is-active,
.cur-modal__tt-btn:hover { background: #1A5CA0; color: #fff; }
.cur-modal__tt-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}

/* ── Sim TaMano ボタン（統合CTA） ────────────────── */
.cur-sim__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 26px; }
.cur-sim__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 3px;
  font-size: 14px; font-weight: 800;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  border: 1.5px solid transparent;
}
.cur-sim__btn--primary { background: var(--teal-deep); color: #fff; }
.cur-sim__btn--primary:hover { background: #004a55; }
.cur-sim__btn--life { background: var(--orange); color: #fff; }
.cur-sim__btn--life:hover { background: #e05520; }
.cur-sim__btn--ghost { background: transparent; color: var(--teal-deep); border-color: var(--teal-deep); }
.cur-sim__btn--ghost:hover { background: var(--teal-deep); color: #fff; }

/* ── 部活動ブリッジ ──────────────────────────────── */
.cur-club { background: var(--paper); color: var(--ink); overflow: hidden; }
.cur-club__inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: stretch;
}
.cur-club__text {
  padding: 92px 64px 100px 64px;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 640px; margin-left: auto;
}
.cur-club__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 900; line-height: 1.5; color: var(--ink); margin: 16px 0 20px;
}
.cur-club__body { font-size: 14px; line-height: 2; color: var(--ink-3); margin: 0 0 28px; }
.cur-club__btn {
  display: inline-flex; align-items: center;
  padding: 13px 24px; background: var(--orange); color: #fff;
  font-size: 14px; font-weight: 800; text-decoration: none;
  border-radius: 2px; align-self: flex-start; transition: background 0.15s;
}
.cur-club__btn:hover { background: #e05520; }
.cur-club__photos { overflow: hidden; }
.cur-club__photo-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr; height: 100%; min-height: 420px; gap: 3px;
}
.cur-club__photo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── 授業レポート（マガジン型リスト） ─────────────── */
.cur-mag {position: relative; background: var(--paper-2); padding: 92px var(--pad-x) 0; }
.cur-mag::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.10;
  background-image: radial-gradient(circle, var(--ink) 1.4px, transparent 1.6px);
  background-size: 20px 20px;
  pointer-events: none;
}
.cur-mag__inner { position: relative; max-width: 1100px; margin: 0 auto; }
.cur-mag__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; margin-bottom: 30px;
}
.cur-mag__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900; color: var(--teal-deep); line-height: 1.1;
  margin: 0; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
}
.cur-mag__title-sub {
  font-family: "DM Mono", monospace;
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em;
  color: var(--ink-3);
}
.cur-mag__more {
  display: inline-flex; align-items: center; gap: 16px;
  text-decoration: none; color: var(--teal-deep);
  font-size: 15px; font-weight: 700; white-space: nowrap;
}
.cur-mag__more-circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-deep);
  transition: background 0.2s, color 0.2s;
}
.cur-mag__more:hover .cur-mag__more-circle { background: var(--teal-deep); color: #fff; }
.cur-mag__list {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid rgba(14,30,46,0.12);
}
.cur-mag__item { border-bottom: 1px solid rgba(14,30,46,0.12); }
.cur-mag__link {
  display: grid; grid-template-columns: 190px 1fr; gap: 34px;
  align-items: center; padding: 26px 4px;
  text-decoration: none; color: inherit;
  transition: opacity 0.15s;
}
.cur-mag__link:hover { opacity: 0.82; }
.cur-mag__thumb {
  aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--paper-2); border-radius: 2px;
}
.cur-mag__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.cur-mag__link:hover .cur-mag__thumb img { transform: scale(1.04); }
.cur-mag__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.cur-mag__cat {
  font-size: 13px; font-weight: 700; color: #fff;
  background: #5B8BA6; padding: 5px 14px; border-radius: 3px;
}
.cur-mag__date {
  font-family: "DM Mono", monospace;
  font-size: 17px; font-weight: 500; color: var(--teal-deep);
  letter-spacing: 0.02em;
}
.cur-mag__post-title {
  font-size: clamp(15px, 1.15vw, 17px); font-weight: 600;
  line-height: 1.65; color: var(--ink); margin: 0;
}

/* ── 卒業生メッセージ（カリキュラムページ） ─────────────── */
.cur-grads {
  position: relative;
  padding: 92px var(--pad-x) 100px;
  background: #fff;
}
.cur-grads__inner {
  max-width: 1180px;
  margin: 0 auto;
}
.cur-grads__head {
  max-width: 900px;
  margin: 0 auto 42px;
  text-align: center;
}
.cur-grads__head p {
  margin-left: auto;
  margin-right: auto;
}
.cur-grads__eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--teal-deep);
}
.cur-grads__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.cur-grad-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(14,30,46,0.10);
  border-radius: 4px;
  background: var(--paper-2);
}
.cur-grad-card__photo {
  width: 108px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
}
.cur-grad-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cur-grad-card__course {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-pale);
  color: var(--teal-deep);
  font-size: 11px;
  font-weight: 800;
}
.cur-grad-card h3 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
}
.cur-grad-card p {
  margin: 12px 0 0;
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.85;
}
.cur-grad-card__name {
  margin-top: 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.cur-grads__action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.cur-grads__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--teal-deep);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s, background 0.2s;
}
.cur-grads__btn:hover {
  background: #004a55;
  transform: translateY(-2px);
}
@media (max-width: 767px) {
  .cur-mag { padding: 56px 22px 0; }
  .cur-mag__head { gap: 14px; margin-bottom: 20px; }
  .cur-mag__more { gap: 10px; font-size: 13px; }
  .cur-mag__more-circle { width: 46px; height: 46px; }
  .cur-mag__link { grid-template-columns: 108px 1fr; gap: 16px; padding: 18px 2px; }
  .cur-mag__meta { gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
  .cur-mag__cat { font-size: 11px; padding: 3px 10px; }
  .cur-mag__date { font-size: 14px; }
  .cur-mag__post-title { font-size: 14.5px; line-height: 1.6; }
  .cur-grads { padding: 64px 22px 72px; }
  .cur-grads__head { margin-bottom: 30px; text-align: left; }
  .cur-grads__grid { grid-template-columns: 1fr; gap: 14px; }
  .cur-grad-card { grid-template-columns: 82px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .cur-grad-card__photo { width: 82px; }
  .cur-grad-card h3 { font-size: 15px; line-height: 1.55; }
  .cur-grad-card p { font-size: 12.5px; line-height: 1.75; }
}

/* ── CTA (旧, 他ページ流用のため残す) ──────────────── */
.cur-cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.cur-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle, #fff 1.5px, transparent 1.7px);
  background-size: 20px 20px;
  pointer-events: none;
}
.cur-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 84px var(--pad-x) 100px;
}
.cur-cta__text h2 {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.35;
  color: #fff;
  margin: 16px 0 0;
}
.cur-cta__text p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.7);
  margin: 18px 0 0;
  max-width: 560px;
}
.cur-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.cur-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.cur-cta__btn--primary { background: var(--orange); color: #fff; }
.cur-cta__btn--primary:hover { background: #e05520; }
.cur-cta__btn--ghost { background: transparent; color: rgba(255,255,255,0.82); border: 1.5px solid rgba(255,255,255,0.3); }
.cur-cta__btn--ghost:hover { border-color: #fff; color: #fff; }

/* ── レスポンシブ (cur 新クラス) ─────────────────── */
@media (max-width: 1100px) {
  .cur-commute__body { grid-template-columns: 1fr; gap: 48px; }
  .cur-commute__chart-block { justify-content: flex-start; }
  .cur-club__inner { grid-template-columns: 1fr; }
  .cur-club__text { max-width: 100%; padding: 64px var(--pad-x); margin-left: 0; }
  .cur-club__photo-grid { min-height: 320px; }
  /* 学系カード: 2列維持・間隔調整 */
  .cur-sys-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 767px) {
  .cur-commute { padding: 60px 22px; }
  .cur-commute__body { gap: 36px; }
  .cur-commute__chart-block { flex-direction: column; align-items: flex-start; }
  .donut-svg { width: 160px; height: 160px; }
  .cur-day { padding: 52px 22px 48px; }
  .cur-day__head h2 { font-size: 22px; }
  .cur-day__blocks { gap: 1px; }
  .cur-day__block { min-width: 72px; padding: 12px 8px 14px; }
  .cur-day__block-label { font-size: 12px; }
  /* 学系カード: モバイルは1列 */
  .cur-sys-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 30px; }
  .sys-card { padding: 44px 24px 30px; }
  .cur-modal-backdrop { padding: 10px; }
  .cur-modal__body { padding: 20px 18px 26px; }
  .cur-modal__bar { padding: 18px 20px; }
  .cur-tt-table th, .cur-tt-table td { padding: 12px 8px; font-size: 13px; }
  .cur-tt-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .cur-tt-tab { flex: 0 0 auto; }
  .cur-club__text { padding: 56px 22px 52px; }
  .cur-club__photo-grid { grid-template-columns: 1fr 1fr; min-height: 240px; }
}

@media (max-width: 1100px) {
  .cur-lead { grid-template-columns: 1fr; gap: 32px; }
  .cur-lead__photo { max-width: 500px; }
  .cur-points__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .cur-sim__inner { grid-template-columns: 1fr; gap: 40px; }
  .cur-sim__photo { min-height: 280px; }
  .cur-cta__inner { grid-template-columns: 1fr; gap: 28px; }
  .cur-cta__actions { flex-direction: row; }
  .cur-system-panel { grid-template-columns: 340px minmax(0, 1fr); }
  .cur-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .cur-lead,
  .cur-points,
  .cur-feat,
  .cur-lessons,
  .cur-systems,
  .cur-features,
  .cur-course-table,
  .cur-cta__inner,
  .cur-sim {
    padding-left: 22px;
    padding-right: 22px;
  }
  .cur-lead { padding-top: 56px; padding-bottom: 56px; }
  .cur-lead__heading { font-size: 30px; }
  .cur-thero { padding: 110px 22px 56px; }
  .cur-thero__title { font-size: 32px; line-height: 1.32; }
  .cur-thero__lead { font-size: 14px; }
  .cur-feat { padding-top: 60px; padding-bottom: 68px; }
  .cur-feat__grid { grid-template-columns: 1fr; gap: 34px; }
  .feat-card { padding: 46px 24px 30px; }
  .cur-lessons { padding-top: 60px; padding-bottom: 68px; }
  .cur-lessons__strip {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cur-lessons__strip::-webkit-scrollbar { display: none; }
  .cur-lesson { flex: 0 0 66%; scroll-snap-align: start; padding: 34px 18px 30px; }
  .cur-lmodal { padding: 40px 24px 34px; }
  .cur-lmodal__body { font-size: 14px; }
  .cur-band { height: 300px; }
  .cur-lstrip__track {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 66%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .cur-lstrip__track::-webkit-scrollbar { display: none; }
  .cur-lstrip__item { scroll-snap-align: start; height: 220px; }
  .cur-lstrip__note { font-size: 11px; padding: 5px 12px; }
  .cur-points { padding-top: 60px; padding-bottom: 60px; }
  .cur-points__grid { grid-template-columns: 1fr; gap: 12px; }
  .cur-systems { padding-top: 66px; padding-bottom: 68px; }
  .cur-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-top: 24px;
  }
  .cur-tabs__btn { flex: 0 0 auto; font-size: 12px; padding: 9px 14px; }
  .cur-system-panel { grid-template-columns: 1fr; gap: 0; }
  .cur-system-panel__image { min-height: 220px; }
  .cur-system-panel__body { padding: 28px 22px; }
  .cur-system-panel__title { font-size: 28px; }
  .cur-system-panel__lead { font-size: 15px; }
  .cur-advance { grid-template-columns: 1fr; gap: 14px; }
  .cur-sim { padding-top: 66px; padding-bottom: 68px; }
  .cur-sim__photo { min-height: 240px; }
  .cur-sim__photo img:first-child { width: 90%; height: 220px; }
  .cur-sim__photo--sub { width: 56% !important; height: 130px !important; }
  .cur-timetable { padding-top: 60px; padding-bottom: 60px; padding-left: 22px; padding-right: 22px; }
  .cur-tt-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-top: 24px; }
  .cur-tt-tab { flex: 0 0 auto; font-size: 11px; padding: 8px 12px; }
  .cur-tt-table th, .cur-tt-table td { padding: 12px 8px; font-size: 13px; }
  .cur-features { padding-top: 60px; padding-bottom: 60px; }
  .cur-feature-grid { grid-template-columns: 1fr; }
  .cur-course-table { padding-top: 60px; padding-bottom: 60px; }
  .cur-course-table__head h2 { font-size: 26px; }
  .cur-cta { padding-top: 0; padding-bottom: 0; }
  .cur-cta__inner { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 70px; }
  .cur-cta__text h2 { font-size: 28px; }
  .cur-cta__actions { flex-direction: column; }
  .cur-cta__btn { width: 100%; }
}

/* sp-only utility */
.sp-only { display: none; }
@media (max-width: 767px) { .sp-only { display: inline; } }

@media (max-width: 1100px) {
  .cur-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cur-hero__collage { min-height: 320px; }
  .cur-map {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .cur-map__center,
  .cur-map__node {
    position: static;
    transform: none;
    width: auto;
    min-height: 190px;
    border-radius: 6px;
  }
  .cur-map__center { grid-column: 1 / -1; }
  .cur-system-panel { grid-template-columns: 320px minmax(0, 1fr); }
  .cur-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .cur-hero {
    min-height: auto;
    padding: 118px 22px 56px;
  }
  .cur-hero::before { display: none; }
  .cur-hero__breadcrumb { margin-bottom: 26px; }
  .cur-hero h1 { font-size: 36px; line-height: 1.28; }
  .cur-hero p { font-size: 14px; line-height: 1.9; }
  .cur-hero__collage { min-height: 280px; }
  .cur-hero__photo--main {
    width: 82%;
    height: 210px;
    border-width: 6px;
  }
  .cur-hero__photo--sub {
    width: 58%;
    height: 136px;
    border-width: 6px;
  }
  .cur-hero__note { right: 16px; bottom: 0; font-size: 13px; }
  .cur-day,
  .cur-systems,
  .cur-detail,
  .cur-schedule,
  .cur-features,
  .cur-course-table,
  .cur-link {
    padding-left: 22px;
    padding-right: 22px;
  }
  .cur-day,
  .cur-detail,
  .cur-schedule,
  .cur-features,
  .cur-course-table {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .cur-systems { padding-top: 66px; padding-bottom: 68px; }
  .cur-section-head h2,
  .cur-course-table h2,
  .cur-link h2 {
    font-size: 29px;
  }
  .cur-day__grid,
  .cur-map,
  .cur-feature-grid,
  .cur-course-table,
  .cur-link {
    grid-template-columns: 1fr;
  }
  .cur-map__center,
  .cur-map__node {
    min-height: 0;
    padding: 24px;
  }
  .cur-map__center strong { font-size: 22px; }
  .cur-map__node h3 { font-size: 24px; }
  .cur-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .cur-tabs__btn { flex: 0 0 auto; }
  .cur-system-panel {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .cur-system-panel__image { min-height: 220px; }
  .cur-system-panel__body { padding: 28px 24px; }
  .cur-system-panel h2 { font-size: 30px; }
  .cur-system-panel__lead { font-size: 16px; }
  .cur-schedule__table {
    grid-template-columns: 1fr;
  }
  .cur-schedule__period {
    min-height: 64px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
  }
  .cur-feature { min-height: 0; }
  .cur-link a {
    width: 100%;
  }
}

/* ===== Activity Archive (活動ブログ一覧 /activity) ===== */
.blogarc {
  background: var(--paper);
  padding: 72px 0 110px;
}
.blogarc__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.blogarc__lede {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-3);
  margin-bottom: 40px;
}
.blogarc__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.blogarc__tab {
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  padding: 12px 22px;
  position: relative;
  transition: color 0.2s;
  text-decoration: none;
}
.blogarc__tab:hover { color: var(--ink); }
.blogarc__tab.is-active { color: var(--teal-deep); }
.blogarc__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--teal-deep);
}
.blogarc__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.blogarc__chip {
  appearance: none;
  cursor: pointer;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  transition: all 0.2s;
  text-decoration: none;
}
.blogarc__chip:hover { border-color: var(--teal); color: var(--teal-deep); }
.blogarc__chip.is-active {
  color: var(--teal-deep);
  background: var(--teal-pale);
  border-color: var(--teal);
  font-weight: 700;
}
.blogarc__count {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.blogarc__count .num {
  font-family: "DM Mono", monospace;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-right: 2px;
}
.blogarc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
.blogarc__empty {
  padding: 80px 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
  border: 1px dashed var(--line);
}
.blogarc__pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 72px;
}
.blogarc__pager-btn,
.blogarc__pager-num {
  appearance: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Mono", monospace;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: all 0.2s;
  text-decoration: none;
}
.blogarc__pager-btn:hover:not(:disabled),
.blogarc__pager-num:hover {
  border-color: var(--teal-deep);
  color: var(--teal-deep);
}
.blogarc__pager-btn:disabled,
.blogarc__pager-btn.is-disabled {
  opacity: 0.3;
  cursor: default;
}
.blogarc__pager-num.is-active {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #fff;
}
@media (max-width: 1100px) {
  .blogarc__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
}
@media (max-width: 767px) {
  .blogarc { padding: 48px 0 80px; }
  .blogarc__inner { padding: 0 20px; }
  .blogarc__grid { grid-template-columns: 1fr; gap: 36px; }
  .blogarc__tab { padding: 10px 14px; font-size: 13px; }
}

/* ===== Activity Single (活動ブログ詳細 /activity/xxx) ===== */
.blogsg {
  background: var(--paper);
  padding: 72px 0 90px;
}
.blogsg__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}
.blogsg__head { margin-bottom: 36px; }
.blogsg__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.blogsg__date {
  font-family: "DM Mono", monospace;
  font-size: 14px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.blogsg__era {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--teal-deep);
  padding: 4px 12px;
  letter-spacing: 0.04em;
}
.blogsg__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.blogsg__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: 34px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 22px;
}
.blogsg__acf {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 14px 18px;
  background: var(--paper-2);
  border-left: 3px solid var(--teal);
}
.blogsg__acf-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.blogsg__acf-row dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-deep);
  letter-spacing: 0.08em;
}
.blogsg__acf-row dd {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.blogsg__eyecatch {
  margin-bottom: 48px;
}
.blogsg__body {
  font-size: 16px;
  line-height: 2.1;
  color: var(--ink-2);
}
.blogsg__body p { margin-bottom: 1.6em; }
.blogsg__body h2 {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 10px;
  margin: 2.2em 0 1em;
}
.blogsg__body blockquote {
  margin: 1.8em 0;
  padding: 18px 24px;
  background: var(--teal-pale);
  border-left: 3px solid var(--teal-deep);
  font-size: 15px;
  color: var(--ink-2);
}
.blogsg__adjacent {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.blogsg__adj {
  display: block;
  text-decoration: none;
  color: inherit;
}
.blogsg__adj--next { text-align: right; }
.blogsg__adj-label {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--teal-deep);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.blogsg__adj-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  transition: color 0.2s;
}
.blogsg__adj:hover .blogsg__adj-title { color: var(--teal-deep); }
.blogsg__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 999px;
  transition: background 0.2s;
  white-space: nowrap;
}
.blogsg__back:hover { background: var(--teal-deep); }

.blogsg-rel {
  background: var(--paper-2);
  padding: 72px 0 100px;
}
.blogsg-rel__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.blogsg-rel__h {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 36px;
}
@media (max-width: 767px) {
  .blogsg { padding: 48px 0 64px; }
  .blogsg__inner { padding: 0 20px; }
  .blogsg__title { font-size: 24px; }
  .blogsg__adjacent {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .blogsg__adj--next { text-align: left; }
  .blogsg__back { justify-self: start; }
  .blogsg-rel { padding: 56px 0 72px; }
  .blogsg-rel__inner { padding: 0 20px; }
}

/* ===== News Archive (ニュース・お知らせ一覧 /news) ===== */
.newsarc__list {
  border-top: 1px solid var(--line);
  display: none;
}
.newsarc__list.is-active {
  display: block;
}
.newsarc__item {
  text-decoration: none;
  color: inherit;
}
.newsarc__cats {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (max-width: 767px) {
  .newsarc .news__item {
    grid-template-columns: 90px 64px 1fr 20px;
    gap: 12px;
    padding: 20px 0;
  }
  .newsarc .news__date { font-size: 11px; }
  .newsarc .news__cat { font-size: 9px; padding: 4px 6px; }
  .newsarc .news__h { font-size: 14px; }
}

/* ===== News Single (ニュース詳細 /news/xxx) ===== */
.newssg .blogsg__title { font-size: 30px; }
.newssg .blogsg__meta { margin-bottom: 18px; }
.newssg__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
  border: 1px solid var(--teal-deep);
  border-radius: 999px;
  padding: 12px 26px;
  margin-top: 8px;
  transition: all 0.2s;
}
.newssg__link:hover {
  color: #fff;
  background: var(--teal-deep);
}
.newssg__link .arrow { font-size: 15px; }
@media (max-width: 767px) {
  .newssg .blogsg__title { font-size: 22px; }
}

/* ===== Junior: 玉高の学び (カリキュラム・探究の特長+CTA) ===== */
.jr-learn__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 64px;
}
.jr-learn__row--reverse .jr-learn__body { order: 2; }
.jr-learn__row--reverse .jr-learn__photo { order: 1; }
.jr-learn__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: #fff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.jr-learn__badge--orange { background: var(--orange); }
.jr-learn__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--teal-deep);
  margin-bottom: 16px;
}
.jr-learn__row--reverse .jr-learn__title { color: var(--orange); }
.jr-learn__text {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.jr-learn__checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.jr-learn__checks li {
  position: relative;
  background: var(--paper-3);
  border: 1px solid var(--teal-pale);
  padding: 13px 16px 13px 44px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
  border-radius: 6px;
}
.jr-learn__checks li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>") center / 11px no-repeat;
}
.jr-learn__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--teal-deep);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.jr-learn__cta:hover { background: var(--teal); transform: translateX(2px); }
.jr-learn__cta--orange { background: var(--orange); }
.jr-learn__cta--orange:hover { background: #e5540f; }
.jr-learn__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(14, 30, 46, 0.12);
}
.jr-learn__photo image-slot { --image-slot-radius: 0; }
.jr-learn__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1100px) {
  .jr-learn__row { gap: 36px; }
}
@media (max-width: 767px) {
  .jr-learn__row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
  }
  .jr-learn__row--reverse .jr-learn__body { order: 1; }
  .jr-learn__row--reverse .jr-learn__photo { order: 2; }
  .jr-learn__badge { width: 80px; height: 80px; font-size: 11px; }
  .jr-learn__title { font-size: 20px; }
  .jr-learn__cta { width: 100%; justify-content: center; }
}

/* ===== Junior: デジタルパンフ + 近日のイベント 2カラム ===== */
.jr-pamphlet-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: stretch;
}
.jr-pamphlet-layout .news__events-h { font-size: 20px; }
/* パンフカードの高さを右カラム（近日のイベント）の下端に揃える */
.jr-pamphlet-layout .jr-pamphlet-cards { height: 100%; }
.jr-pamphlet-layout .jr-pamphlet-card { height: 100%; box-sizing: border-box; }
.jr-pamphlet-layout .news__event:last-child { margin-bottom: 0; }
@media (max-width: 1100px) {
  .jr-pamphlet-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== Junior: UNIFORM LOOKBOOK (ファッションカタログ風制服紹介) ===== */
.jr-lb__masthead {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 24px;
}
.jr-lb__title {
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 8px 0 18px;
  text-transform: uppercase;
}
.jr-lb__title-accent {
  display: block;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.62em;
  text-transform: none;
  letter-spacing: 0;
  color: var(--teal-deep);
}
.jr-lb__masthead-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.jr-lb__concept {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
  max-width: 560px;
}
.jr-lb__concept strong { color: var(--teal-deep); }

/* 各ルック（雑誌の見開き風・交互レイアウト） */
.jr-lb__look {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.jr-lb__look + .jr-lb__look { border-top: 1px dashed var(--line); }
.jr-lb__look--reverse .jr-lb__media { order: 2; }
.jr-lb__look--reverse .jr-lb__text { order: 1; }

/* 写真: メイン+サブの重ねレイアウト（誌面のスナップ風） */
.jr-lb__media {
  position: relative;
  padding: 24px 0 32px 0;
}
.jr-lb__num {
  position: absolute;
  top: -18px;
  left: -8px;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 110px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--teal);
  opacity: 0.85;
  z-index: 2;
  pointer-events: none;
}
.jr-lb__look--reverse .jr-lb__num { left: auto; right: -8px; }
.jr-lb__photo {
  overflow: hidden;
  background: var(--paper-2);
  border-radius: 8px;
}
.jr-lb__photo image-slot { --image-slot-radius: 8px; }
.jr-lb__photo--main {
  width: 72%;
  aspect-ratio: 3 / 4;
}
.jr-lb__look--reverse .jr-lb__photo--main { margin-left: auto; }
.jr-lb__photo--sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 3 / 4;
  box-shadow: 0 14px 30px rgba(14, 30, 46, 0.14);
  z-index: 1;
}
.jr-lb__look--reverse .jr-lb__photo--sub { right: auto; left: 0; }

/* テキスト */
.jr-lb__en {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--teal-deep);
  margin-bottom: 12px;
}
.jr-lb__label {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 10px;
}
.jr-lb__catch {
  font-family: "Shippori Mincho", serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.jr-lb__desc {
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-2);
}

/* 冬服: 素材・機能のスペックリスト（カタログの仕様欄風） */
.jr-lb__details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.jr-lb__detail {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.jr-lb__detail:first-child { border-top: 1px solid var(--line); }
.jr-lb__detail dt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.jr-lb__detail-idx {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--teal-deep);
}
.jr-lb__detail dd {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-3);
  padding-left: 26px;
}

@media (max-width: 1024px) {
  .jr-lb__look {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 0;
  }
  .jr-lb__look--reverse .jr-lb__media { order: 1; }
  .jr-lb__look--reverse .jr-lb__text { order: 2; }
  .jr-lb__num { font-size: 84px; }
}

/* ===== Junior: 求める生徒像 ===== */
.jr-ideal {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}
.jr-ideal .eyebrow { justify-content: center; }
.jr-ideal .jr-heading { margin-bottom: 20px; }
.jr-ideal .jr-lead { margin: 0 auto; }

/* 生徒像カード */
.jr-ideal-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}
.jr-ideal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(14, 30, 46, 0.06);
  border-radius: 8px;
  padding: 34px 18px 24px;
  box-shadow: 0 10px 28px rgba(14, 30, 46, 0.07);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.jr-ideal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(14, 30, 46, 0.10);
}
.jr-ideal-card__top {
  margin-bottom: 18px;
}
.jr-ideal-card__num {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0;
  color: rgba(0, 138, 146, 0.78);
  line-height: 1;
}
.jr-ideal-card__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 12px;
}
.jr-ideal-card__body {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-3);
}
@media (max-width: 1024px) {
  .jr-ideal-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .jr-ideal-cards { grid-template-columns: 1fr; gap: 12px; }
  .jr-ideal-card { min-height: auto; padding: 24px 18px; }
  .jr-ideal-card__num { font-size: 32px; }
}


/* ===== Life: 部活動フォトストリップのモバイル調整 =====
   横一列flexのままだと6枚が極端に細い縦切りになるため、
   スマホでは3列x2段のグリッドに切り替えて1枚ずつ見えるようにする */
@media (max-width: 767px) {
  .lf-club-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: auto;
  }
  .lf-club-strip__cell { aspect-ratio: 3 / 4; }
  .lf-club-strip__overlay {
    right: 50%;
    transform: translateX(50%);
    bottom: 12px;
    white-space: nowrap;
    padding: 9px 16px;
    font-size: 12px;
  }
}

/* ===== Life: 相談サポート体制 FAQ (左タイトル+右アコーディオン) ===== */
.lf-faq__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
}
.lf-faq__title {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--ink);
  margin: 14px 0 18px;
}
.lf-faq__lead {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-3);
  margin: 0 0 32px;
}
/* さくら連絡網の紹介カード（FAQ下・セクション幅の横長） */
.lf-faq__note {
  background: var(--paper-2);
  border-radius: 10px;
  padding: 22px 22px 24px;
}
.lf-faq__note--wide {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 30px 40px;
}
.lf-faq__note--wide .lf-faq__note-logo {
  max-width: 190px;
  flex-shrink: 0;
  margin: 0;
}
.lf-faq__note--wide .lf-faq__note-body p {
  font-size: 13.5px;
  margin: 0;
  max-width: 720px;
}
.lf-faq__note-title {
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
}
.lf-faq__note p {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.lf-faq__note-logo {
  display: block;
  max-width: 170px;
  height: auto;
}

/* アコーディオン */
.lf-faq__item + .lf-faq__item { margin-top: 8px; }
.lf-faq__q {
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
  display: grid;
  grid-template-columns: 46px 1fr auto 24px;
  align-items: center;
  gap: 20px;
  padding: 20px 4px;
  text-align: left;
}
.lf-faq__q-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 600;
  transition: background 0.25s;
}
.lf-faq__item.is-open .lf-faq__q-badge,
.lf-faq__q:hover .lf-faq__q-badge { background: var(--teal-deep); }
.lf-faq__q-text {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--ink);
}
.lf-faq__q-line {
  width: clamp(40px, 8vw, 120px);
  height: 1px;
  background: var(--line);
}
.lf-faq__q-icon {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  line-height: 1;
  transition: color 0.25s;
}
.lf-faq__item.is-open .lf-faq__q-icon { color: var(--teal-deep); }
.lf-faq__item { border-bottom: 1px solid var(--line); }
.lf-faq__a {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 2px 4px 24px;
  display: none;
}
.lf-faq__item.is-open .lf-faq__a {
  display: flex;
}
.lf-faq__a-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal-pale);
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 600;
}
.lf-faq__a p {
  align-self: center;
  font-size: 14.5px;
  line-height: 2;
  font-weight: 500;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 1024px) {
  .lf-faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .lf-faq__title br { display: none; }
}
@media (max-width: 767px) {
  .lf-faq__title { font-size: 24px; }
  .lf-faq__note--wide {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    margin-top: 40px;
  }
  .lf-faq__note--wide .lf-faq__note-logo { max-width: 160px; }
  .lf-faq__q {
    grid-template-columns: 36px 1fr 20px;
    gap: 14px;
    padding: 16px 0;
  }
  .lf-faq__q-line { display: none; }
  .lf-faq__q-badge, .lf-faq__a-badge {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .lf-faq__q-text { font-size: 14px; }
  .lf-faq__a { grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 20px; }
}

/* ── 404 ── */
.er-404 {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 72px var(--pad-x) 40px;
}
.er-404__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.er-404__header {
  margin-bottom: 56px;
}
.er-404__heading {
  font-family: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0;
}
@media (max-width: 767px) {
  .er-404 { padding-top: 56px; }
  .er-404__header { margin-bottom: 28px; }
  .er-404__heading { font-size: 24px; line-height: 1.6; }
}
.google-calendar iframe {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 1.6 / 1;
    margin: 40px auto 0;
    display: block;
}
@media (max-width: 767px) {
  .google-calendar iframe {
      aspect-ratio: 0.7 / 1;
  }
}