/* 天気・防災・釣り・移住・交通ガイドに共通するページ骨格。個別機能は各修飾クラスで扱う。 */
.guide-page { width: var(--wrap); margin: 0 auto 4rem; padding-top: var(--page-top); }
.breadcrumbs + .guide-page { padding-top: .7rem; }
.guide-origins, .guide-routes, .guide-essentials, .guide-next, .guide-faq, .guide-sources, .guide-map, .guide-rivers { margin-bottom: 4rem; }
.guide-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 2rem; align-items: end; margin-bottom: 3.5rem; }
.guide-hero__copy h1 { max-width: none; margin: .3rem 0 .6rem; line-height: 1.16; }
.guide-hero__copy > p:not(.eyebrow) { max-width: 44rem; color: var(--ink-2); font-size: var(--fs-s); }
.guide-hero__copy nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.guide-status { padding: 1.1rem 1.2rem; border: 1px solid var(--blue-100); border-radius: var(--r-l); background: var(--blue-50); }
.guide-status span, .guide-status strong { display: block; }
.guide-status span { color: var(--blue); font-size: .66rem; font-weight: 700; letter-spacing: .06em; }
.guide-status strong { margin-top: .3rem; font-size: var(--fs-4); }
.guide-status p { margin-top: .4rem; color: var(--ink-2); font-size: var(--fs-xs); line-height: 1.7; }
.guide-source-summary { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; margin-bottom: 1rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--bg); }
.guide-source-summary strong, .guide-source-summary small { display: block; }
.guide-source-summary small { margin-top: .2rem; color: var(--ink-3); font-size: .66rem; }
.relocation-share { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 4rem; }
.origin-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.origin-grid > article { display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); transition: border-color var(--t-fast), box-shadow var(--t-base) var(--ease); }
.origin-grid > article:hover { border-color: var(--blue-100); box-shadow: var(--sh-2); }
.origin-grid > article > span { color: var(--blue); font-size: var(--fs-xs); font-weight: 700; }
.origin-grid h3 { margin: .5rem 0 .4rem; font-size: var(--fs-3); }
.origin-grid article > p { color: var(--ink-2); font-size: var(--fs-s); line-height: 1.7; }
.origin-grid ul { display: grid; gap: .4rem; padding: 0; margin: 1rem 0 0; list-style: none; }
.origin-grid a { display: grid; gap: .1rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); transition: border-color var(--t-fast), background var(--t-fast); }
.origin-grid a:hover { border-color: var(--blue); background: var(--blue-50); }
.origin-grid small { color: var(--blue); font-size: .62rem; font-weight: 700; }
.origin-grid strong { font-size: var(--fs-s); }
.origin-grid em { color: var(--ink-3); font-size: .66rem; font-style: normal; }
.guide-alert { max-width: 60rem; margin-bottom: 1.2rem; }
.route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.route-grid > article { display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); scroll-margin-top: var(--below-header); }
.route-grid > article:target { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.route-grid header, .route-grid footer, .essential-grid header, .essential-grid footer { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; }
.route-grid header span { padding: .2rem .55rem; color: var(--blue-d); border-radius: var(--r-p); background: var(--blue-50); font-size: .66rem; font-weight: 700; }
.route-grid header small, .essential-grid header small { padding: .2rem .5rem; color: var(--amber-700); border-radius: var(--r-p); background: var(--amber-50); font-size: .6rem; font-weight: 700; }
.route-grid h3 { margin: .8rem 0 .3rem; font-size: var(--fs-3); }
.route-time { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: baseline; margin: 0 0 .5rem; }
.route-time strong { font-size: var(--fs-2); font-weight: 800; }
.route-time span { color: var(--ink-3); font-size: .66rem; }
.route-grid article > p:not(.route-time) { color: var(--ink-2); font-size: var(--fs-s); line-height: 1.7; }
.route-grid dl { margin: .8rem 0; }
.route-grid dl div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .5rem; padding: .45rem 0; border-top: 1px solid var(--line); font-size: var(--fs-xs); }
.route-grid dt { color: var(--ink-3); }
.route-grid dd { margin: 0; }
.route-grid footer, .essential-grid footer { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); }
.route-grid footer a, .essential-grid footer a { color: var(--blue); font-size: var(--fs-xs); font-weight: 700; }
.route-grid footer a:hover, .essential-grid footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.route-grid time, .essential-grid time { color: var(--ink-3); font-size: .62rem; }
.essential-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.essential-grid > .area-place-card { display: flex; flex-direction: column; gap: .35rem; min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); color: var(--ink); overflow-wrap: anywhere; }
.area-place-card:hover { border-color: var(--blue); }
.area-place-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.area-place-card p { color: var(--ink-2); font-size: var(--fs-s); line-height: 1.7; }
.area-place-card > span { margin-top: auto; color: var(--blue); font-size: var(--fs-xs); }
.postal-area-page [id^="area-"] { scroll-margin-top: var(--anchor-below-header); }
.postal-area-page .need-shortcuts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.postal-area-page .need-shortcuts > a { min-width: 0; }
.postal-area-page .need-shortcuts > a small { display: block; white-space: normal; }
.postal-area-page .need-shortcuts > a strong { font-size: .875rem; }
.postal-area-page .need-shortcuts > a small { font-size: .75rem; }
@media (max-width: 900px) {
  .postal-area-page .need-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .postal-area-page .need-shortcuts > a { padding: .65rem; }
}
.relocation-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.essential-grid > article { display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); }
.essential-grid header > span { color: var(--blue); font-size: var(--fs-xs); font-weight: 700; }
.essential-grid h3 { margin: .6rem 0 .3rem; font-size: var(--fs-3); }
.essential-grid article > p, .essential-grid li { color: var(--ink-2); font-size: var(--fs-s); line-height: 1.7; }
.essential-grid ul { display: grid; gap: .3rem; padding-left: 1.1rem; margin: .7rem 0 1rem; }
.condition-live { display: grid; gap: .45rem; padding: .75rem; margin: .8rem 0; border: 1px solid var(--blue-100); border-radius: var(--r-m); background: var(--blue-50); }
.next-tide { display: grid; grid-template-columns: auto auto 1fr; gap: .25rem .5rem; align-items: baseline; padding: .55rem .65rem; color: var(--ink-2); border-radius: var(--r-s); background: var(--paper); font-size: var(--fs-xs); }
.next-tide strong { color: var(--blue-d); font-size: var(--fs-4); }
.next-tide small { color: var(--ink-3); }
.tide-day { display: grid; gap: .35rem; }
.tide-day + .tide-day { padding-top: .55rem; border-top: 1px solid var(--blue-100); }
.tide-day > strong { color: var(--blue-d); font-size: var(--fs-xs); }
.tide-day dl { display: grid; gap: .25rem; }
.tide-day dl div { display: grid; grid-template-columns: 2.5rem 1fr; gap: .4rem; font-size: var(--fs-xs); }
.tide-day dt { color: var(--ink-3); }
.tide-chart { margin: .2rem 0; }
.tide-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.tide-chart line { stroke: var(--line-2); stroke-width: 1; }
.tide-chart polyline { fill: none; stroke: var(--blue); stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; vector-effect: non-scaling-stroke; }
.tide-chart .tide-chart__now { stroke: var(--amber-700); stroke-dasharray: 3 3; }
.tide-chart figcaption { display: flex; justify-content: space-between; color: var(--ink-3); font-size: .56rem; }
.warning-city { display: grid; grid-template-columns: 4.5rem 1fr; gap: .4rem; font-size: var(--fs-xs); }
.warning-city > span { color: var(--ink-2); }
.warning-city .condition-alert { color: var(--red-d); font-weight: 700; }
.forecast-period { display: grid; gap: .3rem; }
.forecast-period + .forecast-period { padding-top: .55rem; border-top: 1px solid var(--blue-100); }
.forecast-period > strong { color: var(--blue-d); font-size: var(--fs-xs); }
.forecast-period > p { color: var(--ink); font-size: var(--fs-xs); font-weight: 700; }
.forecast-period dl { display: grid; gap: .2rem; }
.forecast-period dl div { display: grid; grid-template-columns: 2rem 1fr; gap: .4rem; font-size: var(--fs-xs); }
.forecast-period dt { color: var(--ink-3); }
.essential-grid .condition-notice { padding: .65rem .75rem; margin: .8rem 0; color: var(--amber-700); border: 1px solid var(--amber-100); border-radius: var(--r-m); background: var(--amber-50); font-size: var(--fs-xs); }
.guide-emergency { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: center; padding: 1.4rem; margin-bottom: 4rem; border: 1px solid var(--red-100); border-radius: var(--r-l); background: var(--red-50); }
.guide-emergency > div > p:last-child { margin-top: .3rem; color: var(--ink-2); font-size: var(--fs-s); }
.guide-emergency dl { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.guide-emergency dl div { padding: .6rem .9rem; border: 1px solid var(--red-100); border-radius: var(--r-m); background: var(--paper); }
.guide-emergency dt { color: var(--red-d); font-size: var(--fs-3); font-weight: 800; }
.guide-emergency dd { margin: 0; color: var(--ink-2); font-size: .66rem; }
.guide-emergency nav { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: .5rem; }
.guide-next > nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.guide-next > nav > a { display: grid; grid-template-columns: auto 1fr; gap: .1rem .8rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); transition: border-color var(--t-fast), box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.guide-next > nav > a:hover { border-color: var(--blue-100); box-shadow: var(--sh-2); transform: translateY(-2px); }
.guide-next nav span { grid-row: 1 / 3; color: var(--blue); font-size: var(--fs-xs); font-weight: 700; }
.guide-next nav strong { font-size: var(--fs-4); }
.guide-next nav small { color: var(--ink-3); font-size: .68rem; line-height: 1.5; }
.guide-faq details { border-top: 1px solid var(--line); }
.guide-faq details:last-child { border-bottom: 1px solid var(--line); }
.guide-faq summary { padding: 1rem .2rem; font-size: var(--fs-4); font-weight: 700; cursor: pointer; }
.guide-faq summary:hover { color: var(--blue); }
.guide-faq details p { padding: 0 .2rem 1.1rem; color: var(--ink-2); font-size: var(--fs-s); line-height: 1.8; }
.guide-sources ol { display: grid; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.guide-sources li { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.guide-sources strong, .guide-sources span { display: block; }
.guide-sources strong { font-size: var(--fs-s); }
.guide-sources span { color: var(--ink-3); font-size: var(--fs-xs); }
.guide-sources a { flex: 0 0 auto; color: var(--blue); font-size: var(--fs-xs); font-weight: 700; }
.guide-map .sec { align-items: end; }
.guide-map .sec > p { color: var(--ink-3); font-size: var(--fs-xs); }
.guide-map__canvas { min-height: 32rem; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.guide-map__notice { display: grid; gap: .2rem; padding: .8rem 1rem; margin-top: .7rem; border: 1px solid var(--amber-100); border-radius: var(--r-m); background: var(--amber-50); }
.guide-map__notice strong { color: var(--amber-700); font-size: var(--fs-xs); }
.guide-map__notice p { color: var(--ink-2); font-size: var(--fs-xs); line-height: 1.7; }
.guide-map__filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.weather-detail { margin-bottom: 4rem; }
.weather-guide #warnings { display: grid; gap: .7rem; margin: -1.2rem 0 2.2rem; scroll-margin-top: var(--below-header); }
.weather-detail__days { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.weather-detail__days .home-weather__week { grid-column: 1 / -1; }
.weather-detail .home-weather__suggestion { margin-top: .8rem; }
.radar-layout { display: grid; gap: .65rem; }
.radar-map-panel { display: grid; min-width: 0; }
.radar-map-panel .guide-map__canvas { border-radius: var(--r-l) var(--r-l) 0 0; }
.radar-control-panel { display: grid; grid-template-columns: minmax(13rem, .32fr) minmax(0, 1fr); gap: .8rem; align-items: center; padding: .8rem; border: 1px solid var(--line); border-radius: var(--r-l); background: linear-gradient(145deg, var(--paper), var(--surface-accent)); }
.radar-now { display: grid; grid-template-columns: 1fr auto; gap: .25rem .6rem; align-items: center; }
.radar-now > div { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.radar-now span { padding: .2rem .55rem; color: var(--blue-d); border-radius: var(--r-p); background: var(--blue-50); font-size: .62rem; font-weight: 800; }
.radar-now strong { font-size: var(--fs-3); text-align: right; }
.radar-now small { color: var(--ink-3); font-size: .62rem; }
.radar-now > small { grid-column: 1 / -1; }
.radar-player { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; align-items: end; padding: 2.15rem .7rem .65rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.radar-player button { min-height: 2.55rem; padding: .45rem .65rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-p); background: var(--bg); font: inherit; font-size: .68rem; font-weight: 700; cursor: pointer; }
.radar-player button:hover { border-color: var(--control-active-border); background: var(--control-active-bg); }
.radar-player .radar-player__play { display: inline-flex; gap: .3rem; align-items: center; justify-content: center; color: var(--control-active-ink); border-color: var(--control-active-border); background: linear-gradient(135deg, var(--control-active-start), var(--control-active-end)); }
.radar-player__actions { display: grid; grid-template-columns: repeat(3, minmax(5.5rem, 1fr)); gap: .35rem; }
.radar-player__actions button { display: inline-flex; gap: .32rem; align-items: center; justify-content: center; line-height: 1.2; white-space: nowrap; }
.radar-player .radar-player__locate { color: var(--blue-d); border-color: var(--blue-100); background: linear-gradient(135deg, var(--blue-50), var(--paper)); }
.radar-player .radar-player__locate:hover { background: linear-gradient(135deg, var(--control-active-start), var(--control-active-end)); }
.radar-player__locate .ui-icon { width: .9rem; height: .9rem; }
.radar-player__timeline { min-width: 0; }
.radar-player__labels { position: relative; height: 1.1rem; margin-top: .15rem; color: var(--ink-3); font-size: .54rem; white-space: nowrap; }
.radar-player__labels span { position: absolute; transform: translateX(-50%); }
.radar-player__labels .radar-label--past { left: 0; transform: none; }
.radar-player__labels .radar-label--now { left: 27%; }
.radar-player__labels .radar-label--hour { left: 78%; }
.radar-player__labels .radar-label--end { right: 0; transform: none; }
.rain-radar-slider { width: 100%; height: .45rem; margin: .2rem 0 .3rem; appearance: none; border-radius: var(--r-p); background: linear-gradient(to right, var(--blue) 0 var(--radar-progress, 0%), var(--line-2) var(--radar-progress, 0%) 100%); }
.rain-radar-slider::-webkit-slider-thumb { width: 1.15rem; height: 1.15rem; appearance: none; border: 3px solid white; border-radius: 50%; background: var(--blue); box-shadow: 0 1px 5px rgb(29 91 78 / 30%); }
.weather-local-updates { margin: 3rem 0 4rem; }
.weather-local-updates__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.weather-local-updates__grid > section { padding: .9rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); }
.weather-local-updates__grid section > header { display: flex; gap: .7rem; align-items: center; justify-content: space-between; margin-bottom: .55rem; }
.weather-local-updates__grid h3 { font-size: var(--fs-4); }
.weather-local-updates__grid header a { color: var(--blue); font-size: var(--fs-xs); font-weight: 800; }
.weather-local-updates__grid ul { display: grid; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.weather-local-updates__grid li a { display: grid; gap: .25rem; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: var(--r-m); transition: border-color var(--t-fast), background var(--t-fast); }
.weather-local-updates__grid li a:hover { border-color: var(--blue-100); background: var(--blue-50); }
.weather-local-updates__grid li span { display: flex; gap: .5rem; color: var(--ink-3); font-size: .58rem; }
.weather-local-updates__grid li strong { display: -webkit-box; overflow: hidden; font-size: .72rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

@media (max-width: 700px) {
  .breadcrumbs + .weather-guide { padding-top: .7rem; }
  .weather-guide .guide-hero { gap: .8rem; margin-bottom: 1.8rem; }
  .weather-guide .guide-hero__copy h1 { max-width: none; font-size: clamp(1.5rem, 6.6vw, 1.9rem); line-height: 1.18; }
  .weather-guide .guide-hero__copy > p:not(.eyebrow) { font-size: .7rem; line-height: 1.65; }
  .weather-guide .guide-hero__copy nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; margin-top: .9rem; }
  .weather-guide .guide-hero__copy nav .btn { min-height: 2.6rem; padding: .4rem .35rem; font-size: .66rem; text-align: center; }
  .weather-guide .guide-status { padding: .8rem; }
  .weather-detail { margin-bottom: 2.4rem; }
  .weather-guide #warnings { margin: -.7rem 0 1.7rem; }
  .weather-detail .sec { margin-bottom: .8rem; }
  .weather-detail .sec h2, .weather-guide .guide-map .sec h2 { font-size: 1.15rem; line-height: 1.25; }
  .weather-detail__days { grid-template-columns: 1fr; gap: .55rem; }
  .weather-detail__days > article { padding: .65rem .55rem; min-width: 0; }
  .weather-detail__days .home-weather__week { overflow-x: auto; }
  .weather-detail__days .home-weather__week ul { min-width: 27rem; }
  .weather-guide .guide-map { margin-bottom: 2.5rem; }
  .weather-guide .guide-map__canvas { min-height: 0; aspect-ratio: 1; }
  .radar-layout { gap: .55rem; }
  .radar-control-panel { grid-template-columns: 1fr; gap: .6rem; padding: .7rem; }
  .radar-now strong { font-size: .9rem; }
  .radar-player { grid-template-columns: 1fr; gap: .7rem; padding: 2.1rem .55rem .55rem; }
  .radar-player__actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .radar-player button { min-height: 2.65rem; padding-inline: .28rem; font-size: .62rem; }
  .radar-slider-time { font-size: .62rem; }
  .weather-local-updates { margin: 2.2rem 0 3rem; }
  .weather-local-updates__grid { grid-template-columns: 1fr; gap: .55rem; }
  .weather-local-updates__grid > section { padding: .7rem; }
}
.fishing-journey { margin-bottom: 4rem; }
.fishing-journey .sec p:last-child { max-width: 52rem; color: var(--ink-2); }
.fishing-journey__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.fishing-journey__step { display: flex; flex-direction: column; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); }
.fishing-journey__step > header { display: grid; grid-template-columns: auto 1fr; gap: .8rem; }
.fishing-journey__step > header > span { color: var(--blue); font-size: var(--fs-xs); font-weight: 800; }
.fishing-journey__step h3 { margin: 0 0 .35rem; font-size: var(--fs-3); }
.fishing-journey__step header p { color: var(--ink-2); font-size: var(--fs-xs); line-height: 1.7; }
.fishing-journey__step ul { display: grid; gap: .5rem; padding: 0; margin: 1rem 0; list-style: none; }
.fishing-journey__step li a { display: grid; gap: .15rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); transition: border-color var(--t-fast), transform var(--t-fast); }
.fishing-journey__step li a:hover { border-color: var(--blue); transform: translateY(-1px); }
.fishing-journey__step li strong { font-size: var(--fs-s); }
.fishing-journey__step li span, .fishing-journey__step li small { color: var(--ink-3); font-size: .66rem; }
.fishing-journey__more { margin-top: auto; color: var(--blue); font-size: var(--fs-xs); font-weight: 700; }
.hazard-layer-picker { display: flex; flex-wrap: wrap; gap: .45rem; margin: .7rem 0; }
.hazard-layer-picker button { padding: .55rem .9rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-p); background: var(--paper); font-size: var(--fs-xs); font-weight: 700; cursor: pointer; }
.hazard-layer-picker button:hover, .hazard-layer-picker button.is-active { color: var(--control-active-ink); border-color: var(--control-active-border); background: var(--control-active-bg); }
.rain-radar-controls button { padding: .55rem .9rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-p); background: var(--paper); font: inherit; font-size: var(--fs-xs); font-weight: 700; cursor: pointer; }
.rain-radar-controls button:hover { color: var(--control-active-ink); border-color: var(--control-active-border); background: var(--control-active-bg); }
.rain-radar-slider { width: 100%; margin: .25rem 0 .8rem; accent-color: var(--blue); }
.hazard-legends { min-height: 2.7rem; padding: .65rem .8rem; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-m) var(--r-m); background: var(--paper); }
.hazard-legends p { display: flex; flex-wrap: wrap; gap: .35rem .55rem; align-items: center; color: var(--ink-2); font-size: var(--fs-xs); }
.hazard-legends p[hidden] { display: none; }
.legend-chip::before { display: inline-block; width: .75rem; height: .75rem; margin-right: .25rem; border: 1px solid rgb(0 0 0 / 15%); border-radius: 2px; content: ""; vertical-align: -.1rem; }
.legend-chip--yellow::before { background: #fff100; }
.legend-chip--pink::before { background: #f7a7a7; }
.legend-chip--purple::before { background: #a260bf; }
.legend-chip--red::before { background: #f03; }
.legend-chip--camera::before,
.legend-chip--gauge::before { display: none; }
.legend-chip--camera,
.legend-chip--gauge { padding: .2rem .5rem; border: 1px solid var(--line); border-radius: var(--r-p); font-weight: 800; }
.legend-chip--camera { color: #0f6159; background: #e1f7f1; }
.legend-chip--gauge { color: #24558a; background: #e7f2ff; }
.guide-rivers .sec { align-items: end; }
.guide-rivers .sec > .btn { flex: 0 0 auto; }
.river-emergency-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.river-city-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.river-city-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--paper); box-shadow: var(--sh-1); }
.river-city-card > header { display: flex; gap: .8rem; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-bottom: 1px solid var(--blue-100); background: linear-gradient(135deg, var(--blue-50), var(--paper)); }
.river-city-card > header div { display: flex; gap: .55rem; align-items: baseline; }
.river-city-card > header span { color: var(--blue); font-size: .62rem; font-weight: 800; }
.river-city-card h3 { margin: 0; font-size: var(--fs-3); }
.river-city-card > header small { color: var(--ink-3); font-size: .62rem; white-space: nowrap; }
.river-city-card > p { padding: .65rem 1rem 0; color: var(--ink-2); font-size: var(--fs-xs); font-weight: 700; }
.river-city-card__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; padding: .75rem 1rem 1rem; }
.river-city-card__links h4 { margin-bottom: .4rem; color: var(--ink-3); font-size: .64rem; }
.river-city-card__links ul { display: grid; gap: .35rem; padding: 0; margin: 0; list-style: none; }
.river-city-card__links a { display: block; padding: .48rem .55rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-s); background: var(--bg); font-size: .68rem; font-weight: 700; line-height: 1.45; transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast); }
.river-city-card__links a:hover { color: var(--blue-d); border-color: var(--blue-100); background: var(--blue-50); transform: translateY(-1px); }
.river-city-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; margin-bottom: .75rem; }
.river-city-nav a { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .5rem .35rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); font-size: var(--fs-xs); font-weight: 800; line-height: 1.35; text-align: center; overflow-wrap: break-word; }
.river-city-nav a:hover, .river-city-nav a[aria-current="location"] { color: var(--control-active-ink); border-color: var(--control-active-border); background: var(--control-active-bg); }
.river-city-card[id] { scroll-margin-top: var(--below-header); }
.river-city-card:target { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-100); }
.river-city-nav a:focus-visible, .river-city-card__links a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.river-place-note { margin: 0 0 .65rem; color: var(--ink-3); font-size: var(--fs-xs); }
.river-city-card > header { flex-wrap: wrap; gap: .3rem .7rem; }
.river-city-card > header small { white-space: normal; }
.river-city-card__links a { display: flex; align-items: center; min-height: 2.75rem; overflow-wrap: break-word; }
.river-source { display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: center; padding: .75rem 1rem; margin-top: .8rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--bg); }
.river-source p { flex: 1 1 30rem; color: var(--ink-2); font-size: var(--fs-xs); line-height: 1.6; }
.river-source a { color: var(--blue); font-size: var(--fs-xs); font-weight: 800; }
.river-source time { color: var(--ink-3); font-size: .62rem; white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1100px) {
  .relocation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  /* SP。段はこの1本だけ */
  .guide-page { margin-bottom: 2.5rem; }
  .guide-hero { gap: .8rem; margin-bottom: 2.25rem; }
  .guide-hero__copy h1 { font-size: clamp(1.4rem, 6vw, 1.7rem); line-height: 1.18; }
  .guide-hero__copy > p:not(.eyebrow) { font-size: .72rem; line-height: 1.65; }
  .guide-hero__copy nav { gap: .35rem; margin-top: .85rem; }
  .guide-hero__copy nav .btn { min-height: 2.55rem; padding: .45rem .75rem; font-size: .68rem; }
  .guide-status { padding: .8rem; }
  .guide-origins, .guide-routes, .guide-essentials, .guide-next, .guide-faq, .guide-sources, .guide-map, .guide-rivers { margin-bottom: 2.5rem; }
  .guide-page .sec { gap: .35rem; margin-bottom: .8rem; }
  .guide-page .sec h2 { font-size: 1.2rem; line-height: 1.28; }
  .guide-page .sec > div > p:last-child { font-size: .7rem; line-height: 1.65; }
  .guide-hero, .origin-grid, .route-grid, .essential-grid, .guide-next > nav, .guide-emergency, .fishing-journey__steps { grid-template-columns: 1fr; }
  .guide-sources li { align-items: start; flex-direction: column; gap: .4rem; }
  .guide-source-summary { align-items: flex-start; flex-direction: column; }
  .relocation-share .btn { flex: 1 1 0; justify-content: center; }
  .guide-map__canvas { min-height: 26rem; }
  .guide-rivers .sec { align-items: start; }
  .guide-rivers .sec > .btn { width: 100%; justify-content: center; }
  .river-emergency-links { display: grid; grid-template-columns: 1fr 1fr; }
  .river-emergency-links .btn { justify-content: center; min-width: 0; padding-inline: .5rem; font-size: .64rem; text-align: center; }
  .river-city-grid { grid-template-columns: 1fr; gap: .6rem; }
  .river-city-card > header { padding: .7rem .8rem; }
  .river-city-card > p { padding: .55rem .8rem 0; }
  .river-city-card__links { gap: .55rem; padding: .65rem .8rem .8rem; }
  .river-city-card__links a { padding: .42rem .48rem; font-size: .64rem; }
  .river-source { align-items: flex-start; flex-direction: column; padding: .7rem .8rem; }
  .river-source p { flex: 0 1 auto; }
}
