/* ═══ 旅の種類の頁（journey-*）の見せ方（2026-11-10 試作・Eclaterra 寄せ）═══════════════════
   css/sg-show.css の部品を旅の種類の頁に当てる。読む順は staygo-os.css → journey-dark.css → faq.css → sg-show.css → これ。
   HTML の組み替え（目次・写真の舞台・クラス）は scripts/lp/journey_show.py が書く。効くのは body[data-sg-journey] の頁だけ。
   ■ 形
     ・頭の写真は画面いっぱい。見出しは特大の大文字、一行の説明は小さな大文字・字間広め
     ・写真の下に枠付きの目次（.sg-bar）
     ・How／手配の例／泊まり方（グループは車）は写真の舞台。カードはガラス、写真の説明はガラスの札
     ・地は1色（#141416）。節の段は余白で出す。青は小さな印（#9DB8FF）だけ
   ⚠️ staygo-os.css と journey-dark.css は !important で色や字の大きさを決めているので、ここも名指しで強く書く
   ═══════════════════════════════════════════════════════════════════════════ */
body[data-sg-journey] main.jy{padding-top:0}

/* ── 頭の写真: 画面いっぱい・特大の見出し ── */
body[data-sg-journey] .jy-hero{height:auto;min-height:clamp(620px,100svh,1000px);align-items:flex-end}
body[data-sg-journey] .jy-hero::after{background:
  linear-gradient(180deg,rgb(11 11 13 / .45) 0%,rgb(11 11 13 / 0) 22%,rgb(11 11 13 / .1) 45%,rgb(11 11 13 / .82) 100%),
  linear-gradient(90deg,rgb(11 11 13 / .35) 0%,rgb(11 11 13 / 0) 60%)}
