:root {
  color-scheme: light;
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: #183d49;
  background: #f6f5ef;
  line-height: 1.7;
}
* { box-sizing: border-box; }
body { margin: 0; }
figure, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, [tabindex]:focus-visible, input:focus-visible + span {
  outline: 3px solid #a34f0e;
  outline-offset: 3px;
}
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid #ddded4; }
.header-inner, .site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding-block: 18px; }
.header-inner span, .site-footer span { color: #506468; font-size: .76rem; }
.brand { font-weight: 800; text-decoration: none; }
.intro { padding: clamp(34px, 6vw, 74px) 0 24px; }
.campus-label { font-size: .78rem; font-weight: 700; letter-spacing: .07em; }
.intro .campus-label { color: #904509; }
h1 { font-size: clamp(2.55rem, 6vw, 5rem); letter-spacing: -.065em; line-height: 1.12; margin: .12em 0 .23em; }
.intro-copy { color: #43595e; }
.intro-copy strong { display: inline-block; color: #183d49; }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, .46fr); gap: 20px; align-items: start; }
.map { min-width: 0; border: 1px solid #d8ddd3; border-radius: 16px; padding: 0; margin: 0; background: #fff; }
.map legend { margin-left: 16px; padding-inline: 8px; font-size: .85rem; font-weight: 800; }
.map-options { display: flex; flex-wrap: wrap; gap: 6px; margin: 7px 14px 11px; }
.map-options label { position: relative; cursor: pointer; }
.map-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.map-options span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 14px; border-radius: 7px; border: 1px solid #d8ddd3; font-size: .8rem; font-weight: 700; }
.map-options input:checked + span { color: #fff; background: #183d49; border-color: #183d49; }
.map:has(input[value="nearby"]:checked) .campus-view,
.map:has(input[value="campus"]:checked) .nearby-view { display: none; }
.map figure { background: #f2f3ee; margin: 0 1px; }
.image-link { display: block; }
.map img { display: block; width: 100%; height: auto; }
.nearby-view img { max-width: 520px; margin-inline: auto; }
.campus-view img { min-width: 830px; }
.map-scroll { overflow-x: auto; overscroll-behavior-inline: contain; }
.map figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; padding: 7px 15px; border-top: 1px solid #dde2d8; font-size: .76rem; }
.map-key { display: flex; align-items: flex-start; gap: 9px; padding: 13px 15px 15px; color: #43595e; font-size: .8rem; }
.map-key span { margin-top: .42em; width: 17px; height: 11px; flex: 0 0 17px; border: 2px dashed #a34f0e; border-radius: 50%; background: #f9e3c7; }
.location { margin-top: 10px; border-radius: 16px; padding: 23px; color: #fff; background: #183d49; }
.location .campus-label { color: #f0c496; }
.location h2 { margin: 5px 0 10px; font-size: clamp(1.4rem, 2.9vw, 1.9rem); line-height: 1.4; letter-spacing: -.025em; }
.location p { font-size: .84rem; }
.relocation { padding: 11px 13px; margin: 18px 0 11px; border-radius: 8px; background: #f7ecd6; color: #603909; }
.relocation strong { font-size: .87rem; }
.relocation p { margin-top: 1px; }
.official-map { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: .82rem; }
.official-map:focus-visible { outline-color: #ffe6bf; }
.manners { margin-block: 32px; padding-top: 12px; border-top: 1px solid #ddded4; }
.manners h2 { font-size: 1.2rem; margin: 0 0 8px; }
.manners ul { display: flex; flex-wrap: wrap; list-style: none; gap: 5px 22px; padding: 0; margin: 0 0 13px; font-size: .9rem; font-weight: 650; }
.manners li::before { display: inline-block; content: ""; width: .42em; height: .42em; margin: 0 .65em .13em 0; border-radius: 50%; background: #a34f0e; }
.source-note { color: #506468; font-size: .77rem; }
.site-footer { border-top: 1px solid #ddded4; margin-top: 26px; font-size: .83rem; }
@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { gap: 2px 12px; }
  .guide { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .location { margin-top: 0; padding: 18px; }
  .location h2 br { display: none; }
}
