@charset "UTF-8";
/* =============================================================
   千葉学芸高等学校 新公式サイト 共通スタイル
   デザイン仕様書（cgh_design_spec.md）準拠
   - 色・書体・角丸・余白はすべて下記トークンのみを使用する
   - 斜めレイアウトは ヒーロー／コースカード／CTA帯 の3箇所限定
   ============================================================= */

:root {
  /* Brand */
  --cg-green:       #1a6b3c;
  --cg-green-dark:  #114a28;
  --cg-gold:        #b8912f;
  --cg-navy:        #1c2a4a;

  /* Course colors */
  --course-tokushin:#1d3e8f;
  --course-shingaku:#2f6db5;
  --course-koumuin: #1e7a3c;
  --course-joho:    #7b4397;
  --course-fukushi: #e8880c;
  --course-geino:   #e0186c;

  /* Neutrals */
  --ink:       #1f2421;
  --ink-soft:  #5a6360;
  --paper:     #ffffff;
  --paper-warm:#f6f7f4;
  --line:      #dde2dd;
  --placeholder:#e8ebe6;

  /* Type */
  --font-display: "Shippori Mincho", "Noto Serif JP", serif;
  --font-body:    "Noto Sans JP", sans-serif;
  --font-en:      "Cormorant Garamond", "Times New Roman", serif;

  /* Layout */
  --radius: 4px;
  --radius-card: 8px;
  --content-max: 1120px;

  /* このページの主役色（コースページで上書きする） */
  --accent: var(--cg-green);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cg-green); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4em; }
table { border-collapse: collapse; width: 100%; }
figure { margin: 0; }

@media (min-width: 768px) {
  body { font-size: 17px; }
}

/* ---------- layout ---------- */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 64px 0; }
.section--warm { background: var(--paper-warm); }
/* /learning のICT設備セクション専用（パンフ準拠のダークネイビー。他ページ使用禁止） */
.section--dark {
  background: var(--cg-navy);
  color: #fff;
}
.section--dark .sec-head__title, .section--dark .split h3 { color: #fff; }
.section--dark .sec-head__eyebrow, .section--dark .sec-head__lead,
.section--dark .split p, .section--dark .note { color: rgba(255,255,255,.78); }
.section--dark .data-table th { background: rgba(255,255,255,.08); }
.section--dark .data-table th, .section--dark .data-table td { border-color: rgba(255,255,255,.22); color: #fff; }
@media (min-width: 768px) {
  .section { padding: 96px 0; }
}

/* =============================================================
   Header / Global Nav
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-header__brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--cg-green-dark);
}
.site-header__brand:hover { text-decoration: none; }
.site-header__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .06em;
}
.site-header__sub {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--ink-soft);
  display: none;
}
@media (min-width: 768px) {
  .site-header__inner { height: 76px; }
  .site-header__name { font-size: 22px; }
  .site-header__sub { display: inline; }
}

.gnav { display: none; }
@media (min-width: 1024px) {
  .gnav { display: flex; align-items: center; gap: 26px; }
  .gnav a {
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
  }
  .gnav a:hover { color: var(--cg-green); text-decoration: none; }
  .gnav__cta {
    background: var(--cg-green);
    color: #fff !important;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-weight: 700;
  }
  .gnav__cta:hover { background: var(--cg-green-dark); }
}

/* hamburger */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--cg-green-dark);
  transition: transform .25s, opacity .25s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

/* mobile drawer */
.drawer {
  display: none;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.drawer.is-open { display: block; }
.drawer__list { list-style: none; margin: 0; padding: 8px 0 24px; }
.drawer__list > li { border-bottom: 1px solid var(--line); }
.drawer__list a {
  display: block;
  padding: 14px 24px;
  color: var(--ink);
  font-weight: 500;
}
.drawer__list a:hover { text-decoration: none; background: var(--paper-warm); }
.drawer__sub { list-style: none; padding: 0 0 8px; margin: 0; }
.drawer__sub a {
  padding: 9px 24px 9px 40px;
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-soft);
}
.drawer__cta { padding: 16px 24px 0; display: grid; gap: 10px; }
@media (min-width: 1024px) { .drawer { display: none !important; } }

/* =============================================================
   SectionHeader ── ■eyebrow ＋ 明朝H2
   ============================================================= */
.sec-head { margin-bottom: 36px; }
.sec-head__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.sec-head__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  flex: none;
}
.sec-head__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: .04em;
  margin: 0;
}
.sec-head__lead {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 44em;
}
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__eyebrow { justify-content: center; }
.sec-head--center .sec-head__lead { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) {
  .sec-head { margin-bottom: 48px; }
  .sec-head__eyebrow { font-size: 15px; }
  .sec-head__title { font-size: 32px; }
}

