:root {
  --school-green: #123d32;
  --school-green-light: #eaf0eb;
  --school-ink: #202923;
  --school-muted: #737c75;
  --school-line: #dce2dc;
  --school-paper: #f7f8f5;
}

html { scroll-behavior: smooth; }
body { color: var(--school-ink); background: var(--school-paper); }

.school-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 96px;
  padding: 0 clamp(24px, 6vw, 96px);
  background: #fff;
  border-bottom: 1px solid var(--school-line);
}
.school-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--school-green); text-decoration: none; flex: 0 0 auto; }
.school-brand:hover { text-decoration: none; color: var(--school-green); }
.school-brand__mark { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--school-green); border-radius: 50%; font-family: serif; font-size: 25px; font-weight: 700; }
.school-brand__name { font-family: serif; font-weight: 700; font-size: 20px; letter-spacing: .03em; line-height: 1.15; }
.school-brand__name small { display: block; margin-top: 5px; font-family: sans-serif; font-size: 8px; font-weight: 600; letter-spacing: .2em; }

.top-nav { position: static; display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2.4vw, 38px); padding: 0; background: transparent; border: 0; }
.top-nav > a { position: relative; padding: 37px 0 34px; color: #36413a; font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.top-nav > a::after { position: absolute; right: 0; bottom: 25px; left: 0; height: 2px; background: var(--school-green); content: ""; transform: scaleX(0); transition: transform .2s; }
.top-nav > a:hover { color: var(--school-green); text-decoration: none; }
.top-nav > a:hover::after { transform: scaleX(1); }
.top-nav > a[aria-current="page"] { color: var(--school-green); }
.top-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.top-nav__search { display: flex; align-items: center; gap: 0; margin-left: 2px; border-bottom: 1px solid #9ba59c; }
.top-nav__search input { width: 155px; min-width: 0; max-width: none; height: 36px; padding: 0 4px; border: 0; border-radius: 0; outline-color: var(--school-green); font-size: 12px; }
.top-nav__search button { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--school-green); font-size: 12px; font-weight: 700; }

.hero { padding: 34px clamp(24px, 6vw, 96px) 72px; background: var(--school-green-light); }
.carousel { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .8fr); max-width: 1440px; min-height: 440px; margin: 0 auto; background: #fff; }
.carousel__image-wrap { position: relative; min-height: 440px; overflow: hidden; background: #d7dfd8; }
.carousel__image { display: block; width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: center 45%; }
.carousel__image-wrap::after { position: absolute; inset: 50% 0 0; content: ""; background: linear-gradient(transparent, rgba(0,0,0,.28)); pointer-events: none; }
.carousel__arrow { position: absolute; z-index: 2; top: 50%; display: grid; place-items: center; width: 42px; height: 42px; padding: 0 0 4px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(20,35,27,.42); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s; }
.carousel__arrow:hover { background: var(--school-green); }
.carousel__arrow--prev { left: 20px; }
.carousel__arrow--next { right: 20px; }
.carousel__dots { position: absolute; z-index: 2; bottom: 22px; left: 50%; display: flex; gap: 9px; transform: translateX(-50%); }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.65); cursor: pointer; }
.carousel__dots button.is-active { width: 24px; border-radius: 8px; background: #fff; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 5vw, 70px); }
.eyebrow { margin: 0 0 15px; color: #687c70; font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.hero-copy__number { margin: 0 0 22px; color: var(--school-green); font-family: Georgia, serif; font-size: 16px; }
.hero-copy__number span { color: #a4ada5; font-size: 12px; }
.hero-copy h1 { margin: 0 0 20px; color: var(--school-green); font-family: serif; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.38; letter-spacing: -.04em; }
.hero-copy__description { max-width: 390px; margin: 0 0 30px; color: var(--school-muted); font-size: 13px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 7px; border-bottom: 1px solid #98a79a; color: var(--school-green); font-size: 12px; font-weight: 700; text-decoration: none; }
.text-link:hover { color: #547461; text-decoration: none; }

.notice-section { max-width: 1248px; margin: 0 auto; padding: 76px 32px 90px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0; color: var(--school-green); font-family: serif; font-size: 30px; letter-spacing: -.03em; }
.section-heading .text-link { margin-bottom: 4px; }
.notice-placeholder { display: flex; align-items: center; gap: 20px; min-height: 112px; padding: 24px 28px; border-top: 1px solid var(--school-line); border-bottom: 1px solid var(--school-line); background: #fff; }
.notice-placeholder__icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; background: var(--school-green-light); color: var(--school-green); font-size: 22px; }
.notice-placeholder h3 { margin: 0 0 5px; color: #35423a; font-size: 15px; }
.notice-placeholder p { margin: 0; color: var(--school-muted); font-size: 12px; }
.notice-placeholder__label { margin-left: auto; color: #9da79f; font-family: Georgia, serif; font-size: 10px; letter-spacing: .16em; }

.site-footer { padding: 27px clamp(24px, 6vw, 96px); border-top: 1px solid var(--school-line); background: #fff; color: #737c75; font-size: 11px; }
.site-footer p { margin: 3px 0; }

.info-main { max-width: 1248px; margin: 0 auto; padding: 76px 32px 96px; }
.info-page-heading { padding-bottom: 34px; border-bottom: 1px solid var(--school-line); }
.info-page-heading .eyebrow { margin-bottom: 10px; }
.info-page-heading h1 { margin: 0 0 12px; color: var(--school-green); font-family: serif; font-size: clamp(34px, 5vw, 48px); letter-spacing: -.04em; }
.info-page-heading > p:last-child { margin: 0; color: var(--school-muted); font-size: 14px; }
.info-content { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 35px; padding: 42px 0 48px; }
.info-content__label { padding-top: 8px; color: #778b7d; font-family: Georgia, serif; font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.info-content__body { max-width: 820px; }
.info-content__body h2 { margin: 0 0 22px; color: #293a30; font-family: serif; font-size: clamp(23px, 3vw, 30px); line-height: 1.45; }
.info-content__body p { margin: 0 0 16px; color: #5f6b62; font-size: 15px; line-height: 2; word-break: keep-all; }
.principal-card { display: flex; align-items: center; gap: 26px; min-height: 132px; padding: 24px 30px; border: 1px solid var(--school-line); background: #fff; }
.principal-card__label { align-self: flex-start; padding-top: 4px; color: #778b7d; font-family: Georgia, serif; font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.principal-card > div { flex: 1; }
.principal-card p { margin: 0 0 4px; color: var(--school-muted); font-size: 12px; }
.principal-card h2 { margin: 0; color: var(--school-green); font-family: serif; font-size: 25px; }
.principal-card__seal { display: grid; place-items: center; width: 68px; height: 68px; border: 1px solid #b5c3b8; border-radius: 50%; color: #829386; font-family: serif; font-size: 13px; }

@media (max-width: 1050px) {
  .school-header { flex-wrap: wrap; gap: 0 20px; padding-top: 18px; }
  .top-nav { flex: 1 1 100%; justify-content: space-between; gap: 12px; overflow-x: auto; }
  .top-nav > a { padding: 18px 0 22px; }
  .top-nav > a::after { bottom: 12px; }
  .top-nav__search { flex: 0 0 auto; }
}
@media (max-width: 700px) {
  .school-header { padding-right: 20px; padding-left: 20px; }
  .school-brand__mark { width: 42px; height: 42px; }
  .school-brand__name { font-size: 18px; }
  .top-nav { justify-content: flex-start; gap: 22px; }
  .top-nav > a { font-size: 13px; }
  .top-nav__search input { width: 125px; }
  .hero { padding: 20px 16px 44px; }
  .carousel { grid-template-columns: 1fr; }
  .carousel__image-wrap, .carousel__image { min-height: 300px; height: 300px; }
  .hero-copy { padding: 28px 26px 34px; }
  .hero-copy__number { margin-bottom: 12px; }
  .hero-copy h1 { margin-bottom: 12px; font-size: 32px; }
  .hero-copy__description { margin-bottom: 20px; }
  .notice-section { padding: 52px 20px 60px; }
  .info-main { padding: 52px 20px 64px; }
  .info-content { grid-template-columns: 1fr; gap: 12px; padding: 30px 0 34px; }
  .info-content__body p { font-size: 14px; }
  .principal-card { gap: 15px; padding: 20px 16px; }
  .principal-card__seal { width: 54px; height: 54px; font-size: 11px; }
  .section-heading h2 { font-size: 26px; }
  .notice-placeholder { gap: 13px; padding: 20px 16px; }
  .notice-placeholder__icon { width: 40px; height: 40px; }
  .notice-placeholder__label { display: none; }
}
