/* 下層ページ共通ヘッダー（練習用）
   design/ヘッダー/exports/header_an1/index.html の「白背景ヘッダー」をもとに作成。
   下層ページは Lightning のCSSが効いているので、すべて .lab-hd / .lab-dr の中だけに指定する */

/* Lightning（VK）のスマホ用メニューボタンは、新しいハンバーガーと重なるので出さない */
.vk-mobile-nav-menu-btn,
#vk-mobile-nav-menu-btn,
.vk-mobile-nav { display: none !important; }

.lab-hd,
.lab-dr { --lab-blue: #1a47e6; font-family: "Zen Kaku Gothic New", sans-serif; color: #0f1a22; -webkit-font-smoothing: antialiased; }
.lab-hd *,
.lab-dr * { box-sizing: border-box; }
.lab-hd a,
.lab-dr a { color: inherit; text-decoration: none; }

/* ---- ヘッダー本体（PC） ---- */
.lab-hd { position: sticky; top: 0; z-index: 1000; height: 96px; display: flex; align-items: center; gap: 40px; padding: 0 40px; background: #fff; box-shadow: 0 1px 0 rgba(15, 26, 34, .08); }
.admin-bar .lab-hd { top: 32px; }
.lab-hd a:hover { color: var(--lab-blue); }
.lab-hd .logo { display: flex; align-items: center; flex-shrink: 0; }
.lab-hd .logo img { display: block; height: 48px; width: auto; max-width: none; }

.lab-hd .gn { display: flex; align-items: stretch; align-self: stretch; white-space: nowrap; }
.lab-hd .gn a { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.lab-hd .gn a + a { margin-left: 10px; padding-left: 34px; }
.lab-hd .gn a + a::before { content: ""; position: absolute; left: 6px; top: 50%; width: 1.5px; height: 30px; background: #c9d3e0; transform: translateY(-50%) rotate(20deg); }
.lab-hd .gn i { font-family: "Fjalla One", sans-serif; font-style: italic; font-size: 30px; line-height: 1; color: #a9bcef; }
.lab-hd .gn span { display: flex; flex-direction: column; gap: 7px; }
.lab-hd .gn b { font-size: 17px; font-weight: 700; letter-spacing: .08em; line-height: 1; }
.lab-hd .gn small { font: 600 10px/1 Inter, sans-serif; letter-spacing: .14em; color: #4a5866; }
.lab-hd .gn .on i,
.lab-hd .gn .on b { color: var(--lab-blue); }
.lab-hd .gn .on::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 20px; height: 2px; background: var(--lab-blue); }
.lab-hd .gn a + a.on::after { left: 34px; }

.lab-hd .tl { margin-left: auto; display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.lab-hd .mp { display: flex; align-items: center; gap: 8px; height: 28px; padding-left: 18px; border-left: 1px solid #c9d3e0; font: 600 12px/1 Inter, sans-serif; letter-spacing: .08em; }
.lab-hd .mp svg { width: 18px; height: 18px; }
.lab-hd .lg,
.lab-dr .dl { font: 600 12px/1 Inter, sans-serif; letter-spacing: .04em; }
.lab-hd .lg { display: flex; gap: 16px; }
.lab-hd .lg a.on { color: var(--lab-blue); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }

.lab-hd .hb,
.lab-dr .hb { width: 56px; height: 56px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--lab-blue); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; flex-shrink: 0; }
.lab-hd .hb i,
.lab-dr .hb i { display: block; width: 22px; height: 1.5px; background: #fff; }

/* 少し狭いPC */
@media (max-width: 1440px) {
	.lab-hd { gap: 28px; padding: 0 28px; }
	.lab-hd .gn a + a { margin-left: 6px; padding-left: 28px; }
	.lab-hd .gn a + a::before { left: 4px; }
	.lab-hd .gn a + a.on::after { left: 28px; }
	.lab-hd .gn i { font-size: 26px; }
	.lab-hd .gn b { font-size: 16px; }
}
/* タブレット：メニューはハンバーガーの中へ */
@media (max-width: 1240px) {
	.lab-hd .gn { display: none; }
}
@media (max-width: 900px) {
	.lab-hd .lg { display: none; }
}
/* スマホ（デザインの 390px 版） */
@media (max-width: 700px) {
	.lab-hd { height: 64px; gap: 6px; padding: 0 12px 0 18px; box-shadow: 0 1px 0 rgba(15, 26, 34, .06); }
	.lab-hd .logo { margin-right: auto; }
	.lab-hd .logo img { height: 36px; }
	.lab-hd .tl { gap: 6px; }
	.lab-hd .mp { flex-direction: column; justify-content: center; gap: 3px; width: 48px; height: 48px; padding: 0; border: 0; font-size: 9px; }
	.lab-hd .hb { width: 44px; height: 44px; gap: 5px; }
	.lab-hd .hb i { width: 18px; }
}
/* 管理バーは 600px 以下ではスクロールで消えるので、ヘッダーを上に付ける */
@media (max-width: 782px) { .admin-bar .lab-hd { top: 46px; } }
@media (max-width: 600px) { .admin-bar .lab-hd { top: 0; } }

/* ---- ハンバーガーで開くメニュー（デザインの .dr） ---- */
.lab-dr { position: fixed; inset: 0; z-index: 100000; background: #0b48b0; color: #fff; display: flex; flex-direction: column; overflow-y: auto; }
.lab-dr[hidden] { display: none; }
html.lab-dr-open { overflow: hidden; }
.lab-dr a:hover { color: #cfdcff; }
.lab-dr-hd { display: flex; align-items: center; gap: 6px; height: 64px; padding: 0 12px 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .2); flex-shrink: 0; }
.lab-dr-hd .logo { margin-right: auto; }
.lab-dr-hd .logo img { display: block; height: 36px; width: auto; max-width: none; filter: brightness(0) invert(1); }
.lab-dr-hd .mp { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 48px; height: 48px; font: 600 9px/1 Inter, sans-serif; letter-spacing: .08em; color: #fff; }
.lab-dr-hd .mp svg { width: 18px; height: 18px; }
.lab-dr .hb.close { width: 44px; height: 44px; background: #fff; position: relative; }
.lab-dr .hb.close i { position: absolute; width: 18px; background: var(--lab-blue); transform: rotate(45deg); }
.lab-dr .hb.close i + i { transform: rotate(-45deg); }

.lab-dr .dr-b { width: 100%; max-width: 640px; margin: 0 auto; padding: 8px 20px 32px; display: flex; flex-direction: column; }
.lab-dr ul { list-style: none; margin: 0; padding: 0; }
.lab-dr li { margin: 0; padding: 0; border: 0; }
.lab-dr li::before { display: none; }
.lab-dr .dn a { display: flex; align-items: center; gap: 14px; min-height: 60px; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.lab-dr .dn i { width: 30px; font-family: "Fjalla One", sans-serif; font-style: italic; font-size: 22px; color: rgba(190, 212, 255, .7); }
.lab-dr .dn b { font-size: 17px; font-weight: 700; letter-spacing: .08em; }
.lab-dr .dn small { margin-left: auto; font: 600 10px/1 Inter, sans-serif; letter-spacing: .14em; opacity: .8; }
.lab-dr .dn .on i { color: #fff; }
.lab-dr .dn .on b { border-bottom: 1.5px solid #fff; padding-bottom: 2px; }
.lab-dr .ds { margin-top: 20px; display: flex; flex-direction: column; }
.lab-dr .ds a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; letter-spacing: .06em; }
.lab-dr .ds svg { width: 16px; height: 16px; flex-shrink: 0; }
.lab-dr .dl { display: flex; align-items: center; gap: 4px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .22); }
.lab-dr .dl > span { margin-right: auto; font-size: 10px; letter-spacing: .16em; opacity: .75; }
.lab-dr .dl a { min-width: 44px; height: 44px; padding: 0 6px; display: grid; place-items: center; font-size: 13px; }
.lab-dr .dl a.on { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
/* メニュー内の公式SNS（2026-10-16） */
.lab-dr .dsn { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .22); }
.lab-dr .dsn > span { margin-right: auto; font: 600 10px/1 Inter, sans-serif; letter-spacing: .16em; opacity: .75; }
.lab-dr .dsn a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); display: grid; place-items: center; color: #fff; transition: background .3s, color .3s; }
.lab-dr .dsn a:hover { background: #fff; color: var(--lab-blue); }
.lab-dr .dsn svg { width: 17px; height: 17px; }

/* ---- ロゴ：TOPと同じアイコン（b/logo-inawashiro-white.png）の形を一色で塗る ---- */
.lab-hd .logo-mark,
.lab-dr .logo-mark { display: block; height: 48px; aspect-ratio: 1208 / 1302; background: var(--lab-blue); -webkit-mask: url('b/logo-inawashiro-white.png') center / contain no-repeat; mask: url('b/logo-inawashiro-white.png') center / contain no-repeat; }
.lab-dr .logo-mark { height: 40px; background: #fff; }
@media (max-width: 700px) {
	.lab-hd .logo-mark { height: 40px; }
}

/* ---- タイトル帯（デザインの .ptl）。今のサイトのタイトル帯・パンくずは隠す ---- */
.section.page-header,
.section.breadSection { display: none !important; }
.lab-ptl { position: relative; height: 440px; overflow: hidden; color: #fff; background: #1a4fa8 url('header/hero-c01-bandai-winter.jpg') 44% 46% / cover no-repeat; font-family: "Zen Kaku Gothic New", sans-serif; -webkit-font-smoothing: antialiased; }
/* 写真の上には何も重ねない（2026-10-16 ユーザー指示：青いグラデーションでサクラが青く見えたため、影も含めて削除）。
   白い文字が明るい写真でも読めるよう、文字だけにごく薄い影を付ける */
.lab-ptl::before { content: none; }
.lab-ptl .bc,
.lab-ptl .ttl { text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.lab-ptl .big { filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .18)); }
/* 大きな英字（NEWS・SEE など）は下へ薄くなるグラデーションをやめて普通の白に（2026-10-16 ユーザー指示） */
section.lab-ptl .big { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; -webkit-text-fill-color: #fff; }
.lab-ptl-in { position: relative; height: 100%; padding: 24px 56px 0; display: flex; flex-direction: column; }
.lab-ptl .bc { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; letter-spacing: .08em; }
.lab-ptl .bc a { color: #fff; text-decoration: none; }
.lab-ptl .bc a:hover { text-decoration: underline; }
.lab-ptl .bc span { opacity: .7; }
.lab-ptl .bc em { font-style: normal; opacity: .9; max-width: 40em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lab-ptl .ttl { margin: auto 0 0; padding: 0; border: 0; background: none; color: #fff; font-family: "Zen Kaku Gothic New", sans-serif; font-size: 40px; font-weight: 700; letter-spacing: .1em; line-height: 1.4; }
.lab-ptl .ttl::before,
.lab-ptl .ttl::after { display: none; }
.lab-ptl .big { display: block; font-family: "Fjalla One", sans-serif; font-weight: 400; font-size: 180px; line-height: 1; letter-spacing: .02em; white-space: nowrap; margin-bottom: -.14em; background: linear-gradient(to bottom, #fff 30%, rgba(255, 255, 255, .25)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (max-width: 1240px) {
	.lab-ptl { height: 360px; }
	.lab-ptl-in { padding: 20px 32px 0; }
	.lab-ptl .ttl { font-size: 32px; }
	.lab-ptl .big { font-size: clamp(96px, 12vw, 150px); }
}
@media (max-width: 700px) {
	.lab-ptl { height: 300px; }
	.lab-ptl-in { padding: 14px 20px 0; }
	.lab-ptl .bc { gap: 8px; font-size: 11px; }
	.lab-ptl .bc em { max-width: 14em; }
	.lab-ptl .ttl { font-size: 24px; letter-spacing: .08em; }
	.lab-ptl .big { font-size: min(96px, 22vw); }
}
/* ===== ヘッダーをタイトル帯の写真の上に重ねる（2026-10-15 ユーザー指定のデザイン） =====
   帯の上では透明＋白い文字、帯を過ぎたら .solid が付いて今までの白い背景に戻る（header.php の JS） */
.lab-hd.ov { position: fixed; left: 0; right: 0; top: 0; transition: background .3s, box-shadow .3s, color .3s; }
.lab-hd.ov:not(.solid) { background: transparent; box-shadow: none; color: #fff; text-shadow: 0 1px 8px rgba(10, 30, 80, .35); }
.lab-hd.ov:not(.solid) a:hover { color: #cfdcff; }
.lab-hd.ov:not(.solid) .logo-mark { background: #fff; }
.lab-hd.ov:not(.solid) .gn a + a::before { background: rgba(255, 255, 255, .5); }
.lab-hd.ov:not(.solid) .gn i { color: rgba(220, 232, 255, .8); }
.lab-hd.ov:not(.solid) .gn small { color: #fff; }
.lab-hd.ov:not(.solid) .gn .on i,
.lab-hd.ov:not(.solid) .gn .on b { color: #fff; }
.lab-hd.ov:not(.solid) .gn .on::after { background: #fff; }
.lab-hd.ov:not(.solid) .mp { border-left-color: rgba(255, 255, 255, .45); }
.lab-hd.ov:not(.solid) .lg a.on { color: #fff; }
.lab-hd.ov:not(.solid) .hb { background: transparent; border: 1.5px solid #fff; }
/* 言語切替：アイコンのみ。押すと JP/EN/中文/한국어 の一覧が下に開く（2026-10-16） */
.lab-hd .lg.lg-ic { position: relative; display: block; }
.lab-hd .lg-ic summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #c9d3e0; display: grid; place-items: center; color: #0f2150; transition: background .3s, color .3s, border-color .3s; }
.lab-hd .lg-ic summary::-webkit-details-marker { display: none; }
.lab-hd .lg-ic summary svg { width: 20px; height: 20px; }
.lab-hd .lg-ic summary:hover,
.lab-hd .lg-ic[open] summary { background: var(--lab-blue); border-color: var(--lab-blue); color: #fff; }
.lab-hd.ov:not(.solid) .lg-ic summary { border-color: rgba(255, 255, 255, .7); color: #fff; }
.lab-hd .lg-ic .lg-mn { position: absolute; top: calc(100% + 8px); right: 0; z-index: 10; min-width: 120px; padding: 6px; background: #fff; border-radius: 10px; box-shadow: 0 10px 28px rgba(15, 33, 80, .16); display: flex; flex-direction: column; gap: 2px; text-shadow: none; }
.lab-hd .lg-ic .lg-mn a,
.lab-hd.ov:not(.solid) .lg-ic .lg-mn a { display: block; padding: 9px 14px; border-radius: 6px; color: #0f1a22; font-size: 13px; text-decoration: none; }
.lab-hd .lg-ic .lg-mn a.on,
.lab-hd.ov:not(.solid) .lg-ic .lg-mn a.on { background: var(--lab-blue); color: #fff; }
.lab-hd .lg-ic .lg-mn a:not(.on):hover { background: #eef3fd; color: var(--lab-blue); }
/* 子テーマ style.css がスマホで古いヘッダー用に body へ 46px の余白を入れているので消す（帯をページのいちばん上から始める） */
html body { padding-top: 0 !important; }
/* ヘッダーの分だけタイトル帯を高くし、パンくずをヘッダーの下に */
/* 2026-10-20 ユーザー指示で2回低く（536/456/364 → 420/360/280 → 340/300/230）。英字も合わせて小さく */
.lab-ptl { height: 340px; }
.lab-ptl-in { padding-top: 116px; }
/* 大きい英字はTOPの「INAWASHIRO」と同じ Anton */
.lab-ptl .big { font-family: Anton, sans-serif; font-size: 110px; letter-spacing: .01em; margin-bottom: -.12em; background: linear-gradient(to bottom, #fff 35%, rgba(255, 255, 255, .3)); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 1240px) {
	.lab-ptl { height: 300px; }
	.lab-ptl-in { padding-top: 108px; }
	.lab-ptl .big { font-size: clamp(80px, 8.5vw, 100px); }
}
@media (max-width: 700px) {
	.lab-ptl { height: 230px; }
	.lab-ptl-in { padding-top: 74px; }
	.lab-ptl .big { font-size: min(64px, 16vw); }
}
/* ===== フォント（下層ページ）：白馬村公式観光サイトと同じ使い分け（Downloads/hakuba-fonts.md） =====
   日本語・本文・見出し＝Zen Kaku Gothic New ／ 英字の見出し＝Fjalla One（タイトル帯の英字・メニュー番号） ／ 日付・コピーライト・言語切替＝Inter
   今のテーマの style.css が body,html に丸ゴシックを !important で指定しているので、より強い指定で上書きする */
:root,
html body { font-family: "Zen Kaku Gothic New", sans-serif !important; }
html body button,
html body input,
html body select,
html body textarea { font-family: "Zen Kaku Gothic New", sans-serif; }
html body .entry-meta,
html body .entry-meta_items,
html body .entry-meta .updated,
html body .custom_archive_li p.small,
html body .copySection,
html body .trp-language-switcher,
html body .trp-language-item-name { font-family: Inter, "Zen Kaku Gothic New", sans-serif; }
/* 本文に宿泊予約（tripla）を埋め込んでいる記事用のボタンもテーマカラーの青に（今の style.css では緑） */
html body #tripla-close-stay,
html body #tripla-open-stay { background: #1a47e6; }
html body #tripla-open-stay:hover { background: #0f2f9e; }
:root { --tripla-theme-color: #1a47e6 !important; }