/* page title (下層ページ) */
.page-hero {
  position: relative;
  background: var(--cg-green-dark);
  color: #fff;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
}
.page-hero__inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 72px 20px;
}
.page-hero__eyebrow {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 0 0 8px;
  opacity: .85;
}
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: .05em;
  line-height: 1.4;
  margin: 0;
}
.page-hero--accent { background: var(--accent); }
@media (min-width: 768px) {
  .page-hero__inner { padding: 104px 20px; }
  .page-hero__title { font-size: 44px; }
}

/* breadcrumb */
.breadcrumb {
  font-size: 12px;
  color: var(--ink-soft);
  padding: 12px 0;
}
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--ink-soft); }

/* =============================================================
   Hero（トップ）── 斜め深緑パネル × 写真
   ============================================================= */
/* SP：緑パネルの「下」に写真をそのまま見せる（写真を隠さない）
   PC：パネルを左側 約58% に抑え、右側で写真がしっかり見える */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--cg-green-dark);
  display: flex;
  flex-direction: column;
}
.hero__media {
  position: relative;
  order: 2;
  aspect-ratio: 4 / 3;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__panel {
  position: relative;
  background: linear-gradient(to right, var(--cg-green-dark) 0%, var(--cg-green) 100%);
  color: #fff;
  width: 100%;
  padding: 48px 24px 40px;
  animation: hero-slide .7s ease-out both;
}
@keyframes hero-slide {
  from { transform: translateX(-40px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.hero__panel-inner {
  max-width: 560px;
  margin-left: max(20px, calc((100vw - var(--content-max)) / 2));
}
@media (min-width: 768px) {
  .hero { display: block; min-height: 560px; }
  .hero__media {
    position: absolute;
    inset: 0;
    order: 0;
    aspect-ratio: auto;
  }
  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17,74,40,.14); /* 写真の可読性用の薄い暗幕のみ */
  }
  .hero__panel {
    position: relative;
    background: linear-gradient(to right, rgba(17,74,40,.94) 0%, rgba(26,107,60,.88) 100%);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
    width: min(62%, 780px);
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 80px 32px 96px;
  }
  /* ワイド画面でもテキストが右へ流れないよう左マージンを上限で固定 */
  .hero__panel-inner {
    max-width: 520px;
    margin-left: clamp(20px, calc((100vw - var(--content-max)) / 2), 120px);
    padding-right: 7%;
  }
}
.hero__eyebrow {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .22em;
  margin: 0 0 14px;
  opacity: .9;
}
.hero__copy {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: .06em;
  margin: 0 0 18px;
}
.hero__sub {
  font-size: 14px;
  line-height: 2;
  margin: 0 0 28px;
  opacity: .95;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 768px) {
  .hero__copy { font-size: clamp(30px, 3.4vw, 44px); }
  .hero__sub { font-size: 16px; }
}

/* =============================================================
   CTA Button（主・副の2種のみ）
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  background: var(--cg-green);
  color: #fff;
  border: 1.5px solid var(--cg-green);
}
.btn--primary:hover { background: var(--cg-green-dark); border-color: var(--cg-green-dark); }
.btn--secondary {
  background: var(--paper);
  color: var(--cg-green);
  border: 1.5px solid var(--cg-green);
}
.btn--secondary:hover { background: var(--paper-warm); }
.btn--large { min-height: 60px; padding: 14px 40px; font-size: 16px; }
.btn::after { content: "→"; font-family: var(--font-en); }
.btn--noarrow::after { content: none; }

/* =============================================================
   CourseCard ── 斜めカラーバンド
   ============================================================= */
.course-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .course-grid { grid-template-columns: repeat(3, 1fr); } }

.course-card {
  --cc: var(--cg-green);
  position: relative;
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  color: var(--ink);
  transition: box-shadow .25s, transform .25s;
}
.course-card:hover {
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(31,36,33,.12);
  transform: translateY(-2px);
}
.course-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  background: var(--placeholder);
  overflow: hidden;
}
.course-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.course-card__band {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 46%;
  height: 34px;
  background: var(--cc);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 100%, 0 100%);
  transition: width .25s;
  display: flex;
  align-items: center;
  padding-left: 14px;
}
.course-card:hover .course-card__band { width: 49%; }
.course-card__band span {
  color: #fff;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.course-card__body { padding: 18px 18px 20px; }
.course-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .05em;
  margin: 0 0 6px;
  color: var(--cc);
}
.course-card__desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.7;
}
.course-card__more {
  margin-top: 12px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--cc);
}

