:root {
  --bg: #e4f1f8;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-solid: #fbfdff;
  --panel-soft: #edf6fa;

  --text: #05080c;
  --muted: #0d1117;

  --accent: #6ec0e8;
  --accent-soft: #98d9f2;
  --accent-deep: #2f86b0;

  --highlight: #57abd3;
  --highlight-soft: #7fc7e7;

  --line: rgba(47, 134, 176, 0.16);
  --shadow: 0 18px 42px rgba(25, 60, 85, 0.1);

  --radius: 24px;
  --container: 1180px;

  --header-expanded: 82px;
  --header-collapsed: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-collapsed) + 20px);
}

body {
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  background:
    radial-gradient(circle at top right, rgba(110, 192, 232, 0.22), transparent 30%),
    radial-gradient(circle at top left, rgba(167, 214, 235, 0.28), transparent 28%),
    linear-gradient(180deg, #eef7fb 0%, #e2f0f8 48%, #d6e9f4 100%);
  color: var(--text);
  line-height: 1.72;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 24, 32, 0.045) 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  opacity: 0.04;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  background: rgba(236, 246, 251, 0.76);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.scrolled {
  background: rgba(236, 246, 251, 0.93);
  border-color: var(--line);
}

.site-header.is-collapsed {
  background: rgba(236, 246, 251, 0.97);
  border-color: var(--line);
  box-shadow: 0 10px 24px rgba(25, 60, 85, 0.07);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-expanded);
  overflow: visible;
  transition:
    min-height 220ms ease,
    padding 220ms ease;
}

.site-header.is-collapsed .header-inner {
  min-height: var(--header-collapsed);
}

.site-nav,
.trial-button,
.brand {
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    filter 220ms ease;
}

.site-header.is-collapsed .site-nav,
.site-header.is-collapsed .trial-button {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px) scale(0.985);
  filter: none;
}

.site-header.is-collapsed .brand {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  justify-content: center;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.brand-text {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.3rem, 1.45vw, 1.55rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #0d1720;
  display: inline-block;
  padding-bottom: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #111418;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 100%;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #5aaed8, #3f95c0 52%, #2b7ca4);
  color: #f9fdff;
  box-shadow: none;
}

.button-secondary {
  border-color: rgba(47, 134, 176, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(47, 134, 176, 0.28);
  background: rgba(255, 255, 255, 0.9);
}

.trial-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 132px;
  text-align: center;
  line-height: 1.05;
  padding: 0.82rem 1.1rem;
  flex-shrink: 0;
}

.trial-button span:first-child {
  font-size: 0.88rem;
  font-weight: 700;
}

.trial-button span:last-child {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

/* ---------- Headings / text ---------- */

.eyebrow,
.fact-kicker,
.address-kicker,
.side-kicker {
  margin: 0 0 0.9rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
}

h1,
h2,
h3,
strong,
blockquote {
  margin-top: 0;
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #05080c;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  margin-bottom: 1.2rem;
  max-width: 11ch;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

h3 {
  font-size: 1.28rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
  color: #15202b;
}

.hero-copy {
  max-width: 62ch;
  font-size: 1.05rem;
  font-weight: 500;
}

.access-hero h1 {
  max-width: 10.5ch;
}

.text-link {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--accent-deep);
  font-weight: 600;
}

/* ---------- Hero ---------- */

.access-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.62), rgba(214, 233, 244, 0.68)),
    radial-gradient(circle at 75% 20%, rgba(110, 192, 232, 0.2), transparent 26%),
    linear-gradient(180deg, #f1f8fc 0%, #e2f0f8 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(228,241,248,0.2));
}

.access-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: start;
  padding: calc(var(--header-expanded) + 2.6rem) 0 4.8rem;
}

.access-hero-copy,
.access-summary-card,
.visit-main,
.visit-side,
.tone-copy,
.tone-points {
  min-width: 0;
}

#access-map-embed {
  width: 90%;
  margin: 0 auto 1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,251,254,0.98));
}

#access-map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.access-submap-heading {
  margin: 5rem 0 0.55rem;
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

#access-station-map {
  width: 800px;
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,251,254,0.98));
}

#access-station-map img {
  display: block;
  width: 100%;
  height: auto;
}


