/* ═══ 旅程の見本（itinerary-*）の見せ方（2026-11-10〜 試作・Eclaterra 寄せ）════════════════
   読む順: staygo-os.css → 頁の中の <style>（暗い地 tp-dark）→ sg-show.css → これ（最後）。
   HTML は scripts/lp/trip-pages.py が書く（手で直さない）。
   ■ 形
     ・題は写真が画面いっぱいの舞台（.tp-hero）。特大の大文字の題、3つの事実はガラスの帯
     ・題の下に枠付きの目次の帯（.tp-jump = .sg-bar）。日ごとの段と見どころへ飛ぶ
     ・日ごとの段は暗い面（カード 24px）。札は小さな大文字、見出しは大文字の極太
     ・見どころは写真の舞台の上にガラスの札4枚（スマホは写真を上に、札は下に並べる）
   ■ 色: 白・黒・青。青は小さな札の字だけ（#9DB8FF）。金なし。押しどころは白いピル
   ⚠️ 頁の中の暗い地の指定（body.tp-dark .tp a:not(...) など）が !important で強いので、
      ここの指定は body.tp-dark main.tp から始めて強さで勝つ
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 題の舞台 ── */
body.tp-dark main.tp{padding-top:0}
body.tp-dark main.tp header.tp-hero{position:relative;isolation:isolate;overflow:hidden;max-width:none;margin:0;
  min-height:min(100svh,980px);display:flex;flex-direction:column;justify-content:space-between;gap:48px;
  padding:96px max(24px,env(safe-area-inset-right,0px)) 48px max(24px,env(safe-area-inset-left,0px));
  text-align:center;background:#0B0B0D!important}
.tp-hero-ph{position:absolute;inset:0;z-index:-2}
.tp-hero-ph picture,.tp-hero-ph img{display:block;width:100%;height:100%;object-fit:cover}
body.tp-dark main.tp header.tp-hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgb(11 11 13 / .62) 0%,rgb(11 11 13 / .22) 26%,rgb(11 11 13 / .42) 50%,rgb(11 11 13 / .88) 86%,#141416 100%)}
body.tp-dark main.tp .tp-hero .tp-crumb{width:100%;max-width:1320px;margin:0 auto}
body.tp-dark main.tp header.tp-hero.tp-head .tp-crumb :is(li,a:not(.btn-pill)){color:#E4E4EA!important}
body.tp-dark main.tp .tp-hero .tp-crumb li[aria-current]{color:#C9C9D0!important}
.tp-hero-in{width:100%;max-width:1320px;margin:0 auto;display:flex;flex-direction:column;align-items:center}
body.tp-dark main.tp .tp-hero .tp-region{margin:0 0 22px!important;color:#F4F4F6!important;text-shadow:0 1px 12px rgb(0 0 0 / .45)}
body.tp-dark main.tp header.tp-hero h1.tp-h1{font-size:clamp(52px,10vw,148px)!important;font-weight:800!important;letter-spacing:-.035em!important;line-height:.92!important;margin:0!important;color:#F6F6F8!important;max-width:14ch;text-shadow:0 2px 40px rgb(0 0 0 / .35)}
body.tp-dark main.tp .tp-hero .tp-rule{display:none}
body.tp-dark main.tp .tp-hero dl.tp-facts{margin:44px auto 0;width:min(900px,100%);padding:22px 30px;gap:24px;text-align:left}
body.tp-dark main.tp .tp-hero .tp-fact dt{color:#9DB8FF!important;font-size:11px;font-weight:500;letter-spacing:.22em}
body.tp-dark main.tp .tp-hero .tp-fact dd{color:#F4F4F6!important;font-size:16px;font-weight:500}
body.tp-dark main.tp .tp-hero .tp-plan{color:#B9B9C2!important}

/* ── 目次の帯 ── */
body.tp-dark main.tp .tp-jump{margin:56px auto 64px;width:max-content;max-width:calc(100% - 40px)}
body.tp-dark main.tp .tp-jump.sg-bar a.tp-j{color:#C9C9D0!important;font-size:12px;letter-spacing:.16em}
body.tp-dark main.tp .tp-jump.sg-bar a.tp-j:is(:hover,:focus-visible){color:#FFFFFF!important}
body.tp-dark main.tp .tp-jump.sg-bar a.tp-j:focus-visible{outline:2px solid #9DB8FF;outline-offset:4px;border-radius:4px}

/* ── 写真の列 ── */
body.tp-dark .tp-slide img{border-radius:20px}

/* ── 紹介と日ごとの段 ── */
body.tp-dark main.tp .tp-body{padding-top:72px}
body.tp-dark main.tp .tp-lead{font-size:clamp(22px,2.2vw,28px);line-height:1.35;font-weight:600;color:#F4F4F6!important;text-wrap:balance}
body.tp-dark main.tp .tp-day{margin-top:18px;padding:clamp(24px,2.6vw,34px)!important;background:#1B1B1E!important;border:1px solid #2E2E33;border-radius:24px}
body.tp-dark main.tp .rm-days > .tp-day:first-child,body.tp-dark main.tp .tp-col > .tp-day:first-of-type{margin-top:40px}
body.tp-dark main.tp .tp-day .tp-daynum{margin:0 0 14px!important;color:#9DB8FF!important;font-size:11px;font-weight:500;letter-spacing:.22em}
body.tp-dark main.tp .tp-day h2.tp-h2{margin:0 0 14px!important;font-size:clamp(24px,2.3vw,32px)!important;line-height:1.05!important;font-weight:800!important;
  text-transform:uppercase!important;letter-spacing:-.02em!important;text-wrap:balance;scroll-margin-top:120px}
body.tp-dark main.tp .tp-day p:not(.tp-daynum){color:#C2C2CA!important}
body.tp-dark main.tp .tp-day .tp-lines{border-top-color:#2E2E33}
body.tp-dark main.tp .tp-day .tp-line{border-bottom-color:#2E2E33}
body.tp-dark main.tp .tp-day .tp-line:last-child{border-bottom:0}
body.tp-dark main.tp .tp-day .tp-line-n{color:#9DB8FF}

/* 相談の箱: 青い面をやめ、暗い面に白いピル */
body.tp-dark main.tp aside.tp-enq{margin:18px 0 0;background:#0B0B0D;border:1px solid rgb(255 255 255 / .22);border-radius:24px;padding:32px 34px}
body.tp-dark main.tp .tp-enq h2.tp-enq-h{text-transform:uppercase!important;font-weight:800!important;letter-spacing:-.02em!important;font-size:clamp(24px,2.3vw,32px)!important;line-height:1.05!important}
body.tp-dark main.tp .tp-enq-text p{color:#B9B9C2!important}
body.tp-dark main.tp .tp-enq .btn-pill.tp-enq-btn{border-radius:999px;font-weight:600}

/* ── 見どころの舞台 ── */
body.tp-dark main.tp section.tp-hl.tp-hl{max-width:1180px;margin:110px auto 0;background:transparent!important}
body.tp-dark main.tp section.tp-hl h2.tp-hl-title{font-size:clamp(34px,6vw,84px)!important;margin:0 0 32px!important;text-align:center;color:#F4F4F6!important}
.tp-hl-stage{min-height:620px;display:flex;align-items:flex-end;padding:28px}
.tp-hl-ph{position:absolute;inset:0}
.tp-hl-ph picture,.tp-hl-ph img{display:block;width:100%;height:100%;object-fit:cover}
.tp-hl-stage::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgb(11 11 13 / 0) 30%,rgb(11 11 13 / .7) 100%)}
body.tp-dark main.tp .tp-hl-stage .tp-hl-grid{position:relative;z-index:2;width:100%;gap:14px}
body.tp-dark main.tp .tp-hl-stage li.tp-hl-c{background:rgb(20 20 22 / .62)!important;border:1px solid rgb(255 255 255 / .16);border-radius:18px;padding:22px 22px 24px}
body.tp-dark main.tp .tp-hl-stage .tp-hl-icon{background:transparent;border:1px solid rgb(255 255 255 / .3);color:#F4F4F6;width:40px;height:40px;margin-bottom:14px}
body.tp-dark main.tp .tp-hl-stage h3.tp-h3{text-transform:uppercase!important;font-weight:700!important;font-size:15px!important;letter-spacing:.02em!important;line-height:1.25!important}
body.tp-dark main.tp .tp-hl-stage .tp-hl-c p{color:#C9C9D0!important;font-size:13.5px}
html.sg-js .tp-hl.sg-rv .tp-hl-c{opacity:0;transform:translateY(18px);transition:opacity .9s ease,transform .9s var(--sg-ease)}
html.sg-js .tp-hl.sg-rv.in .tp-hl-c{opacity:1;transform:none}
html.sg-js .tp-hl.sg-rv.in .tp-hl-c:nth-child(2){transition-delay:.1s}
html.sg-js .tp-hl.sg-rv.in .tp-hl-c:nth-child(3){transition-delay:.2s}
html.sg-js .tp-hl.sg-rv.in .tp-hl-c:nth-child(4){transition-delay:.3s}

body.tp-dark main.tp .tp-notes{margin-top:72px}

/* ── 似た旅程の帯: 見出しを大文字の塊に ── */
body.tp-dark .trips#similar .trips-title{font-weight:800!important;text-transform:uppercase!important;letter-spacing:-.03em!important;line-height:.95!important;font-size:clamp(30px,3.2vw,46px)!important;color:#F4F4F6!important}

/* 和文・中文・韓文: 大文字と詰めは効かないので、字間だけ戻す */
:is(:lang(ja),:lang(zh),:lang(zh-Hant),:lang(ko)) body.tp-dark main.tp :is(.tp-day h2.tp-h2,.tp-enq h2.tp-enq-h,.tp-hl-stage h3.tp-h3){letter-spacing:0!important;line-height:1.3!important}

/* PC の地図の列は、最後の日の下に地図の高さぶんの余白を持つ（頁の中の .rm-days）。見どころはその余白に詰めて置く */
@media (min-width:1000px){
  body.tp-dark main.tp .rm-grid + section.tp-hl.tp-hl{margin-top:24px}
}
@media (max-width:1099px){
  .tp-hl-stage{min-height:560px}
}
@media (max-width:759px){
  body.tp-dark main.tp header.tp-hero{min-height:max(640px,92svh);padding:84px 16px 28px;gap:28px}
  body.tp-dark main.tp header.tp-hero h1.tp-h1{font-size:clamp(44px,13vw,64px)!important}
  body.tp-dark main.tp .tp-hero dl.tp-facts{margin-top:30px;padding:18px 20px;gap:14px}
  body.tp-dark main.tp .tp-jump{margin:36px auto 40px;max-width:calc(100% - 32px)}
  body.tp-dark main.tp .tp-body{padding-top:48px}
  body.tp-dark main.tp .tp-day{padding:22px 20px!important;border-radius:20px}
  body.tp-dark main.tp aside.tp-enq{padding:26px 22px}
  body.tp-dark main.tp section.tp-hl.tp-hl{margin-top:72px}
  .tp-hl-stage{min-height:0;display:block;padding:0;overflow:visible;background:transparent}
  .tp-hl-ph{position:relative;height:280px;border-radius:20px;overflow:hidden}
  .tp-hl-stage::after{display:none}
  body.tp-dark main.tp .tp-hl-stage .tp-hl-grid{margin-top:14px}
  body.tp-dark main.tp .tp-hl-stage li.tp-hl-c{background:#1B1B1E!important;border-color:#2E2E33}
}
@media (prefers-reduced-motion:reduce){
  html.sg-js .tp-hl.sg-rv .tp-hl-c{opacity:1!important;transform:none!important;transition:none!important}
}