/* =============================================================
   VoiceCard（在校生・卒業生の声）
   ============================================================= */
.voice-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .voice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .voice-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.voice-card {
  --cc: var(--cg-green);
  background: color-mix(in srgb, var(--cc) 8%, #fff);
  border-radius: var(--radius-card);
  padding: 24px;
}
.voice-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.voice-card__photo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--placeholder);
  flex: none;
}
.voice-card__name { font-weight: 700; font-size: 15px; margin: 0; }
/* 卒業生インタビューは顔写真を大きく */
.voice-card--interview .voice-card__head { gap: 18px; }
.voice-card--interview .voice-card__photo { width: 120px; height: 120px; }
@media (min-width: 768px) {
  .voice-card--interview .voice-card__photo { width: 140px; height: 140px; }
}
.voice-card__meta {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 2px 0 0;
}
.voice-card__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--cc);
  margin: 0 0 2px;
}
.voice-card__text { font-size: 14px; margin: 0; }
.voice-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  margin: 0 0 10px;
  line-height: 1.6;
}

/* コース色ユーティリティ（--ccを持つ部品より後に置き、確実に上書きする） */
.c-tokushin { --cc: var(--course-tokushin); }
.c-shingaku { --cc: var(--course-shingaku); }
.c-koumuin  { --cc: var(--course-koumuin); }
.c-joho     { --cc: var(--course-joho); }
.c-fukushi  { --cc: var(--course-fukushi); }
.c-geino    { --cc: var(--course-geino); }

/* =============================================================
   StatBlock（実績数字帯）
   ============================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 16px;
  text-align: center;
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.1;
  color: var(--cg-green);
  margin: 0;
}
.stat__num--gold { color: var(--cg-gold); }
.stat__num small {
  font-size: 18px;
  font-family: var(--font-body);
  font-weight: 700;
  margin-left: 2px;
}
.stat__label {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 6px 0 0;
}
@media (min-width: 768px) { .stat__num { font-size: 60px; } .stat__num small { font-size: 22px; } }

/* =============================================================
   NewsListItem
   ============================================================= */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding: 16px 4px;
  color: var(--ink);
}
.news-list a:hover { text-decoration: none; background: var(--paper-warm); }
.news-list .date {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--ink-soft);
  flex: none;
}
.news-list .tag {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--cg-green);
  border-radius: 2px;
  padding: 2px 10px;
  line-height: 1.6;
}
.news-list .tag--event { background: var(--cg-gold); }
.news-list .tag--club { background: var(--cg-navy); }
.news-list .title { flex: 1 1 24em; font-size: 14.5px; }

