/* POWDER MORNING（日本のスキー場案内）
   雪の白、濃い墨色、朝の雪面の青。朝日のオレンジは、選択中の日付など目を向けてほしい箇所だけ。
   ブランド名と数字は Archivo、和文は Zen Kaku Gothic New。方針は docs/direction.md「ブランドとデザイン」。 */
:root {
  --snow: #f6f8fa; --white: #fff; --paper: #fff; --ink: #16191d; --ink-2: #5b6570; --rule: #dfe5ea;
  --blue: #3d6f99; --blue-deep: #274f72; --blue-pale: #e6eef5; --blue-mid: #bcd2e4;
  --sun: #f2861e; --steel: #1c3550; --gold: #ffe9a8;
  --card: 0 1px 0 var(--rule), 0 6px 16px -12px rgba(28,53,80,.35);
  --night: #16191d; --lamp: var(--sun); --seal: var(--blue-deep); --seal-deep: #1b3a55;
  --ok: #1f7a55; --wait: #8a6a1a; --unk: #6b7480; --stop: #a32c1c;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Noto Sans JP", Meiryo, sans-serif;
  --en: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display: var(--gothic); --display-w: 900;
  --heading: var(--gothic); --heading-w: 700;
  --num: var(--en);
  --header-h: 58px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--snow);
  font-family: var(--gothic); font-weight: 500; font-size: 15.5px; line-height: 1.85;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--seal); text-underline-offset: 3px; }
a:hover { color: var(--seal-deep); }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 2px; }
.wrap { width: min(1040px, 100%); margin: 0 auto; padding: 0 20px; }
main.wrap { flex: 1; padding-bottom: 64px; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.k { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); margin-right: 10px; }
h2 { font-family: var(--heading); font-weight: var(--heading-w); font-size: 20px; letter-spacing: .06em; line-height: 1.4; margin: 0 0 12px; }

/* ---------- ヘッダー ---------- */
.site-header { flex: none; background: var(--white); border-bottom: 1px solid var(--rule); }
.head-in { max-width: 1240px; margin: 0 auto; padding: 0 28px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; }
/* ロゴ：アイコン（角の丸みは辺の22%）＋2段組みの文字。色・縦横比は変えない。影や縁取りは足さない */
.brand-icon { flex: none; width: 38px; height: 38px; border-radius: 22%; display: block; }
.wm { display: inline-block; font-family: var(--en); font-weight: 800; letter-spacing: .045em; line-height: 1.02; font-size: 16.5px; white-space: nowrap; color: var(--ink); }
.wm span { display: block; }
.wm .o { display: inline-block; width: .74em; height: .74em; border-radius: 50%; background: var(--sun); margin: 0 .035em; vertical-align: -.02em; }
.brand:hover { color: var(--ink); }
.brand-sub { font-size: 11.5px; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; margin-left: 4px; }
.site-nav { display: flex; gap: 22px; flex: none; white-space: nowrap; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }

/* ---------- 共通部品 ---------- */
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.6; color: #fff; white-space: nowrap; }
.status-planned { background: var(--ok); } .status-tba { background: var(--wait); }
.status-unconfirmed { background: var(--unk); } .status-suspended { background: var(--stop); }
.tag { display: inline-block; font-size: 11.5px; line-height: 1.6; padding: 1px 8px; border: 1px solid var(--rule); color: var(--ink-2); background: #fff; white-space: nowrap; }
.issue { margin: 0; display: inline-block; font-size: 11.5px; letter-spacing: .1em; line-height: 1.5; padding: 3px 10px; border: 1px solid rgba(255,255,255,.7); color: #fff; }
.issue-dark { border-color: var(--ink); color: var(--ink); }
.notice { background: var(--blue-pale); padding: 12px 14px; font-size: 14px; margin: 12px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; font: inherit; font-weight: 700; letter-spacing: .06em; color: #fff; background: var(--ink); border: 1.5px solid var(--ink); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--seal); border-color: var(--seal); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }

/* ---------- 検索 ---------- */
.finder-h { font-size: 19px; margin: 0 0 8px; }
.finder-row { display: flex; gap: 8px; }
.finder-row input, .finder-row select {
  height: 52px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--ink); border-radius: 0;
}
.finder-row input { flex: 1; min-width: 0; }
.finder-row input:focus, .finder-row select:focus { outline: none; box-shadow: inset 0 -3px 0 var(--lamp); }
.finder-go { flex: none; height: 52px; padding: 0 20px; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 700; letter-spacing: .1em; cursor: pointer; }
.finder-go:hover { background: var(--seal); }
.finder-reset { flex: none; height: 52px; padding: 0 14px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.chips select { height: 38px; padding: 0 8px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--ink); border-radius: 0; max-width: 100%; }
.chips-label { font-size: 12px; letter-spacing: .1em; color: var(--ink-2); flex: 1 0 auto; text-align: right; }
.index .chips select { order: -2; } .index .chips-label { order: -1; flex: 1 0 50%; text-align: left; }
.chip { height: 36px; padding: 0 12px; border: 1px solid var(--ink-2); border-radius: 999px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--seal); color: var(--seal); }
.chip.is-on { background: var(--seal); border-color: var(--seal); color: #fff; }
.count { margin: 0; font-size: 12.5px; letter-spacing: .08em; color: var(--ink-2); }

/* ---------- 索引の1件（トップ・地図・一覧で共通） ---------- */
.entries { list-style: none; margin: 0; padding: 0; }
.entry { border-top: 1px solid var(--rule); }
.entry a { display: flex; gap: 12px; padding: 14px 4px; text-decoration: none; color: inherit; }
.entry a:hover, .entry.is-on a { background: #f3eedf; }
.entry a:hover .name { color: var(--seal); }
.no { flex: none; width: 30px; height: 30px; margin-top: 3px; border-radius: 50%; background: var(--night); color: #fff; font-family: var(--num); font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.body { display: block; min-width: 0; }
.name { display: block; font-family: var(--heading); font-size: 19px; font-weight: var(--heading-w); line-height: 1.4; letter-spacing: .02em; }
.place { display: block; font-size: 12.5px; color: var(--ink-2); }
.when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; font-size: 13px; }
.dates { display: block; font-size: 14.5px; font-weight: 600; margin-top: 2px; }
.go { display: inline-block; margin-top: 5px; font-size: 13.5px; font-weight: 700; color: var(--seal); border-bottom: 1px solid currentColor; line-height: 1.5; }
.empty { margin: 14px 0; padding: 18px; background: var(--paper); border: 1px dashed var(--ink-2); font-size: 14px; }
.empty p { margin: 0; color: var(--ink-2); }
.empty .empty-title { font-family: var(--heading); font-size: 17px; font-weight: var(--heading-w); color: var(--ink); margin-bottom: 4px; }

/* ---------- トップ・地図（左：索引／右：地図） ---------- */
.page-map { height: 100vh; height: 100dvh; overflow: hidden; }
.explorer { flex: 1; min-height: 0; display: grid; grid-template-columns: 440px 1fr; }
.index { overflow-y: auto; background: var(--paper); border-right: 1px solid var(--ink); position: relative; z-index: 2; }
.banner { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: 20px 24px 22px; min-height: 172px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; }
.banner h1 { margin: 10px 0 2px; font-family: var(--display); font-weight: var(--display-w); font-size: 34px; line-height: 1.25; letter-spacing: .06em; text-shadow: 0 2px 14px rgba(12,22,40,.6); }
.banner .tagline { margin: 0; font-size: 13.5px; letter-spacing: .04em; line-height: 1.7; }
.banner-slim { min-height: 112px; }
.banner-slim h1 { font-size: 26px; margin: 0 0 8px; }
.index .finder { position: sticky; top: 0; z-index: 5; background: var(--paper); padding: 16px 24px 14px; border-top: 4px solid var(--seal); border-bottom: 1px solid var(--rule); }
.index .count { padding: 12px 24px 8px; }
.index .entries { padding: 0 20px; }
.index .entry:first-child { border-top: 1px solid var(--ink); }
.index .empty, .index .notice { margin: 14px 24px; }
.index-note { margin: 0; padding: 18px 24px 26px; font-size: 12px; line-height: 1.7; color: var(--ink-2); border-top: 1px solid var(--rule); }

.sheet { position: relative; min-width: 0; background: var(--night); }
.map { width: 100%; height: 100%; background: #dfe6ee; z-index: 0; }
.leaflet-container { font: inherit; }
.leaflet-tile-pane { filter: saturate(.75) hue-rotate(-6deg) brightness(1.02); }
.pin { width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 0 0 1.5px var(--night), 0 3px 8px rgba(0,0,0,.4); color: #fff; font-family: var(--num); font-weight: 700; font-size: 16px; display: grid; place-items: center; transition: transform .15s; }
.is-on > .pin { transform: scale(1.3); }
.leaflet-popup-content-wrapper { border-radius: 0; border-top: 4px solid var(--seal); background: var(--paper); }
.leaflet-popup-content { margin: 12px 16px 14px; line-height: 1.6; }
.popup-name { margin: 0; font-family: var(--heading); font-weight: var(--heading-w); font-size: 17px; }
.popup-place { margin: 0 0 6px; font-size: 12.5px; color: var(--ink-2); }
.popup-link { font-weight: 700; font-size: 13.5px; }
.legend { position: absolute; left: 14px; bottom: 26px; z-index: 500; list-style: none; margin: 0; padding: 8px 12px; background: rgba(23,38,63,.92); color: #fff; font-size: 12px; display: grid; gap: 2px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; margin-right: 6px; }
.map-error { position: absolute; inset: 30% 24px auto; z-index: 600; padding: 16px 18px; background: var(--paper); border-top: 4px solid var(--stop); font-size: 14px; }
.map-error p { margin: 0; }
.map-error .empty-title { font-family: var(--heading); font-weight: var(--heading-w); font-size: 17px; }

/* ---------- 一覧 ---------- */
.page-head { padding: 34px 0 8px; }
.page-head h1 { margin: 12px 0 4px; font-family: var(--display); font-weight: var(--display-w); font-size: clamp(28px, 5vw, 38px); letter-spacing: .06em; line-height: 1.3; }
.lead { margin: 0; color: var(--ink-2); font-size: 14px; }
.finder-wide { background: var(--paper); border-top: 4px solid var(--seal); padding: 18px 20px 20px; margin: 18px 0 14px; box-shadow: 0 10px 30px rgba(20,30,50,.08); }
.finder-wide .finder-row select { flex: none; width: 210px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 14px; margin-top: 12px; }
.cards .entry { border: 0; background: var(--paper); border-top: 3px solid var(--night); box-shadow: 0 6px 20px rgba(20,30,50,.07); }
.cards .entry a { height: 100%; padding: 18px 18px 16px; }
.cards .entry a:hover { background: #fff; }

/* ---------- 詳細 ---------- */
.page-detail main.wrap { width: 100%; max-width: none; padding-left: 0; padding-right: 0; }
.detail-hero { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.detail-hero-in { position: relative; z-index: 1; width: min(840px, 100%); margin: 0 auto; padding: 18px 20px 30px; min-height: 210px; display: flex; flex-direction: column; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; margin-bottom: auto; padding-bottom: 28px; }
.crumbs a { color: #fff; }
.detail-place { margin: 0; font-size: 13.5px; letter-spacing: .1em; }
.detail-hero h1 { margin: 2px 0 0; font-family: var(--display); font-weight: var(--display-w); font-size: clamp(30px, 6vw, 46px); line-height: 1.25; letter-spacing: .05em; text-shadow: 0 2px 14px rgba(12,22,40,.6); }
.detail-body { width: min(840px, 100%); margin: 0 auto; padding: 22px 20px 0; }
.detail-body section { margin-top: 34px; }
.basics { margin: 0; }
.basics div { display: flex; gap: 14px; padding: 4px 0; }
.basics dt { flex: none; width: 5.5em; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); padding-top: 3px; }
.basics dd { margin: 0; }
.season-box { background: var(--paper); border-top: 5px solid var(--seal); padding: 22px 24px 18px; box-shadow: 0 12px 34px rgba(20,30,50,.1); }
.detail-body .season-box { margin-top: 22px; }
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.facts-wide { grid-column: 1 / -1; }
.facts dt { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); }
.facts dd { margin: 0; font-size: 18px; font-weight: 600; }
.facts-wide dd { font-family: var(--heading); font-size: 22px; letter-spacing: .04em; }
.season-note { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 15px; }
.season-source { margin: 16px 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.source-btn { display: inline-block; padding: 11px 16px; background: var(--night); color: #fff; font-weight: 700; text-decoration: none; }
.source-btn:hover { background: var(--seal); color: #fff; }
.source-btn .ext-host { color: rgba(255,255,255,.8); }
.checked { font-size: 13.5px; color: var(--ink-2); }
.ext::after { content: " ↗"; font-size: .85em; }
.ext-host { font-weight: 400; font-size: .88em; color: var(--ink-2); word-break: break-all; }
.summary { margin: 0; font-size: 17px; line-height: 2; }
.link-list { margin: 0; padding-left: 1.2em; }
.link-list li { margin: 4px 0; }
.map-small { height: 300px; border: 1px solid var(--ink); margin-bottom: 8px; }
.detail-foot { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
code { background: var(--blue-pale); padding: 2px 6px; font-size: 13.5px; }

/* ---------- 404・フッター ---------- */
.empty-page { margin-top: 56px; padding: 48px 20px; text-align: center; }
.empty-page h1 { font-family: var(--display); font-weight: var(--display-w); font-size: 26px; letter-spacing: .1em; margin: 0 0 8px; color: var(--ink); }
.empty-page p + p { margin-top: 22px; }
.site-footer { flex: none; background: var(--night); color: #cfd8e6; font-size: 12.5px; padding: 22px 0; }
.site-footer p { margin: 0; }

/* ---------- スマートフォン：題字 → 検索 → 地図 → 索引 の順に縦に積む ---------- */
@media (max-width: 800px) {
  :root { --header-h: 46px; }
  .site-header { padding: 0 14px; }
  .site-nav a { padding: 6px 8px; font-size: 13.5px; }
  .wrap { padding: 0 16px; }

  .page-map { height: auto; overflow: visible; }
  .explorer { display: flex; flex-direction: column; }
  .index { display: contents; }
  .banner { order: 1; min-height: 118px; padding: 12px 16px 14px; }
  .banner h1 { font-size: 25px; margin: 6px 0 0; }
  .banner .tagline { font-size: 12.5px; }
  .banner-slim { min-height: 84px; }
  .banner-slim h1 { font-size: 22px; margin-bottom: 6px; }
  .issue { font-size: 10.5px; letter-spacing: .04em; padding: 2px 7px; }
  .index .finder { order: 2; padding: 10px 16px; border-bottom: 1px solid var(--ink); }
  .finder-h { font-size: 15px; margin-bottom: 6px; }
  .finder-row input, .finder-go { height: 50px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 8px -16px 0; padding: 0 16px 2px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips > * { flex: none; }
  .chips-label { display: none; }
  .chip, .chips select { height: 40px; }
  .sheet { order: 3; height: 42vh; min-height: 280px; }
  body.has-q .sheet { height: 32vh; min-height: 230px; }
  .legend { left: 8px; top: 8px; bottom: auto; padding: 4px 8px; font-size: 11px; grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .index .count { order: 4; padding: 10px 16px 6px; background: var(--paper); }
  .index .entries { order: 5; padding: 0 16px; background: var(--paper); }
  .index .empty { order: 5; margin: 12px 16px; }
  .index .notice { order: 2; margin: 8px 16px; }
  .index-note { order: 6; padding: 16px 16px 24px; background: var(--paper); }

  .finder-wide { padding: 14px 14px 16px; }
  .finder-wide .finder-row { flex-wrap: wrap; }
  .finder-wide .finder-row input { flex-basis: 100%; }
  .finder-wide .finder-row select { flex: 1; width: auto; min-width: 0; }
  .finder-reset { flex: 1; }
  .cards { grid-template-columns: 1fr; }

  .detail-hero-in { min-height: 170px; padding: 12px 16px 20px; }
  .crumbs { font-size: 12px; padding-bottom: 18px; }
  .detail-body { padding: 16px 16px 0; }
  .season-box { padding: 18px 16px 14px; }
  .facts { gap: 12px 14px; }
  .facts dd { font-size: 16px; }
  .facts-wide dd { font-size: 17px; letter-spacing: 0; }
  .source-btn { width: 100%; }
}


/* ---------- 全国版：未照合の施設と、件数が多いときの表示 ---------- */
.tag-draft { border-color: #c9b98a; background: #f7f0da; color: #6b5a1f; }
.notice-draft { background: #f7f0da; border-left: 4px solid #c9a23a; margin: 0 0 16px; }
.only-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); cursor: pointer; min-height: 36px; white-space: nowrap; }
.only-ok input { width: 18px; height: 18px; accent-color: var(--seal); }
.finder-wide .only-ok { margin-top: 10px; }
.index .chips .only-ok { order: -1; }
.index .chips-label { order: 0; flex: 1 0 100%; }
.pin-dot { width: 14px; height: 14px; border-width: 2px; box-shadow: 0 0 0 1px var(--night), 0 1px 3px rgba(0,0,0,.4); }
.is-on > .pin-dot { transform: scale(1.6); }
.no { font-size: 13px; }
[hidden] { display: none !important; }
@media (max-width: 800px) {
  .index .chips-label { display: none; }
}

/* ---------- 雪の状況（降った実績とパウダー指数） ---------- */
:root { --g-best: var(--blue-deep); --g-good: var(--blue); --g-some: #8fb3d1; --g-none: #a7b0ba; }   /* 等級は青の濃淡 */
.modes { display: flex; margin: 14px 24px 0; border: 1.5px solid var(--ink); }
.mode { flex: 1; height: 42px; border: 0; background: transparent; font: inherit; font-weight: 700; letter-spacing: .08em; color: var(--ink); cursor: pointer; }
.mode + .mode { border-left: 1.5px solid var(--ink); }
.mode.is-on { background: var(--ink); color: #fff; }
.snow { display: block; margin-top: 8px; padding: 9px 11px; background: #f2f5f8; border-left: 3px solid var(--g-some); }
.snow-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 2px; }
.grade { display: inline-block; padding: 2px 10px; font-size: 13px; font-weight: 700; line-height: 1.6; color: #fff; white-space: nowrap; }
.grade-best { background: var(--g-best); } .grade-good { background: var(--g-good); } .grade-some { background: var(--g-some); }
.grade-none { background: var(--g-none); }
.grade-ref { background: #fff; color: var(--ink-2); border: 1px dashed var(--ink-2); }
.snow-line { display: block; font-size: 14.5px; font-weight: 700; }
.snow-why { display: block; font-size: 13px; }
.snow-st { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.6; margin-top: 2px; }
.mode-snow .dates, .mode-snow .go { display: none; }
.pin.grade-best { background: var(--g-best); } .pin.grade-good { background: var(--g-good); } .pin.grade-some { background: var(--g-some); }
.pin.grade-none { background: #c3cad1; } .pin.grade-ref { background: #fff; color: var(--ink); border-style: dashed; border-color: var(--ink-2); }
.pin-dot.grade-none { opacity: .75; }
.pin-dot.grade-best, .pin-dot.grade-good { width: 20px; height: 20px; margin: -3px; }
.dot.grade-best { background: var(--g-best); } .dot.grade-good { background: var(--g-good); } .dot.grade-some { background: var(--g-some); } .dot.grade-none { background: #c3cad1; }
.snow-note { border-top: 1px solid var(--rule); }
.index .snow-empty { margin: 12px 24px; }
.snow-box { background: var(--paper); border-top: 5px solid var(--g-some); padding: 20px 24px 14px; box-shadow: 0 12px 34px rgba(20,30,50,.08); }
.snow-box .snow { margin: 0 0 12px; background: transparent; border: 0; padding: 0; }
.snow-box .snow-line { font-size: 18px; }
.snow-box .snow-why, .snow-box .snow-st { font-size: 14px; }
.snow-when { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--ink-2); }
@media (max-width: 800px) {
  .modes { order: 3; margin: 10px 16px 0; }
  .sheet { order: 4; margin-top: 10px; }
  .index .count { order: 5; } .index .snow-empty { order: 5; margin: 8px 16px; }
  .index .entries { order: 6; } .index .empty { order: 6; }
  .snow-note { order: 7; padding: 14px 16px; background: var(--paper); }
  .index-note { order: 8; }
  .snow-box { padding: 16px 16px 12px; }
}

/* ---------- 雪の見通し（これから）。日付の選択・等級・詳細ページの帯 ---------- */
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 10px 24px 0; }
.day { min-width: 0; min-height: 46px; padding: 4px 2px; border: 1px solid var(--ink); background: #fff; color: var(--ink); font: inherit; line-height: 1.35; text-align: center; cursor: pointer; }
.day b { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; }
.day small { display: block; font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.day:hover { border-color: var(--seal); }
.day.is-on { background: var(--ink); color: #fff; } .day.is-on small { color: #d5dbe6; }
.day.far { border-style: dashed; border-color: var(--ink-2); }
.day.far b { font-weight: 500; }
.outlook-line { font-size: 13.5px; line-height: 1.7; }
.grade-nodata { background: #fff; color: var(--ink-2); border: 1px solid var(--rule); }
.pin.grade-nodata { background: #fff; color: var(--ink-2); border-color: #c3cad1; }
.pin-dot.grade-nodata { opacity: .8; }
/* 4〜7日先は控えめに：塗りつぶさず、枠と文字の色だけにする */
.grade.far { background: #fff; border: 1.5px solid currentColor; font-weight: 500; }
.grade.far.grade-best, .grade.far.grade-good { color: var(--g-good); } .grade.far.grade-some { color: var(--g-some); } .grade.far.grade-none { color: #6f7985; }
.grade.far.grade-ref { color: var(--ink-2); border: 1px dashed var(--ink-2); }
.pin.far { background: #fff; border-color: currentColor; box-shadow: 0 0 0 1px var(--night), 0 2px 5px rgba(0,0,0,.3); }
.pin.far.grade-best, .pin.far.grade-good { color: var(--g-good); } .pin.far.grade-some { color: var(--g-some); } .pin.far.grade-none { color: #b5bcc4; box-shadow: 0 0 0 1px #8a939d; }
.pin.far.grade-ref { color: var(--ink-2); }
.pin-dot.far { border-width: 3px; }
.pin-dot.far.grade-best, .pin-dot.far.grade-good { width: 18px; height: 18px; margin: -2px; }
.legend-outlook { max-width: calc(100% - 24px); }
.outlook-box { margin-top: 18px; }
.strip { display: grid; grid-template-columns: repeat(8, minmax(74px, 1fr)); gap: 4px; overflow-x: auto; padding-bottom: 6px; }
.cell { min-height: 84px; padding: 6px 4px; border: 1.5px solid transparent; font: inherit; line-height: 1.3; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 1px; color: #fff; }
.cell-day { font-size: 11.5px; white-space: nowrap; } .cell-mark { font-size: 24px; font-weight: 700; line-height: 1.2; } .cell-name { font-size: 11px; }
.cell.grade-nodata, .cell.grade-ref { color: var(--ink-2); border-color: var(--rule); }
.cell.grade-ref { border-style: dashed; border-color: var(--ink-2); }
.cell.far { background: #fff; border-color: currentColor; }
.cell.far.grade-best, .cell.far.grade-good { color: var(--g-good); } .cell.far.grade-some { color: var(--g-some); } .cell.far.grade-none { color: #6f7985; }
.cell.far .cell-mark { font-size: 19px; font-weight: 500; }
.cell.is-on { outline: 3px solid var(--ink); outline-offset: -3px; box-shadow: 0 4px 0 var(--ink); }
.strip-hint { margin: 6px 0 2px; }
.week-h { margin: 20px 0 6px; font-size: 15px; letter-spacing: .06em; }
.week-wrap { overflow-x: auto; }
.week { border-collapse: collapse; width: 100%; font-size: 13.5px; background: #fff; }
.week th, .week td { border: 1px solid var(--rule); padding: 5px 10px; text-align: left; white-space: nowrap; }
.week thead th { background: #f2f5f8; font-size: 12px; letter-spacing: .06em; color: var(--ink-2); }
.week tbody th { font-weight: 500; }
@media (max-width: 800px) {
  .days { margin: 8px 16px 0; }
  .strip { grid-template-columns: repeat(4, 1fr); overflow: visible; }
}
.dot.grade-nodata { background: #fff; border-color: #9aa3ad; } .dot.grade-ref { background: #fff; border: 1.5px dashed var(--ink-2); }
@media (max-width: 800px) {
  .days { order: 3; background: var(--paper); margin: 0; padding: 8px 16px 6px; }
  .legend-outlook { grid-template-columns: 1fr 1fr; font-size: 10.5px; gap: 0 8px; right: 8px; max-width: none; }
  .index #outlook-status { order: 5; }
}

/* ---------- 新しいブランドに合わせた上書き（一覧・地図・詳細・見方で共通） ---------- */
.banner { background: var(--white); color: var(--ink); min-height: 0; padding: 18px 24px 14px; border-bottom: 1px solid var(--rule); }
.banner h1 { text-shadow: none; font-size: 24px; letter-spacing: .02em; margin: 0 0 8px; }
.issue { border-color: var(--rule); color: var(--ink-2); letter-spacing: .04em; border-radius: 4px; }
.issue-dark { border-color: var(--rule); color: var(--ink-2); }
.index { border-right: 1px solid var(--rule); }
.index .finder, .finder-wide { border-top: 0; }
.finder-wide { border: 1px solid var(--rule); border-radius: 12px; box-shadow: none; }
.finder-row input, .finder-row select, .chips select { border: 1.5px solid var(--rule); border-radius: 8px; }
.finder-go, .btn { border-radius: 8px; } .finder-reset { border-radius: 8px; border-color: var(--rule); }
.finder-go:hover, .btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.modes { border: 1.5px solid var(--ink); border-radius: 8px; overflow: hidden; }
.day { border-radius: 8px; border-color: var(--rule); } .day.is-on { background: var(--sun); border-color: var(--sun); } .day.is-on small { color: #fff; }
.chip.is-on { background: var(--ink); border-color: var(--ink); }
.no { background: var(--ink); font-family: var(--en); }
.cards .entry { border: 1px solid var(--rule); border-radius: 12px; box-shadow: none; overflow: hidden; }
.page-head h1, .detail-hero h1, .empty-page h1 { letter-spacing: .02em; }
.sheet { background: #dfe6ee; }
.pin { box-shadow: 0 0 0 1.5px var(--ink), 0 3px 8px rgba(0,0,0,.3); font-size: 14px; }
.legend { background: rgba(22,25,29,.9); border-radius: 8px; }
.leaflet-popup-content-wrapper { border-radius: 10px; border-top: 0; }
.leaflet-tile-pane { filter: saturate(.6) brightness(1.03); }
.grade-some { color: var(--ink); } .grade-none { background: #eef1f4; color: var(--ink-2); }
.snow { background: var(--snow); border-left: 3px solid var(--blue-mid); border-radius: 0 8px 8px 0; }
.detail-hero { background: var(--white); color: var(--ink); border-bottom: 1px solid var(--rule); }
.detail-hero-in { min-height: 0; padding: 16px 20px 22px; }
.detail-hero h1 { text-shadow: none; font-size: clamp(26px, 5vw, 38px); }
.crumbs { margin-bottom: 0; padding-bottom: 16px; } .crumbs a { color: var(--blue-deep); }
.detail-place { color: var(--ink-2); letter-spacing: .04em; }
.season-box, .snow-box { border: 1px solid var(--rule); border-top: 1px solid var(--rule); border-radius: 12px; box-shadow: none; }
.source-btn { border-radius: 8px; } .source-btn:hover { background: var(--blue-deep); }
.map-small { border: 1px solid var(--rule); border-radius: 12px; }
.detail-foot { border-top: 1px solid var(--rule); }
.cell { border-radius: 8px; } .cell.grade-some { color: var(--ink); } .cell.grade-none { background: #eef1f4; color: var(--ink-2); }
.cell.is-on { outline: 3px solid var(--sun); box-shadow: none; }
.pin.grade-some { color: var(--ink); }
.week { border-radius: 8px; }
.site-footer { background: var(--white); color: var(--ink-2); border-top: 1px solid var(--rule); padding: 20px 0 28px; }
.site-footer .wrap { width: min(1240px, 100%); padding: 0 28px; }
.foot-brand { margin-bottom: 4px !important; } .foot-brand .wm { font-size: 14px; }
.foot-sub { color: var(--ink); margin-bottom: 6px !important; }
.foot-nav { margin-top: 8px !important; display: flex; flex-wrap: wrap; gap: 4px 18px; } .foot-nav a { color: var(--blue-deep); }
.guide { max-width: 760px; padding-bottom: 20px; }
.guide section + section { margin-top: 30px; }
.guide h2 { font-size: 19px; font-weight: 900; letter-spacing: .02em; margin-bottom: 8px; }
.guide p { margin: 0 0 6px; }
@media (max-width: 800px) {
  :root { --header-h: 48px; }
  .head-in { padding: 0 14px; }
  .brand { gap: 8px; } .brand-icon { width: 30px; height: 30px; } .wm { font-size: 13px; } .brand-sub { display: none; }
  .site-nav { gap: 12px; } .site-nav a { font-size: 12.5px; padding: 6px 0; }
  .site-nav a:last-child { display: none; }   /* 「見方」は下のフッターから */
  .site-footer .wrap { padding: 0 14px; }
  .banner { padding: 12px 16px 10px; } .banner h1 { font-size: 20px; }
}

/* ---------- トップ：滑る日を選ぶ → 新雪の見込みで比べる（見本は planning/mock/） ---------- */
.home { flex: 1; }
.hwrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.hero { background: var(--white); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; padding-left: max(28px, calc((100vw - 1240px) / 2 + 28px)); }
.copy { padding: 26px 32px 24px 0; align-self: center; }
.copy h1 { margin: 0 0 10px; font-weight: 900; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.25; letter-spacing: .02em; white-space: nowrap; }
.copy h1 .hl { display: inline-block; }   /* 文節。狭い画面では、この境目でだけ改行する */
.copy p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); max-width: 30em; }
/* ファーストビューの動画。下地は「最後の画面」の静止画（ロゴ入り）で、動画を出さない・出せないときはこれが見える。
   見せる位置（中央・縦58%）は、最後の画面のロゴ（縦47〜67%）が枠の中に入るように決めてある。動画も静止画も同じ位置 */
.photo { position: relative; overflow: hidden; min-height: 230px; background: #c9d6e6 url("/assets/img/hero-opening-last.jpg") center 58% / cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; display: none; pointer-events: none; }
.hero-video.is-on { display: block; }
.photo-drift { display: none; }   /* 動画の下の縁の雪の曲線。スマホ幅でだけ使う */
/* いつ滑る？：ワイヤーに吊られた搬器から、乗る朝を選ぶ */
.hwhen { background: var(--white); padding: 18px 0 6px; }
.q { margin: 0 0 6px; font-size: 19px; font-weight: 900; letter-spacing: .02em; }
.q small { font-size: 12.5px; font-weight: 500; color: var(--ink-2); margin-left: 10px; }
.hdays { display: flex; align-items: flex-start; gap: 10px; overflow-x: auto; padding: 26px 4px 12px; scrollbar-width: none; min-height: 112px;
  background: linear-gradient(var(--steel), var(--steel)) 0 9px / 100% 2.5px no-repeat; }
.hdays.no-wire { background: none; padding-top: 6px; min-height: 0; }
.hdays::-webkit-scrollbar { display: none; }
.hday { position: relative; flex: none; width: 92px; height: 74px; padding: 0; background: var(--white); border: 2px solid var(--steel); border-bottom-width: 6px; border-radius: 12px 12px 10px 10px;
  text-align: center; line-height: 1.15; font: inherit; color: var(--ink); cursor: pointer; transform-origin: 50% -17px; transition: transform .18s; }
.hday::before { content: ""; position: absolute; left: 50%; top: -19px; width: 2.5px; height: 18px; margin-left: -1.25px; background: var(--steel); }
.hday::after { content: ""; position: absolute; left: 50%; top: -23px; width: 12px; height: 7px; margin-left: -6px; border-radius: 3px; background: var(--steel); }
.hday i { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ink-2); margin-top: 1px; }
.hday b { display: block; font-family: var(--en); font-size: 24px; font-weight: 800; letter-spacing: -.01em; }
.hday b small { font-size: 14px; font-weight: 700; }
.hday.we i { color: var(--blue); }
.hday:hover { animation: swing .9s ease-in-out; }
.hday.on { background: var(--sun); border-color: #c9650a; color: #fff; transform: translateY(3px); }
.hday.on i { color: #fff; }
.hday.far { width: 78px; height: 64px; border-color: #8fa6bb; border-bottom-width: 5px; color: var(--ink-2); margin-top: 4px; }
.hday.far::before { top: -23px; height: 22px; background: #8fa6bb; } .hday.far::after { top: -27px; background: #8fa6bb; }
.hday.far b { font-size: 20px; } .hday.far.on { color: #fff; border-color: #c9650a; }
.pole { flex: none; position: relative; width: 96px; height: 78px; margin: -17px 2px 0; }
.pole svg { display: block; width: 44px; height: 78px; margin: 0 auto; }
.pole span { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); background: var(--white); border: 1.5px solid var(--steel); border-radius: 5px; padding: 2px 6px; font-size: 10.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; text-align: center; }
.pastbtn { flex: none; align-self: center; margin: 0 4px 0 14px; height: 44px; padding: 0 16px; border: 1.5px dashed var(--ink-2); border-radius: 999px; background: var(--white); font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; cursor: pointer; }
.pastbtn.on { background: var(--ink); border-color: var(--ink); border-style: solid; color: #fff; }
.pastbtn:first-child { margin-left: 0; }
@keyframes swing { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(3.2deg); } 70% { transform: rotate(-2.2deg); } }
.hday.on:hover { animation: none; }
@media (prefers-reduced-motion: reduce) { .hday:hover { animation: none; } .hday, .row { transition: none; } }
/* 区切りは直線ではなく、雪の吹きだまりの曲線 */
.photo .edge { position: absolute; left: -1px; top: 0; height: 100%; width: 46px; display: block; }
.drift { display: block; width: 100%; height: 34px; margin-bottom: -6px; }
.result { padding: 0 0 8px; }
.rhead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 10px; min-height: 36px; }
.rhead h2 { margin: 0; font-size: 24px; font-weight: 900; letter-spacing: .01em; }
.rhead .sep { color: var(--rule); margin: 0 6px; font-weight: 500; }
.rhead .n { font-size: 14.5px; color: var(--ink-2); }
.rhead .n b { color: var(--ink); font-size: 18px; font-family: var(--en); }
.narrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
.narrow .lab { font-size: 12.5px; color: var(--ink-2); margin-right: 4px; }
.hchip { height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.hchip:hover { border-color: var(--blue); }
.hchip.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.narrow input { height: 34px; width: 210px; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); padding: 0 14px; font: inherit; font-size: 13.5px; color: var(--ink); margin-left: 6px; }
.hmain { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.hlist { display: flex; flex-direction: column; gap: 8px; min-height: 300px; }
.cols { display: grid; grid-template-columns: 34px minmax(0, 1fr) 190px 100px; gap: 0 14px; align-items: start; }
.colhead { padding: 2px 18px 0; font-size: 11.5px; color: var(--ink-2); line-height: 1.4; }
.colhead b { display: block; color: var(--ink); font-size: 12.5px; }
.row { padding: 16px 18px; background: var(--white); border-radius: 16px; box-shadow: var(--card); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.row:hover { transform: translateY(-2px); box-shadow: 0 1px 0 var(--rule), 0 12px 22px -12px rgba(28,53,80,.5); color: inherit; }
.rank { font-family: var(--en); font-weight: 800; font-size: 15px; color: var(--ink-2); padding-top: 3px; }
.rank b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--steel); color: #fff; font-weight: 800; }
.first { display: inline-block; margin-bottom: 3px; padding: 0 9px; border-radius: 999px; background: var(--sun); color: #fff; font-size: 11.5px; font-weight: 700; transform: rotate(-2deg); }
.rname { font-size: 19px; font-weight: 700; line-height: 1.35; }
.rplace { font-size: 12.5px; color: var(--ink-2); }
.why { margin: 6px 0 0; font-size: 13.5px; line-height: 1.6; }
.htags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; font-size: 11.5px; line-height: 1.7; }
.htag { padding: 0 8px; border: 1px solid var(--rule); border-radius: 4px; background: var(--white); }
.htag.ok, .htag.warn { flex: none; white-space: nowrap; }
.htag.ok { border-color: var(--ok); color: var(--ok); font-weight: 700; }
.htag.warn { background: #f4f1e6; border-color: #d9d0b0; color: #6b5a1f; }
.num { font-family: var(--en); font-weight: 800; font-size: 30px; line-height: 1.1; color: var(--blue-deep); letter-spacing: -.01em; white-space: nowrap; }
.num small { font-family: var(--gothic); font-size: 13px; font-weight: 700; margin-left: 2px; }
.num.sm { font-size: 21px; color: var(--ink); }
.num.txt { font-family: var(--gothic); font-size: 15px; font-weight: 700; color: var(--ink-2); white-space: normal; line-height: 1.4; letter-spacing: 0; }
/* 等級：絵のアイコン（飾り）＋名前の文字。4〜7日先は同じ絵を薄く */
.fut { display: flex; align-items: flex-start; gap: 10px; }
.gi { flex: none; display: block; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--steel); }
.gi.far { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #8fa6bb; opacity: .85; }
.gname { display: block; margin-top: 2px; font-size: 13px; font-weight: 900; line-height: 1.5; color: var(--blue-deep); }
.gname.c, .gname.d { color: var(--ink-2); }
.gname.d { font-weight: 700; font-size: 12px; }
/* 幅の目盛り（0〜30cm）。棒は、同じ予報が出た夜に実際に降った量の幅 */
.gauge { position: relative; width: 104px; height: 7px; margin: 6px 0 16px; border-radius: 4px; background: var(--blue-pale); }
.gauge i { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--blue); }
.gauge span { position: absolute; top: 8px; font-size: 9.5px; line-height: 1.3; color: var(--ink-2); } .gauge .g0 { left: 0; } .gauge .g1 { right: 0; }
.mlab, .why2 { display: none; }
.grp { padding: 14px 18px 0; font-size: 12.5px; font-weight: 700; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; }
.more { display: block; width: 100%; text-align: left; padding: 6px 18px; font: inherit; font-size: 13px; color: var(--blue-deep); background: transparent; border: 0; cursor: pointer; }
.more:hover { text-decoration: underline; }
.none, .names { margin: 0; padding: 4px 18px; font-size: 13px; color: var(--ink-2); }
.names a { color: var(--ink-2); }
.side { position: sticky; top: 12px; }
#hmap { height: 560px; border: 0; border-radius: 16px; box-shadow: var(--card); background: #dfe6ee; z-index: 0; }
.side p { margin: 8px 2px 0; font-size: 12px; color: var(--ink-2); }
.hpin { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); border: 2.5px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); color: #fff; font-family: var(--en); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.hpin.s { width: 10px; height: 10px; border-width: 2px; background: var(--blue-mid); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.hpin.hot { background: var(--sun); transform: scale(1.2); }
.mapbtn { display: none; }
.range-note { margin: 12px 2px 0; font-size: 12.5px; color: var(--ink-2); max-width: 60em; }
.hweek { padding: 34px 0 10px; }
.hweek h2 { margin: 0 0 2px; font-size: 22px; font-weight: 900; letter-spacing: .01em; }
.hweek .note { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
.tablewrap { overflow-x: auto; background: var(--white); border-radius: 16px; box-shadow: var(--card); }
#matrix { border-collapse: collapse; width: 100%; font-size: 13px; min-width: 720px; }
#matrix th, #matrix td { border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); padding: 0; text-align: center; }
#matrix tr:last-child td { border-bottom: 0; } #matrix th:last-child, #matrix td:last-child { border-right: 0; }
#matrix th { padding: 8px 4px; font-weight: 700; font-size: 12.5px; background: var(--snow); line-height: 1.3; }
#matrix th.far { color: var(--ink-2); font-weight: 500; }
#matrix td.rowh { text-align: left; padding: 8px 14px; font-weight: 700; white-space: nowrap; background: var(--white); }
#matrix td button { width: 100%; min-height: 44px; border: 0; background: transparent; padding: 8px 2px 7px; line-height: 1.3; font: inherit; font-size: 11.5px; color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
#matrix td.a button { background: #fff8e3; font-weight: 900; } #matrix td.b button { background: var(--blue-pale); font-weight: 700; }
#matrix td.c button, #matrix td.d button, #matrix td.none button { color: var(--ink-2); }
#matrix td.far.b button { background: transparent; font-weight: 500; }
#matrix td button:hover { outline: 2px solid var(--sun); outline-offset: -2px; }
.score { margin: 14px 0 0; padding: 14px 18px; background: var(--ink); color: #fff; border-radius: 12px; font-size: 14px; }
.hfoot { margin: 0; padding: 18px 0 10px; font-size: 12px; color: var(--ink-2); }
.foot-scene { display: block; width: 100%; height: auto; max-height: 170px; margin-top: 8px; flex: none; }
.result .notice { border-radius: 8px; }
@media (max-width: 900px) {
  .hwrap { padding: 0 14px; }
  /* スマホ幅：ヘッダー → 動画 → 見出しと説明文 → 日付選び。動画の枠は縦に大きく取る（5:4。幅390pxで高さ約312px）。
     枠いっぱい（cover）なので横が3割ほど切れる。見せる範囲は横36%・縦50%：最後の画面のロゴ（横18〜51%）が左右とも余白つきで入り、
     最初〜中盤の滑り手とスプレーが見える位置。終盤に滑り手が右へ抜けて切れるのは構わない。
     高さは画面の高さの50%まで（横向きや背の低い画面で動画だけにならないように）。静止画に切り替わる場合も、同じ枠・同じ位置 */
  .hero-in { display: flex; flex-direction: column; padding: 0; }
  .photo { order: -1; min-height: 0; height: auto; width: 100%; aspect-ratio: 5 / 4; max-height: 50vh; max-height: 50svh; background-position: 36% 50%; }
  .hero-video { object-position: 36% 50%; }
  /* 動画の下の縁を、白い雪の曲線で見出しの白地につなぐ（日付選びの下の曲線を上下逆にしたもの）。ロゴ（縦47〜67%）にはかからない高さ */
  .photo-drift { display: block; position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 20px; transform: scaleY(-1); pointer-events: none; }
  /* 雪の曲線の下にひと呼吸おいてから見出し。見出し→説明文→「いつ滑る？」の間隔はそろえる（12px） */
  .copy { padding: 18px 14px 0; } .copy h1 { font-size: 25px; margin-bottom: 12px; white-space: normal; } .copy p { font-size: 13.5px; line-height: 1.6; }
  .hwhen { padding: 12px 0 2px; } .q { font-size: 17px; }
  .hdays { margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
  .photo .edge { display: none; } .drift { height: 22px; }
  .result { padding-top: 0; } .rhead h2 { font-size: 20px; }
  .narrow { flex-wrap: nowrap; overflow-x: auto; margin: 0 -14px 12px; padding: 0 14px; scrollbar-width: none; } .narrow::-webkit-scrollbar { display: none; }
  .narrow > * { flex: none; } .narrow input { width: 170px; font-size: 16px; }
  .hmain { display: block; }
  .colhead { display: none; }
  .cols.row { grid-template-columns: 30px 1fr 1fr; gap: 8px 10px; padding: 14px 12px; align-items: stretch; }
  .cols.row .info { grid-column: 2 / 4; }
  .cols.row .m1 { grid-column: 2; grid-row: 2; } .cols.row .m2 { grid-column: 3; grid-row: 2; }
  .cols.row .why2 { display: block; grid-column: 2 / 4; grid-row: 3; } .why2 .why { margin-top: 0; }
  .cols.row .why1 { display: none; }
  .mlab { display: block; font-size: 11px; color: var(--ink-2); line-height: 1.35; margin-bottom: 2px; }
  .mlab b { color: var(--ink); display: block; font-size: 12px; }
  .m1, .m2 { background: var(--snow); border-radius: 10px; padding: 8px 10px; min-width: 0; } .fut { gap: 8px; } .gauge { width: 84px; }
  .num { font-size: 26px; } .num.sm { font-size: 20px; } .num.txt { font-size: 14px; }
  .gname { font-size: 12px; } .m1 .gi { width: 38px; height: 38px; }
  .side { position: static; }
  #hmap { position: fixed; inset: 0; height: auto; border: 0; border-radius: 0; z-index: 900; display: none; }
  body.showmap #hmap { display: block; } .side p { display: none; }
  .mapbtn { display: block; position: fixed; right: 14px; bottom: 16px; z-index: 1000; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.3); cursor: pointer; }
  .hweek { padding-top: 24px; } .hweek h2 { font-size: 19px; }
  .hfoot { padding-bottom: 20px; }
  .page-home .site-footer { padding-bottom: 84px; }
}


/* ---------- トップに合わせた雰囲気（一覧・詳細・見方）：白いカード、等級は絵＋文字 ---------- */
.season-box, .snow-box, .finder-wide, .cards .entry { border: 0; border-radius: 16px; box-shadow: var(--card); }
.map-small { border: 0; border-radius: 16px; box-shadow: var(--card); }
.week-wrap { border-radius: 12px; }
.guide-grade { display: flex; align-items: flex-start; gap: 12px; margin: 10px 0 !important; }
.guide-grade > span:first-child { flex: none; padding: 4px; }
.guide-grade b { display: block; }
.cell, .cell.grade-best, .cell.grade-good, .cell.grade-some, .cell.grade-none, .cell.far { background: var(--white); color: var(--ink); border: 1.5px solid var(--rule); border-radius: 12px; gap: 5px; padding: 8px 4px; }
.cell .gi { margin: 3px 0; } .cell.far { color: var(--ink-2); border-style: dashed; }
.cell-name { font-weight: 700; } .cell.far .cell-name { font-weight: 500; }
.cell.is-on { border-color: var(--sun); outline: 2px solid var(--sun); outline-offset: -1px; box-shadow: none; }
.snow-head .fut { align-items: center; } .snow-head .gname { font-size: 15px; margin: 0; }

/* 幅が広めのスマホ・タブレット縦（600〜900px）では、動画の枠を16:9に戻す（横は切らず、位置は中央・縦58%） */
@media (min-width: 600px) and (max-width: 900px) {
  .photo { aspect-ratio: 16 / 9; background-position: center 58%; }
  .hero-video { object-position: center 58%; }
}
/* スマホ（幅600px未満）では、見出しを文節ごとに1行ずつ、必ず2行で組む（1行にぎりぎり収まる幅でも詰まって見えるため） */
@media (max-width: 599px) {
  .copy h1 .hl { display: block; }
}

/* 最終更新の時刻と、情報が古いときの注意 */
.updated { margin: 0; padding: 16px 0 0; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.notice.stale { background: #fff4e3; border-left: 4px solid var(--sun); border-radius: 8px; color: var(--ink); font-weight: 700; }
