/*
 * 更新担当者向けメモ
 * このファイルは全21ページ共通の見た目を管理します。
 * 文章だけの修正では、このファイルを変更する必要はありません。
 * 色を変える場合は、まず :root 内の色変数を変更してください。
 * レイアウトを変更するとPC・スマートフォンの両方に影響するため、変更後は両方で確認します。
 */

/* ===== 1. 全ページ共通：リセット・色・文字・基本レイアウト ===== */

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

:root {
  --navy: #1d4790;
  --ink-blue: #3e4684;
  --purple: #362f6d;
  --teal: #41c9b5;
  --green: #007a5e;
  --cyan: #007a5e;
  --blue: #006a8f;
  --amber: #8a5a00;
  --ink: #20242b;
  --muted: #68707d;
  --line: #e6e8ee;
  --soft: #f7fbff;
  --white: #fff;
  --footer: #007a5e;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --container: 1100px;
  --narrow: 1000px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-serif:
    "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "MS Mincho", serif;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 170px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.is-nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  line-height: 1.4;
  transform: translate(-50%, -130%);
  transition: transform 0.15s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
}

.site-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.site-narrow {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 2. 全ページ共通：ヘッダー・グローバルメニュー ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.header-brand {
  padding: 16px 0 8px;
}

.header-brand__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: inline-block;
}

