/* travel-lp.css — 東北旅行・費用ガイドの LP 専用スタイル。
 * このファイルは /guide/travel/index.html のみが読み込む（ページスコープ）。
 * 共有 tool.css / guide.css を土台に、モック（warm orange + indigo）の LP を light 固定で実装。
 * クラスは tvlp- 名前空間でグローバル汚染を避ける。下部 SEO 本文は guide.css の .guide-* を再利用。
 * 文字を載せる色は AA(4.5:1) を満たす値に統一（orange テキストは #c2410c、見出し indigo #1e3a8a）。 */

.tvlp {
  flex: 1;
  /* テーマ切替(dark)に引きずられない LP 固定背景。campaign ページとして light 固定 */
  background: #ffffff;
  color: #334155;
}
.tvlp-inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ===== カラートークン（LP ローカル・固定） ===== */
.tvlp {
  --tv-orange: #ea580c;        /* ボタン背景（白文字で大ボタン ≥3:1） */
  --tv-orange-hover: #c2410c;  /* テキスト/hover（白に対し 4.5:1+） */
  --tv-orange-bright: #f97316; /* 装飾限定 */
  --tv-indigo: #1e3a8a;        /* 見出し */
  --tv-indigo-2: #1d4ed8;
  --tv-ink: #0f172a;
  --tv-body: #334155;
  --tv-dim: #64748b;
  --tv-line: #e2e8f0;
  --tv-soft: #f8fafc;
  --tv-amber-soft: #fff7ed;
  --tv-shadow: 0 12px 34px rgba(15, 36, 71, .10);
  --tv-shadow-sm: 0 4px 14px rgba(15, 36, 71, .08);
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

/* ===== サブナビ（共通 #lc-header 直下・モックのヘッダーナビ相当） ===== */
.tvlp-subnav { background: #fff; border-bottom: 1px solid var(--tv-line); position: sticky; top: 0; z-index: 40; }
.tvlp-subnav .sn-inner { max-width: 1120px; margin: 0 auto; padding: 9px 16px; display: flex; align-items: center; gap: 16px; }
.tvlp-subnav .sn-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--tv-ink); flex: 0 0 auto; }
.tvlp-subnav .sn-brand .sn-ic { font-size: 1.35rem; line-height: 1; }
.tvlp-subnav .sn-brand .sn-t { font-weight: 800; font-size: .95rem; line-height: 1.15; }
.tvlp-subnav .sn-brand .sn-s { display: block; font-weight: 600; font-size: .67rem; color: var(--tv-dim); margin-top: 1px; }
.tvlp-subnav .sn-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.tvlp-subnav .sn-nav::-webkit-scrollbar { display: none; }
.tvlp-subnav .sn-nav a { color: #475569; text-decoration: none; font-size: .84rem; font-weight: 700; padding: 7px 11px; border-radius: 7px; white-space: nowrap; transition: background .15s, color .15s; }
.tvlp-subnav .sn-nav a:hover { color: var(--tv-orange-hover); background: var(--tv-amber-soft); }
.tvlp-subnav .sn-cta { flex: 0 0 auto; }
.tvlp-subnav a:focus-visible { outline: 2px solid var(--tv-orange); outline-offset: 2px; }
@media (max-width: 820px) {
  .tvlp-subnav { position: static; }
  .tvlp-subnav .sn-inner { flex-wrap: wrap; gap: 8px 12px; }
  .tvlp-subnav .sn-brand .sn-s { display: none; }
  .tvlp-subnav .sn-nav { order: 3; width: 100%; margin-left: 0; padding-bottom: 2px; }
  .tvlp-subnav .sn-cta { margin-left: auto; }
}

/* ===== 共通ボタン（.tv-btn 名前空間） ===== */
.tv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 11px; font-weight: 800; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .15s, border-color .15s, transform .12s, box-shadow .15s; }
.tv-btn:active { transform: translateY(1px); }
.tv-btn--accent { background: var(--tv-orange); color: #fff; box-shadow: 0 8px 20px rgba(234, 88, 12, .26); }
.tv-btn--accent:hover { background: var(--tv-orange-hover); }
.tv-btn--outline { background: #fff; color: var(--tv-indigo); border-color: var(--tv-line); }
.tv-btn--outline:hover { border-color: var(--tv-indigo-2); background: #eff6ff; }
.tv-btn--sm { padding: 9px 16px; font-size: .85rem; border-radius: 9px; }
.tv-btn:focus-visible { outline: 2px solid var(--tv-orange); outline-offset: 2px; }

/* ===== セクション骨格 ===== */
.tv-section { padding: 52px 0; }
.tv-section.alt { background: var(--tv-soft); }
.tv-head { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.tv-head h2 { font-size: clamp(1.4rem, 3.6vw, 1.95rem); color: var(--tv-indigo); line-height: 1.4; margin: 0 0 8px; text-wrap: balance; }
.tv-head h2 .pin { color: var(--tv-orange); }
.tv-head p { font-size: .94rem; color: var(--tv-dim); line-height: 1.75; margin: 0; }

/* ===== ヒーロー ===== */
/* 合成ヒーロー画像(左=コピー領域/右=祭りコラージュ)をフルブリードで表示し collage を大きく見せる
   (ねぶた含む上段を確実に可視化)。コピー＋試算カードは max1120 コンテナ内に絶対オーバーレイ。 */
.tv-hero { position: relative; overflow: hidden; background: #eaf3fb; }
.tv-hero-bg { display: block; width: 100%; height: auto; }
/* 左スクリム: コピーの可読性確保(画像左は元々明るいので控えめ) */
.tv-hero::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.72) 26%, rgba(255,255,255,.30) 44%, rgba(255,255,255,0) 60%); }
.tv-hero-inner { position: absolute; inset: 0; z-index: 3; max-width: 1120px; margin: 0 auto;
  padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.tv-hero-copy { max-width: 520px; }
.tv-hero-copy h1 { font-size: clamp(2rem, 5.4vw, 3rem); color: var(--tv-indigo); line-height: 1.22; margin: 0 0 16px; letter-spacing: -.01em; text-wrap: balance; font-weight: 900; }
.tv-hero-copy .hero-sub { font-size: 1.02rem; color: #475569; line-height: 1.85; margin: 0 0 20px; }
.tv-hero-copy .hero-sub .em { color: var(--tv-orange-hover); font-weight: 800; font-size: 1.18em; }
.tv-hero-badges { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 22px; }
.tv-hero-badges span { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #1e293b; font-weight: 700;
  background: #fff; border: 1px solid var(--tv-line); border-radius: 999px; padding: 6px 13px; box-shadow: var(--tv-shadow-sm); }
.tv-hero-badges span::before { content: "✓"; color: var(--tv-orange); font-weight: 900; }
.tv-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ヒーロー右: 試算カード（祭りコラージュは合成 bg 画像に内包） */
.tv-hero-visual { position: relative; height: 100%; }

/* 試算カード（インライン簡易試算ウィジェット）。右カラムの左端=ヒーロー中央付近に縦中央で配置し
   bg 画像のコラージュ左側(七夕)に重ねる(モック準拠) */
.tv-sim { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: min(300px, 94%); z-index: 5;
  background: #fff; border: 1px solid var(--tv-line); border-radius: 16px; padding: 15px 16px 16px; box-shadow: var(--tv-shadow); }
.tv-sim .sim-title { display: flex; align-items: center; gap: 7px; font-weight: 800; color: var(--tv-ink); font-size: .92rem; margin-bottom: 11px; }
.tv-sim .sim-title .ic { color: var(--tv-orange); }
.tv-sim .sim-grid { display: grid; gap: 8px; }
.tv-sim .sim-field { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 8px; }
.tv-sim .sim-field label { font-size: .76rem; color: var(--tv-dim); font-weight: 700; }
.tv-sim select, .tv-sim input { width: 100%; background: #fff; color: var(--tv-ink); border: 1px solid var(--tv-line);
  border-radius: 8px; padding: 7px 9px; font-size: .82rem; font-family: inherit; cursor: pointer; }
.tv-sim select:focus, .tv-sim input:focus { outline: none; border-color: var(--tv-orange); box-shadow: 0 0 0 3px rgba(234,88,12,.12); }
.tv-sim .sim-result { margin-top: 12px; background: var(--tv-amber-soft); border: 1px solid #fed7aa; border-radius: 11px; padding: 11px 13px; text-align: center; }
.tv-sim .sim-result .lbl { font-size: .74rem; color: #9a3412; font-weight: 700; }
.tv-sim .sim-result .val { font-size: clamp(1.4rem, 6vw, 1.7rem); font-weight: 900; color: var(--tv-orange-hover); line-height: 1.2; margin: 2px 0; }
.tv-sim .sim-result .sub { font-size: .72rem; color: #9a3412; }
.tv-sim .sim-cta { display: block; margin-top: 11px; text-align: center; background: var(--tv-orange); color: #fff;
  text-decoration: none; font-weight: 800; font-size: .88rem; padding: 11px 12px; border-radius: 10px; transition: background .15s; }
.tv-sim .sim-cta:hover { background: var(--tv-orange-hover); }
.tv-sim .sim-cta:focus-visible { outline: 2px solid var(--tv-orange); outline-offset: 2px; }
.tv-sim .sim-note { font-size: .66rem; color: var(--tv-dim); margin-top: 8px; line-height: 1.5; text-align: center; }

/* 1024px 以下: ヒーローを flex 縦積みに。コピー(順1)→試算カード→合成画像(順2)。
 * 絶対オーバーラップを解除し、画像は角丸ブロックとして下に置く */
@media (max-width: 1024px) {
  .tv-hero { display: flex; flex-direction: column; overflow: visible; padding: 30px 20px 6px; }
  .tv-hero-bg { order: 2; border-radius: 14px; margin-top: 16px; box-shadow: var(--tv-shadow-sm); }
  .tv-hero::before { display: none; }
  .tv-hero-inner { order: 1; position: static; grid-template-columns: 1fr; gap: 20px; padding: 0; max-width: none; }
  .tv-hero-copy { max-width: none; }
  .tv-hero-visual { height: auto; }
  .tv-sim { position: static; transform: none; left: 0; top: 0; width: 100%; }
}

/* ===== 機能カード3枚 ===== */
.tv-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tv-feature { display: block; background: #fff; border: 1px solid var(--tv-line); border-radius: 16px; padding: 24px 22px;
  text-decoration: none; color: inherit; box-shadow: var(--tv-shadow-sm); transition: transform .14s, box-shadow .15s, border-color .15s; }
.tv-feature:hover { transform: translateY(-3px); box-shadow: var(--tv-shadow); border-color: #fed7aa; }
.tv-feature .ic { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 13px;
  background: var(--tv-amber-soft); color: var(--tv-orange); font-size: 1.5rem; margin-bottom: 13px; }
.tv-feature h3 { font-size: 1.08rem; color: var(--tv-ink); margin: 0 0 7px; font-weight: 800; }
.tv-feature p { font-size: .88rem; color: var(--tv-dim); line-height: 1.75; margin: 0; }
.tv-feature .more { display: inline-block; margin-top: 11px; font-size: .82rem; font-weight: 800; color: var(--tv-orange-hover); }
@media (max-width: 760px) { .tv-features { grid-template-columns: 1fr; } }

/* ===== 人気の目的地カード5枚 ===== */
.tv-dests { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tv-dest { position: relative; display: block; border-radius: 15px; overflow: hidden; text-decoration: none;
  box-shadow: var(--tv-shadow-sm); aspect-ratio: 4 / 3; transition: transform .14s, box-shadow .15s; }
.tv-dest:hover { transform: translateY(-3px); box-shadow: var(--tv-shadow); }
.tv-dest .ph { position: absolute; inset: 0; background: linear-gradient(160deg, #1e3a8a, #0e7490); }
.tv-dest:nth-child(2) .ph { background: linear-gradient(160deg, #b45309, #ea580c); }
.tv-dest:nth-child(3) .ph { background: linear-gradient(160deg, #be123c, #f97316); }
.tv-dest:nth-child(4) .ph { background: linear-gradient(160deg, #7c3aed, #2563eb); }
.tv-dest:nth-child(5) .ph { background: linear-gradient(160deg, #0e7490, #155e75); }
.tv-dest .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tv-dest::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.68) 100%); }
/* meta: 左にテキスト・右に白丸「›」ボタン（モック準拠） */
.tv-dest .meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 14px; color: #fff;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.tv-dest .meta-txt { min-width: 0; }
.tv-dest .meta .t { font-weight: 800; font-size: 1.04rem; line-height: 1.25; text-shadow: 0 1px 5px rgba(0,0,0,.55); }
.tv-dest .meta .s { font-size: .74rem; opacity: .94; margin-top: 2px; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.tv-dest .meta .arrow { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 999px; background: #fff;
  color: var(--tv-orange-hover); display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 800; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.3); transition: background .15s, color .15s; }
.tv-dest:hover .meta .arrow { background: var(--tv-orange); color: #fff; }
.tv-dest:focus-visible { outline: 3px solid var(--tv-orange); outline-offset: 2px; }
@media (max-width: 920px) { .tv-dests { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tv-dests { grid-template-columns: repeat(2, 1fr); } }

/* ===== 下部 SEO 本文（guide.css の .guide-* を再利用するためのラッパ調整） ===== */
.tvlp-article { padding: 8px 0 8px; }
.tvlp-article .container { max-width: 880px; }

/* design-critic P1: 下部本文の teal アクセントを LP の indigo/orange brand に統一（palette seam 解消）。
   light(既定=クローラ視点)は cyan→indigo に上書き、dark は既存値を逐語再宣言して非回帰、CTA は LP の orange。 */
.tvlp-article { --cyan: #1d4ed8; --cyan-alpha-08: rgba(30,58,138,.07); --cyan-alpha-20: rgba(30,58,138,.18); }
[data-theme="dark"] .tvlp-article { --cyan: #4cc9f0; --cyan-alpha-08: rgba(76,201,240,.08); --cyan-alpha-20: rgba(76,201,240,.2); }
.tvlp-article .guide-cta { border-color: var(--tv-orange); }
.tvlp-article .guide-cta a { background: var(--tv-orange); color: #fff; }
.tvlp-article .guide-cta a:hover { background: var(--tv-orange-hover); opacity: 1; }
