@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&display=swap');

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.85;
    background: #fff;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
.wrap {
    width: min(var(--width-content), calc(100% - var(--gutter)));
    margin-inline: auto;
}
.skip-link {
    position: absolute;
    left: -9999px;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
    z-index: 99;
    background: #fff;
    padding: 8px;
}
.utility {
    font-size: 12px;
    background: #f1f4f2;
    border-bottom: 1px solid #e5eae7;
}
.utility .wrap {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    padding: 5px 0;
}
.brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 112px;
}
.brand-link {
    display: flex;
    align-items: center;
    gap: 16px;
}
.brand-link small {
    display: block;
    color: var(--school-color);
    font-size: 12px;
    letter-spacing: 0.12em;
}
.brand-link strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 25px;
    letter-spacing: 0.06em;
}
.school-mark {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 2px solid var(--school-color);
    border-radius: 50%;
    color: var(--school-color);
    font-family: serif;
    font-size: 25px;
}
.menu-button {
    display: none;
}
.global-nav {
    border-block: 1px solid var(--line);
}
.global-nav .wrap {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
.global-nav a {
    text-align: center;
    padding: 16px 6px;
    font-size: 14px;
    font-weight: 700;
    border-left: 1px solid var(--line);
}
.global-nav a:last-child {
    border-right: 1px solid var(--line);
}
.global-nav a:hover {
    color: var(--school-color);
    background: #f6faf8;
}
.hero {
    position: relative;
    overflow: hidden;
    background: var(--paper);
}
.hero:after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        var(--school-color) 0,
        var(--school-color) 25%,
        #d7a72f 25%,
        #d7a72f 50%,
        #8ba9c1 50%,
        #8ba9c1 75%,
        #d67c68 75%
    );
}
.hero-inner {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 40px;
}
.hero-copy {
    padding: 68px 0 82px;
}
.eyebrow,
.section-heading span,
.message-panel > div > span,
.page-header span {
    font:
        700 12px/1.2 Arial,
        sans-serif;
    letter-spacing: 0.22em;
    color: var(--school-color);
}
.hero h1 {
    margin: 16px 0 18px;
    font-family: var(--font-heading);
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.35;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.hero p {
    max-width: 480px;
    font-size: 16px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 255px;
    margin-top: 20px;
    padding: 14px 20px;
    background: var(--school-color);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.button span {
    font-size: 20px;
}
.hero-art {
    position: relative;
    height: 380px;
    border-radius: 48% 48% 8px 8px;
    background: #dce9e0;
    overflow: hidden;
}
.sun {
    position: absolute;
    width: 86px;
    height: 86px;
    right: 50px;
    top: 38px;
    background: #e5b847;
    border-radius: 50%;
}
.school-building {
    position: absolute;
    left: 15%;
    right: 10%;
    bottom: 58px;
    height: 180px;
    background: #f4e7cc;
    border: 10px solid #fff;
    box-shadow: 0 10px 0 #c8d8cf;
}
.school-building:before {
    content: '';
    position: absolute;
    left: -28px;
    right: -28px;
    top: -52px;
    height: 48px;
    background: var(--school-color);
    clip-path: polygon(8% 100%, 20% 0, 80% 0, 92% 100%);
}
.school-building span {
    display: inline-block;
    width: 15%;
    height: 47px;
    margin: 30px 3.5% 0;
    background: #aacbd5;
    border: 6px solid #fff;
}
.school-building b {
    position: absolute;
    bottom: 0;
    left: 41%;
    width: 18%;
    height: 50px;
    background: #9b6753;
    color: transparent;
}
.tree {
    position: absolute;
    bottom: 40px;
    width: 54px;
    height: 120px;
    background: #98715c;
}
.tree:before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #62956e;
    left: -34px;
    top: -66px;
}
.t1 {
    left: 3%;
    transform: scale(0.75);
}
.t2 {
    right: 1%;
    transform: scale(0.9);
}
.quick-links {
    position: relative;
    margin-top: -34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    box-shadow: 0 12px 40px #20332c1c;
    z-index: 2;
}
.quick-links a {
    position: relative;
    padding: 26px 26px 24px;
    border-right: 1px solid var(--line);
}
.quick-links a:last-child {
    border: 0;
}
.quick-links a > span {
    position: absolute;
    right: 18px;
    top: 10px;
    color: #dce5e0;
    font: 700 32px Arial;
}
.quick-links strong,
.quick-links small {
    display: block;
}
.quick-links strong {
    font-size: 17px;
}
.quick-links small {
    color: var(--school-color);
    font: 700 10px Arial;
    letter-spacing: 0.13em;
}
.section {
    padding-top: 96px;
    padding-bottom: 96px;
}
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 34px;
}
.section-heading h2 {
    font-family: var(--font-heading);
    font-size: 34px;
    letter-spacing: 0.08em;
    margin: 9px 0 0;
}
.section-heading > a,
.text-link {
    font-weight: 700;
    font-size: 14px;
    color: var(--school-color);
    border-bottom: 1px solid currentColor;
}
.news-list article {
    display: grid;
    grid-template-columns: 120px 120px 1fr;
    gap: 20px;
    align-items: center;
    padding: 19px 8px;
    border-top: 1px solid var(--line);
}
.news-list article:last-child {
    border-bottom: 1px solid var(--line);
}
.news-list time {
    font: 14px Arial;
    color: var(--muted);
}
.tag {
    display: inline-block;
    text-align: center;
    padding: 4px 10px;
    color: var(--tag-color);
    border: 1px solid var(--tag-color);
    font-size: 11px;
    font-weight: 700;
}
.news-list h3 {
    font-size: 15px;
    margin: 0;
}
.calendar-section {
    background: var(--school-color);
    color: #fff;
    padding: 88px 0;
}
.section-heading.light span,
.section-heading.light > a {
    color: #cae4d9;
}
.event-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.event-cards article {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: #fff;
    color: var(--ink);
    min-height: 125px;
}
.event-cards time {
    width: 60px;
    text-align: center;
    border-right: 1px solid var(--line);
    padding-right: 16px;
}
.event-cards time b,
.event-cards time span {
    display: block;
}
.event-cards time b {
    font: 700 30px Arial;
    color: var(--school-color);
}
.event-cards h3 {
    font-size: 15px;
    margin: 0;
}
.event-cards p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
}
.message-panel {
    display: grid;
    grid-template-columns: 1fr 260px;
    align-items: center;
    background: var(--paper);
    padding: 56px 64px;
    border-left: 6px solid var(--school-color);
}
.message-panel h2 {
    font-family: 'Yu Mincho', serif;
    font-size: 30px;
    margin: 10px 0;
}
.message-seal {
    height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5cf;
    border-radius: 50%;
    background: #fff;
}
.message-seal span {
    font-size: 12px;
}
.message-seal b {
    font-family: 'Yu Mincho', serif;
    font-size: 20px;
}
.page-header {
    padding: 74px 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.page-header.compact {
    padding: 56px 0;
}
.page-header h1 {
    margin: 11px 0 8px;
    font-family: 'Yu Mincho', serif;
    font-size: 40px;
    letter-spacing: 0.06em;
}
.page-header p {
    margin: 0;
    color: var(--muted);
}
.breadcrumbs {
    padding: 18px 0;
    font-size: 12px;
    color: var(--muted);
}
.breadcrumbs span {
    padding: 0 10px;
}
.prose {
    max-width: 880px;
    padding-top: 60px;
    padding-bottom: 110px;
}
.prose h2 {
    font-family: 'Yu Mincho', serif;
    font-size: 28px;
    border-bottom: 2px solid var(--school-color);
    padding-bottom: 12px;
    margin-top: 48px;
}
.prose h3 {
    border-left: 4px solid var(--school-color);
    padding-left: 14px;
    margin-top: 34px;
}
.prose p {
    margin: 1.3em 0;
}
.article-image {
    display: block;
    margin: 0 auto 42px;
    max-height: 520px;
    object-fit: cover;
}
.download {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 18px 22px;
    border: 1px solid var(--school-color);
    color: var(--school-color);
    font-weight: 700;
}
.content-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 70px;
    padding-top: 50px;
    padding-bottom: 100px;
}
.filters {
    display: flex;
    flex-direction: column;
}
.filters h2 {
    font-size: 17px;
    margin: 0 0 12px;
}
.filters a {
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.filters a.active {
    background: var(--school-color);
    color: #fff;
}
.archive-list article {
    padding: 0 0 34px;
    margin-bottom: 34px;
    border-bottom: 1px solid var(--line);
}
.archive-list time {
    font: 14px Arial;
    color: var(--muted);
    margin-right: 12px;
}
.archive-list h2 {
    font-size: 21px;
    margin: 12px 0 6px;
}
.archive-list p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}
.read-more {
    display: inline-block;
    margin-top: 12px;
    color: var(--school-color);
    font-size: 13px;
    font-weight: 700;
}
.pagination {
    text-align: center;
    margin-top: 30px;
}
.pagination a,
.pagination .current {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 36px;
    margin: 3px;
    border: 1px solid var(--line);
}
.pagination .current {
    background: var(--school-color);
    color: #fff;
}
.calendar-page {
    padding-bottom: 100px;
}
.month-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 34px 0;
}
.month-nav h2 {
    font-family: 'Yu Mincho', serif;
    font-size: 30px;
}
.month-nav a {
    font-weight: 700;
    color: var(--school-color);
}
.event-table {
    border-top: 2px solid var(--school-color);
}
.event-table article {
    display: grid;
    grid-template-columns: 110px 1fr;
    border-bottom: 1px solid var(--line);
    padding: 22px;
}
.event-table time {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--school-color);
}
.event-table time b {
    font: 700 28px Arial;
}
.event-table time span {
    font-size: 12px;
}
.event-table h3 {
    margin: 2px 0;
    font-size: 17px;
}
.event-table p {
    margin: 3px 0;
    color: var(--muted);
    font-size: 13px;
}
.empty {
    padding: 30px;
    color: var(--muted);
}
.site-footer {
    background: #263832;
    color: #fff;
    padding-top: 58px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.footer-grid strong {
    font-family: 'Yu Mincho', serif;
    font-size: 20px;
}
.footer-grid div:last-child {
    text-align: right;
}
.footer-grid p {
    color: #c3d1cc;
    font-size: 13px;
}
.footer-grid a {
    font-size: 12px;
    text-decoration: underline;
}
.copyright {
    text-align: center;
    margin-top: 48px;
    padding: 14px;
    border-top: 1px solid #ffffff22;
    color: #b8c8c2;
    font: 10px Arial;
}
.flash {
    padding: 12px 24px;
    text-align: center;
    font-weight: 700;
}
.flash.success {
    background: #daf1e6;
    color: #155d44;
}
.flash.error {
    background: #f7d9d9;
    color: #8b1e1e;
}

@media (max-width: 800px) {
    .wrap {
        width: min(100% - 32px, var(--width-content));
    }
    .utility {
        display: none;
    }
    .brand {
        height: 80px;
    }
    .brand-link small {
        display: none;
    }
    .brand-link strong {
        font-size: 18px;
    }
    .school-mark {
        width: 44px;
        height: 44px;
    }
    .menu-button {
        display: block;
        border: 1px solid var(--school-color);
        background: #fff;
        padding: 8px 12px;
        color: var(--school-color);
    }
    .global-nav {
        display: none;
    }
    .global-nav.open {
        display: block;
    }
    .global-nav .wrap {
        grid-template-columns: 1fr 1fr;
    }
    .global-nav a:nth-child(even) {
        border-right: 1px solid var(--line);
    }
    .hero-inner {
        min-height: auto;
        display: block;
    }
    .hero-copy {
        padding: 58px 0 40px;
    }
    .hero h1 {
        font-size: 42px;
    }
    .hero-art {
        height: 290px;
        margin-bottom: 50px;
    }
    .quick-links {
        grid-template-columns: 1fr 1fr;
        margin-top: 20px;
    }
    .quick-links a:nth-child(2) {
        border-right: 0;
    }
    .quick-links a:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }
    .section {
        padding: 68px 0;
    }
    .section-heading h2 {
        font-size: 27px;
    }
    .news-list article {
        grid-template-columns: 90px 1fr;
        gap: 10px;
    }
    .news-list h3 {
        grid-column: 1/-1;
    }
    .event-cards {
        grid-template-columns: 1fr;
    }
    .message-panel {
        grid-template-columns: 1fr;
        padding: 36px 28px;
    }
    .message-seal {
        display: none;
    }
    .page-header {
        padding: 50px 0;
    }
    .page-header h1 {
        font-size: 30px;
    }
    .content-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid div:last-child {
        text-align: left;
    }
}
@media (max-width: 480px) {
    .hero-art {
        height: 230px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .quick-links a {
        padding: 22px 16px;
    }
    .section-heading {
        align-items: start;
        gap: 20px;
    }
    .section-heading > a {
        white-space: nowrap;
    }
    .event-table article {
        grid-template-columns: 80px 1fr;
        padding: 18px 5px;
    }
    .month-nav h2 {
        font-size: 23px;
    }
}

.school-logo {
    width: auto;
    max-width: 180px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}
.hero-photo {
    min-width: 0;
    padding: 36px 0 64px;
}
.hero-photo img {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: contain;
    border-radius: 12px;
}
.hero-copy h1 {
    overflow-wrap: anywhere;
}
.hero-copy p {
    overflow-wrap: anywhere;
}
@media (max-width: 800px) {
    .school-logo {
        max-width: 95px;
        height: 44px;
    }
    .hero-photo {
        padding: 0 0 50px;
    }
    .hero-photo img {
        max-height: 340px;
    }
    .brand-link {
        min-width: 0;
        gap: 10px;
    }
    .brand-link strong {
        overflow-wrap: anywhere;
    }
}

.preview-banner {
    padding: 12px 20px;
    background: #fff1cf;
    color: #604500;
    text-align: center;
    font-weight: bold;
}
.prose div {
    line-height: 1.85;
}
.prose h2,
.prose h3 {
    overflow-wrap: anywhere;
}

/* ==================================================
   2026-10-06 / Full-width school design
   ================================================== */
body {
    -webkit-font-smoothing: antialiased;
}
a,
button {
    -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
    outline: 3px solid #d7a72f;
    outline-offset: 5px;
}
.site-header {
    background: #fff;
    position: relative;
    z-index: 5;
}
.utility {
    background: #f5f7f5;
    border-bottom: none;
    color: var(--muted);
    font-size: 11px;
}
.utility .wrap {
    padding: 6px 0;
}
.brand {
    height: 96px;
}
.brand-link {
    gap: 18px;
}
.brand-link strong {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.brand-link small {
    font-size: 11px;
    margin-bottom: 4px;
}
.school-logo {
    height: 58px;
    max-width: 140px;
}
.global-nav {
    border-top: 1px solid var(--line);
    border-bottom: none;
}
.global-nav a {
    border-left: none;
    padding: 17px 8px;
    position: relative;
    font-size: 13px;
}
.global-nav a:last-child {
    border-right: none;
}
.global-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 30%;
    width: 40%;
    height: 3px;
    background: var(--school-color);
    transform: scaleX(0);
    transition: transform 0.18s ease;
}
.global-nav a:hover::after,
.global-nav a:focus-visible::after {
    transform: scaleX(1);
}
.global-nav a:hover {
    background: var(--paper);
}
/* 画像の親はwrapの外。画面端から端まで広がる。 */
.hero.hero-wide {
    width: 100%;
    isolation: isolate;
    background: #183b32;
}
.hero-wide::after {
    display: none;
}
.hero-wide .hero-photo {
    position: absolute;
    inset: 0;
    padding: 0;
    margin: 0;
    z-index: -3;
}
.hero-wide .hero-photo img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: var(--hero-position);
    border-radius: 0;
}
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(
        90deg,
        rgba(8, 25, 23, 0.82) 0%,
        rgba(8, 25, 23, 0.61) 40%,
        rgba(8, 25, 23, 0.12) 100%
    );
}
.hero-wide .hero-inner {
    min-height: var(--hero-height);
    display: flex;
    align-items: center;
    gap: 0;
}
.hero-wide .hero-copy {
    max-width: 740px;
    padding: 82px 0 104px;
    color: white;
}
.hero-wide .eyebrow {
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    letter-spacing: 0.2em;
    line-height: 1.6;
    font-size: 12px;
}
.hero-wide .eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: #cdddbe;
    flex-shrink: 0;
}
.hero-wide h1 {
    font-size: clamp(38px, 4.4vw, 66px);
    line-height: 1.42;
    font-weight: 800;
    letter-spacing: 0.07em;
    margin: 22px 0 24px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.16);
}
.hero-wide p {
    font-size: 15px;
    line-height: 2.1;
    max-width: 530px;
    margin: 0;
    color: #fff;
}
.hero-wide .button {
    background: white;
    color: #15372e;
    min-width: 264px;
    padding: 16px 22px;
    margin-top: 32px;
    border-radius: 2px;
    font-size: 13px;
}
.hero-wide .button:hover {
    background: #e9f1e6;
}
.hero-no-image {
    background:
        radial-gradient(ellipse at 85% 40%, #5d8266, transparent 60%),
        linear-gradient(135deg, #112a26, #294d3e) !important;
}
.quick-links {
    margin-top: -34px;
    box-shadow: 0 14px 45px rgba(14, 45, 31, 0.09);
    border: 1px solid var(--line);
    border-radius: 3px;
}
.quick-links a {
    padding: 30px 32px;
    transition: background 0.15s ease;
}
.quick-links a:hover {
    background: var(--paper);
}
.quick-links a > span {
    font-size: 12px;
    top: 22px;
    right: 22px;
    font-weight: 500;
    color: var(--muted);
}
.quick-links strong {
    font-size: 17px;
    letter-spacing: 0.05em;
}
.quick-links small {
    margin-top: 5px;
    font-size: 10px;
    letter-spacing: 0.12em;
}
.section {
    padding-top: 100px;
    padding-bottom: 100px;
}
.section-heading {
    margin-bottom: 36px;
    gap: 24px;
}
.section-heading h2 {
    font-weight: 800;
    font-size: clamp(25px, 3vw, 34px);
    letter-spacing: 0.045em;
}
.section-heading span {
    font-size: 11px;
    letter-spacing: 0.18em;
}
.section-heading > a,
.text-link {
    font-size: 12px;
    padding-bottom: 6px;
}
.news-list article {
    padding: 25px 0;
    grid-template-columns: 120px 112px 1fr;
    gap: 24px;
}
.news-list h3 {
    font-weight: 600;
    line-height: 1.8;
}
.news-list h3 a:hover {
    color: var(--school-color);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.tag {
    border-radius: 2px;
    padding: 3px 10px;
}
.calendar-section {
    padding: 88px 0 96px;
    background: var(--paper);
    color: var(--ink);
    border-block: 1px solid var(--line);
}
.section-heading.light span,
.section-heading.light > a {
    color: var(--school-color);
}
.event-cards {
    gap: 24px;
}
.event-cards article {
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 26px;
    min-height: 138px;
    align-items: flex-start;
}
.event-cards time {
    flex-shrink: 0;
}
.message-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--school-color);
    padding: 54px 56px;
    gap: 44px;
    grid-template-columns: 1fr 180px;
}
.message-panel h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.04em;
}
.message-panel p {
    color: var(--muted);
    font-size: 14px;
    max-width: 680px;
}
.message-seal {
    height: 160px;
    width: 160px;
    background: var(--paper);
    border: none;
}
.message-seal b,
.footer-grid strong {
    font-family: var(--font-heading);
}
.site-footer {
    background: #142b25;
    padding-top: 60px;
}
.footer-grid strong {
    font-size: 21px;
    letter-spacing: 0.06em;
}
.copyright {
    margin-top: 44px;
    font-size: 11px;
    padding: 20px;
}
.page-header {
    background: var(--paper);
    padding: 76px 0;
}
.page-header h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 42px);
}
.prose h2,
.prose h3,
.month-nav h2 {
    font-family: var(--font-heading);
}
.prose {
    line-height: 2;
}
@media (max-width: 800px) {
    .brand {
        height: 78px;
    }
    .brand-link strong {
        font-size: 17px;
        letter-spacing: 0.015em;
    }
    .brand-link {
        gap: 10px;
        flex: 1;
    }
    .school-logo {
        height: 42px;
        max-width: 72px;
    }
    .menu-button {
        flex-shrink: 0;
        margin-left: 12px;
        border-radius: 2px;
        font-size: 12px;
    }
    .global-nav a {
        border-bottom: 1px solid var(--line);
        padding: 16px 8px;
    }
    .global-nav a:nth-child(even) {
        border-right: none;
    }
    .hero-wide .hero-inner {
        min-height: 560px;
    }
    .hero-wide .hero-copy {
        max-width: 100%;
        padding: 66px 0 84px;
    }
    .hero-wide h1 {
        font-size: clamp(32px, 6.5vw, 48px);
        letter-spacing: 0.035em;
    }
    .hero-wide p {
        font-size: 14px;
        max-width: 480px;
    }
    .hero-shade {
        background: linear-gradient(90deg, rgba(8, 25, 23, 0.8), rgba(8, 25, 23, 0.45));
    }
    .quick-links {
        margin-top: -24px;
    }
    .quick-links a {
        padding: 24px;
    }
    .quick-links strong {
        font-size: 15px;
    }
    .section {
        padding-top: 66px;
        padding-bottom: 66px;
    }
    .news-list article {
        grid-template-columns: 90px 110px;
        gap: 10px 18px;
        padding: 22px 0;
    }
    .news-list h3 {
        grid-column: 1 / -1;
        font-size: 14px;
    }
    .calendar-section {
        padding: 64px 0;
    }
    .message-panel {
        grid-template-columns: 1fr;
        padding: 34px 26px;
    }
    .message-panel h2 {
        font-size: 24px;
    }
}
@media (max-width: 480px) {
    .brand-link strong {
        font-size: 15px;
    }
    .school-logo {
        max-width: 52px;
        height: 38px;
    }
    .hero-wide .hero-inner {
        min-height: 540px;
    }
    .hero-wide .eyebrow {
        font-size: 10px;
        letter-spacing: 0.12em;
    }
    .hero-wide .eyebrow::before {
        width: 22px;
    }
    .hero-wide h1 {
        font-size: 33px;
    }
    .hero-wide p {
        font-size: 13px;
    }
    .hero-wide .button {
        min-width: 244px;
    }
    .quick-links a {
        padding: 24px 18px;
    }
    .quick-links a > span {
        right: 14px;
        top: 10px;
        font-size: 10px;
    }
    .section-heading {
        gap: 12px;
        flex-wrap: wrap;
    }
    .section-heading h2 {
        font-size: 24px;
    }
    .section-heading > a {
        margin-left: auto;
    }
    .footer-grid strong {
        font-size: 18px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .global-nav a::after,
    .quick-links a {
        transition: none;
    }
}

/* ==================================================
   学校設定のテーマカラーに公開画面の配色を連動
   派生色はbodyで定義し、学校設定のinline値から計算する。
   ================================================== */
body {
    --theme-dark: color-mix(in srgb, var(--school-color) 30%, #101518);
    --theme-strong: color-mix(in srgb, var(--school-color) 45%, #101518);
    --theme-soft: color-mix(in srgb, var(--school-color) 6%, #fff);
    --theme-soft-hover: color-mix(in srgb, var(--school-color) 11%, #fff);
    --theme-line: color-mix(in srgb, var(--school-color) 16%, #e6e9e8);
    --theme-ink: color-mix(in srgb, var(--school-color) 20%, #20272b);
    --theme-muted: color-mix(in srgb, var(--school-color) 10%, #596168);
    --theme-footer-text: color-mix(in srgb, var(--school-color) 10%, #eef1f0);
    --ink: var(--theme-ink);
    --muted: var(--theme-muted);
    --paper: var(--theme-soft);
    --line: var(--theme-line);
}
.utility {
    background: var(--theme-soft);
}
.brand-link small,
.school-mark {
    color: var(--theme-strong);
}
.global-nav a:hover,
.global-nav a:focus-visible {
    color: var(--theme-strong);
    background: var(--theme-soft);
}
.hero.hero-wide {
    background: var(--theme-dark);
}
.hero-shade {
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--theme-dark) 88%, transparent) 0%,
        color-mix(in srgb, var(--theme-dark) 64%, transparent) 40%,
        color-mix(in srgb, var(--theme-dark) 15%, transparent) 100%
    );
}
.hero-wide .eyebrow::before {
    background: var(--theme-footer-text);
}
.hero-wide .button {
    color: var(--theme-strong);
}
.hero-wide .button:hover {
    background: var(--theme-soft-hover);
}
.hero-no-image {
    background:
        radial-gradient(
            ellipse at 85% 40%,
            color-mix(in srgb, var(--school-color) 45%, #b9c5c0),
            transparent 60%
        ),
        linear-gradient(135deg, var(--theme-dark), var(--theme-strong)) !important;
}
.quick-links {
    box-shadow: 0 14px 45px color-mix(in srgb, var(--theme-dark) 9%, transparent);
}
.quick-links small,
.section-heading span,
.message-panel > div > span,
.page-header span,
.section-heading > a,
.text-link,
.read-more,
.event-cards time b,
.event-table time,
.month-nav a,
.section-heading.light span,
.section-heading.light > a {
    color: var(--theme-strong);
}
.news-list h3 a:hover {
    color: var(--theme-strong);
}
.calendar-section,
.message-seal,
.page-header {
    background: var(--theme-soft);
}
.message-seal {
    border-color: var(--theme-line);
}
.site-footer {
    background: var(--theme-dark);
}
.footer-grid p,
.copyright {
    color: var(--theme-footer-text);
}
.button:not(.hero-wide .button),
.filters a.active,
.pagination .current {
    background: var(--theme-strong);
    color: #fff;
}
.download {
    border-color: var(--theme-strong);
    color: var(--theme-strong);
}
.menu-button {
    border-color: var(--theme-strong);
    color: var(--theme-strong);
}
@media (max-width: 800px) {
    .hero-shade {
        background: linear-gradient(
            90deg,
            color-mix(in srgb, var(--theme-dark) 88%, transparent),
            color-mix(in srgb, var(--theme-dark) 60%, transparent)
        );
    }
}

/* campus：全幅ヒーロー、案内カード、カード型の導線。標準CSSに重ねる差分。 */
body {
    --campus-dark: color-mix(in srgb, var(--school-color) 45%, #10212c);
    --campus-link: color-mix(in srgb, var(--school-color) 50%, #10212c);
    --campus-soft: color-mix(in srgb, var(--school-color) 5%, white);
    --campus-line: color-mix(in srgb, var(--school-color) 14%, #e4e8eb);
    --campus-accent: #dbad59;
    --paper: var(--campus-soft);
    --line: var(--campus-line);
}
.campus-header .utility {
    background: var(--campus-dark);
    color: white;
}
.campus-header .utility .wrap {
    justify-content: space-between;
    font-size: 11px;
    padding-block: 7px;
}
.campus-header .brand {
    height: 94px;
    gap: 20px;
}
.campus-header .brand-link {
    min-width: 0;
}
.campus-header .brand-link strong {
    font-size: 23px;
    font-weight: 750;
}
.campus-header .brand-link small {
    letter-spacing: 0.1em;
    font-size: 11px;
}
.campus-header-contact {
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
}
.campus-header-contact small {
    display: block;
    font-size: 11px;
    color: var(--muted);
}
.campus-header-contact a {
    font:
        700 23px/1.5 Arial,
        sans-serif;
    color: var(--campus-link);
}
.campus-header .global-nav {
    background: var(--campus-soft);
    border-top: 1px solid var(--line);
}
.campus-header .global-nav a {
    font-weight: 650;
    padding-block: 15px;
}
.campus-header .global-nav a:hover {
    background: #fff;
}
.campus-hero {
    position: relative;
    isolation: isolate;
    background: var(--campus-dark);
    width: 100%;
}
.campus-hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.campus-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.campus-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        color-mix(in srgb, var(--campus-dark) 86%, transparent) 0%,
        color-mix(in srgb, var(--campus-dark) 65%, transparent) 44%,
        color-mix(in srgb, var(--campus-dark) 12%, transparent) 100%
    );
}
.campus-hero-empty {
    background:
        radial-gradient(
            ellipse at 75% 40%,
            color-mix(in srgb, var(--school-color) 50%, #9eaca5),
            transparent 70%
        ),
        var(--campus-dark);
}
.campus-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 365px);
    gap: clamp(28px, 4vw, 68px);
    align-items: center;
    min-height: 610px;
    padding-block: 62px;
}
.campus-hero-copy {
    color: #fff;
    min-width: 0;
}
.campus-eyebrow {
    display: inline-block;
    font-size: 12px;
    line-height: 1.7;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 7px 12px;
    border-left: 3px solid var(--campus-accent);
    background: color-mix(in srgb, var(--campus-dark) 75%, transparent);
}
.campus-hero-copy h1 {
    margin: 25px 0 24px;
    font-size: clamp(32px, 3.5vw, 54px);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.045em;
    overflow-wrap: anywhere;
}
.campus-hero-copy p {
    margin: 0;
    max-width: 570px;
    font-size: 14px;
    line-height: 2;
    overflow-wrap: anywhere;
}
.campus-hero-button {
    margin-top: 30px;
    padding: 13px 19px;
    display: inline-flex;
    gap: 32px;
    align-items: center;
    border: 1px solid #ffffffb0;
    color: white;
    font-size: 13px;
    font-weight: 700;
}
.campus-hero-button:hover {
    background: #ffffff1f;
}
.campus-guide {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 18px 60px #10212c33;
    padding: 32px 28px 26px;
    color: var(--ink);
    border-top: 5px solid var(--school-color);
}
.campus-card-eyebrow {
    font:
        700 10px/1.5 Arial,
        sans-serif;
    letter-spacing: 0.2em;
    color: var(--campus-link);
}
.campus-guide h2 {
    font-size: 21px;
    line-height: 1.6;
    margin: 7px 0 10px;
    font-weight: 800;
}
.campus-guide p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
    margin: 0 0 18px;
}
.campus-guide nav {
    display: grid;
    gap: 8px;
}
.campus-guide nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 16px;
    border: 1px solid var(--campus-line);
    background: var(--campus-soft);
    border-radius: 3px;
    font-weight: 700;
    font-size: 13px;
    color: var(--campus-link);
}
.campus-guide nav a:hover {
    border-color: var(--school-color);
    background: #fff;
}
.campus-guide-contact {
    margin-top: 22px;
    padding-top: 17px;
    border-top: 1px solid var(--campus-line);
    text-align: center;
}
.campus-guide-contact small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}
.campus-guide-contact a {
    display: block;
    color: var(--campus-link);
    font:
        700 23px/1.8 Arial,
        sans-serif;
    overflow-wrap: anywhere;
}
.quick-links {
    margin-top: 54px;
    box-shadow: none;
    border: none;
    background: none;
    gap: 20px;
    border-radius: 0;
}
.quick-links a {
    padding: 31px 24px 29px;
    background: #fff;
    border: 1px solid var(--campus-line);
    border-radius: 7px;
    box-shadow: 0 5px 20px #10212c08;
}
.quick-links a:last-child {
    border: 1px solid var(--campus-line);
}
.quick-links a:hover {
    border-color: var(--school-color);
    background: var(--campus-soft);
}
.quick-links a > span {
    position: static;
    color: var(--campus-link);
    font-size: 12px;
    display: block;
    margin-bottom: 15px;
    letter-spacing: 0.08em;
}
.quick-links strong {
    font-size: 19px;
    font-weight: 750;
}
.quick-links small {
    color: var(--muted);
    margin-top: 6px;
    font-weight: 500;
}
.section {
    padding-block: 86px;
}
.section-heading {
    margin-bottom: 36px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--campus-line);
}
.section-heading h2 {
    font-size: 30px;
    font-weight: 800;
}
.section-heading span {
    color: var(--campus-link);
    font-size: 10px;
    letter-spacing: 0.19em;
}
.section-heading > a,
.text-link {
    color: var(--campus-link);
    font-size: 12px;
}
.news-list article {
    padding-block: 22px;
}
.news-list article:first-child {
    border-top: none;
}
.calendar-section {
    background: var(--campus-soft);
    border: none;
    padding-block: 80px;
    color: var(--ink);
}
.section-heading.light span,
.section-heading.light > a {
    color: var(--campus-link);
}
.event-cards {
    gap: 20px;
}
.event-cards article {
    border: 1px solid var(--campus-line);
    border-radius: 7px;
    box-shadow: 0 5px 20px #10212c05;
}
.event-cards time b {
    color: var(--campus-link);
}
.message-panel {
    border-radius: 8px;
    border: 1px solid var(--campus-line);
    border-top: 5px solid var(--school-color);
    padding: 48px;
    gap: 44px;
    grid-template-columns: 1fr 180px;
}
.message-panel > div > span {
    color: var(--campus-link);
}
.message-panel h2 {
    font-size: 28px;
}
.message-seal {
    border-radius: 8px;
    background: var(--campus-soft);
}
.site-footer {
    background: var(--campus-dark);
}
.footer-grid p,
.copyright {
    color: #e2e9eb;
}
.page-header span {
    color: var(--campus-link);
}
@media (max-width: 1000px) {
    .campus-hero-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 30px;
    }
    .campus-guide {
        padding: 26px 22px;
    }
    .campus-guide h2 {
        font-size: 19px;
    }
    .campus-header .brand-link strong {
        font-size: 20px;
    }
}
@media (max-width: 800px) {
    .campus-header .brand {
        height: 78px;
    }
    .campus-header .brand-link strong {
        font-size: 16px;
    }
    .campus-header-contact {
        display: none;
    }
    .campus-hero-grid {
        display: block;
        padding-block: 0;
        width: 100%;
    }
    .campus-hero-photo {
        height: 100%;
    }
    .campus-hero-shade {
        height: 100%;
        background: linear-gradient(
            90deg,
            color-mix(in srgb, var(--campus-dark) 88%, transparent),
            color-mix(in srgb, var(--campus-dark) 45%, transparent)
        );
    }
    .campus-hero-copy {
        width: calc(100% - 40px);
        margin-inline: auto;
        min-height: 490px;
        padding-block: 60px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    .campus-hero-copy h1 {
        font-size: clamp(29px, 5.5vw, 42px);
    }
    .campus-hero-copy p {
        font-size: 13px;
    }
    .campus-guide {
        width: calc(100% - 40px);
        margin: 0 auto;
        border-radius: 0;
        box-shadow: none;
        padding: 28px;
    }
    .campus-hero {
        padding-bottom: 28px;
        background: var(--campus-soft);
    }
    .campus-hero-empty .campus-hero-copy {
        background: var(--campus-dark);
        width: 100%;
        padding-inline: 20px;
    }
    .quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-top: 32px;
    }
    .quick-links a,
    .quick-links a:nth-child(2),
    .quick-links a:last-child {
        border: 1px solid var(--campus-line);
    }
    .quick-links strong {
        font-size: 16px;
    }
    .section {
        padding-block: 60px;
    }
    .section-heading h2 {
        font-size: 25px;
    }
    .message-panel {
        padding: 30px 25px;
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .campus-hero-copy h1 {
        font-size: 30px;
        letter-spacing: 0.02em;
    }
    .campus-eyebrow {
        font-size: 10px;
        letter-spacing: 0.06em;
    }
    .campus-hero-copy {
        padding-block: 44px;
    }
    .campus-guide {
        padding: 26px 22px;
    }
    .quick-links a {
        padding: 23px 17px;
    }
    .quick-links strong {
        font-size: 15px;
    }
    .section-heading h2 {
        font-size: 24px;
    }
}

/* 参考サイトと同じ日本語フォント・英字アクセントフォント。 */
body {
    --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
    --font-heading: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    font-family: var(--font-body);
    font-weight: 400;
}
.campus-header .brand-link strong,
.campus-hero-copy h1,
.campus-guide h2,
.section-heading h2,
.message-panel h2,
.page-header h1,
.prose h2,
.prose h3,
.message-seal b,
.footer-grid strong,
.month-nav h2 {
    font-family: var(--font-heading);
    font-weight: 700;
}
.campus-hero-copy h1 {
    letter-spacing: 0.015em;
    line-height: 1.5;
}
.section-heading h2,
.page-header h1 {
    letter-spacing: 0.03em;
}
.section-heading span,
.campus-card-eyebrow,
.message-panel > div > span {
    font-family: var(--font-accent);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.3;
}
.campus-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
}
.quick-links strong {
    font-family: var(--font-heading);
    font-weight: 700;
}
@media (max-width: 480px) {
    .section-heading span,
    .campus-card-eyebrow,
    .message-panel > div > span {
        font-size: 19px;
    }
}

/* 案内カードと上部帯を外したシンプルなヒーロー。 */
.campus-header .brand {
    height: auto;
    min-height: 94px;
    padding-block: 18px;
    flex-wrap: wrap;
}
.campus-header .brand-link {
    flex: 1 1 340px;
}
.campus-header .campus-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 27px;
    border-radius: 999px;
    background: var(--campus-link);
    color: #fff;
    border: 1px solid var(--campus-link);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    text-align: center;
    margin-left: auto;
}
.campus-header .campus-contact-button:hover {
    background: var(--campus-dark);
}
.campus-header .campus-contact-button:focus-visible {
    outline: 3px solid #dbad59;
    outline-offset: 3px;
}
.campus-hero-grid {
    display: flex;
    align-items: center;
    min-height: 610px;
}
.campus-hero-copy {
    max-width: 850px;
}
.campus-hero-copy h1 {
    font-size: clamp(34px, 4.2vw, 64px);
}
@media (max-width: 800px) {
    .campus-header .brand {
        min-height: 78px;
        padding-block: 14px;
        gap: 12px;
    }
    .campus-header .brand-link {
        flex-basis: calc(100% - 100px);
    }
    .campus-header .menu-button {
        margin-left: 0;
    }
    .campus-header .campus-contact-button {
        order: 3;
        min-height: 40px;
        padding: 9px 23px;
        font-size: 12px;
    }
    .campus-hero {
        padding-bottom: 0;
        background: var(--campus-dark);
    }
    .campus-hero-grid {
        width: min(var(--width-content), calc(100% - 40px));
        min-height: 500px;
        padding-block: 50px;
    }
    .campus-hero-copy {
        width: 100%;
        margin: 0;
        min-height: 0;
        padding: 0;
    }
    .campus-hero-copy h1 {
        font-size: clamp(30px, 6vw, 44px);
    }
    .campus-hero-empty .campus-hero-copy {
        background: transparent;
        padding-inline: 0;
    }
}

/* 白い余白とブルー系のアクセント。画像のグラデーションは色設定から独立。 */
body {
    --campus-dark: color-mix(in srgb, var(--school-color) 45%, #003463);
    --campus-link: color-mix(in srgb, var(--school-color) 75%, #102a3e);
    --campus-soft: color-mix(in srgb, var(--school-color) 4%, #fff);
    --campus-line: color-mix(in srgb, var(--school-color) 12%, #e2e7ed);
    --ink: #253442;
    --muted: #63717c;
    background: #fff;
}
.campus-header .brand {
    background: #fff;
}
.campus-header .brand-link small {
    color: var(--campus-link);
}
.campus-header .global-nav {
    background: #fff;
}
.campus-header .global-nav a:hover {
    background: var(--campus-soft);
}
.campus-hero,
.campus-hero-empty {
    background: #f5f7fa;
}
.campus-hero-shade {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.93) 38%,
        rgba(255, 255, 255, 0.58) 68%,
        rgba(255, 255, 255, 0.05) 100%
    );
}
.campus-hero-copy {
    color: #243646;
    max-width: 760px;
}
.campus-hero-copy h1 {
    color: #243646;
    text-shadow: none;
}
.campus-hero-copy p {
    color: #344957;
    max-width: 540px;
}
.campus-eyebrow {
    background: transparent;
    color: #344957;
    border-left-color: #a8b7c4;
}
.campus-hero-button {
    color: #fff;
    background: var(--campus-link);
    border-color: var(--campus-link);
    border-radius: 999px;
    padding: 14px 24px;
}
.campus-hero-button:hover {
    background: var(--campus-dark);
}
.quick-links a {
    box-shadow: none;
    border-radius: 3px;
    border-top: 3px solid var(--school-color);
}
.quick-links a:last-child {
    border-top: 3px solid var(--school-color);
}
.quick-links strong {
    color: #253442;
}
.calendar-section {
    background: var(--campus-soft);
}
.message-panel {
    background: #fff;
    box-shadow: none;
    border-radius: 3px;
}
.page-header {
    background: var(--campus-soft);
}
@media (max-width: 800px) {
    .campus-hero,
    .campus-hero-empty {
        background: #f5f7fa;
    }
    .campus-hero-shade {
        background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.85) 65%,
            rgba(255, 255, 255, 0.78) 100%
        );
    }
    .campus-hero-copy,
    .campus-hero-empty .campus-hero-copy {
        background: transparent;
        color: #243646;
    }
    .quick-links a:nth-child(2),
    .quick-links a:last-child {
        border-top: 3px solid var(--school-color);
    }
}

/* 濃い文字色は固定。メニューの背景のみベースカラー系にする。 */
body {
    --ink: #333333;
    --muted: #626970;
    --theme-ink: #333333;
    --theme-muted: #626970;
    --campus-menu-bg: color-mix(in srgb, var(--school-color) 60%, #162c3c);
    font-size: 16px;
    line-height: 1.85;
    letter-spacing: 0.025em;
}
.campus-header .brand-link strong,
.campus-header .brand-link small,
.campus-header .school-mark,
.campus-hero-copy,
.campus-hero-copy h1,
.campus-hero-copy p,
.campus-eyebrow,
.quick-links strong,
.section-heading span,
.section-heading > a,
.section-heading.light span,
.section-heading.light > a,
.message-panel > div > span,
.text-link,
.event-cards time b,
.event-table time,
.month-nav a,
.read-more,
.download,
.page-header span,
.news-list h3 a:hover {
    color: #333333;
}
.quick-links small,
.news-list time,
.archive-list time,
.archive-list p,
.event-cards p,
.event-table p,
.message-panel p,
.page-header p,
.breadcrumbs {
    color: #626970;
}
.campus-header .global-nav {
    background: var(--campus-menu-bg);
    border-top: none;
}
.campus-header .global-nav a {
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    padding: 21px 6px;
    border-left: 1px solid #ffffff26;
}
.campus-header .global-nav a:last-child {
    border-right: 1px solid #ffffff26;
}
.campus-header .global-nav a:hover,
.campus-header .global-nav a:focus-visible {
    color: #fff;
    background: #ffffff18;
}
.campus-header .global-nav a::after {
    background: #fff;
}
.campus-header .brand-link strong {
    font-size: 26px;
}
.campus-header .brand-link small {
    font-size: 13px;
}
.campus-header .campus-contact-button {
    font-size: 15px;
}
.campus-hero-copy p {
    font-size: 17px;
    line-height: 1.95;
}
.campus-eyebrow {
    font-size: 14px;
}
.campus-hero-button {
    font-size: 16px;
}
.quick-links strong {
    font-size: 21px;
}
.quick-links small {
    font-size: 13px;
}
.section-heading h2 {
    font-size: 34px;
}
.section-heading > a,
.text-link {
    font-size: 15px;
}
.news-list h3 {
    font-size: 17px;
}
.news-list time {
    font-size: 15px;
}
.tag {
    font-size: 13px;
}
.event-cards h3 {
    font-size: 17px;
}
.event-cards p {
    font-size: 14px;
}
.message-panel p {
    font-size: 16px;
}
.archive-list h2 {
    font-size: 23px;
}
.archive-list p {
    font-size: 16px;
}
.filters a {
    font-size: 16px;
}
.breadcrumbs {
    font-size: 13px;
}
@media (max-width: 1100px) {
    .campus-header .global-nav a {
        font-size: 16px;
    }
}
@media (max-width: 800px) {
    .campus-header .brand-link strong {
        font-size: 20px;
    }
    .campus-header .global-nav a {
        font-size: 17px;
        padding: 17px 8px;
    }
    .campus-header .campus-contact-button {
        font-size: 14px;
    }
    .campus-hero-copy p {
        font-size: 16px;
    }
    .campus-eyebrow {
        font-size: 12px;
    }
    .quick-links strong {
        font-size: 18px;
    }
    .section-heading h2 {
        font-size: 28px;
    }
    .news-list h3 {
        font-size: 16px;
    }
    .message-panel h2 {
        font-size: 27px;
    }
}
@media (max-width: 480px) {
    .campus-header .brand-link strong {
        font-size: 18px;
    }
    .quick-links strong {
        font-size: 17px;
    }
    .section-heading h2 {
        font-size: 26px;
    }
}

/* Footer: address/contact rows and editable links before staff login. */
.site-footer .campus-footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 28px;
}
.campus-footer-grid .campus-footer-info {
    text-align: left;
    min-width: 0;
}
.campus-footer-grid strong {
    font-size: 23px;
    color: #fff;
}
.campus-footer-grid .campus-footer-address,
.campus-footer-grid .campus-footer-contact {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
    margin: 10px 0 0;
}
.campus-footer-grid .campus-footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    margin-top: 3px;
}
.campus-footer-contact span {
    white-space: nowrap;
}
.campus-footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 12px 24px;
}
.campus-footer-menu a {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
}
.site-footer .copyright {
    font-size: 13px;
    color: #e2e9eb;
}
@media (max-width: 1100px) {
    .site-footer .campus-footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .campus-footer-menu {
        justify-content: flex-start;
    }
}
@media (max-width: 480px) {
    .campus-footer-grid strong {
        font-size: 21px;
    }
    .campus-footer-grid .campus-footer-address,
    .campus-footer-grid .campus-footer-contact,
    .campus-footer-menu a {
        font-size: 15px;
    }
}