.site-logo img {
  width: min(420px, 62vw);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-button {
  display: none;
  width: 48px;
  min-height: 48px;
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-button__bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-button__label {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 800;
}

.menu-button.is-open .menu-button__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button.is-open .menu-button__bar:nth-child(2) {
  opacity: 0;
}

.menu-button.is-open .menu-button__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-button.is-open .menu-button__label {
  display: none;
}

.global-nav {
  background: #fff;
}

.nav-overlay {
  display: none;
}

.nav-close {
  display: none;
}

.global-nav__list {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  list-style: none;
}

.global-nav__item {
  position: relative;
}

.global-nav__item > a {
  position: relative;
  display: block;
  min-height: 54px;
  padding: 15px 26px 14px;
  color: #1f2228;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.global-nav__item > a::before {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 3px;
  background: var(--navy);
  border-radius: 3px 3px 0 0;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.global-nav__item.has-dropdown > a {
  padding-right: 34px;
}

.global-nav__item.has-dropdown > a::after {
  position: absolute;
  top: 50%;
  right: 17px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.45;
}

.global-nav__item > a:hover,
.global-nav__item:focus-within > a,
.global-nav__item:hover > a {
  color: var(--navy);
  background: #f7fbff;
}

.global-nav__item > a:hover::before,
.global-nav__item:focus-within > a::before,
.global-nav__item:hover > a::before {
  opacity: 1;
  transform: scaleX(1);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--white);
  border-radius: 0 0 6px 6px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.global-nav__item:last-child .dropdown {
  right: 0;
  left: auto;
}

.global-nav__item:hover .dropdown,
.global-nav__item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 18px;
  border-bottom: 1px solid #f0f1f4;
  color: var(--ink);
  font-size: 13px;
}

.dropdown a:hover {
  color: var(--navy);
  background: #f7f7f7;
}

/* ===== 3. トップページ：メイン画像スライダー ===== */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 2560 / 1195;
  max-height: 520px;
  overflow: hidden;
  background: #cdd7e4;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.3s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide[aria-hidden="true"] {
  pointer-events: none;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: #666;
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.hero__arrow::before {
  display: block;
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
}

.hero__arrow--prev::before {
  transform: translateX(2px) rotate(-135deg);
}

.hero__arrow--next::before {
  transform: translateX(-2px) rotate(45deg);
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
}

.hero__arrow--prev {
  left: 16px;
}

.hero__arrow--next {
  right: 16px;
}

.hero__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 2px;
  transform: translateX(-50%);
}

.hero__dots button {
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.hero__dots button::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  content: "";
}

.hero__dots button.is-active::before {
  background: var(--white);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.hero__pause {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 32px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  background: rgba(20, 32, 48, 0.78);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}

.hero__pause:hover {
  background: rgba(20, 32, 48, 0.96);
}

.quick-links {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 21px;
  padding-bottom: 14px;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.quick-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
}

.quick-link--primary {
  background: var(--green);
  color: var(--white);
}

.quick-link--secondary {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.section-title {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.contents-section {
  padding: 48px 0 46px;
}

.contents-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contents-grid--information {
  margin-bottom: 34px;
}

.contents-grid--information .contents-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 108px;
  padding: 18px;
  overflow: visible;
  background: var(--white);
  border: 1px solid rgba(14, 78, 61, 0.12);
  border-radius: 8px;
  box-shadow: 0 5px 16px rgba(15, 35, 64, 0.08);
}

.contents-card {
  display: flex;
  flex-direction: column;
  min-height: 118px;
  overflow: hidden;
  background: #f3f3f3;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contents-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.contents-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 76px;
  flex: 0 0 auto;
  background: var(--teal);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.contents-grid--information .contents-card__icon {
  width: 86px;
  min-height: 58px;
  border-radius: 6px;
  font-size: 15px;
  letter-spacing: 0;
}

.contents-card--blog .contents-card__icon img {
  display: block;
  width: 42px;
  height: 42px;
}

.contents-card--instagram .contents-card__icon {
  background: linear-gradient(
    135deg,
    #515bd4 0%,
    #8134af 32%,
    #dd2a7b 62%,
    #feda77 100%
  );
}

.contents-card--instagram .contents-card__icon img {
  display: block;
  width: 42px;
  height: 42px;
}

.contents-card--museum .contents-card__icon {
  background: var(--white);
  border: 1px solid rgba(14, 78, 61, 0.16);
}

.contents-card--museum .contents-card__icon img {
  display: block;
  width: 76px;
  max-width: calc(100% - 10px);
  height: auto;
}

.contents-card__body,
.contents-card > span:not(.contents-card__icon) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 18px 20px;
}

.contents-grid--information .contents-card > span:not(.contents-card__icon) {
  padding: 0;
}

.contents-card__title,
.contents-card strong {
  color: var(--navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.contents-card__text,
.contents-card small {
  margin-top: 4px;
  color: var(--ink-blue);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.contents-grid--information .contents-card strong {
  font-size: 16px;
}

.contents-grid--information .contents-card small {
  font-size: 13px;
  line-height: 1.7;
}

/* ===== 4. トップページ：外部発信リンク・お知らせ ===== */

.news-section {
  padding: 58px 0 60px;
}

.news-section .section-title {
  margin-bottom: 24px;
}

.news-list-title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.news-panel {
  display: block;
  border-top: 2px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 86px 110px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.news-item:hover .news-item__title {
  color: var(--navy);
}

.news-item--pinned {
  background: #f7fbff;
}

.news-item--pinned:hover {
  background: #f1f7ff;
}

.news-item--fixed {
  min-height: 54px;
  margin: 12px 0 22px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7fbff;
}

.news-item--fixed:hover {
  background: #f1f7ff;
}

.news-item--fixed time {
  visibility: hidden;
}

.news-item__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 2px 9px;
  border-radius: 3px;
  background: #eef7ff;
  color: #2775ad;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.news-item__category--important {
  background: #fde8e8;
  color: #c0392b;
}

.news-item__category--junior {
  background: #e8f7ff;
  color: #1976a2;
}

.news-item__category--current {
  background: #edf8ee;
  color: #2f7d47;
}

.news-item time {
  color: var(--muted);
  font-size: 14px;
}

.news-item__title {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.news-item__new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  animation: newPulse 1.4s ease-in-out infinite;
}

@keyframes newPulse {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.42;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-item__new {
    animation: none;
  }
}

.news-item__pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--navy);
  flex: 0 0 24px;
}

.news-item__pin::before {
  width: 15px;
  height: 15px;
  background: currentColor;
  content: "";
  clip-path: path("M5 1h6l-1 5 3 3v1H9v4l-1 1-1-1v-4H3V9l3-3L5 1z");
  transform: rotate(45deg);
}

.news-more {
  margin-top: 20px;
  text-align: right;
}

.news-more a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.data-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px 0;
  color: #777;
  font-size: 14px;
  font-weight: 700;
}

/* ===== 5. トップページ：学校方針・メッセージ・アクセス ===== */

.policy-section {
  position: relative;
  overflow: hidden;
  padding: 76px 0 86px;
  background: #f7fbff url("../images/policy-bg.png") center / cover no-repeat;
}

.policy-statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 46px;
  align-items: center;
  margin-bottom: 58px;
  padding: 30px 34px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.policy-statement__text p {
  margin: 0;
  color: var(--purple);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.75;
  letter-spacing: 0;
}

.policy-statement__image img {
  display: block;
  max-width: 100%;
  width: min(360px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 14px 22px rgba(50, 76, 112, 0.12));
}

.policy-program {
  margin-top: 0;
}

.policy-program__lead {
  max-width: 880px;
  margin: 0 auto 34px;
  color: var(--ink-blue);
  font-size: 19px;
  font-weight: 800;
  line-height: 2;
  text-align: left;
}

.policy-copy {
  max-width: 900px;
  margin: 0 0 48px;
  color: var(--ink-blue);
  font-size: 14px;
  line-height: 2;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.policy-card {
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.policy-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.policy-card > img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.policy-card__body {
  padding: 24px 26px 28px;
}

.policy-card p.policy-card__number {
  margin: 0;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.05;
}

.policy-card__number--green,
.policy-card__category--green {
  color: #00765b;
}

.policy-card__number--blue,
.policy-card__category--blue {
  color: #006a8f;
}

.policy-card__number--amber,
.policy-card__category--amber {
  color: #865c00;
}

.policy-card__category {
  margin: 2px 0 18px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
}

.policy-card h4 {
  margin: 15px 0 4px;
  color: var(--ink-blue);
  font-size: 16px;
  font-weight: 900;
}

.policy-card p {
  margin: 0;
  color: var(--ink-blue);
  font-size: 15px;
  line-height: 1.95;
}

.policy-card__topics {
  display: grid;
  gap: 18px;
}

.policy-card__topic strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-blue);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}

.message-section {
  padding: 70px 0 80px;
  text-align: center;
}

.subpage-main {
  overflow-x: hidden;
  background: var(--white);
}

/* ===== 6. 下層ページ共通：ページ見出し・パンくず・本文枠 ===== */

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  background: var(--navy);
  color: var(--white);
}

.page-hero--large,
.page-hero--large .page-hero__inner {
  min-height: clamp(420px, 62vw, 710px);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: center;
  padding-top: 38px;
  padding-bottom: 42px;
}

.page-hero__label {
  margin: 0 0 8px;
  color: #c7f3e8;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.35;
}

.page-hero__lead {
  max-width: 760px;
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.9;
}

.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--navy);
  font-weight: 800;
}

