/* Hallmark · playful · original direction: a picnic at a miniature railway */
/* Lead with the real station photograph. Keep movement around the content and make each destination easy to read. */
:root {
  --ink: #23354c;
  --pine: #203b60;
  --muted: #495b6c;
  --paper: #fff9eb;
  --sheet: #fffdf5;
  --milk: #fffdf5;
  --line: #d4cbb4;
  --sky: #bdebf7;
  --water: #e5f6fc;
  --blue: #19577e;
  --red: #ae3828;
  --coral: #ee7455;
  --ochre: #ffcf54;
  --mint: #c5e6cf;
  --grass: #afd8ab;
  --rose: #f9ded4;
  --sage: #eaf3df;
  --sand: #ffedb7;
  --shade: #23354c1f;
  --display: "Round Print","Hiragino Maru Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  --body: "BIZ UDPGothic","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
}
@font-face {
  font-family: "Round Print";
  src: url("art/round-display-ja.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
* { box-sizing: border-box; }
html,body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.8 var(--body); }
a { color: inherit; text-underline-offset: .23em; }
button,summary { cursor: pointer; font: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1,h2,h3,p,figure,dl,dd { margin: 0; }
h1,h2,h3 { min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
h1,h2,h3,.brand,.work-sign,.track-list strong { color: var(--pine); font-family: var(--display); font-weight: 900; }
h2 { font-size: clamp(1.9rem,3.5vw,3rem); line-height: 1.26; }
.wrap { width: min(1100px,90%); margin-inline: auto; }
.skip {
  position: fixed; z-index: 20; top: 8px; left: 12px;
  transform: translateY(-160%); background: var(--sheet); padding: 8px 16px;
}
.skip:focus-visible { transform: none; }
.masthead { position: sticky; top: 0; z-index: 5; background: var(--sheet); }
.mast-inner {
  width: min(1290px,92%); min-height: 73px; margin: auto;
  display: flex; align-items: center; gap: clamp(16px,3vw,40px);
}
.brand {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 1.02rem; line-height: 1.19; text-decoration: none;
}
.brand>span>span { display: block; }
.brand img { width: 48px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px,3vw,40px); margin-left: auto; }
.desktop-nav a { display: flex; align-items: center; min-height: 48px; font-size: .95rem; font-weight: 700; text-decoration: none; }
.desktop-nav a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.menu { position: relative; }
.menu summary {
  display: flex; align-items: center; gap: 10px; min-height: 44px;
  list-style: none; border-radius: 100px; background: var(--ochre); padding: 6px 16px;
  color: var(--ink); font-size: .94rem; font-weight: 700; white-space: nowrap;
}
summary::-webkit-details-marker { display: none; }
.menu-lines { width: 18px; height: 14px; display: block; position: relative; border-block: 2px solid currentColor; }
.menu-lines::before { content: ""; position: absolute; inset: 4px 0 auto; border-top: 2px solid currentColor; }
.menu summary:hover { background: var(--sand); }
.menu[open] summary { background: var(--ink); color: var(--milk); }
.menu[open] .menu-lines { border-color: transparent; }
.menu[open] .menu-lines::before { transform: rotate(45deg); }
.menu[open] .menu-lines::after {
  content: ""; position: absolute; inset: 4px 0 auto;
  border-top: 2px solid currentColor; transform: rotate(-45deg);
}
.menu nav {
  position: absolute; right: 0; top: calc(100% + 10px);
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  width: min(640px,91vw); max-height: calc(100dvh - 92px); overflow: auto;
  background: var(--sheet); border-radius: 20px;
  box-shadow: 0 12px 24px var(--shade); padding: 16px; gap: 12px;
  transform-origin: top right;
}
.menu-group strong { display: block; background: var(--sand); border-radius: 9px; padding: 4px 8px; font-size: .91rem; }
.menu-group:nth-child(2) strong { background: var(--mint); }
.menu-group:nth-child(3) strong { background: var(--water); }
.menu-group a {
  display: flex; align-items: center; min-height: 44px; padding-inline: 8px;
  border-radius: 8px; font-size: .89rem; text-decoration: none;
}
.menu-group a:hover { background: var(--paper); text-decoration: underline; }
.hero { position: relative; background: var(--sky); }
.hero-frame {
  position: relative; isolation: isolate; width: min(100%,1440px); margin: auto;
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  align-items: center; gap: 4%; padding: 65px 5.5% 100px;
}
.sky-bits { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.sky-bits::after {
  content: ""; position: absolute; bottom: -107px; right: -7%; width: 73%; height: 180px;
  transform: rotate(-5deg); background: var(--grass); border-radius: 52% 45% 0 0;
}
.cloud { position: absolute; width: 83px; height: 19px; border-radius: 30px; background: var(--sheet); animation: drift 7s ease-in-out infinite alternate; }
.cloud::before,.cloud::after { content: ""; position: absolute; bottom: 1px; width: 39%; height: 156%; left: 13%; border-radius: 50%; background: inherit; }
.cloud::after { left: 40%; height: 195%; }
.c-one { left: 3%; top: 11%; transform: scale(.8); }
.c-two { right: 1.8%; top: 43%; scale: 1.26; animation-delay: -3s; }
.sun { position: absolute; right: 3.4%; top: 8%; width: 76px; aspect-ratio: 1; border-radius: 50%; background: var(--ochre); }
.bunting { position: absolute; right: 12%; top: 4%; display: flex; gap: 9px; transform: rotate(7deg); }
.bunting i { width: 21px; height: 21px; background: var(--ochre); clip-path: polygon(0 0,100% 0,52% 100%); transform-origin: top; animation: flutter 2.9s ease-in-out infinite alternate; }
.bunting i:nth-child(2),.bunting i:nth-child(5) { background: var(--coral); animation-delay: -1.2s; }
.bunting i:nth-child(3) { background: var(--blue); animation-delay: -.7s; }
.bunting i:nth-child(4) { background: var(--grass); animation-delay: -2s; }
.hero-copy { position: relative; align-self: center; padding: 12px 0 19px; }
.hero h1 { position: relative; z-index: 1; font-size: clamp(2.8rem,5.5vw,5.55rem); line-height: 1.1; letter-spacing: -.06em; }
.hero h1>span { display: block; width: max-content; max-width: 100%; }
.wordmark-top { color: var(--red); }
.wordmark-top b {
  display: inline-block; position: relative; font-weight: inherit;
  transform: translateY(var(--letter-rise, 0)) rotate(var(--letter-tilt, 0deg));
}
.wordmark-top b:nth-child(1) { --letter-tilt: -9deg; --pop-delay: .03s; }
.wordmark-top b:nth-child(2) { --letter-tilt: 5deg; --letter-rise: -.045em; --pop-delay: .1s; }
.wordmark-top b:nth-child(3) { --letter-tilt: -4deg; --letter-rise: -.06em; --pop-delay: .17s; }
.wordmark-top .highlands {
  --letter-tilt: 4deg; --letter-rise: -.05em; --pop-delay: .24s;
  color: var(--blue); margin-left: .055em; font-size: .89em;
}
.wordmark-bottom { transform: rotate(-2deg); }
.hero h1 small {
  display: inline-block; vertical-align: .13em; margin-left: .42em; padding: .15em .34em;
  color: var(--pine); background: var(--ochre); border-radius: .25em .35em .26em .18em;
  font-size: .35em; line-height: 1.16; letter-spacing: .015em; transform: rotate(7deg);
}
.logo-burst { position: absolute; inset: 0; pointer-events: none; }
.logo-burst i {
  position: absolute; top: var(--spark-y); left: var(--spark-x);
  width: .5em; height: .9em; background: var(--spark-color); opacity: 0;
}
.logo-burst i:nth-child(1) { --spark-x: 2%; --spark-y: 26%; --spark-color: var(--ochre); --spark-dx: -19px; --spark-dy: -19px; }
.logo-burst i:nth-child(2) { --spark-x: 21%; --spark-y: 9%; --spark-color: var(--coral); --spark-dx: -7px; --spark-dy: -32px; }
.logo-burst i:nth-child(3) { --spark-x: 60%; --spark-y: 12%; --spark-color: var(--sheet); --spark-dx: 10px; --spark-dy: -33px; }
.logo-burst i:nth-child(4) { --spark-x: 82%; --spark-y: 28%; --spark-color: var(--blue); --spark-dx: 27px; --spark-dy: -19px; }
.logo-burst i:nth-child(5) { --spark-x: 75%; --spark-y: 57%; --spark-color: var(--ochre); --spark-dx: 28px; --spark-dy: 13px; }
.intro { font-weight: 700; margin: 20px 0 19px; font-size: clamp(.93rem,1.42vw,1.12rem); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 9px 20px; border-radius: 32px; text-decoration: none; font-weight: 700;
  transition: transform .18s, background-color .18s;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(2px); }
.ticket { background: var(--ochre); color: var(--ink); }
.ticket:hover { background: var(--sand); }
.hero-photo {
  position: relative; isolation: isolate; margin: 0; transform: rotate(2deg);
  padding: 8px 8px 33px; background: var(--sheet); border-radius: 20px 25px 22px 16px;
  box-shadow: 0 8px 19px var(--shade);
}
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1.60; object-fit: cover; object-position: center 62%; border-radius: 12px 17px 11px 9px; }
.hero-photo figcaption { position: absolute; right: 16px; bottom: 5px; font-size: .8rem; color: var(--muted); }
.rail-line {
  position: absolute; inset: auto 0 20px; height: 11px; z-index: -1;
  border-block: 2px solid var(--blue);
  background: repeating-linear-gradient(90deg,transparent 0 12px,var(--blue) 12px 15px,transparent 15px 25px);
}
.train-run { position: absolute; inset: auto 0 6px; animation: journey 22s linear infinite; }
.tiny-train { position: absolute; right: 0; bottom: 0; display: flex; gap: 2px; align-items: end; animation: roll .45s ease-in-out infinite alternate; }
.tiny-train img { width: 52px; height: 47px; }
.carriage { width: 31px; height: 18px; position: relative; margin-bottom: 8px; background: var(--coral); border: 2px solid var(--ink); border-radius: 6px 6px 4px 4px; }
.carriage:nth-child(2) { background: var(--ochre); }
.carriage::before { content: ""; position: absolute; inset: 2px 2px 6px; border-radius: 2px; background: repeating-linear-gradient(90deg,var(--sheet) 0 5px,var(--ink) 5px 7px); }
.carriage::after { content: ""; position: absolute; left: 3px; bottom: -6px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); box-shadow: 13px 0 var(--ink); }
.station-board { background: var(--sheet); border-bottom: 1px solid var(--line); }
.station-inner { padding-block: 12px 7px; }
.station-inner nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.station-inner nav a {
  display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 70px;
  padding: 7px 5px; font-weight: 700; font-size: clamp(.91rem,1.3vw,1.06rem); text-decoration: none;
}
.station-inner nav a+a { border-left: 1px dashed var(--line); }
.station-inner nav a>span { display: grid; place-items: center; border-radius: 48% 43% 45% 42%; width: 48px; height: 46px; background: var(--sand); transition: transform .18s; }
.station-inner nav a:nth-child(2)>span { background: var(--water); }
.station-inner nav a:nth-child(3)>span { background: var(--rose); }
.station-inner nav a:nth-child(4)>span { background: var(--mint); }
.station-inner nav a:hover { text-decoration: underline; }
.station-inner nav a:hover>span { transform: rotate(-10deg); }
.motion {
  display: flex; align-items: center; gap: 6px; margin-left: auto; padding: 5px 6px;
  color: var(--muted); background: transparent; border: 0; font-size: .76rem;
}
.motion[hidden] { display: none; }
.motion span { width: 10px; height: 10px; border-inline: 3px solid currentColor; }
.motion[aria-pressed=true] span { border: 0; background: currentColor; clip-path: polygon(0 0,100% 50%,0 100%); }
.guide,.workshop,.access { padding-block: clamp(44px,6vw,84px); }
.guide { display: grid; grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr); gap: 25px 8%; align-items: center; }
.timetable { margin: 22px 0 15px; border-top: 1px solid var(--line); }
.timetable>div { display: grid; grid-template-columns: 6rem minmax(0,1fr); gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.timetable dt { font-weight: 700; color: var(--blue); font-size: .94rem; }
.timetable dd { line-height: 1.5; }
.timetable small { display: block; font-size: .89rem; }
.timetable strong { font-family: var(--display); font-size: clamp(1.53rem,2.6vw,2.23rem); font-weight: 900; color: var(--pine); }
.timetable strong small { display: inline; font-size: .53em; }
.text-links { display: flex; flex-wrap: wrap; gap: 9px 21px; }
.text-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--blue); }
.text-links a:hover { text-decoration-thickness: 2px; }
.print-photo { padding: 9px 9px 6px; background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; transform: rotate(-2deg); box-shadow: 3px 5px var(--sand); }
.print-photo img { width: 100%; height: auto; border-radius: 4px; }
.print-photo figcaption { margin-top: 4px; text-align: center; font-size: .85rem; }
.guide-foot { grid-column: 1/-1; }
.fold,.notices details { border-bottom: 1px solid var(--line); }
.fold summary,.notices summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 48px; font-weight: 700; list-style: none; }
.fold summary:hover,.notices summary:hover { text-decoration: underline; }
.fold summary::after,.notices summary::after { content: "+"; display: block; min-width: 24px; text-align: center; font-size: 1.35rem; line-height: 1; }
.fold[open] summary::after,.notices details[open] summary::after { content: "−"; }
.fold p,.notices details p { max-width: 72ch; margin-bottom: 14px; }
.notice-band { background: var(--sand); }
.notices,.club-inner { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); gap: 6%; padding-block: clamp(32px,5vw,64px); }
.workshop h2 { margin-bottom: 26px; }
.work-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; margin-bottom: 16px; }
.work-links>a { display: block; overflow: hidden; border-radius: 16px; text-decoration: none; background: var(--water); }
.work-links>a:nth-child(2) { background: var(--mint); }
.album-photo { width: 100%; height: clamp(148px,19vw,230px); object-fit: cover; object-position: center 64%; }
.work-sign { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: clamp(1.18rem,2.2vw,1.7rem); }
.work-sign img { width: 38px; height: 34px; }
.work-sign i,.track-list i {
  flex: 0 0 30px; height: 30px; margin-left: auto; position: relative; border-radius: 50%;
  background: var(--sheet); transition: transform .16s;
}
.work-sign i::before,.track-list i::before {
  content: ""; position: absolute; top: 10px; left: 10px; width: 7px; height: 7px;
  border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg);
}
.work-links a:hover .work-sign,.track-list a:hover strong { text-decoration: underline; }
.work-links a:hover i,.track-list a:hover i { transform: translateX(3px); }
.track-title { margin: 18px 0 10px; font-size: clamp(1.4rem,2.5vw,1.82rem); }
.track-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; padding: 0; margin: 0; list-style: none; }
.track-list a {
  display: flex; align-items: center; gap: 10px; min-height: 75px; height: 100%;
  padding: 9px 12px; text-decoration: none; border-radius: 14px; background: var(--water);
}
.track-list li:nth-child(2) a { background: var(--sand); }
.track-list li:nth-child(3) a { background: var(--rose); }
.track-list img { width: 41px; height: 40px; flex: 0 0 41px; }
.track-list strong,.track-list small { display: block; }
.track-list strong { font-size: clamp(1.1rem,1.5vw,1.32rem); white-space: nowrap; }
.track-list small { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.work-rail { position: relative; overflow: hidden; height: 56px; view-timeline-name: --workshop-track; }
.work-rail::after {
  content: ""; position: absolute; inset: auto 0 0; height: 9px;
  border-block: 2px solid var(--blue);
  background: repeating-linear-gradient(90deg,transparent 0 10px,var(--blue) 10px 13px,transparent 13px 21px);
}
.rail-traveller { position: absolute; inset: auto 54px 3px 0; height: 48px; }
.rail-traveller img { position: absolute; top: 0; left: 0; }
.rail-gate { position: absolute; right: 12%; bottom: 6px; width: 47px; }
.club { background: var(--mint); }
.club .fold { margin-top: 10px; }
.access { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6%; }
.access>div+div { border-left: 1px solid var(--line); padding-left: 10%; }
.access h2 { font-size: clamp(1.65rem,2.6vw,2.35rem); }
.access p { margin: .75em 0; }
.map { background: var(--water); }
.map:hover { background: var(--sky); }
.pin { display: inline-block; width: .8em; height: .8em; border: 2px solid currentColor; border-radius: 60% 60% 60% 0; transform: rotate(-45deg); }
.mail { font-weight: 700; overflow-wrap: anywhere; }
.mail a { display: inline-block; padding-block: 7px; color: var(--blue); }
.mail a:hover { text-decoration-thickness: 2px; }
footer { background: var(--sand); }
footer>.wrap,.foot-brand,.footer-links,.fine { display: flex; align-items: center; gap: 14px; }
footer>.wrap { flex-wrap: wrap; padding-block: 22px; }
.foot-brand { font-family: var(--display); font-weight: 900; }
.footer-links { margin-left: auto; font-size: .92rem; }
.fine { width: 100%; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: .8rem; }
.counter { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.counter span { text-decoration: none; }
@keyframes drift { to { translate: 14px 0; } }
@keyframes flutter { to { transform: rotate(-12deg) scaleY(.86); } }
@keyframes journey { from { transform: translateX(calc(-100% - 32px)); } to { transform: translateX(120px); } }
@keyframes roll { to { transform: translateY(-1px); } }
@keyframes arrive { from { opacity: .63; translate: 0 17px; } to { opacity: 1; translate: 0 0; } }
@keyframes photo-arrive { from { opacity: .66; translate: var(--photo-shift, 18px) 20px; rotate: var(--photo-roll, 4deg); } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes icon-hop { 0% { translate: 0 0; } 46% { translate: 0 -8px; rotate: -6deg; } 100% { translate: 0 0; rotate: 0deg; } }
@keyframes logo-pop {
  from { opacity: .38; translate: 0 12px; scale: .78; }
  70% { opacity: 1; translate: 0 -2px; scale: 1.08; }
  to { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes logo-confetti {
  0% { opacity: 0; scale: .4; }
  35% { opacity: 1; }
  100% { opacity: 0; translate: var(--spark-dx) var(--spark-dy); rotate: 85deg; }
}
@keyframes menu-open {
  from { opacity: 0; transform: translateY(-8px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@keyframes disclosure-enter {
  from { opacity: .4; translate: 0 -5px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes cross-workshop { from { translate: 2% 0; } to { translate: 93% 0; } }
@media (prefers-reduced-motion:no-preference) {
  .menu[open] nav { animation: menu-open .25s cubic-bezier(.18,.75,.28,1) both; }
  html:not(.still) :is(.fold,.notices details)[open]>p {
    animation: disclosure-enter .24s ease-out both;
  }
  @supports (interpolate-size: allow-keywords) and selector(details::details-content) {
    html:not(.still) :is(.fold,.notices details)::details-content {
      interpolate-size: allow-keywords;
      block-size: 0;
      opacity: 0;
      overflow: clip;
      transition: block-size .28s ease, opacity .22s ease, content-visibility .28s allow-discrete;
    }
    html:not(.still) :is(.fold,.notices details)[open]::details-content {
      block-size: auto;
      opacity: 1;
    }
    html:not(.still) :is(.fold,.notices details)[open]>p { animation: none; }
  }
  .wordmark-top b { animation: logo-pop .45s var(--pop-delay) cubic-bezier(.2,.6,.35,1) both; }
  .wordmark-bottom { animation: logo-pop .49s .27s cubic-bezier(.2,.6,.35,1) both; }
  .wordmark-bottom small { animation: logo-pop .34s .48s ease-out both; }
  .logo-burst i { animation: logo-confetti .68s .35s ease-out both; }
  .arrived { animation: arrive .49s var(--arrival-delay, 0ms) ease-out both; }
  .print-photo.arrived,.work-links>a.arrived { animation-name: photo-arrive; animation-duration: .61s; }
  .print-photo { --photo-shift: 24px; --photo-roll: 5deg; }
  .work-links>a:first-child { --photo-shift: -15px; --photo-roll: -2deg; }
  .station-inner nav a.arrived { animation: none; }
  .station-inner nav a.arrived>span,.track-list a.arrived>img { animation: icon-hop .49s var(--arrival-delay, 0ms) ease-out both; }
  .station-inner nav a:nth-child(2),.timetable>div:nth-child(2),.track-list li:nth-child(2),.work-links>a:nth-child(2) { --arrival-delay: 55ms; }
  .station-inner nav a:nth-child(3),.timetable>div:nth-child(3),.track-list li:nth-child(3) { --arrival-delay: 110ms; }
  .station-inner nav a:nth-child(4) { --arrival-delay: 165ms; }
  .work-rail.arrived { animation: none; }
  .work-rail.arrived .rail-traveller { animation: cross-workshop 4.5s ease-in-out both; }
  @supports (animation-timeline:view()) {
    .work-rail.arrived .rail-traveller {
      animation: cross-workshop linear both;
      animation-timeline: --workshop-track;
      animation-range: entry 0% exit 65%;
    }
  }
}
.still *,.still *::before,.still *::after { animation: none!important; }
.hero.motion-idle * { animation-play-state: paused; }
@media (max-width: 975px) {
  .hero-frame { gap: 3%; }
  .train-run { animation-delay: -8.5s; }
  .hero h1 { font-size: clamp(2.7rem,5.8vw,4.3rem); }
  .track-list { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .track-list a { min-height: 66px; padding-inline: 16px; }
  .track-list strong,.track-list small { display: inline; }
  .track-list small { margin-left: 12px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .desktop-nav { display: none; }
  .menu { margin-left: auto; }
  .mast-inner { min-height: 60px; }
  .brand { font-size: .91rem; }
  .brand img { width: 42px; }
}
@media (max-width: 700px) {
  .hero-frame {
    --rail-clearance: 30px;
    --engine-height: 40px;
    --rail-bottom: 12px;
    grid-template-columns: minmax(0,1fr);
    gap: 17px;
    padding: 25px 5.5% calc(var(--rail-bottom) + var(--engine-height) + var(--rail-clearance));
  }
  .hero-copy { padding: 0; text-align: center; }
  .hero h1 { width: fit-content; margin: auto; font-size: clamp(2.3rem,8.5vw,4.2rem); text-align: left; }
  .hero h1 small { margin-left: .35em; }
  .intro { margin: 10px 0 9px; font-size: .91rem; }
  .ticket { min-height: 44px; padding: 6px 15px; font-size: .91rem; }
  .hero-photo { width: min(100%,480px); margin: auto; padding: 6px 6px 25px; transform: rotate(-1.2deg); border-radius: 14px 18px 16px 11px; }
  .hero-photo img { aspect-ratio: 1.77; border-radius: 9px 13px 9px 7px; }
  .hero-photo figcaption { bottom: 2px; font-size: .74rem; }
  .sun { width: 48px; top: 14%; right: 8%; }
  .bunting { right: -10px; top: 3%; gap: 5px; scale: .7; }
  .c-one { top: 7%; left: -6%; scale: .62; }
  .rail-line { bottom: var(--rail-bottom); }
  .tiny-train img { width: 44px; height: var(--engine-height); }
  .station-inner { width: 96%; padding-block: 5px 1px; }
  .station-inner nav a { flex-direction: column; gap: 3px; font-size: clamp(.72rem,2.85vw,.94rem); min-height: 67px; white-space: nowrap; }
  .station-inner nav a>span { width: 37px; height: 35px; }
  .station-inner nav img { width: 27px; height: 25px; }
  .motion { padding: 4px 8px; }
  .guide,.notices,.club-inner,.access { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .guide-foot { grid-column: auto; }
  .print-photo { max-width: 385px; margin-inline: auto; width: 94%; }
  .work-links { gap: 13px; }
  .album-photo { height: clamp(104px,25vw,170px); }
  .work-sign { font-size: clamp(.9rem,3.2vw,1.37rem); min-height: 59px; padding: 6px 8px; }
  .work-sign img { display: none; }
  .work-sign i { flex-basis: 23px; height: 23px; }
  .work-sign i::before { left: 7px; top: 7px; }
  .access>div+div { border: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .footer-links { margin-left: 0; }
}
@media (max-width: 485px) {
  .menu nav { grid-template-columns: minmax(0,1fr); width: min(345px,91vw); gap: 8px; }
  .menu-group a { min-height: 42px; }
  .track-list strong,.track-list small { display: block; }
  .track-list small { margin-left: 0; }
  .timetable>div { grid-template-columns: 5.2rem minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none!important; transition: none!important; }
  .motion { display: none; }
}

