:root {
  color-scheme: light;
  --paper: #f5f4ee;
  --ink: #222c35;
  --blue: #205786;
  --blue-dark: #143b61;
  --wood: #c9a06a;
  --mist: #e6ecee;
  --white: #fff;
  --line: rgba(34, 44, 53, .18);
  --container: 1120px;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:hover { color: var(--blue-dark); }
button { color: inherit; font: inherit; }
figure, p, h1, h2 { margin-top: 0; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: 8px; left: 8px; padding: 12px 16px; transform: translateY(-150%); background: var(--white); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; white-space: nowrap; }
.brand-kicker { margin-bottom: 7px; color: var(--blue); font: 600 10px/1 Inter, Arial, sans-serif; letter-spacing: .2em; }
.brand-name { font: 700 18px/1 Arial, sans-serif; letter-spacing: .07em; }
.brand-name span { margin-left: 8px; font: 600 14px/1 "Noto Sans JP", system-ui, sans-serif; letter-spacing: .02em; }
.primary-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); font-size: 13px; }
.primary-nav a { text-decoration: none; white-space: nowrap; }
.primary-nav .nav-map { border: 1px solid var(--blue); padding: 12px 16px; color: var(--blue); }
.primary-nav .nav-map:hover { background: var(--blue); color: var(--white); }
.menu-toggle { display: none; }

