:root {
  --access-blue: #0b438d;
  --access-blue-dark: #082f68;
  --access-sky: #e9f6fb;
  --access-gold: #d8a83e;
  --access-red: #c94732;
  --access-ink: #102c4d;
  --access-paper: #fbfaf6;
}

html { scroll-behavior: smooth; }

.accessPreview {
  color: var(--access-ink);
  background: var(--access-paper);
}

.accessMain {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 10% 8%, rgba(104, 192, 224, .16), transparent 24rem),
    linear-gradient(180deg, #f7fbfc 0, #fff 28rem, #fbfaf6 100%);
}

.accessIntro {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(64px, 7vw, 110px) 0 clamp(42px, 5vw, 72px);
  text-align: center;
}

.accessIntro__eyebrow,
.accessSection__heading > p {
  color: var(--access-gold);
  font-family: "acumin-pro-condensed", sans-serif;
  font-weight: 700;
  letter-spacing: .16em;
}

.accessIntro__eyebrow { font-size: 15px; }

.accessIntro h1 {
  margin-top: 10px;
  color: var(--access-blue);
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 800;
  letter-spacing: .05em;
}

.accessIntro > p:last-child {
  max-width: 760px;
  margin: 24px auto 0;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2;
}

.accessLocalNav {
  position: sticky;
  z-index: 20;
  top: 0;
  border-top: 1px solid rgba(11, 67, 141, .12);
  border-bottom: 1px solid rgba(11, 67, 141, .16);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 30px rgba(8, 47, 104, .08);
  backdrop-filter: blur(12px);
}

.accessLocalNav__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(1120px, 100%);
  margin: 0 auto;
}

.accessLocalNav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 12px 18px;
  border-left: 1px solid rgba(11, 67, 141, .12);
  color: var(--access-blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: color .2s, background-color .2s;
}

.accessLocalNav a:last-child { border-right: 1px solid rgba(11, 67, 141, .12); }
.accessLocalNav a:hover { color: #fff; background: var(--access-blue); }

.accessLocalNav a span {
  margin-right: 11px;
  color: var(--access-gold);
  font-family: "acumin-pro-condensed", sans-serif;
  font-size: 13px;
  letter-spacing: .08em;
}

.accessContainer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 100px) 0 clamp(90px, 11vw, 160px);
}

.accessNotice {
  padding: clamp(28px, 4vw, 48px);
  border: 2px solid rgba(201, 71, 50, .36);
  border-radius: 20px;
  background: #fff8f5;
  box-shadow: 0 18px 50px rgba(96, 35, 24, .08);
}

.accessNotice__heading { display: flex; align-items: center; gap: 18px; }
.accessNotice__heading > span {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--access-red);
  font-family: serif;
  font-size: 25px;
  font-weight: 700;
}