/* Restore the previous card design; retain configurable counts and alignment. */
.configurable-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.configurable-quick-links > a {
    flex: 0 0 calc((100% - (var(--card-columns) - 1) * 20px) / var(--card-columns));
    min-width: 0;
    overflow-wrap: anywhere;
}
@media (max-width: 800px) {
    .configurable-quick-links {
        gap: 14px;
    }
    .configurable-quick-links > a {
        flex-basis: calc((100% - 14px) / 2);
    }
}
@media (max-width: 380px) {
    .configurable-quick-links > a {
        flex-basis: 100%;
    }
}

/* News archive link styled as a rounded button. */
.home-action-button.home-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--school-color);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.15s ease;
}
.home-action-button.home-action-button:hover {
    background: color-mix(in srgb, var(--school-color) 80%, #142c3e);
    color: #fff;
}
.home-action-button.home-action-button:focus-visible {
    outline: 3px solid #333;
    outline-offset: 3px;
}
@media (max-width: 480px) {
    .section-heading:has(> .home-action-button) {
        flex-wrap: wrap;
        gap: 16px;
    }
    .home-action-button.home-action-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Override neutral heading-link text, including the calendar's light heading. */
a.home-action-button,
a.home-action-button:visited,
.section-heading > a.home-action-button,
.section-heading.light > a.home-action-button,
.message-panel a.home-action-button,
.section-heading.light > a.home-action-button:hover,
.section-heading.light > a.home-action-button:focus-visible {
    color: #fff;
}

/* Align one- and two-digit dates and weekdays in fixed columns. */
.event-table article > time {
    display: grid;
    grid-template-columns: 38px 48px;
    align-items: baseline;
    gap: 10px;
    flex: 0 0 112px;
    min-width: 112px;
    font-variant-numeric: tabular-nums;
}
.event-table article > time > b {
    display: block;
    width: 38px;
    text-align: right;
    margin: 0;
    line-height: 1.3;
}
.event-table article > time > span {
    display: block;
    white-space: nowrap;
    margin: 0;
}
.annual-events-pdf {
    margin-bottom: 32px;
}
.annual-events-pdf p {
    font-size: 13px;
    color: #626970;
}
@media (max-width: 480px) {
    .event-table article > time {
        flex-basis: 96px;
        min-width: 96px;
        gap: 6px;
    }
}

.event-table article {
    grid-template-columns: 128px minmax(0, 1fr);
}
@media (max-width: 480px) {
    .event-table article {
        grid-template-columns: 104px minmax(0, 1fr);
        padding: 18px 10px;
    }
}

.annual-events-pdf-viewer {
    display: block;
    width: 100%;
    height: min(85vh, 1000px);
    min-height: 480px;
    border: 1px solid var(--campus-line);
    border-radius: 4px;
    background: #f5f6f7;
}
.calendar-section a.home-action-button {
    color: #fff;
}
@media (max-width: 600px) {
    .annual-events-pdf-viewer {
        min-height: 380px;
        height: 70vh;
    }
}

/* A4 portrait page proportions and separation from the event list. */
.annual-events-pdf > .home-action-button {
    margin-bottom: 24px;
}
.annual-events-pdf-after-list {
    margin-top: 48px;
}
.annual-events-pdf .annual-events-pdf-viewer {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 210 / 297;
}
@media (max-width: 600px) {
    .annual-events-pdf-after-list {
        margin-top: 32px;
    }
    .annual-events-pdf > .home-action-button {
        margin-bottom: 20px;
    }
}

/* Consistent, compact title bands across public inner pages. */
.page-header,
.page-header.compact {
    padding: 36px 0;
}
.page-header .wrap > span {
    display: block;
    font-size: 12px;
    line-height: 1.5;
}
.page-header h1 {
    margin: 10px 0 8px;
    font-size: 36px;
    line-height: 1.45;
}
.page-header p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}
@media (max-width: 800px) {
    .page-header,
    .page-header.compact {
        padding: 28px 0;
    }
    .page-header h1 {
        font-size: 28px;
    }
    .page-header p {
        font-size: 15px;
    }
}

/* One PDF page, scaled to fit both available width and screen height. */
.single-page-pdf {
    border: 1px solid var(--campus-line);
    background: #f2f4f5;
    border-radius: 4px;
    overflow: hidden;
}
.single-page-pdf-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid var(--campus-line);
}
.single-page-pdf-toolbar button {
    padding: 8px 14px;
    border: 1px solid #c7ced3;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font: inherit;
    cursor: pointer;
}
.single-page-pdf-toolbar button:disabled {
    opacity: 0.4;
    cursor: default;
}
.single-page-pdf-toolbar output {
    color: #333;
    font-size: 14px;
}
.single-page-pdf-stage {
    display: flex;
    justify-content: center;
    padding: 16px;
}
.single-page-pdf-stage canvas {
    display: block;
    max-width: 100%;
    height: auto;
    background: white;
    box-shadow: 0 2px 8px #0002;
}
@media (max-width: 480px) {
    .single-page-pdf-toolbar {
        gap: 10px;
    }
    .single-page-pdf-stage {
        padding: 8px;
    }
}

/* Keep the monthly navigation close to the breadcrumbs. */
.calendar-page {
    padding-top: 0;
}
.calendar-page > .month-nav {
    padding: 12px 0;
    gap: 12px;
}
.calendar-page > .month-nav h2 {
    margin: 0;
    line-height: 1.4;
}
@media (max-width: 600px) {
    .calendar-page > .month-nav {
        padding: 10px 0;
    }
}