/* お知らせ カテゴリ絞り込み */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.news-filter button {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.news-filter button:hover { border-color: var(--cg-green); color: var(--cg-green); }
.news-filter button.is-active {
  background: var(--cg-green);
  border-color: var(--cg-green);
  color: #fff;
  font-weight: 700;
}

/* =============================================================
   FAQAccordion
   ============================================================= */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 40px 18px 4px;
  font-weight: 700;
  font-size: 15px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q";
  font-family: var(--font-en);
  font-size: 19px;
  color: var(--accent);
  flex: none;
}
.faq summary::after {
  content: "＋";
  position: absolute;
  right: 8px;
  color: var(--accent);
  font-weight: 400;
  transition: transform .25s;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq__a {
  display: flex;
  gap: 12px;
  padding: 0 4px 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.faq .faq__a::before {
  content: "A";
  font-family: var(--font-en);
  font-size: 19px;
  color: var(--cg-gold);
  flex: none;
  line-height: 1.5;
}
.faq .faq__a p { margin: 0; }

/* =============================================================
   TimelineItem（1日の流れ・3年間の流れ）
   ============================================================= */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 74px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline li {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  position: relative;
}
.timeline .t-time {
  flex: none;
  width: 62px;
  text-align: right;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.7;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 69px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--accent);
}
/* 日本語ラベルのタイムライン（1年・2・3年 など）はゴシックで見やすく */
.timeline--jp .t-time {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0;
}
.timeline .t-body { flex: 1; padding-left: 16px; }
.timeline .t-body h3 { margin: 0 0 4px; font-size: 16px; }
.timeline .t-body p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* =============================================================
   CalendarCard（見学会日程）
   ============================================================= */
.cal-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .cal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cal-grid { grid-template-columns: repeat(3, 1fr); } }
.cal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cal-card__date {
  font-family: var(--font-en);
  font-size: 34px;
  font-weight: 600;
  color: var(--cg-green);
  line-height: 1.2;
  margin: 0;
}
.cal-card__date small { font-size: 15px; font-family: var(--font-body); font-weight: 700; margin-left: 6px; }
.cal-card__name { font-weight: 700; margin: 0; }
.cal-card__meta { font-size: 13px; color: var(--ink-soft); margin: 0; flex: 1; }
.cal-card__status {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--cg-green);
}

/* =============================================================
   CTA帯（斜め・深緑）── ページ下部共通
   ============================================================= */
.cta-band {
  position: relative;
  background: var(--cg-green-dark);
  color: #fff;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: -6%;
  width: 46%;
  height: 100%;
  background: var(--cg-green);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}
.cta-band__inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 56px 20px;
  text-align: center;
}
.cta-band__eyebrow {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .2em;
  margin: 0 0 10px;
  opacity: .85;
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 25px;
  letter-spacing: .05em;
  line-height: 1.6;
  margin: 0 0 12px;
}
.cta-band__text { font-size: 14px; margin: 0 0 26px; opacity: .92; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .btn--secondary { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn--secondary:hover { background: rgba(255,255,255,.12); }
@media (min-width: 768px) {
  .cta-band__inner { padding: 80px 20px; }
  .cta-band__title { font-size: 34px; }
}

/* =============================================================
   StickyBar（SPのみ・画面下固定CTA）
   ============================================================= */
.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  gap: 1px;
  transform: translateY(110%);
  transition: transform .3s;
  box-shadow: 0 -4px 16px rgba(31,36,33,.16);
}
.sticky-bar.is-visible { transform: none; }
.sticky-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 8px;
  text-align: center;
}
.sticky-bar a:hover { text-decoration: none; }
.sticky-bar__primary { background: var(--cg-green); color: #fff; }
.sticky-bar__secondary { background: #fff; color: var(--cg-green); border-top: 1.5px solid var(--cg-green); }
@media (min-width: 1024px) { .sticky-bar { display: none; } }
body.has-sticky-bar { padding-bottom: 54px; }
@media (min-width: 1024px) { body.has-sticky-bar { padding-bottom: 0; } }

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  background: var(--cg-green-dark);
  color: #fff;
  font-size: 14px;
}
.site-footer a { color: #fff; opacity: .85; }
.site-footer a:hover { opacity: 1; }
.site-footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 56px 20px 32px;
}
.site-footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}
.site-footer__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}
.site-footer__addr { font-size: 13px; opacity: .85; line-height: 1.9; margin: 0; }
.site-footer__head {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .6;
  margin: 0 0 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; font-size: 13.5px; }