.access-summary-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,251,254,0.98));
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 1.35rem;
}

.summary-row {
  padding: 0.95rem 0;
  border-top: 1px solid rgba(47, 134, 176, 0.12);
}

.summary-row:first-child {
  border-top: none;
  padding-top: 0;
}

.summary-row:last-child {
  padding-bottom: 0;
}

.summary-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent-deep);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.summary-row strong {
  font-size: 1rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ---------- Quick facts ---------- */

.quick-facts {
  padding: 1.4rem 0 0;
}

.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fact-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(47, 134, 176, 0.12);
  border-radius: 22px;
  padding: 1.35rem;
  box-shadow: 0 14px 30px rgba(25, 60, 85, 0.07);
}

.fact-card h2 {
  font-size: 1.32rem;
  margin-bottom: 0.55rem;
}

.fact-card p {
  margin: 0;
  color: #1c2732;
  line-height: 1.75;
}

/* ---------- Visit layout ---------- */

.visit-layout {
  padding: 5.2rem 0;
}

.visit-layout-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 1.4rem;
  align-items: start;
}

.visit-main,
.visit-side {
  display: grid;
  gap: 1.2rem;
}

.section-intro-block,
.address-card,
.hours-card,
.contact-card,
.visit-tip-card,
.route-card,
.related-card,
.info-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,251,254,0.98));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.section-intro-block,
.address-card,
.hours-card,
.contact-card,
.visit-tip-card {
  padding: 1.5rem;
}

.address-main {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
  color: #111a24;
}

.address-note,
.contact-note {
  margin-bottom: 0;
  color: #24303b;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.route-card {
  padding: 1.35rem;
}

.route-card p {
  margin-bottom: 0;
  color: #1f2b36;
}

/* ---------- Hours / Contact ---------- */

.hours-list {
  display: grid;
  gap: 0.85rem;
}

.hours-item {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(47, 134, 176, 0.12);
}

.hours-item:first-child {
  border-top: none;
  padding-top: 0;
}

.hours-item span {
  color: #43505c;
  font-size: 0.95rem;
}

.hours-item strong {
  color: var(--accent-deep);
  font-size: 1.05rem;
}

.hours-item.is-closed strong {
  color: #5e6a75;
}

.contact-block {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(47, 134, 176, 0.12);
  margin-top: 0.9rem;
}

.contact-block:first-of-type {
  margin-top: 0;
}

.contact-block span {
  display: block;
  margin-bottom: 0.3rem;
  color: #4c5a66;
  font-size: 0.9rem;
}

.contact-block strong {
  font-size: 1rem;
  line-height: 1.5;
}

/* ---------- Tone section ---------- */

.location-tone {
  padding: 0 0 5.2rem;
}

.location-tone-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.3rem;
  align-items: stretch;
}

.tone-copy,
.tone-point {
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,251,254,0.98));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.tone-copy {
  padding: 1.7rem;
}

.tone-points {
  display: grid;
  gap: 1rem;
}

.tone-point {
  padding: 1.3rem;
}

.tone-point p {
  margin-bottom: 0;
}

/* ---------- Related ---------- */

.related-links {
  padding: 0 0 5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.related-card {
  padding: 1.3rem;
}

.related-card p {
  margin-bottom: 0;
}

/* ---------- Final CTA ---------- */

.final-cta {
  padding: 0 0 3.2rem;
}

.final-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,251,254,0.98));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 2.2rem;
  text-align: center;
}