.subpage-section {
  padding: 58px 0 72px;
}

.subpage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 44px;
  align-items: start;
}

.subpage-layout--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1000px;
}

.subpage-content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.subpage-content h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.45;
}

.subpage-content h3 {
  margin: 34px 0 10px;
  color: var(--ink-blue);
  font-size: 20px;
  font-weight: 900;
}

.subpage-content p {
  margin: 0 0 18px;
  color: var(--ink-blue);
  font-size: 16px;
  line-height: 2.05;
}

.education-intro {
  margin: -58px calc(50% - 50vw) 72px;
  padding: 72px max(24px, calc((100vw - 1000px) / 2)) 86px;
  background: linear-gradient(
    0deg,
    #fff 0%,
    rgba(153, 247, 202, 0.7) 34%,
    rgba(121, 219, 180, 0.62) 66%,
    rgba(0, 209, 132, 0) 100%
  );
}

.education-intro h2,
.policy-concept > h2 {
  margin: 0 0 36px;
  color: var(--navy);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 900;
  text-align: center;
}

.education-intro__cards {
  display: grid;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.education-intro__card {
  padding: clamp(24px, 4vw, 38px);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(25, 83, 74, 0.12);
}

.education-intro__card h3 {
  margin: 0 0 14px;
  color: #00765b;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.education-intro__card p {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  line-height: 2;
}

.education-intro__card p + p {
  margin-top: 14px;
}

.policy-concept {
  max-width: 1000px;
  margin: 0 auto 92px;
}

.policy-flow {
  max-width: 760px;
  margin: 0 auto 86px;
  text-align: center;
}

.policy-flow__mission {
  max-width: 600px;
  margin: 0 auto;
  padding: 28px 20px;
  border-radius: 10px;
  background: #f2f5f7;
}

.policy-flow h3 {
  margin: 0;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.55;
}

.policy-flow h3 span {
  font-size: 19px;
}

.policy-flow__arrow {
  width: 10px;
  height: 88px;
  margin: 0 auto;
  background: linear-gradient(#8fd34d, #8fd34d) center top / 4px
    calc(100% - 18px) no-repeat;
  position: relative;
}

.policy-flow__arrow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 0;
  border-top: 18px solid #8fd34d;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  transform: translateX(-50%);
}

.policy-flow__policy {
  padding: 34px clamp(18px, 4vw, 42px);
  border-radius: 10px;
  background: #f2f5f7;
}

.policy-flow__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.policy-flow__chip {
  margin: 0;
  padding: 16px 12px;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.65;
  text-align: center;
}

.policy-flow__chip span {
  font-size: 17px;
}

.policy-flow__chip--blue {
  color: #006a8f;
}

.policy-flow__chip--green {
  color: #00765b;
}

.policy-flow__chip--lime {
  color: #557a00;
}

.policy-article {
  max-width: 900px;
  margin: 0 auto;
}

.policy-article h3,
.policy-detail__heading {
  margin: 0 0 24px;
  border-bottom: 1px solid #87909c;
  border-left: 15px solid #d9dee5;
}

.policy-article h3,
.policy-detail__heading h2 {
  padding: 4px 18px 14px;
  color: var(--navy);
  font-size: clamp(25px, 3vw, 30px);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.policy-article h3 span,
.policy-detail__heading span {
  font-size: 0.78em;
}

.policy-article p {
  margin: 0 0 64px;
  font-size: 17px;
  line-height: 2.05;
}

.policy-article__statement,
.policy-detail__note {
  padding: 22px 24px;
  background: #f2f5f7;
}

.policy-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: -22px 0 82px;
}

.policy-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f2f5f7;
}

