/* 手打ち蕎麦 ゆきしろ（デモ）全ページ共通 */
:root {
  --hai: #EEEDE8;
  --hai2: #E3E1DA;
  --sumi: #222222;
  --soba: #8A7B5E;
  --soba25: color-mix(in srgb, #8A7B5E 25%, #EEEDE8);
  --line: color-mix(in srgb, #222222 20%, transparent);
  --sub: #55524b;
  --mincho: 'New Tegomin', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --gothic: 'Sawarabi Gothic', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --hd: 72px;
  --pad: clamp(20px, 4vw, 48px);
  --seed: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M12 2.6C13.6 2.6 15.2 5.4 17.6 9.6C20.4 14.4 21.8 17 21.4 18.6C21 20.4 18.6 20.8 12 20.8C5.4 20.8 3 20.4 2.6 18.6C2.2 17 3.6 14.4 6.4 9.6C8.8 5.4 10.4 2.6 12 2.6ZM11.55 5.4H12.45V20H11.55Z'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0; background: var(--hai); color: var(--sumi);
  font-family: var(--gothic); font-size: clamp(15px, 0.9rem + 0.25vw, 17px); line-height: 1.9;
  letter-spacing: .02em; font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; margin: 0; }
:focus-visible { outline: 2px solid var(--soba); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* そばの実の印 */
.mi {
  display: inline-block; flex: none; width: .82em; height: .82em; background: var(--soba);
  -webkit-mask: var(--seed) center / contain no-repeat; mask: var(--seed) center / contain no-repeat;
}

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 20; background: var(--hai); }
.hd::after { content: ""; position: absolute; right: 0; bottom: 0; width: 33.333%; height: 1px; background: var(--sumi); }
.hd__in { display: flex; align-items: center; gap: 12px; height: var(--hd); padding: 0 var(--pad); }
.brand { display: block; text-decoration: none; }
.logo { width: 150px; height: auto; }
.logo__sub { font-family: var(--gothic); }
.logo__nm { font-family: var(--mincho); }
.demo { font-size: 10px; line-height: 1; letter-spacing: .14em; color: var(--sub); border: 1px solid var(--line); padding: 3px 5px 2px; align-self: center; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.gnav a { position: relative; display: block; padding: 6px 0; font-size: 15px; text-decoration: none; letter-spacing: .08em; }
.gnav a[aria-current="page"]::after, .gnav a:hover::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1.4em; height: 2px; margin-left: -.7em; background: var(--soba);
}
.hd__jikan { margin-left: clamp(16px, 2vw, 28px); }
.menu { display: none; }

/* ---------- ボタン・リンク ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 30px 14px; border: 1px solid var(--sumi);
  background: transparent; color: var(--sumi); text-decoration: none; font-size: 15px; letter-spacing: .14em; line-height: 1.4;
}
.btn > span { position: relative; display: inline-block; padding-bottom: 5px; }
.btn > span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--soba);
  transform: scaleX(.34); transform-origin: left center; transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.btn:hover > span::after, .btn:focus-visible > span::after { transform: scaleX(1); }
.btn--s { padding: 8px 18px 10px; font-size: 14px; }
.tlink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--soba); }
.tlink:hover { text-decoration-thickness: 2px; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
.small { font-size: .86em; color: var(--sub); }
.lead { font-size: 1.06em; }

/* ---------- 最初の画面 ---------- */
.hero { display: grid; grid-template-columns: 6fr 4fr; height: max(560px, calc(100svh - var(--hd))); }
.hero__ph { position: relative; overflow: hidden; background: var(--sumi); }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__tx { position: relative; display: grid; grid-template-rows: 1fr auto; gap: 24px; padding: clamp(32px, 4.5vh, 64px) var(--pad) clamp(28px, 4vh, 48px); min-width: 0; }
.hero__v { writing-mode: vertical-rl; justify-self: end; display: flex; flex-direction: column; gap: clamp(10px, 1.4vw, 22px); }
.hero__h { font-family: var(--mincho); font-size: clamp(34px, 5.8vh, 62px); letter-spacing: .16em; line-height: 1.15; }
.hero__c { margin: 0; padding-top: 3.6em; font-family: var(--mincho); font-size: clamp(18px, 2.8vh, 26px); letter-spacing: .22em; line-height: 1.95; }
.hero__c span { display: block; }
.hero__meta { margin: 0; font-size: 13px; letter-spacing: .06em; color: var(--sub); }
.hero__ft .acts { margin-top: 16px; }

/* ---------- 区画 ---------- */
.sec, .ph { position: relative; padding: clamp(64px, 9vw, 128px) 0; }
.sec::before { content: ""; position: absolute; top: 0; right: 0; width: 33.333%; height: 1px; background: var(--sumi); }
.sec--k { background: var(--hai2); }
.sec--k::before { display: none; }
.ph { padding-top: clamp(48px, 6vw, 88px); }
.sec__in { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(40px, 6vw, 104px); }
.sec__bd { grid-column: 1; grid-row: 1; min-width: 0; }
.vh {
  grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: calc(var(--hd) + 32px);
  writing-mode: vertical-rl; display: flex; align-items: center; gap: .6em;
  font-family: var(--mincho); font-size: clamp(26px, 2.5vw, 36px); letter-spacing: .26em; line-height: 1.2;
}
.vh .mi { width: .66em; height: .66em; }
.vh--l { font-size: clamp(36px, 3.8vw, 56px); }
.h3 { font-family: var(--mincho); font-size: 22px; letter-spacing: .12em; margin: 44px 0 12px; }

.kona { display: flex; align-items: center; gap: .7em; margin: 28px 0 14px; padding: 14px 22px; background: var(--hai2); font-family: var(--mincho); font-size: 18px; letter-spacing: .1em; }
.ph .kona { margin-top: 8px; }

/* トップのお品書き：3枚を少しずらして置く */
.dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin: 36px 0 20px; align-items: start; }
.dishes li:nth-child(2) { margin-top: 56px; }
.dishes img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dish { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.dish span:first-child { font-family: var(--mincho); font-size: 19px; letter-spacing: .1em; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.split--fig { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.split--fig .fig { margin: 0; }
.split--map { align-items: stretch; }
.split--ippin { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.wide { margin-bottom: 32px; }
.wide img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: 50% 58%; }
.wide--head { margin-bottom: 36px; }
.wide--head img { aspect-ratio: 12 / 5; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); margin-bottom: 28px; }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.ph-mono { filter: grayscale(1) sepia(.06); }
.ph-mute { filter: saturate(.32) contrast(.96); }
.ph-food { filter: saturate(.92); }

.news li { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.news li:first-child { border-top: 1px solid var(--line); }
.news time, .date { font-size: 14px; color: var(--sub); letter-spacing: .06em; }
.date { margin: 0 0 18px; }

.tb { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.tb th, .tb td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tb tr:first-child th, .tb tr:first-child td { border-top: 1px solid var(--line); }
.tb thead + tbody tr:first-child th, .tb thead + tbody tr:first-child td { border-top: 0; }
.tb th { width: 7.5em; padding-right: 1em; font-weight: 400; color: var(--sub); font-size: .94em; }
.tb--price td { text-align: right; white-space: nowrap; width: 6em; }
.tb--price th { width: auto; color: var(--sumi); font-family: var(--mincho); font-size: 1.04em; letter-spacing: .06em; }
.tb--al thead th { color: var(--sumi); border-bottom: 1px solid var(--sumi); font-size: .9em; }
.tb--al tbody th { width: 11em; color: var(--sumi); font-family: var(--mincho); }

/* 縦書きのお品書き */
.shina { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 64px); align-items: start; margin-bottom: 32px; }
.shina__ph { display: grid; gap: 16px; }
.shina__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tate { writing-mode: vertical-rl; justify-self: end; height: 15em; font-family: var(--mincho); font-size: 30px; }
.tate li { display: flex; justify-content: space-between; padding: 0 1.15em; letter-spacing: .2em; line-height: 1; }
.tate li + li { border-right: 1px solid var(--sumi); }
.tate__p { font-size: .78em; letter-spacing: .12em; }
.tb--menu { display: none; }
.desc li, .steps li { position: relative; padding: 10px 0 10px 1.6em; border-bottom: 1px solid var(--line); }
.desc li .mi, .steps li .mi { position: absolute; left: 0; top: 1.05em; }
.desc b, .steps b { font-weight: 400; font-family: var(--mincho); font-size: 1.1em; letter-spacing: .08em; }
.desc { margin-bottom: 18px; }
.steps { margin: 8px 0 22px; }
.nomi { max-width: 560px; }
.sake { margin-top: 6px; }
.allergy .big { font-size: 1.16em; line-height: 2; }
.allergy .tb { margin: 18px 0 24px; }

.yasumi { writing-mode: vertical-rl; height: 6.4em; width: fit-content; display: flex; flex-direction: column; gap: .2em; margin: 4px 0 28px; font-family: var(--mincho); font-size: clamp(26px, 2.6vw, 34px); letter-spacing: .14em; }
.yasumi li { padding: 0 .3em; }
.yasumi li + li { border-right: 1px solid var(--line); }
.tcy { text-combine-upright: all; -webkit-text-combine: horizontal; }

.sec--sub { padding: 56px 0; }
.sec__in--sub { display: block; max-width: 1200px; }
.sec--sub .h3 { margin-top: 0; margin-bottom: 16px; }

.qa { margin: 32px 0 0; }
.qa__i { padding: 22px 0; border-bottom: 1px solid var(--line); }
.qa__i:first-child { border-top: 1px solid var(--line); }
.qa dt { display: flex; align-items: baseline; gap: .6em; font-family: var(--mincho); font-size: 20px; letter-spacing: .08em; line-height: 1.6; }
.qa dt .mi { transform: translateY(.06em); }
.qa dd { margin: 10px 0 0 1.45em; }

.map-box { display: grid; place-items: center; min-height: 280px; background: var(--hai2); color: var(--sub); letter-spacing: .2em; }
.btn--line { margin-left: 12px; vertical-align: middle; }
.bub { width: 16px; height: 16px; }
.yurai { font-family: var(--mincho); font-size: clamp(18px, 1.6vw, 21px); line-height: 2.1; letter-spacing: .08em; max-width: 40em; }

.more { max-width: 1200px; margin: 0 auto; padding: 8px var(--pad) 80px; }
.more ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 36px; }

/* ---------- 図解 ---------- */
.fig { margin: 40px 0 8px; }
.fig__t { display: flex; align-items: center; gap: .55em; margin-bottom: 20px; font-family: var(--mincho); font-size: 20px; letter-spacing: .14em; }
.fig__note { margin: 14px 0 0; font-size: 13px; color: var(--sub); }
.sw { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; }
.sw--new { background: var(--soba); }
.sw--old { background: var(--soba25); border: 1px solid var(--line); }
.sw--w { background: #fff; border: 1px solid var(--sumi); }
.lg { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 18px; font-size: 13px; }

/* S-1 そば粉の暦 */
.ky { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); grid-template-rows: auto auto 76px auto; }
.ky__now { grid-row: 1; grid-column: var(--s) / var(--e); display: flex; align-items: center; justify-content: center; gap: 4px; padding-bottom: 6px; font-size: 13px; }
.ky__m { grid-row: 2; grid-column: var(--s) / var(--e); padding: 6px 0; text-align: center; font-size: 13px; border-left: 1px solid var(--line); }
.ky__m--last { border-right: 1px solid var(--line); }
.ky__b { grid-row: 3; grid-column: var(--s) / var(--e); position: relative; display: grid; place-items: center; padding: 4px; border: 1px solid var(--sumi); margin-left: -1px; overflow: hidden; text-align: center; font-family: var(--mincho); font-size: 16px; line-height: 1.35; letter-spacing: .08em; word-break: keep-all; }
.ky__b--first { margin-left: 0; }
.ky__b::before { content: ""; position: absolute; inset: 0; background: var(--soba25); transform-origin: left center; }
.ky__b--new::before { background: var(--soba); }
.ky__b--new { color: var(--hai); }
.ky__b span { position: relative; }
.ky__n { grid-row: 4; grid-column: var(--s) / var(--e); padding-top: 8px; text-align: center; font-size: 12.5px; color: var(--sub); }

/* S-3 二八と十割 */
.nw { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.nw__c { text-align: center; }
.nw__h { margin: 0 0 12px; font-family: var(--mincho); font-size: 28px; letter-spacing: .2em; }
.masu { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: 250px; margin: 0 auto; }
.masu span { position: relative; aspect-ratio: 1; border: 1.2px solid var(--sumi); border-radius: 2px; background: #fff; }
.masu .on::after { content: ""; position: absolute; inset: 2px; border-radius: 1px; background: var(--soba); }
.nw__lg { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 0; font-size: 14px; }
.men { display: flex; justify-content: center; align-items: center; gap: 10px; height: 60px; margin-top: 14px; }
.men i { display: block; height: 46px; border: 1.2px solid var(--sumi); border-radius: 1px; background: var(--soba25); }
.men--thin i { width: 5px; }
.men--thick i { width: 9px; }
.nw__s { margin: 4px 0 0; font-size: 14px; }
.nw__lim { color: var(--soba); }
.nw-fig--s .masu { max-width: 190px; }
.nw-fig--s .nw__h { font-size: 24px; }

/* S-2 見取り図 */
.map { width: 100%; max-width: 640px; height: auto; }
.map-fig .fig__note { max-width: 640px; }

/* S-4 年越しそば */
.s4 { display: flex; align-items: flex-start; }
.s4__st { flex: 1 1 0; min-width: 0; padding-top: 12px; border-top: 1px solid var(--sumi); }
.s4__st--last { flex-grow: 1.7; }
.s4__st p { margin: 0 0 4px; font-size: 14.5px; }
.s4__st .s4__h { margin-bottom: 8px; font-family: var(--mincho); font-size: 22px; letter-spacing: .16em; }
.s4__j { flex: none; display: grid; place-items: center; width: 44px; padding-top: 14px; font-size: 20px; }
.s4__how { margin-top: 14px; }
.s4__ics { display: flex; gap: 6px; margin-bottom: 6px; }
.s4__ic { width: 60px; height: 38px; }
.s4__how li { font-size: 14px; padding: 3px 0 3px 1em; text-indent: -1em; }
.s4__how li::before { content: "・"; }

/* ---------- フッター ---------- */
.ft { background: var(--sumi); color: var(--hai); }
.ft__in { max-width: 1200px; margin: 0 auto; padding: 56px var(--pad) 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px 56px; align-items: start; }
.ft .logo { width: 160px; }
.ft__info p { margin: 0; font-size: 14px; }
.ft__info a { text-decoration: none; }
.ft__nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 32px; font-size: 14px; }
.ft__nav a { text-decoration: none; }
.ft__nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft__copy { grid-column: 1 / -1; margin: 16px 0 0; font-size: 12px; color: color-mix(in srgb, #EEEDE8 65%, #222); }

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 899px) {
  :root { --hd: 62px; }
  .logo { width: 128px; }
  .hd__jikan { margin-left: auto; padding: 7px 12px 9px; font-size: 13px; letter-spacing: .08em; }
  .menu { display: block; padding: 8px 10px; border: 0; background: none; font: inherit; font-size: 12px; letter-spacing: .16em; color: var(--sumi); cursor: pointer; }
  .gnav { display: none; position: absolute; top: var(--hd); left: 0; right: 0; background: var(--hai); border-bottom: 1px solid var(--sumi); }
  .nav-open .gnav { display: block; }
  .gnav ul { flex-direction: column; gap: 0; padding: 8px var(--pad) 18px; }
  .gnav a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .gnav a[aria-current="page"]::after, .gnav a:hover::after { left: auto; right: 0; bottom: 50%; margin: 0; }

  .hero { grid-template-columns: 1fr; height: auto; }
  .hero__ph { height: 55svh; min-height: 300px; }
  .hero__tx { padding: 18px var(--pad) 40px; }
  .hero__v { justify-self: center; gap: 12px; }
  .hero__h { font-size: clamp(22px, 6.2vw, 30px); letter-spacing: .12em; }
  .hero__c { font-size: clamp(15px, 4.1vw, 19px); letter-spacing: .14em; padding-top: 2.2em; }

  .sec__in { display: block; }
  .vh { position: static; writing-mode: horizontal-tb; margin-bottom: 26px; font-size: 25px; letter-spacing: .16em; }
  .vh--l { font-size: 32px; }
  .dishes { grid-template-columns: 1fr; gap: 28px; }
  .dishes li:nth-child(2) { margin-top: 0; }
  .split, .split--fig, .split--ippin { grid-template-columns: 1fr; }
  .split--r > :first-child { order: 2; }
  .wide img { aspect-ratio: 16 / 9; }
  .wide--head img { aspect-ratio: 16 / 9; }
  .shina { grid-template-columns: 1fr; }
  .tate { display: none; }
  .tb--menu { display: table; margin-top: 4px; }
  .tb--menu th { width: auto; color: var(--sumi); font-family: var(--mincho); font-size: 1.06em; }
  .tb--menu td { text-align: right; white-space: nowrap; }
  .tb th { width: 6em; }
  .tb--al tbody th { width: 7.5em; }
  .btn--line { display: inline-flex; margin: 10px 0 0; }
  .news li { grid-template-columns: 1fr; gap: 2px; }
  .more ul { justify-content: flex-start; }
  .yasumi { font-size: 22px; letter-spacing: .08em; gap: 0; }
  .yasumi li { padding: 0 .28em; }
  .ft__in { grid-template-columns: 1fr; }

  /* S-1 は縦にして、上から1月→12月 */
  .ky { grid-template-columns: 3.4em minmax(0, 1fr) 8.6em; grid-template-rows: repeat(24, 17px); }
  .ky__m { grid-column: 1; grid-row: var(--s) / var(--e); display: flex; align-items: center; padding: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ky__m--last { border-right: 0; border-bottom: 1px solid var(--line); }
  .ky__b { grid-column: 2; grid-row: var(--s) / var(--e); margin: -1px 0 0; }
  .ky__b--first { margin: 0; }
  .ky__b::before { transform-origin: center top; }
  .ky__now { grid-column: 3; grid-row: var(--s) / var(--e); justify-content: flex-start; padding: 0 0 0 10px; }
  .ky__n { grid-column: 3; grid-row: var(--s) / var(--e); display: flex; align-items: center; padding: 0 0 0 10px; text-align: left; }
  .nw { grid-template-columns: 1fr; gap: 36px; }
  .s4 { flex-direction: column; align-items: stretch; }
  .s4__j { width: auto; height: 36px; padding: 0; }
}
@media (max-width: 520px) {
  .tb th { width: 5.2em; }
  .hd__jikan { display: none; }
  .menu { margin-left: auto; }
}

/* ---------- 動き（transform と opacity だけ） ---------- */
@keyframes heroIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@keyframes lineIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.motion .hero__img { animation: heroIn 2.4s cubic-bezier(.25, .6, .3, 1) both; }
.motion .hl { animation: lineIn 1s ease-out both; animation-delay: var(--d, 0s); }
.motion .rv { opacity: 0; transform: translateY(8px); transition: opacity .8s ease, transform .8s ease; }
.motion .rv.is-in { opacity: 1; transform: none; }
.motion .ky__b::before { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.3, .6, .2, 1); transition-delay: var(--d); }
.motion .ky-fig.is-in .ky__b::before { transform: none; }
.motion .ky__b span { opacity: 0; transition: opacity .6s ease; transition-delay: calc(var(--d) + .5s); }
.motion .ky-fig.is-in .ky__b span { opacity: 1; }
.motion .masu .on::after { transform: scale(0); transition: transform .35s ease; transition-delay: calc(var(--i) * .05s + .2s); }
.motion .nw-fig.is-in .masu .on::after { transform: none; }
.motion .route path, .motion .r5 { opacity: 0; transition: opacity .5s ease; }
.motion .map-fig.is-in .r1 { opacity: 1; transition-delay: .2s; }
.motion .map-fig.is-in .r2 { opacity: 1; transition-delay: .6s; }
.motion .map-fig.is-in .r3 { opacity: 1; transition-delay: 1s; }
.motion .map-fig.is-in .r4 { opacity: 1; transition-delay: 1.35s; }
.motion .map-fig.is-in .r5 { opacity: 1; transition-delay: 1.55s; }
.motion .s4__st, .motion .s4__j { opacity: 0; transform: translateY(8px); transition: opacity .7s ease, transform .7s ease; }
.motion .s4-fig.is-in .s4__st, .motion .s4-fig.is-in .s4__j { opacity: 1; transform: none; }
.motion .s4-fig.is-in .s4__st:nth-child(3), .motion .s4-fig.is-in .s4__j:nth-child(2) { transition-delay: .3s; }
.motion .s4-fig.is-in .s4__st:nth-child(5), .motion .s4-fig.is-in .s4__j:nth-child(4) { transition-delay: .6s; }
@media (max-width: 899px) {
  .motion .ky__b::before { transform: scaleY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .hl, .s4__st, .s4__j, .route path, .r5, .ky__b span { opacity: 1 !important; transform: none !important; }
  .ky__b::before, .masu .on::after { transform: none !important; }
}

/* 小さい図（トップ）：見出しは区画の見出しと重なるので出さない。スマホでも左右に並べる */
.nw-fig--s .fig__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.map { max-width: 540px; }
@media (max-width: 899px) {
  .nw-fig--s .nw { grid-template-columns: 1fr 1fr; gap: 20px; }
  .nw-fig--s .masu { gap: 4px; }
}
@media (max-width: 899px) {
  .shina__ph { grid-template-columns: 1fr 1fr; gap: 12px; }
}
/* タブレットは縦書きの品書きのまま。横書きの表にするのはスマホだけ */
@media (min-width: 600px) and (max-width: 899px) {
  .tate { display: block; justify-self: center; height: 13em; font-size: 26px; }
  .tb--menu { display: none; }
}