.final-panel p {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.final-panel .button {
  margin-top: 0.4rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem 0 2.4rem;
  border-top: 1px solid var(--line);
  background: rgba(220, 238, 248, 0.9);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(0, 2fr);
  gap: 56px;
  align-items: start;
}

.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-brand-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-logo {
  width: 164px;
  height: auto;
  border-radius: 16px;
}

.footer-tagline {
  margin: 0;
  max-width: 34ch;
  line-height: 1.9;
}

.footer-tagline,
.footer-col a,
.footer-bottom-inner p {
  color: #2d373f;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-heading {
  position: relative;
  margin: 0 0 10px;
  padding-bottom: 12px;
  color: var(--accent-deep);
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-top: 10px;
  background: currentColor;
  opacity: 0.42;
}

.footer-col a {
  line-height: 1.6;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-col a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid rgba(47, 134, 176, 0.1);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom-inner p {
  margin: 0;
  font-size: 0.86rem;
  opacity: 0.9;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .access-hero-inner,
  .visit-layout-inner,
  .location-tone-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .access-hero-inner {
    gap: 1.4rem;
    padding: calc(var(--header-expanded) + 2.1rem) 0 3.8rem;
  }

  .quick-facts-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-info-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  :root {
    --header-expanded: 148px;
    --header-collapsed: 148px;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.95rem;
    padding: 0.5rem;
  }

  .site-nav {
    order: 2;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem 1.1rem;
  }

  .trial-button {
    order: 3;
  }
}

@media (max-width: 900px) {
  .quick-facts-grid,
  .route-grid,
  .related-grid,
  .hero-info-panel,
  .footer-nav-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-expanded: 150px;
    --header-collapsed: 64px;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .access-hero {
    overflow-x: hidden;
  }

  .access-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: calc(var(--header-expanded) + 1.6rem) 0 3rem;
  }

  #access-map-embed {
    width:95%
  }

  #access-map-embed iframe {
    height: 320px;
  }

  #access-station-map {
    width: min(400px, 90%);
  }

  .access-summary-card {
    padding: 1.1rem;
  }

  .summary-row strong {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .summary-row br {
    display: none;
  }

  .access-hero h1 {
    max-width: none;
    font-size: clamp(1.95rem, 8.6vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
  }

  .access-hero .hero-copy {
    max-width: none;
    font-size: 0.98rem;
  }

  .header-inner {
    min-height: var(--header-expanded);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.9rem;
    padding: 1rem 0.75rem;
  }

  .brand {
    order: 1;
    justify-content: center;
    text-align: center;
  }

  .brand-text {
    font-size: 1.45rem;
    white-space: normal;
    text-align: center;
  }

  .trial-button {
    order: 2;
    width: min(280px, 100%);
    min-width: 0;
    padding: 0.9rem 1.25rem;
  }

  .trial-button span:first-child {
    font-size: 0.88rem;
  }

  .trial-button span:last-child {
    font-size: 0.72rem;
  }

  .site-nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    row-gap: 0.7rem;
    column-gap: 0;
    justify-items: center;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    padding: 0 0 0.15rem;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
    white-space: nowrap;
  }

  .site-nav a:nth-child(1) { grid-column: 1 / span 2; }
  .site-nav a:nth-child(2) { grid-column: 3 / span 2; }
  .site-nav a:nth-child(3) { grid-column: 5 / span 2; }
  .site-nav a:nth-child(4) { grid-column: 2 / span 2; }
  .site-nav a:nth-child(5) { grid-column: 4 / span 2; }

  .site-header.is-collapsed .header-inner {
    min-height: var(--header-collapsed);
    height: var(--header-collapsed);
    padding: 0 0.75rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .site-header.is-collapsed .site-nav,
  .site-header.is-collapsed .trial-button {
    display: none;
  }

  .site-header.is-collapsed .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    order: initial;
    width: max-content;
    margin: 0;
  }

  .site-header.is-collapsed .brand-text {
    font-size: 1.08rem;
    white-space: nowrap;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .final-panel .button {
    width: 100%;
  }

  .section-intro-block,
  .address-card,
  .hours-card,
  .contact-card,
  .visit-tip-card,
  .route-card,
  .tone-copy,
  .tone-point,
  .related-card {
    padding: 1.25rem;
  }

  .footer-inner {
    text-align: center;
    gap: 36px;
  }

  .footer-brand-block {
    align-items: center;
    text-align: center;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-col {
    align-items: center;
    text-align: center;
  }

  .footer-heading {
    text-align: center;
  }

  .footer-heading::after {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-tagline {
    text-align: center;
  }
}

@media (max-width: 520px) {
  h1 {
    max-width: none;
    font-size: clamp(2.1rem, 11vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  h3 {
    font-size: 1.16rem;
  }

  .hero-copy,
  .summary-row strong,
  .fact-card p,
  .route-card p,
  .tone-point p,
  .related-card p,
  .final-panel p,
  .section-intro-block p,
  .address-note,
  .contact-note {
    font-size: 0.96rem;
  }

  .footer-logo {
    width: 148px;
  }
}