.policy-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.policy-detail {
  max-width: 900px;
  margin: 0 auto 88px;
  padding: 0 20px;
}

.policy-detail--blue .policy-detail__heading {
  border-left-color: #006a8f;
}

.policy-detail--green .policy-detail__heading {
  border-left-color: #00765b;
}

.policy-detail--lime .policy-detail__heading {
  border-left-color: #557a00;
}

.policy-detail__body > p {
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 2.05;
}

.policy-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 42px;
  margin-top: 34px;
}

.policy-detail__item h3 {
  margin: 0 0 14px;
  padding: 14px 18px;
  border-radius: 2px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.65;
  text-align: center;
}

.policy-detail--blue .policy-detail__item h3 {
  background: #006a8f;
}

.policy-detail--green .policy-detail__item h3 {
  background: #00765b;
}

.policy-detail--lime .policy-detail__item h3 {
  background: #557a00;
}

.policy-detail__item p {
  margin: 0;
  font-size: 16px;
  line-height: 2;
}

.subpage-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 10px;
}

.subpage-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.subpage-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.subpage-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.side-nav {
  position: sticky;
  top: 140px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbff;
}

.side-nav h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.side-nav a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid #e8edf5;
  color: var(--ink-blue);
  font-size: 13px;
  font-weight: 800;
}

.link-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.link-list a::after {
  content: "›";
  font-size: 20px;
}

.message-section h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
}

.message-section p {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 2.2;
  text-align: left;
}

.access-section {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  padding: 96px 0;
  background: url("../images/access-bg.jpg") center / cover fixed no-repeat;
}

.access-section::after {
  position: absolute;
  inset: 0;
  background: rgba(189, 204, 235, 0.35);
  content: "";
}

.access-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}

.access-card {
  padding: 28px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 8px;
}

.access-map-card {
  min-height: 360px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.access-card h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
}

.access-card iframe {
  display: block;
  border-radius: 6px;
}