body[data-sg-journey] .jy-hero-in{padding-top:140px;padding-bottom:clamp(48px,7vh,88px)}
body[data-sg-journey] .jy-hero .jy-hero-tag{border-bottom:1px solid #9DB8FF;color:#fff!important;margin-bottom:22px}
body[data-sg-journey] .jy-hero .jy-h1.sg-giant{font-size:clamp(46px,9.4vw,140px)!important;max-width:none;margin:0 0 26px;color:#fff!important;text-shadow:0 2px 40px rgb(0 0 0 / .25)}
body[data-sg-journey] .jy-hero .jy-lede{font-size:13px;letter-spacing:.16em;text-transform:uppercase;line-height:1.9;max-width:56ch;color:rgb(255 255 255 / .86)!important}

/* ── 目次 ── */
body[data-sg-journey] .jy-bar-wrap{padding:56px var(--os-page) 0;background:#141416}
body[data-sg-journey] nav.sg-bar.jy-bar{position:static;inset:auto;z-index:auto!important;background:none!important;box-shadow:none!important;-webkit-backdrop-filter:none;backdrop-filter:none;height:auto}
body[data-sg-journey] .jy :is(h2[id]){scroll-margin-top:110px}

/* ── 地は1色・節の間は余白で ── */
body[data-sg-journey] .jy section.jy-sec:is(.jy-how,.jy-stays,.jy-sample,.jy-arrange,.jy-seasons,.jy-ideas,.jy-cars,.jy-faq,.jy-read,.jy-intro,.jy-cta-sec){background:#141416!important}
body[data-sg-journey] .jy-sec{padding-top:clamp(72px,9vw,128px);padding-bottom:0}
body[data-sg-journey] .jy-cta-sec{padding-bottom:clamp(72px,9vw,128px)}
body[data-sg-journey] .journeys.jy-others{margin-top:clamp(72px,9vw,128px);background:#0B0B0D!important}

/* ── 見出し・札・説明 ── */
body[data-sg-journey] .jy .jy-h2.sg-h{font-size:clamp(34px,5.6vw,80px)!important;line-height:.95!important;font-weight:800!important;letter-spacing:-.03em!important;text-transform:uppercase!important;color:#F4F4F6!important;margin:0 0 22px!important;max-width:18ch}
body[data-sg-journey] .jy .jy-tag.sg-label{border-bottom:1px solid #9DB8FF;color:#F4F4F6!important;margin-bottom:22px}
body[data-sg-journey] .jy-head{display:block;margin-bottom:44px}
body[data-sg-journey] .jy-head .jy-h2.sg-h{margin:0 0 20px!important}
body[data-sg-journey] .jy .jy-sub{font-size:13px;letter-spacing:.14em;text-transform:uppercase;line-height:1.9;max-width:62ch;color:#B9B9C2!important}
body[data-sg-journey] .jy .jy-h3{text-transform:uppercase!important;font-weight:700!important;font-size:18px!important;letter-spacing:.01em!important;line-height:1.25!important;color:#F4F4F6!important}
body[data-sg-journey] .jy .jy-note{color:#A2A2AB!important}
body[data-sg-journey] .jy .jy-note a{color:#9DB8FF!important}

/* ── 導入: 見出しを大きく、本文は右に寄せる ── */
body[data-sg-journey] .jy-intro-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
body[data-sg-journey] .jy-intro-head .jy-h2.sg-h{max-width:14ch}
body[data-sg-journey] .jy-intro-body{max-width:720px;margin-left:auto}
body[data-sg-journey] .jy .jy-intro-body p{color:#B9B9C2!important}
body[data-sg-journey] .jy .jy-intro-body p:first-child{color:#F4F4F6!important;font-size:clamp(19px,1.7vw,23px);line-height:1.55}

/* ── 写真の舞台: 写真が面いっぱい、下にガラスのカード ── */
body[data-sg-journey] .jy-stage{display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(300px,34vw,440px) 28px 28px;margin-top:8px;border-radius:24px}
body[data-sg-journey] .jy-stage-fig{position:absolute;inset:0;margin:0}
body[data-sg-journey] .jy-stage-fig picture,body[data-sg-journey] .jy-stage-fig img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;border-radius:0}
body[data-sg-journey] .jy-stage-fig::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgb(11 11 13 / .25) 0%,rgb(11 11 13 / 0) 30%,rgb(11 11 13 / .35) 60%,rgb(11 11 13 / .78) 100%)}
body[data-sg-journey] .jy .jy-stage-cap{position:absolute;z-index:2;top:24px;left:24px;max-width:min(380px,calc(100% - 48px));margin:0;padding:14px 18px;font-size:13px;line-height:1.55;color:#F4F4F6!important}
body[data-sg-journey] .jy-stage>ul{position:relative;z-index:2;margin:0!important}
body[data-sg-journey] .jy .jy-stage .jy-how-c,body[data-sg-journey] .jy .jy-stage .jy-car-r{background:rgb(20 20 22 / .62)!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:18px;padding:24px 22px 24px}
body[data-sg-journey] .jy .jy-stage .jy-how-c p{color:#D2D2D9!important;font-size:14.5px}
body[data-sg-journey] .jy .jy-stage .jy-fit{border-top-color:rgba(255,255,255,.16);color:#F4F4F6!important}
body[data-sg-journey] .jy .jy-icon{background:transparent;border:1px solid rgba(255,255,255,.22);color:#9DB8FF;width:44px;height:44px;margin-bottom:18px}
/* 車の組み方は横3列のガラス */
body[data-sg-journey] .jy-stage .jy-car-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;border-top:0}
body[data-sg-journey] .jy .jy-stage .jy-car-r{display:block}
body[data-sg-journey] .jy .jy-stage .jy-car-r .jy-icon{margin-bottom:16px}
body[data-sg-journey] .jy .jy-stage .jy-car-size{text-transform:uppercase;font-weight:700;margin-bottom:8px}
body[data-sg-journey] .jy .jy-stage .jy-car-cars{color:#D2D2D9!important;font-size:15px}

/* ── 季節のカード（舞台の外のカード）: 暗い面 ── */
body[data-sg-journey] .jy .jy-sec:not(.jy-staged) .jy-how-c{background:#1B1B1E!important;border:1px solid #2E2E33!important;border-radius:24px}
body[data-sg-journey] .jy .jy-sec:not(.jy-staged) .jy-fit{border-top-color:#2E2E33}

/* ── 旅のアイデア: 暗い面・日数は小さな札 ── */
body[data-sg-journey] .jy .jy-idea.sg-panel{background:#1B1B1E;border-color:#2E2E33}
body[data-sg-journey] .jy .jy-idea .jy-days{background:none!important;border:0!important;padding:0;color:#9DB8FF!important;font-size:11px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;margin-bottom:14px}
body[data-sg-journey] .jy .jy-idea .jy-h3{font-size:22px!important;line-height:1.15!important}
body[data-sg-journey] .jy .jy-route li::before{background:#1B1B1E;border-color:#9DB8FF}
body[data-sg-journey] .jy .jy-idea-p{border-top-color:#2E2E33}

/* ── 日ごとの見本: カードをやめて細い線の行に ── */
body[data-sg-journey] .jy-days-list{row-gap:0;column-gap:48px}
body[data-sg-journey] .jy .jy-day{background:transparent!important;border:0;border-top:1px solid rgba(255,255,255,.14);border-radius:0;padding:24px 0 26px;grid-template-columns:96px minmax(0,1fr)}
body[data-sg-journey] .jy .jy-day-n{color:#9DB8FF!important;font-size:11px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;margin-top:4px}
body[data-sg-journey] .jy .jy-day-place{color:#A2A2AB!important;font-size:11px;font-weight:500;letter-spacing:.18em;text-transform:uppercase}
body[data-sg-journey] .jy .jy-day-b p{color:#B9B9C2!important}

/* ── よくある質問（共通部品はそのまま。見出しだけ大きく） ── */
body[data-sg-journey] .jy-faq-in{max-width:1200px}
@media (min-width:1000px){
  body[data-sg-journey] .jy-faq-in{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}
  body[data-sg-journey] .jy-faq-in .jy-h2.sg-h{font-size:clamp(34px,4.4vw,64px)!important;position:sticky;top:120px}
  body[data-sg-journey] .jy-faq-in .jy-faq-list{margin-top:0}
}

/* ── 関連記事 ── */
body[data-sg-journey] .jy-read-link picture,body[data-sg-journey] .jy-read-link img{border-radius:20px;aspect-ratio:4/3}
body[data-sg-journey] .jy .jy-read-t{font-size:17px;line-height:1.35}
body[data-sg-journey] .jy .jy-read-more{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#C9C9D0!important}

/* ── 他の旅 ── */
body[data-sg-journey] .jy-others .journeys-title.sg-h{max-width:none;margin-inline:auto!important}

/* ── 相談の囲み: 青い面をやめ、深い黒の面に特大の見出しと白いピル ── */
body[data-sg-journey] .jy .jy-cta{background:#0B0B0D;border:1px solid rgba(255,255,255,.14);border-radius:24px;padding:clamp(56px,8vw,112px) clamp(22px,5vw,64px) clamp(40px,5vw,64px)}
body[data-sg-journey] .jy .jy-cta .jy-h2.sg-h{max-width:16ch;margin:0 auto 26px!important;font-size:clamp(36px,6.4vw,96px)!important}
body[data-sg-journey] .jy .jy-cta .jy-cta-p{color:#B9B9C2!important}
body[data-sg-journey] .jy .jy-cta .jy-terms{border-top-color:rgba(255,255,255,.14)}
body[data-sg-journey] .jy .jy-cta .jy-terms p{color:#A2A2AB!important}

/* ── 出る順を少しずらす ── */
html.sg-js body[data-sg-journey] :is(.jy-how-grid,.jy-ideas-grid,.jy-read-grid,.jy-car-list,.jy-days-list)>.sg-rv:nth-child(2){transition-delay:.08s}
html.sg-js body[data-sg-journey] :is(.jy-how-grid,.jy-ideas-grid,.jy-read-grid,.jy-car-list,.jy-days-list)>.sg-rv:nth-child(3){transition-delay:.16s}
html.sg-js body[data-sg-journey] :is(.jy-how-grid,.jy-ideas-grid,.jy-read-grid,.jy-car-list,.jy-days-list)>.sg-rv:nth-child(4){transition-delay:.24s}

@media (max-width:1099px){
  body[data-sg-journey] .jy-stage .jy-how-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body[data-sg-journey] .jy-stage .jy-stays-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:759px){
  body[data-sg-journey] .jy-hero{min-height:min(100svh,760px)}
  body[data-sg-journey] .jy-hero-in{padding-top:120px}
  body[data-sg-journey] .jy-hero .jy-lede{font-size:12px;letter-spacing:.12em}
  body[data-sg-journey] .jy-bar-wrap{padding-top:40px}
  body[data-sg-journey] .jy .jy-sub{font-size:12px;letter-spacing:.1em}
  /* 舞台はスマホでは写真を上に、カードを下に積む */
  body[data-sg-journey] .jy-stage{display:block;padding:0;background:transparent;overflow:visible;border-radius:0}
  body[data-sg-journey] .jy-stage-fig{position:relative;inset:auto;aspect-ratio:4/5;max-height:72svh;width:100%;border-radius:20px;overflow:hidden}
  body[data-sg-journey] .jy .jy-stage-cap{top:auto;bottom:14px;left:14px;right:14px;max-width:none}
  body[data-sg-journey] .jy-stage .jy-how-grid,body[data-sg-journey] .jy-stage .jy-car-list{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:14px!important}
  body[data-sg-journey] .jy .jy-stage .jy-how-c{background:#1B1B1E!important;border-color:#2E2E33!important;border-radius:24px}
  body[data-sg-journey] .jy .jy-stage .jy-car-r{background:#1B1B1E!important;border-color:#2E2E33!important;border-radius:24px;display:grid}
  body[data-sg-journey] .jy .jy-stage .jy-car-r .jy-icon{margin:0}
  body[data-sg-journey] .jy .jy-stage .jy-how-c p{color:#B9B9C2!important}
  body[data-sg-journey] .jy .jy-icon{margin-bottom:0}
  body[data-sg-journey] .jy .jy-day{grid-template-columns:minmax(0,1fr);padding:20px 0}
  body[data-sg-journey] .jy-intro-body{margin-left:0}
}
@media (prefers-reduced-motion:reduce){
  html.sg-js body[data-sg-journey] .sg-rv{transition-delay:0s!important}
}

/* ═══ 並べ方の見直し（11/10 Tom「中の頁の配置をうまい具合に見直し」・Eclaterra の下の頁に寄せる）═════════════
   本家の型を頁の節に当てた（文・鍵・写真は変えない。並べ方と面だけ）:
     ・導入 ＝ About の「WHY ÉCLATERRA」: 見出しは左、本文は右の2列
     ・How／手配の例／泊まり方（車） ＝ Bespoke projects の VISION〜EXECUTION: 写真が面いっぱい、ガラスのカードを片側に縦に積む。
       3つ続くので、カードの側を右→左→右と入れ替えて揺らす
     ・旅のアイデア ＝ Key experiences の分類の面: 見出しから注記まで1枚の面に入れる。日数は半透明の札（.sg-chip と同じ作り）
     ・季節 ＝ 枠を外して細い線の4列（数字の帯の静けさ）
     ・関連記事 ＝ About の写真の段: 真ん中の列を下げて互い違いに
     ・相談 ＝ About の「EVERY PROJECT BEGINS WITH A CONVERSATION」の帯: 明るい面に、左に大きな言い切り、右に文と押しどころ
       （面は角丸の箱にして、下の明るい足元と地続きにならないよう暗い余白を残す）
   スマホ（759px 以下）は今まで通り縦に積む
   ═══════════════════════════════════════════════════════════════════════════ */
@media (min-width:1000px){
  /* 導入: 2列 */
  body[data-sg-journey] .jy-intro-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(40px,6vw,96px);align-items:start}
  body[data-sg-journey] .jy-intro-body{max-width:none;margin-left:0}
}
@media (min-width:1100px){
  /* 写真の舞台: カードを片側に縦に積む */
  body[data-sg-journey] .jy-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,400px);align-items:center;min-height:clamp(560px,46vw,680px);padding:20px!important}
  body[data-sg-journey] .jy-stage>ul{grid-column:2;display:flex!important;flex-direction:column;gap:10px;margin:0!important}
  body[data-sg-journey] .jy-stage-arrange{grid-template-columns:minmax(320px,400px) minmax(0,1fr)}
  body[data-sg-journey] .jy-stage-arrange>ul{grid-column:1}
  body[data-sg-journey] .jy-stage-arrange .jy-stage-cap{left:auto!important;right:24px}
  body[data-sg-journey] .jy-stage-fig::after{background:linear-gradient(270deg,rgb(11 11 13 / .62) 0%,rgb(11 11 13 / .2) 38%,rgb(11 11 13 / 0) 60%)}
  body[data-sg-journey] .jy-stage-arrange .jy-stage-fig::after{background:linear-gradient(90deg,rgb(11 11 13 / .62) 0%,rgb(11 11 13 / .2) 38%,rgb(11 11 13 / 0) 60%)}
  body[data-sg-journey] .jy .jy-stage :is(.jy-how-c,.jy-car-r){display:grid!important;grid-template-columns:34px minmax(0,1fr);column-gap:14px;align-items:start;padding:16px 18px!important;border-radius:8px!important;
    background:rgb(20 20 22 / .5)!important;border:0!important;box-shadow:var(--sg-lg-edge)}
  body[data-sg-journey] .jy .jy-stage :is(.jy-how-c,.jy-car-r)>*{grid-column:2}
  body[data-sg-journey] .jy .jy-stage :is(.jy-how-c,.jy-car-r)>.jy-icon{grid-column:1;grid-row:1 / span 3;width:34px;height:34px;margin:0!important}
  body[data-sg-journey] .jy .jy-stage :is(.jy-how-c,.jy-car-r)>.jy-icon svg{width:18px;height:18px}
  body[data-sg-journey] .jy .jy-stage .jy-h3{font-size:16px!important;margin:6px 0 6px!important}
  body[data-sg-journey] .jy .jy-stage .jy-how-c p{font-size:13.5px;line-height:1.5;margin:0}
  body[data-sg-journey] .jy .jy-stage .jy-fit{margin-top:10px!important;padding-top:10px!important;font-size:12.5px}

  /* 季節: 枠を外して細い線の4列 */
  body[data-sg-journey] .jy .jy-sec.jy-seasons:not(.jy-staged) .jy-how-c{background:transparent!important;border:0!important;border-top:1px solid rgba(255,255,255,.18)!important;border-radius:0!important;padding:22px 0 0!important}
  body[data-sg-journey] .jy .jy-seasons .jy-how-grid{gap:32px}
  body[data-sg-journey] .jy .jy-sec.jy-seasons:not(.jy-staged) .jy-fit{border-top:0!important;padding-top:0!important;color:#9DB8FF!important;font-size:12px;letter-spacing:.06em}

  /* 関連記事: 真ん中の列を下げて互い違いに */
  body[data-sg-journey] .jy-read-grid{row-gap:56px}
  body[data-sg-journey] .jy-read-grid>li:nth-child(3n+2){transform:translateY(56px)}
  body[data-sg-journey] .jy-read{padding-bottom:56px}
  html.sg-js body[data-sg-journey] .jy-read-grid>li.sg-rv:nth-child(3n+2):not(.in){transform:translateY(80px)}

  /* 相談: 明るい帯に2列 */
  body[data-sg-journey] .jy .jy-cta{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:clamp(40px,6vw,96px);align-items:start;text-align:left;
    background:#F4F4F3!important;border:0!important;border-radius:8px;padding:clamp(56px,6vw,88px) clamp(40px,5vw,72px)!important}
  body[data-sg-journey] .jy .jy-cta>*{grid-column:2}
  body[data-sg-journey] .jy .jy-cta>.jy-h2{grid-column:1;grid-row:1 / span 3;margin:0!important;max-width:12ch;color:#111113!important;text-align:left}
  body[data-sg-journey] .jy .jy-cta .jy-cta-p{margin:0!important;color:#3A3A40!important;max-width:none;text-align:left}
  body[data-sg-journey] .jy .jy-cta .jy-cta-btn-row{margin:28px 0 0;text-align:left}
  body[data-sg-journey] .jy .jy-cta .jy-terms{margin-top:28px;border-top-color:rgba(17,17,19,.14)!important;text-align:left}
  body[data-sg-journey] .jy .jy-cta .jy-terms p{color:#5A5A62!important}
  body.jy-dark[data-sg-journey] .jy .jy-cta .jy-cta-btn{background:#111113!important;color:#FFFFFF!important;border-color:#111113!important}
  body.jy-dark[data-sg-journey] .jy .jy-cta .jy-cta-btn *{color:#FFFFFF!important}
  body.jy-dark[data-sg-journey] .jy .jy-cta .jy-cta-btn:is(:hover,:focus-visible){background:#2A2A2E!important;color:#FFFFFF!important}
}
/* 旅のアイデア: 1枚の面に入れる（本家の分類の面） */
body[data-sg-journey] .jy-ideas>.jy-in{background:rgba(244,244,243,.035);box-shadow:var(--sg-lg-edge);border-radius:var(--sg-lg-r);padding:clamp(24px,3.4vw,48px)}
body[data-sg-journey] .jy .jy-ideas .jy-idea.sg-panel{background:rgba(244,244,243,.03)!important;border:0!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);border-radius:8px}
body[data-sg-journey] .jy .jy-idea .jy-days{display:inline-block;background:rgba(244,244,243,.1)!important;color:#F4F4F3!important;border-radius:5px;padding:7px 12px!important;font-size:12px;font-weight:500;line-height:1;letter-spacing:.1em;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.32),inset 1px 0 1px rgba(255,255,255,.17),inset 0 -1px 1px rgba(0,0,0,.14),inset -1px 0 1px rgba(0,0,0,.13)}
@media (max-width:759px){body[data-sg-journey] .jy-ideas>.jy-in{margin-inline:12px;padding:24px 18px}}
@media (prefers-reduced-motion:reduce){body[data-sg-journey] .jy-read-grid>li:nth-child(3n+2){transform:none!important}}

/* ── 言語版（2026-11-11 8言語へ）──
   和文・中文の特大の題は語の切れ目でだけ折る（折ってよい所は scripts/lp/journey_show.py の H1_BREAKS が <wbr> で置く）。
   和中韓・ヒンディーは大文字が無いので、英語用の広い字間（.14〜.22em）を詰める */
body[data-sg-journey] .jy-hero .jy-h1.sg-giant:is(:lang(ja),:lang(zh),:lang(zh-Hant)){word-break:keep-all;overflow-wrap:anywhere}
/* ヒンディーは母音記号が上下に出るので、英語用の詰めた行間（.92〜1）だと行どうしが重なる（390px で実測） */
:root:not(#_) body[data-sg-journey] :is(.sg-giant,.sg-h,h2):lang(hi){line-height:1.3!important;letter-spacing:0!important}
body[data-sg-journey] :is(.jy-hero .jy-lede,.jy .jy-sub):is(:lang(ja),:lang(zh),:lang(zh-Hant),:lang(ko),:lang(hi)){letter-spacing:.04em}
body[data-sg-journey] .sg-bar.jy-bar a:is(:lang(ja),:lang(zh),:lang(zh-Hant),:lang(ko),:lang(hi)){letter-spacing:.06em}