.site-footer__links {
  border-top: 1px solid rgba(255,255,255,.18);
  margin-top: 44px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 12.5px;
}
.site-footer__links a { opacity: .75; }
.site-footer__links a:hover { opacity: 1; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  margin-top: 44px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 12px;
  opacity: .7;
}

/* =============================================================
   汎用部品
   ============================================================= */
/* 写真グリッド */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 768px) { .photo-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.photo-grid figure {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--placeholder);
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 10px 8px;
  background: linear-gradient(transparent, rgba(31,36,33,.62));
  color: #fff;
  font-size: 12px;
}

/* コースについて内「こんな人に向いている」ボックス */
.course-fit {
  margin-top: 24px;
  padding: 18px 20px 20px;
  background: color-mix(in srgb, var(--accent) 8%, #fff);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  max-width: 44em;
}
.course-fit__label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  margin: 0 0 10px;
  letter-spacing: .04em;
}
.course-fit .check-list { margin: 0; padding: 0; }
.course-fit .check-list li { margin-bottom: 6px; }
.course-fit .check-list li:last-child { margin-bottom: 0; }

/* 写真リンクタイル（トップの学校生活導線） */
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) { .link-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.link-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  color: #fff;
  background: var(--cg-green-dark);
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.link-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.link-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,74,40,.78) 0%, rgba(17,74,40,.32) 45%, rgba(17,74,40,.12) 100%);
}
.link-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(31,36,33,.18); text-decoration: none; }
.link-tile:hover img { transform: scale(1.06); }
.link-tile__label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.link-tile__jp {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .06em;
  line-height: 1.3;
}
.link-tile__en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .18em;
  opacity: .85;
}
@media (min-width: 768px) {
  .link-tile__jp { font-size: 22px; }
}

/* メニュー アコーディオン */
.menu-accordion { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.menu-accordion > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 44px 16px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  background: var(--paper);
  position: relative;
}
.menu-accordion > summary::-webkit-details-marker { display: none; }
.menu-accordion > summary::after {
  content: "＋";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cg-green);
  font-weight: 400;
}
.menu-accordion[open] > summary::after { content: "−"; }
.menu-accordion[open] > summary { border-bottom: 1px solid var(--line); }
.menu-accordion .menu-gallery { padding: 20px 18px; }

/* 学生食堂 メニューギャラリー */
.menu-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 560px)  { .menu-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .menu-gallery { grid-template-columns: repeat(4, 1fr); } }
.menu-tile {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}
.menu-tile img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.menu-tile figcaption {
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

/* 2カラム（写真＋テキスト） */
.split {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--rev > .split__media { order: 2; }
}
.split__media img { border-radius: var(--radius); width: 100%; }
.split__media { margin: 0; }
.split h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .04em;
  line-height: 1.6;
  margin: 0 0 12px;
}
.split p { font-size: 15px; color: var(--ink-soft); }

/* データテーブル */
.data-table th, .data-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.data-table th {
  background: var(--paper-warm);
  font-weight: 700;
  white-space: nowrap;
}
.data-table--fixed { table-layout: fixed; }
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 640px; }

/* 注意書き */
.note { font-size: 12.5px; color: var(--ink-soft); }

/* バッジ */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 2px 10px;
  line-height: 1.7;
  margin-right: 6px;
}

/* チェックリスト */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* フェードイン（IntersectionObserverと連動） */
.fade {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease-out, transform .4s ease-out;
}
.fade.is-shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade { opacity: 1; transform: none; transition: none; }
  .hero__panel { animation: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* テキストユーティリティ */
.ta-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.mb-24 { margin-bottom: 24px; }