.access-map-card iframe,
.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.map-embed {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ===== 7. 全ページ共通：フッター・ページ上部ボタン ===== */

.site-footer {
  background: var(--footer);
  color: var(--white);
}

.footer-container {
  max-width: 940px;
  margin: 0 auto;
  padding: 48px 20px 36px;
}

.footer-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-head h2 {
  margin: 0;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
}

.footer-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.footer-contact {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px !important;
}

.footer-contact span {
  display: inline-block;
  margin-right: 4px;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-nav a {
  position: relative;
  display: block;
  padding: 5px 0 5px 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.footer-nav a::before {
  position: absolute;
  left: 0;
  color: var(--white);
  content: "›";
}

.footer-nav a:hover {
  color: var(--white);
}

.copyright {
  margin: 0;
  padding: 20px;
  color: var(--white);
  font-size: 12px;
  text-align: center;
}

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.page-top:hover {
  transform: translateY(-2px);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-enabled .reveal[data-delay="1"] {
  transition-delay: 0.1s;
}

.js-enabled .reveal[data-delay="2"] {
  transition-delay: 0.2s;
}

.js-enabled .reveal[data-delay="3"] {
  transition-delay: 0.3s;
}

.js-enabled .reveal[data-delay="4"] {
  transition-delay: 0.4s;
}

/* ===== 8. 共通・トップページ：画面幅に応じた表示調整 ===== */

@media (max-width: 1180px) {
  .global-nav__item > a {
    padding-right: 17px;
    padding-left: 17px;
  }
}

@media (max-width: 920px) {
  .header-brand {
    padding: 12px 0;
  }

  .site-logo img {
    width: min(330px, 58vw);
  }

  .header-actions {
    gap: 8px;
  }

  .contents-grid--information {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .menu-button {
    position: relative;
    z-index: 230;
    display: block;
  }

  .menu-button.is-open {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 300;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-height: 44px;
    padding: 9px;
    border-radius: 999px;
    background: #fff;
    color: #1f2228;
    box-shadow: var(--shadow-md);
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 220;
    width: min(360px, 86vw);
    height: 100vh;
    height: 100dvh;
    padding: 18px 0 28px;
    overflow-y: auto;
    background: #fff;
    box-shadow: -12px 0 30px rgba(15, 35, 64, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s ease;
  }

  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-close {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    margin: 0 18px 16px auto;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #1f2228;
    box-shadow: 0 2px 10px rgba(15, 35, 64, 0.18);
    cursor: pointer;
  }

  .nav-close__mark {
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 210;
    display: block;
    background: rgba(18, 37, 62, 0.42);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .global-nav__list {
    display: block;
    padding: 0;
  }

  .global-nav__item > a {
    min-height: 0;
    padding: 15px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .dropdown {
    position: static;
    min-width: 0;
    padding: 4px 0 8px;
    background: #f7fbff;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown a {
    padding: 10px 24px 10px 40px;
    background: transparent;
    border-bottom: 0;
    color: var(--ink-blue);
    font-size: 13px;
    font-weight: 700;
  }

  .hero {
    aspect-ratio: 16 / 8;
  }

  .quick-links {
    justify-content: center;
  }

  .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-flow__chips,
  .policy-gallery,
  .policy-detail__grid {
    grid-template-columns: 1fr;
  }

  .education-intro {
    padding-top: 64px;
    padding-bottom: 70px;
  }

  .policy-statement,
  .access-layout,
  .subpage-layout,
  .footer-head {
    grid-template-columns: 1fr;
  }

  .policy-statement {
    margin-bottom: 42px;
    padding: 26px 24px;
  }

  .policy-statement__text p {
    font-size: 24px;
    line-height: 1.75;
  }

  .policy-program__lead {
    max-width: 720px;
    margin-bottom: 28px;
    font-size: 17px;
    text-align: left;
  }

  .side-nav {
    position: static;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-container,
  .site-narrow {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-logo img {
    width: min(290px, 66vw);
  }

  .hero {
    aspect-ratio: 16 / 9.5;
  }

  .contents-grid {
    grid-template-columns: 1fr;
  }

  .hero__arrow {
    width: 34px;
    height: 34px;
  }

  .hero__arrow::before {
    width: 9px;
    height: 9px;
  }

  .quick-links {
    flex-direction: column;
  }

  .quick-link {
    width: 100%;
  }

  .section-title {
    font-size: 25px;
  }

  .page-hero,
  .page-hero__inner {
    min-height: 220px;
  }

  .page-hero--large,
  .page-hero--large .page-hero__inner {
    min-height: 420px;
  }

  .page-hero h1 {
    font-size: 29px;
  }

  .page-hero__lead {
    max-width: calc(100vw - 32px);
    overflow-wrap: anywhere;
  }

  .subpage-section {
    padding: 42px 0 56px;
  }

  .education-intro {
    margin-top: -42px;
    margin-bottom: 54px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .education-intro__card {
    padding: 22px 18px;
  }

  .education-intro__card h3 {
    letter-spacing: 0.03em;
  }

  .policy-concept {
    margin-bottom: 64px;
  }

  .policy-flow {
    margin-bottom: 62px;
  }

  .policy-flow__policy {
    padding: 24px 14px;
  }

  .policy-article h3,
  .policy-detail__heading h2 {
    padding-right: 10px;
    padding-left: 10px;
    text-align: left;
  }

  .policy-article p {
    margin-bottom: 46px;
  }

  .policy-gallery {
    margin-bottom: 58px;
  }

  .policy-detail {
    margin-bottom: 64px;
    padding: 0;
  }

  .subpage-card-grid {
    grid-template-columns: 1fr;
  }

  .contents-card {
    min-height: 104px;
  }

  .contents-grid--information .contents-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
    min-height: 94px;
    padding: 14px;
  }

  .contents-card__icon {
    width: 86px;
    flex-basis: 86px;
  }

  .contents-grid--information .contents-card__icon {
    width: 78px;
    min-height: 50px;
    flex-basis: auto;
    font-size: 13px;
  }

  .contents-grid--information .contents-card small {
    font-size: 12.5px;
    line-height: 1.65;
  }

  .policy-statement {
    gap: 22px;
    padding: 20px 14px;
  }

  .policy-statement__text p {
    font-size: 18px;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  .policy-statement__image img {
    width: min(260px, 100%);
  }

  .policy-program__lead {
    font-size: 16px;
    line-height: 1.9;
  }

  .news-item {
    grid-template-columns: 80px 1fr;
    gap: 6px 12px;
    padding: 12px 0;
  }

  .news-item__title {
    grid-column: 1 / -1;
  }

  .news-item--fixed {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 12px;
    padding: 12px 14px;
  }

  .news-item--fixed time {
    display: none;
  }

  .news-item--fixed .news-item__title {
    grid-column: 1 / -1;
  }

  .policy-section,
  .message-section,
  .access-section {
    padding-top: 54px;
    padding-bottom: 60px;
  }

  .message-section {
    text-align: left;
  }

  .access-section {
    min-height: auto;
    background-attachment: scroll;
  }

  .access-card {
    padding: 20px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }
}

.lead-box {
  margin-bottom: 34px;
  padding: 30px;
  border-left: 6px solid var(--green);
  background: linear-gradient(135deg, #f5fffb 0%, #f7fbff 100%);
}

.lead-box h2 {
  margin-top: 0;
}

.lead-box p:last-child,
/* ===== 9. 下層ページ共通：見出し・カード・表・資料リンク ===== */

.content-section p:last-child,
.notice-box p:last-child {
  margin-bottom: 0;
}

.content-section {
  min-width: 0;
  margin-top: 42px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.content-section:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.content-section--compact {
  margin-top: 26px;
  padding-top: 24px;
}

.school-life-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 8px 0 46px;
}

.school-life-feature {
  --feature-color: var(--green);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.school-life-feature--pink {
  --feature-color: #d95f83;
}

.school-life-feature--blue {
  --feature-color: #185bc6;
}

.school-life-feature--orange {
  --feature-color: #e56f1a;
}

.school-life-feature--green {
  --feature-color: #03a27b;
}

.school-life-feature figure {
  margin: 0;
  background: #fff;
}

.school-life-feature figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.school-life-feature figcaption {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  min-height: 138px;
  padding: 24px 26px;
  background: var(--feature-color);
  color: #fff;
}

.school-life-feature figcaption h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.3;
}

.school-life-feature figcaption h2 span {
  font-size: 0.68em;
}

.school-life-feature__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.media-row-list {
  display: grid;
  gap: 34px;
  margin-top: 24px;
}

.media-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.12fr);
  gap: 30px;
  align-items: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  scroll-margin-top: 110px;
}

.media-row--text-only {
  display: block;
}

.media-row--reverse {
  grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
}

.media-row--image-bottom {
  grid-template-columns: 1fr;
}

.media-row__body h3 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 25px;
}

.media-row__body p {
  margin: 0 0 1em;
  font-size: 16px;
  line-height: 2;
}

.media-row__images {
  display: grid;
  gap: 12px;
}

.media-row__images--2,
.media-row__images--3,
.media-row__images--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-row__images--stack {
  grid-template-columns: 1fr;
}

.media-row__images figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #eef5f4;
}

.media-row__images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.media-row__image--contain {
  background: #fff;
}

.media-row__image--contain img {
  object-fit: contain;
  padding: 8px;
}

.media-row__image--diagram {
  aspect-ratio: 16 / 9;
  background: #fff;
}

.media-row__image--diagram img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  padding: 10px;
  background: #fff;
}

.year-step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.year-step {
  --step-color: #007a91;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.year-step--green {
  --step-color: #00765b;
}

.year-step--lime {
  --step-color: #557a00;
}

.year-step__label {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--step-color);
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.year-step h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 19px;
}

.year-step p {
  margin: 0;
  line-height: 1.9;
}

.club-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 24px 0;
}

.club-overview article {
  padding: 26px;
  border: 1px solid rgba(3, 162, 123, 0.35);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.club-overview__label {
  margin: 0 0 12px;
  padding: 10px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.club-overview strong {
  display: block;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--green);
  font-size: 18px;
  text-align: center;
}

.club-overview p:last-child {
  margin: 0;
  line-height: 1.9;
}

.club-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 28px 0 10px;
}

.club-card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.club-card-grid--compact {
  gap: 16px;
  margin-top: 22px;
}

@media (max-width: 1100px) {
  .club-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.club-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.club-card figure {
  margin: 0;
  background: #eef6f5;
}

.club-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.club-card__body {
  padding: 16px 18px 18px;
}

.club-card--text-only .club-card__body {
  display: grid;
  align-content: center;
  min-height: 100%;
  padding: 28px 24px;
}

.club-card-grid--compact .club-card__body {
  display: block;
  min-height: 0;
  padding: 18px 20px 20px;
}

.club-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.55;
}

.club-card p {
  margin: 10px 0 0;
  color: var(--ink-blue);
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

.section-lead {
  margin-top: -4px;
  color: var(--muted);
  font-weight: 600;
}

.prose p {
  margin: 0 0 1em;
  font-size: 16px;
  line-height: 2.05;
}

.profile-block {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  min-width: 0;
  overflow: hidden;
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(232, 250, 246, 0.95) 48%,
    rgba(219, 244, 255, 0.9) 100%
  );
  box-shadow: var(--shadow);
}

.profile-block__image {
  margin: 0;
}

.profile-block__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow-md);
}

.profile-block__image figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.profile-block__body p {
  font-size: 16px;
  line-height: 2.05;
  overflow-wrap: anywhere;
}

.profile-block__body {
  min-width: 0;
  max-width: 100%;
}

.profile-block__signature {
  margin-top: 26px !important;
  font-weight: 800;
  text-align: right;
}

/* ===== 10. 下層ページ個別：校長挨拶・ギャラリーなど ===== */

.principal-message {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(232, 250, 246, 0.95) 48%,
    rgba(219, 244, 255, 0.9) 100%
  );
  box-shadow: var(--shadow);
}

.principal-message__photo {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(260px, 100%);
  margin: 0;
}

.principal-message__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
  object-position: top center;
  box-shadow: var(--shadow-md);
}

.principal-message__photo figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.principal-message p {
  margin: 0 0 1.15em;
  color: var(--ink-blue);
  font-size: 16px;
  line-height: 2.05;
}

.principal-message__signature {
  margin-top: 42px !important;
  font-weight: 800;
  text-align: right;
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.content-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.content-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 19px;
}

.content-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.card-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.card-link {
  margin-top: 14px !important;
}

.card-link a {
  color: var(--navy);
  font-weight: 800;
}

.resource-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.resource-link {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.resource-link:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}

.resource-link--pending {
  border-style: dashed;
  background: #f7f9fb;
  box-shadow: none;
  cursor: default;
}

.resource-link--pending:hover {
  border-color: var(--line);
  transform: none;
}

.resource-link__type {
  display: inline-grid;
  min-width: 54px;
  min-height: 34px;
  place-items: center;
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.resource-link strong {
  display: block;
  line-height: 1.5;
}

.resource-link small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.resource-link__status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff0c2;
  color: #7b5800;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.glp-video-list {
  margin-bottom: 0;
}

.table-wrap {
  max-width: 100%;
  min-width: 0;
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.table-wrap:focus-visible {
  border-color: var(--navy);
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
  box-shadow: 0 0 0 1px var(--navy);
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: #f4f8fc;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.timeline-list {
  display: grid;
  gap: 14px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.timeline-list span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf6ff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.timeline-list p {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.gallery-grid--single {
  grid-template-columns: 1fr;
}

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

.gallery-grid--uniform {
  align-items: start;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid--single img {
  aspect-ratio: auto;
}

.gallery-grid--uniform img {
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  background: #fff;
}

.gallery-grid--uniform.gallery-grid--2 img {
  aspect-ratio: 16 / 9;
}

.gallery-grid--uniform figcaption {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.gallery-grid figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.designer-message {
  margin: 22px 0 0;
  padding: 28px 32px;
  border: 4px solid rgba(64, 132, 53, 0.92);
  border-radius: 34px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(12, 42, 72, 0.07);
}

.designer-message__label {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 900;
}

.designer-message p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.95;
}

.designer-message p + p {
  margin-top: 10px;
}

.designer-message__signature {
  display: flex;
  justify-content: flex-end;
  margin: 18px 0 0;
}

.designer-message__signature img {
  width: min(270px, 72%);
  height: auto;
}

.song-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.song-panel {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff6d8 0%, #dff5ed 72%, #d6eef4 100%);
  box-shadow: var(--shadow);
}

.song-panel figure {
  margin: 0;
}

.song-panel__image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.song-panel img {
  width: 100%;
  max-height: 240px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.song-panel__image-button span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(29, 71, 144, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.song-panel h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.song-panel p {
  margin: 0;
  font-weight: 800;
}

/* ===== 11. 画像拡大表示 ===== */

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(11, 19, 35, 0.78);
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox__dialog {
  position: relative;
  width: min(900px, 92vw);
  max-height: 92vh;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
}

.image-lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox__title {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
}

.image-lightbox__image {
  width: 100%;
  max-height: calc(92vh - 90px);
  object-fit: contain;
}

.notice-box {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid #ccefe6;
  border-radius: 8px;
  background: #f4fffb;
}

.notice-box--strong {
  border-color: #b9d4ff;
  background: #f4f8ff;
}

.notice-box h3 {
  margin-top: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}

.stat-item {
  padding: 20px;
  border-radius: 8px;
  background: #f7fbff;
  text-align: center;
}

.stat-item strong {
  display: block;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.2;
}

.stat-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

/* ===== 12. よくある質問：アコーディオン ===== */

.accordion-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.accordion-item summary {
  min-height: 54px;
  padding: 14px 18px;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.accordion-item p {
  margin: 0;
  padding: 0 18px 18px;
}

.accordion-item p a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.anchor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.anchor-list a,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  line-height: 1.3;
}

.anchor-list a {
  background: #eef6ff;
  color: var(--navy);
}

.button-link--sub {
  background: var(--green);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.cta-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 6px;
}

.cta-link-grid--single {
  grid-template-columns: 1fr;
}

.cta-link-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 24px 58px 24px 24px;
  border: 1px solid rgba(3, 162, 123, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #f4fffb 0%, #eef8ff 100%);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.cta-link-card::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--footer);
  color: #fff;
  content: "→";
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  transform: translateY(-50%);
}

.cta-link-card__label {
  color: var(--footer);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.cta-link-card strong {
  font-size: 22px;
  line-height: 1.45;
}

.cta-link-card small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.cta-link-card:hover {
  transform: translateY(-2px);
}

.section-more {
  margin-top: 22px;
  text-align: center;
}

/* ===== 13. 下層ページ：画面幅に応じた表示調整 ===== */

@media (max-width: 920px) {
  .content-card-grid,
  .gallery-grid,
  .cta-link-grid,
  .school-life-feature-list,
  .song-panel-grid,
  .stat-grid,
  .year-step-list,
  .club-overview {
    grid-template-columns: 1fr;
  }

  .profile-block,
  .principal-message,
  .song-panel,
  .media-row,
  .media-row--reverse {
    grid-template-columns: 1fr;
  }

  .profile-block__image {
    max-width: 300px;
    margin: 0 auto;
  }

  .lead-box {
    padding: 24px;
  }
}

@media (max-width: 720px) {
  .club-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .lead-box {
    padding: 20px;
  }

  .content-section {
    margin-top: 32px;
    padding-top: 30px;
  }

  .profile-block {
    padding: 22px 18px;
  }

  .principal-message {
    padding: 22px 18px;
  }

  .designer-message {
    padding: 22px 18px;
    border-width: 3px;
    border-radius: 22px;
  }

  .designer-message p {
    font-size: 15px;
    line-height: 1.9;
  }

  .designer-message__signature img {
    width: min(240px, 82%);
  }

  .principal-message p {
    font-size: 15px;
    line-height: 2;
  }

  .profile-block__image {
    max-width: min(260px, 100%);
  }

  .profile-block__body {
    width: min(286px, 100%);
    margin: 0 auto;
  }

  .song-panel {
    padding: 18px;
  }

  .content-card,
  .cta-link-card,
  .resource-link,
  .song-panel,
  .media-row,
  .school-life-feature {
    width: calc(100vw - 32px);
    max-width: 100%;
  }

  .school-life-feature figcaption {
    min-height: auto;
    padding: 20px;
  }

  .school-life-feature figcaption h2 {
    font-size: 25px;
  }

  .media-row {
    padding: 20px 18px;
  }

  .media-row__images--2,
  .media-row__images--3,
  .media-row__images--4 {
    grid-template-columns: 1fr;
  }

  .resource-link {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 14px;
  }

  .resource-link__type {
    min-width: 48px;
  }

  .timeline-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .timeline-list span {
    width: fit-content;
  }

  .image-lightbox {
    padding: 16px;
  }

  .image-lightbox__dialog {
    width: 100%;
    padding: 16px;
  }

  .image-lightbox__close {
    top: 8px;
    right: 8px;
  }

  .anchor-list a,
  .button-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}