.hero { min-height: 590px; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr); align-items: center; gap: clamp(32px, 3.3vw, 48px); padding-block: 76px 92px; }
.hero-copy { max-width: 620px; }
.eyebrow, .section-label { margin-bottom: 20px; color: var(--blue); font: 600 11px/1.5 Inter, Arial, sans-serif; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 22px; height: 1px; background: var(--wood); }
h1, h2 { font-weight: 600; letter-spacing: .015em; }
.hero h1 { margin-bottom: 24px; font-size: clamp(42px, 3.6vw, 52px); line-height: 1.45; letter-spacing: .02em; }
.hero-lead { max-width: 470px; margin-bottom: 30px; color: #46535d; font-size: 15px; line-height: 2.05; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 12px 18px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-size: 13px; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.button-primary { background: var(--blue); color: var(--white); }
.button-primary:hover { border-color: var(--blue-dark); background: var(--blue-dark); color: var(--white); }
.button span { font-size: 17px; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 18px; color: var(--blue); text-decoration: none; font-size: 13px; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--blue-dark); }
.hero-station { margin: 30px 0 0; color: #64717a; font-size: 12px; letter-spacing: .04em; }
.hero-photo { width: min(100%, 300px); justify-self: end; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo figcaption { display: flex; gap: 8px; margin-top: 12px; color: var(--blue); font: 600 10px/1.5 Inter, Arial, sans-serif; letter-spacing: .17em; }
.hero-index { position: absolute; right: 0; bottom: 28px; color: #75828a; font: 500 9px/1 Inter, Arial, sans-serif; letter-spacing: .18em; }

.section-blue { color: var(--white); background: var(--blue); }
.about { padding-block: 86px 92px; }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); align-items: center; gap: clamp(44px, 8vw, 110px); }
.section-label-light { color: #c9dce8; }
.about h2, .wayfinding h2 { margin-bottom: 22px; font-size: clamp(36px, 4vw, 50px); line-height: 1.5; }
.about-lead { max-width: 450px; margin-bottom: 24px; color: #edf3f6; font-size: 14px; line-height: 2; }
.experience-list { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.experience-list li { display: flex; align-items: baseline; gap: 12px; font-size: 13px; line-height: 1.8; }
.experience-list li::before { width: 14px; height: 1px; flex: none; content: ""; background: var(--wood); }
.about-name { margin: 0 0 10px; color: #fff; font-size: 13px; line-height: 1.9; }
.since { margin: 0; color: #c9dce8; font-size: 11px; }
.about-photo { width: 100%; max-width: 460px; justify-self: end; margin: 0; }
.about-photo img { width: 100%; border: 1px solid rgba(255,255,255,.35); }
.about-photo figcaption { margin-top: 10px; color: #dce8ee; font-size: 11px; }

.section-space { padding-block: 104px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 24px; }
.section-heading .section-label { margin-bottom: 12px; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 4vw, 46px); line-height: 1.3; }
.section-intro { margin: 0 0 3px; color: #58656d; font-size: 14px; line-height: 1.9; }
.menu-note { margin: 0 0 28px; color: #64717a; font-size: 12px; line-height: 1.8; }
.menu-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.menu-card { min-width: 0; position: relative; display: block; padding: 18px; border: 1px solid #d8d9d3; border-radius: 4px; background: #fff; text-align: left; cursor: zoom-in; }
.menu-card:hover { border-color: var(--blue); }
.menu-card:focus-visible, .menu-toggle:focus-visible, .dialog-close:focus-visible, .dialog-arrow:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #d2a65f; outline-offset: 3px; }
.menu-card img { width: 100%; max-height: 400px; object-fit: contain; }
.menu-number { display: inline-block; margin: 0 0 10px; color: var(--blue); font: 600 10px/1 Inter, Arial, sans-serif; letter-spacing: .15em; }
.zoom-label { min-height: 34px; display: flex; justify-content: space-between; align-items: center; color: var(--blue); font-size: 11px; }
.zoom-label span { font-size: 17px; }

.section-wash { background: var(--mist); }
.wayfinding { padding-block: 82px; }
.wayfinding-grid { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1fr); align-items: center; gap: clamp(48px, 9vw, 120px); }
.wayfinding-photo { width: 100%; max-width: 300px; margin: 0; }
.wayfinding-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.wayfinding-photo figcaption { margin-top: 10px; color: #65737b; font-size: 11px; }
.wayfinding-copy { max-width: 520px; }
.wayfinding h2 { margin-bottom: 18px; color: var(--ink); }
.wayfinding-copy > p:not(.section-label) { max-width: 460px; margin-bottom: 18px; color: #4b5962; font-size: 14px; line-height: 2; }

.access-section { padding-bottom: 112px; }
.access-heading { margin-bottom: 42px; }
.access-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: clamp(42px, 7vw, 90px); align-items: start; }
.info-list { margin: 0; border-top: 1px solid var(--line); }
.info-list > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.9; }
.info-list dt { color: #66737b; }
.info-list dd { margin: 0; }
.info-list dd a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.muted, .hours-note { color: #6b7880; font-size: 11px; }
.hours-note { margin: 14px 0 28px; }
.route-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.route-details summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--blue); font-size: 13px; cursor: pointer; list-style: none; }
.route-details summary::-webkit-details-marker { display: none; }
.route-details[open] summary { border-bottom: 1px solid var(--line); }
.route-details summary span { font-size: 18px; }
.route-details[open] summary span { transform: rotate(45deg); }
.route-details ol { display: grid; gap: 14px; margin: 20px 0; padding-left: 24px; color: #46535d; font-size: 12px; line-height: 1.9; }
.route-details li { padding-left: 3px; }
.route-source { margin: 0 0 18px; color: #6b7880; font-size: 10px; }
.map-panel { padding: 18px; border: 1px solid var(--line); background: #fff; }
.map-panel > img { width: 100%; }
.map-button { width: 100%; margin-top: 18px; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.contact-actions a { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px; border: 1px solid var(--line); color: var(--blue); text-decoration: none; font-size: 11px; }
.contact-actions a:hover { border-color: var(--blue); }

.site-footer { padding-block: 26px; border-top: 1px solid var(--line); background: #eeede6; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.footer-brand .brand-kicker { margin-bottom: 5px; font-size: 8px; }
.footer-brand .brand-name { font-size: 15px; }
.footer-brand .brand-name span { font-size: 12px; }
.footer-note { max-width: 480px; margin: 0; color: #66737b; font-size: 10px; line-height: 1.7; }
.back-top { color: var(--blue); font-size: 11px; text-decoration: none; white-space: nowrap; }

.menu-dialog { width: min(960px, calc(100% - 28px)); max-width: none; max-height: min(92dvh, 920px); padding: 18px; overflow: auto; border: 1px solid rgba(255,255,255,.4); border-radius: 4px; background: #f5f4ee; }
.menu-dialog::backdrop { background: rgba(15, 29, 39, .84); }
.dialog-toolbar { position: sticky; z-index: 1; top: -18px; display: flex; align-items: center; justify-content: space-between; padding: 8px 0 12px; background: var(--paper); }
.dialog-count { margin: 0; color: var(--blue); font: 600 11px/1.5 Inter, Arial, sans-serif; letter-spacing: .14em; }
.dialog-close { min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 3px; background: transparent; cursor: pointer; font-size: 12px; }
.dialog-close span { margin-left: 8px; font-size: 17px; }
.dialog-image { width: min(100%, 650px); max-height: calc(92dvh - 100px); margin: 0 auto; object-fit: contain; }
.dialog-arrow { position: fixed; top: 50%; z-index: 2; width: 48px; height: 48px; border: 1px solid rgba(32,87,134,.3); border-radius: 50%; background: var(--paper); color: var(--blue); cursor: pointer; }
.dialog-prev { left: max(18px, calc((100vw - 1000px) / 2)); }
.dialog-next { right: max(18px, calc((100vw - 1000px) / 2)); }

@media (max-width: 900px) {
  .hero { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(220px, 260px); gap: 28px; padding-block: 68px 80px; }
  .hero h1 { font-size: clamp(32px, 4.2vw, 42px); }
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 42px; }
  .access-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 34px; }
  .info-list > div { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 20px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; }
  .menu-toggle { width: 48px; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 3px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 1px; background: var(--ink); transition: transform .18s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .primary-nav .nav-map { justify-content: space-between; margin-top: 12px; padding: 10px 14px; border: 1px solid var(--blue); }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 56px 66px; }
  .hero h1 { margin-bottom: 18px; font-size: clamp(30px, 7.4vw, 34px); line-height: 1.55; letter-spacing: 0; }
  .eyebrow { margin-bottom: 18px; font-size: 9px; }
  .hero-lead { margin-bottom: 24px; font-size: 14px; }
  .hero-actions { gap: 16px; }
  .hero-station { margin-top: 22px; }
  .hero-photo { width: min(100%, 300px); justify-self: start; }
  .hero-index { right: 0; bottom: 24px; font-size: 8px; }
  .about { padding-block: 62px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about h2, .wayfinding h2 { font-size: 36px; }
  .about-photo { max-width: 460px; justify-self: start; }
  .section-space { padding-block: 68px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 20px; }
  .section-heading h2 { font-size: 36px; }
  .section-intro { font-size: 13px; }
  .menu-gallery { grid-template-columns: 1fr; gap: 14px; }
  .menu-card { padding: 14px; }
  .menu-card img { max-height: none; }
  .wayfinding { padding-block: 60px; }
  .wayfinding-grid { grid-template-columns: 1fr; gap: 30px; }
  .wayfinding-photo { max-width: 300px; }
  .wayfinding-copy { grid-row: 1; }
  .access-section { padding-bottom: 72px; }
  .access-grid { grid-template-columns: 1fr; gap: 32px; }
  .info-list > div { grid-template-columns: 104px minmax(0, 1fr); gap: 10px; font-size: 12px; }
  .map-panel { padding: 12px; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-actions a { font-size: 12px; }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; }
  .footer-note { order: 3; flex-basis: 100%; }
  .menu-dialog { width: calc(100% - 16px); max-height: 96dvh; padding: 12px; }
  .dialog-toolbar { top: -12px; }
  .dialog-image { max-height: calc(96dvh - 110px); }
  .dialog-arrow { position: sticky; top: auto; display: inline-grid; place-items: center; margin-top: 12px; }
  .dialog-prev { float: left; left: auto; }
  .dialog-next { float: right; right: auto; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .hero { padding-top: 46px; }
  .hero h1 { font-size: 28px; }
  .brand-name { font-size: 16px; }
  .brand-name span { margin-left: 5px; font-size: 12px; }
  .info-list > div { grid-template-columns: 92px minmax(0, 1fr); font-size: 11px; }
  .contact-actions a { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