.accessNotice h2 { color: #a73525; font-size: clamp(19px, 2.3vw, 27px); font-weight: 800; line-height: 1.5; }
.accessNotice ul { margin: 24px 0 0 1.3em; }
.accessNotice li { margin-top: 10px; padding-left: .4em; font-size: 15px; line-height: 1.8; }
.accessNotice li::marker { color: var(--access-red); }

.accessNoticeTrigger {
  position: fixed;
  z-index: 25;
  top: 94px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 330px;
  padding: 13px 18px 13px 13px;
  border: 1px solid rgba(201, 71, 50, .38);
  border-radius: 14px;
  color: #9d3425;
  background: rgba(255, 248, 245, .96);
  box-shadow: 0 12px 34px rgba(70, 27, 19, .18);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(10px);
  animation: accessNoticeTriggerIn .25s ease-out both;
}
.accessNoticeTrigger[hidden] { display: none; }
.accessNoticeTrigger > span:first-child {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--access-red);
  font-family: serif;
  font-size: 20px;
}
.accessNoticeTrigger:hover { color: #fff; background: var(--access-red); }
.accessNoticeTrigger:hover > span:first-child { color: var(--access-red); background: #fff; }
.accessNoticeTrigger:focus-visible,
.accessNoticeDialog__close:focus-visible { outline: 3px solid var(--access-gold); outline-offset: 3px; }

@keyframes accessNoticeTriggerIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.accessNoticeDialog {
  position: fixed;
  inset: 0;
  width: min(820px, calc(100% - 40px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 20px;
  color: var(--access-ink);
  background: transparent;
}
.accessNoticeDialog::backdrop { background: rgba(4, 22, 47, .72); backdrop-filter: blur(5px); }
.accessNoticeDialog__panel { position: relative; max-height: calc(100dvh - 48px); padding: 8px; overflow-y: auto; border-radius: 20px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.accessNoticeDialog__content .accessNotice { border: 0; box-shadow: none; }
.accessNoticeDialog__close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 18px rgba(75,29,21,.16);
  cursor: pointer;
}
.accessNoticeDialog__close span { position: absolute; top: 20px; left: 11px; width: 20px; height: 2px; background: var(--access-red); }
.accessNoticeDialog__close span:first-child { transform: rotate(45deg); }
.accessNoticeDialog__close span:last-child { transform: rotate(-45deg); }

.accessSection {
  scroll-margin-top: 100px;
  padding: clamp(80px, 10vw, 140px) 0;
  border-bottom: 1px solid rgba(11, 67, 141, .16);
}
.accessSection--last { border-bottom: 0; padding-bottom: 0; }

.accessSection__heading { position: relative; margin-bottom: 42px; padding-left: 24px; }
.accessSection__heading::before {
  position: absolute;
  top: 4px;
  bottom: 5px;
  left: 0;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(var(--access-gold), var(--access-blue));
  content: "";
}
.accessSection__heading > p { font-size: 14px; }
.accessSection__heading h2 { margin-top: 8px; color: var(--access-blue); font-size: clamp(28px, 4vw, 45px); font-weight: 800; letter-spacing: .04em; }
.accessSection__lead { margin: -18px 0 34px; font-size: 16px; line-height: 1.9; }

.accessPreparation {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  min-height: 210px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(11, 67, 141, .18);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, var(--access-sky));
  box-shadow: 0 22px 60px rgba(8, 47, 104, .09);
}
.accessPreparation__label {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--access-blue);
  font-family: "acumin-pro-condensed", sans-serif;
  font-weight: 700;
  letter-spacing: .1em;
}
.accessPreparation h3 { color: var(--access-blue); font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; }
.accessPreparation p { margin-top: 12px; line-height: 1.8; }
.accessPreparation__status, .accessPending {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: #71530e;
  background: #f5e8bb;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.accessMapGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
.accessMapFigure { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(11,67,141,.18); border-radius: 20px; background: #fff; box-shadow: 0 22px 58px rgba(8,47,104,.10); }
.accessMapFigure__heading { display: flex; align-items: center; gap: 22px; padding: 25px 30px; color: #fff; background: linear-gradient(135deg, var(--access-blue-dark), #1778b0); }
.accessMapFigure__heading > span { flex: 0 0 auto; color: #edd17d; font-family: "acumin-pro-condensed", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.accessMapFigure__heading h3 { font-size: clamp(20px,2.4vw,28px); font-weight: 800; line-height: 1.45; }
.accessMapFigure__heading p { margin-top: 5px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.6; }
.accessMapFigure__image { position: relative; display: flex; flex: 1; align-items: flex-start; padding: 13px; background: #f3f7ef; cursor: zoom-in; }
.accessMapFigure__image img { display: block; width: 100%; height: auto; border: 1px solid rgba(11,67,141,.18); background: #fff; }
.accessMapFigure__image > span { position: absolute; right: 34px; bottom: 34px; padding: 10px 15px; border-radius: 999px; color: #fff; background: rgba(8,47,104,.92); box-shadow: 0 8px 20px rgba(8,47,104,.22); font-size: 13px; font-weight: 700; }
.accessMapFigure__image i { margin-left: 5px; color: #edd17d; font-style: normal; }

.accessMapDialog {
  position: fixed;
  inset: 0;
  width: min(1240px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  color: var(--access-ink);
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.30);
}
.accessMapDialog::backdrop { background: rgba(4,22,47,.78); backdrop-filter: blur(5px); }
.accessMapDialog__panel { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); }
.accessMapDialog__header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 22px; color: #fff; background: linear-gradient(135deg, var(--access-blue-dark), #1778b0); }
.accessMapDialog__header > div:first-child > span { color: #edd17d; font-family: "acumin-pro-condensed",sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.accessMapDialog__header h2 { margin-top: 3px; font-size: 23px; font-weight: 800; }
.accessMapDialog__actions { display: flex; align-items: center; gap: 14px; }
.accessMapDialog__actions a { padding: 9px 14px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; color: #fff; font-size: 12px; font-weight: 700; }
.accessMapDialog__actions a span { color: #edd17d; }
.accessMapDialog__close { position: relative; flex: 0 0 40px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
.accessMapDialog__close span { position: absolute; top: 19px; left: 10px; width: 20px; height: 2px; background: var(--access-blue); }
.accessMapDialog__close span:first-child { transform: rotate(45deg); }
.accessMapDialog__close span:last-child { transform: rotate(-45deg); }
.accessMapDialog__hint { display: none; flex: 0 0 auto; padding: 9px 14px; color: #56687d; background: #eef3f5; font-size: 11px; text-align: center; }
.accessMapDialog__viewport { flex: 1 1 auto; padding: 18px; overflow: auto; background: #dfe7da; overscroll-behavior: contain; }
.accessMapDialog__viewport img { display: block; width: 100%; height: auto; margin: 0 auto; background: #fff; }

.accessSubsection + .accessSubsection { margin-top: 64px; }
.accessSubsection__title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: var(--access-blue); font-size: clamp(21px, 2.6vw, 29px); font-weight: 800; }
.accessSubsection__title span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: var(--access-blue); font-size: 13px; }

.accessTableWrap { overflow: hidden; border: 1px solid rgba(11, 67, 141, .18); border-radius: 18px; background: #fff; box-shadow: 0 16px 44px rgba(8, 47, 104, .07); }
.accessTable { width: 100%; table-layout: fixed; border-collapse: collapse; }
.accessTable thead { color: #fff; background: var(--access-blue); }
.accessTable th, .accessTable td { padding: 23px 21px; border-right: 1px solid rgba(11, 67, 141, .14); border-bottom: 1px solid rgba(11, 67, 141, .14); font-size: 14px; line-height: 1.65; vertical-align: middle; }
.accessTable th:last-child, .accessTable td:last-child { border-right: 0; }
.accessTable tbody tr:last-child > * { border-bottom: 0; }
.accessTable thead th { padding-top: 16px; padding-bottom: 16px; font-weight: 700; text-align: center; }
.accessTable thead th:first-child { width: 35%; }
.accessTable tbody th { background: #f2f8fb; font-weight: 700; text-align: left; }
.accessTable tbody td { text-align: center; }
.accessTable a { display: inline; color: var(--access-blue); text-decoration: underline; text-decoration-color: rgba(11,67,141,.3); text-underline-offset: 5px; }
.accessTable a span { margin-left: 8px; color: var(--access-gold); }
.accessTable small { color: #617187; font-size: 12px; font-weight: 500; }

.accessBusIntro { margin: -12px 0 34px; padding: 28px 32px; border-left: 5px solid var(--access-gold); background: #f2f8fb; }
.accessBusIntro p { line-height: 1.8; }
.accessBusIntro p + p { margin-top: 8px; }
.accessTable--bus thead th:first-child { width: 45%; }
.accessTable--bus tbody th { text-align: center; }
.accessTable--bus tbody th strong, .accessTable--bus tbody th small, .accessTable--bus tbody th b { display: block; }
.accessTable--bus tbody th strong { color: var(--access-blue); font-size: 16px; }
.accessTable--bus tbody th b { margin: 7px 0; color: var(--access-gold); font-size: 20px; }
.accessTable--bus tbody td:last-child strong { color: var(--access-blue); font-size: 20px; }
.accessFootnote { margin-top: 18px; color: #53657a; font-size: 13px; line-height: 1.7; }

.accessMapLinks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.accessMapLinks a { display: flex; align-items: center; min-height: 72px; padding: 14px 20px; border: 1px solid rgba(11,67,141,.22); border-radius: 12px; color: var(--access-blue); background: #fff; font-size: 14px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.accessMapLinks a:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(8,47,104,.12); }
.accessMapLinks span { margin-right: 12px; padding: 5px 8px; border-radius: 5px; color: #fff; background: var(--access-blue); font-family: "acumin-pro-condensed", sans-serif; font-size: 11px; letter-spacing: .1em; }

@media (max-width: 767px) {
  .accessIntro { width: min(100% - 36px, 560px); padding: 50px 0 38px; }
  .accessIntro h1 { line-height: 1.35; }
  .accessIntro > p:last-child { margin-top: 17px; text-align: left; line-height: 1.85; }

  .accessLocalNav { top: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .accessLocalNav__inner { width: max-content; min-width: 100%; grid-template-columns: repeat(4, minmax(142px, 1fr)); }
  .accessLocalNav a { min-height: 62px; padding: 10px 14px; font-size: 13px; white-space: nowrap; }

  .accessContainer { width: min(100% - 36px, 560px); padding-top: 48px; padding-bottom: 100px; }
  .accessNotice { padding: 25px 21px; border-radius: 15px; }
  .accessNotice__heading { align-items: flex-start; gap: 13px; }
  .accessNotice__heading > span { flex-basis: 34px; width: 34px; height: 34px; font-size: 20px; }
  .accessNotice h2 { flex: 1; font-size: 18px; line-height: 1.55; }
  .accessNotice ul { margin-top: 18px; margin-left: 1.2em; }
  .accessNotice li { font-size: 13px; }

  .accessNoticeTrigger {
    top: auto;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    justify-content: center;
    max-width: none;
    padding: 10px 14px 10px 10px;
    border-radius: 12px;
    font-size: 12px;
    text-align: center;
  }
  .accessNoticeTrigger > span:first-child { flex-basis: 30px; width: 30px; height: 30px; font-size: 18px; }
  .accessNoticeDialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 15px; }
  .accessNoticeDialog__panel { max-height: calc(100dvh - 24px); padding: 5px; border-radius: 15px; }
  .accessNoticeDialog__close { top: 14px; right: 14px; width: 38px; height: 38px; }
  .accessNoticeDialog__close span { top: 18px; left: 9px; }
  .accessNoticeDialog__content .accessNotice { padding-top: 56px; }

  .accessSection { scroll-margin-top: 78px; padding: 72px 0; }
  .accessSection__heading { margin-bottom: 32px; padding-left: 18px; }
  .accessSection__heading::before { width: 4px; }
  .accessSection__lead { margin-top: -12px; font-size: 14px; }

  .accessPreparation { grid-template-columns: 58px 1fr; min-height: 0; gap: 18px; padding: 25px 20px; border-radius: 15px; }
  .accessPreparation__label { width: 58px; height: 58px; font-size: 12px; }
  .accessPreparation h3 { font-size: 18px; line-height: 1.5; }
  .accessPreparation p { font-size: 13px; }
  .accessPreparation__status { grid-column: 2; justify-self: start; }

  .accessMapGrid { grid-template-columns: 1fr; gap: 25px; }
  .accessMapFigure { border-radius: 15px; }
  .accessMapFigure__heading { align-items: flex-start; gap: 12px; padding: 20px 17px; }
  .accessMapFigure__heading > span { padding-top: 3px; font-size: 11px; }
  .accessMapFigure__heading h3 { font-size: 18px; }
  .accessMapFigure__heading p { margin-top: 5px; font-size: 12px; }
  .accessMapFigure__image { padding: 7px; }
  .accessMapFigure__image > span { right: 16px; bottom: 16px; padding: 8px 12px; font-size: 11px; }
  .accessMapDialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 14px; }
  .accessMapDialog__panel { max-height: calc(100dvh - 16px); }
  .accessMapDialog__header { gap: 10px; padding: 13px 12px 13px 16px; }
  .accessMapDialog__header h2 { max-width: 180px; font-size: 16px; line-height: 1.4; }
  .accessMapDialog__actions { gap: 8px; }
  .accessMapDialog__actions a { padding: 7px 9px; font-size: 10px; }
  .accessMapDialog__close { flex-basis: 36px; width: 36px; height: 36px; }
  .accessMapDialog__close span { top: 17px; left: 8px; }
  .accessMapDialog__hint { display: block; }
  .accessMapDialog__viewport { padding: 8px; }
  .accessMapDialog__viewport img { width: 720px; max-width: none; margin: 0; }

  .accessSubsection + .accessSubsection { margin-top: 52px; }
  .accessSubsection__title { gap: 10px; font-size: 21px; }
  .accessSubsection__title span { width: 32px; height: 32px; }
  .accessTableWrap { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .accessTable, .accessTable tbody, .accessTable tr, .accessTable th, .accessTable td { display: block; width: 100%; }
  .accessTable thead { display: none; }
  .accessTable tbody { display: grid; gap: 16px; }
  .accessTable tbody tr { overflow: hidden; border: 1px solid rgba(11,67,141,.18); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(8,47,104,.06); }
  .accessTable tbody th, .accessTable tbody td { position: relative; min-height: 52px; padding: 15px 16px 15px 114px; border-right: 0; border-bottom: 1px solid rgba(11,67,141,.12); font-size: 13px; text-align: left; }
  .accessTable tbody th { padding: 20px 17px; text-align: center; }
  .accessTable tbody td::before { position: absolute; top: 17px; left: 15px; width: 88px; color: #65768b; content: attr(data-label); font-size: 11px; font-weight: 700; }
  .accessTable tbody tr > *:last-child { border-bottom: 0; }
  .accessTable a { font-size: 15px; line-height: 1.7; }

  .accessBusIntro { margin-top: -8px; padding: 22px 20px; }
  .accessBusIntro p { font-size: 13px; }
  .accessTable--bus tbody th { padding: 20px 17px; }
  .accessTable--bus tbody th strong { font-size: 15px; }
  .accessTable--bus tbody td:last-child strong { font-size: 17px; }
  .accessFootnote { font-size: 12px; }
  .accessMapLinks { grid-template-columns: 1fr; gap: 10px; margin-top: 28px; }
  .accessMapLinks a { min-height: 62px; }
}

@media (min-width: 768px) {
  .accessIntro > p:last-child {
    max-width: 820px;
    font-size: 19px;
  }

  .accessLocalNav a {
    font-size: 17px;
  }

  .accessNotice li,
  .accessPreparation p,
  .accessSection__lead,
  .accessBusIntro p {
    font-size: 17px;
  }

  .accessMapFigure__heading p,
  .accessMapLinks a {
    font-size: 16px;
  }

  .accessTable th,
  .accessTable td {
    font-size: 16px;
  }

  .accessTable small {
    font-size: 13px;
  }

  .accessFootnote {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .accessMapLinks a { transition: none; }
  .accessNoticeTrigger { animation: none; }
}
