/* ============================================================
   三上勘兵衛本店 — Template C（作り直し版）
   構成の型は holahoo.com（オーベルジュ）を抽象参照：
   全画面バイリンガルヒーロー＋ティーザー型セクション（EN見出し＋和ラベル＋短文）
   ＋常設予約ボタン。コピー・意匠・固有表現は流用せず、三上のブランド配色で構築。
   ============================================================ */
:root {
  --bg: #f6f3ec;            /* 温かみのある紙白 */
  --surface: #fffdf8;
  --fg: #23292a;            /* 墨 */
  --muted: #6b6459;
  --accent: #55655e;        /* 塗り壁のブルーグレー */
  --line: #e4ddce;
  --cta: #985e3e;           /* 灯（差し色・予約）＝Knotと共通の彩度落としトーン（2026-08-26 CEO指示で統一） */
  --cta-dark: #7b4c32;
  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-en: "Noto Serif JP", serif;
  --font-en-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans); font-weight: 500; color: var(--fg); background: var(--bg);
  line-height: 1.95; font-size: 15px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- ヘッダー（透過→スクロールで淡色） ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 44px); color: #fff;
  transition: background .3s, color .3s, box-shadow .3s, padding .3s;
}
.site-header.is-solid { background: rgba(246, 243, 236, .94); color: var(--fg); box-shadow: 0 1px 14px rgba(0,0,0,.06); padding-top: 12px; padding-bottom: 12px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.brand { display: block; width: 150px; height: 150px; flex-shrink: 0;
  background: url("assets/images/logo-white.png") center/contain no-repeat;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .5)); transition: filter .3s; }
/* スクロールで淡色化した際はコンパクトな黒ロゴに縮小（ヘッダーが縦長になりすぎないように） */
.site-header.is-solid .brand { width: 120px; height: 36px; background-image: url("assets/images/logo-wordmark-black.png"); filter: none; }
@media (max-width: 860px) { .brand { width: 88px; height: 88px; } }
.header-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); }
.main-nav a { font-family: var(--font-serif); font-size: 13.5px; letter-spacing: .12em; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px; background: currentColor; transition: width .25s; }
.main-nav a:hover::after { width: 100%; }
.nav-reserve { font-family: var(--font-en-sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; padding: 10px 22px; background: var(--cta); color: #fff; border-radius: 2px; transition: background .25s; }
.nav-reserve:hover { background: var(--cta-dark); }
.nav-toggle { display: none; font-family: var(--font-en-sans); font-size: 11px; letter-spacing: .2em; z-index: 130; }
/* 言語切替 JP / EN（テンプレートB由来）。色はヘッダーを継承（ヒーロー上=白／is-solid=墨）。
   z-index はモバイル全画面ナビ(120)より上にして、メニュー展開中も表示を保つ */
.lang-switch { display: flex; align-items: center; gap: 6px; font-family: var(--font-en-sans); font-size: 11px; font-weight: 600; letter-spacing: .1em; position: relative; z-index: 130; }
.lang-switch a { opacity: .7; transition: opacity .2s; }
.lang-switch a:hover { opacity: 1; }
.lang-switch .lang-sep { opacity: .5; font-weight: 400; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
/* ヒーロー画像のクロスフェード切替（Knotと同実装・2026-08-27移植）
   - ズームは全スライド常時ゆっくり往復（22s alternate）＝切替時のスナップなし
   - 「新しい写真を上に重ねてフェードイン」方式（was-activeが下で不透明のまま）＝明度の谷なし
   - JS無効時は is-active の1枚目が静止表示 */
.hero-media { z-index: 0; }
.hero-media img {
  opacity: 0; z-index: 0;
  transition: opacity 2.4s cubic-bezier(.4, 0, .2, 1);
  animation: hero-zoom 22s ease-in-out infinite alternate;
}
.hero-media img.is-active { opacity: 1; z-index: 2; }
.hero-media img.was-active { opacity: 1; z-index: 1; }
.hero-media::after { z-index: 3; }
@keyframes hero-zoom { from { transform: scale(1.01); } to { transform: scale(1.06); } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,24,24,.34) 0%, rgba(20,24,24,.18) 40%, rgba(20,24,24,.5) 100%); }
.hero-inner { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding: clamp(40px, 9vh, 120px) clamp(24px, 6vw, 84px); }
.hero-en-eyebrow { font-family: var(--font-en); font-style: italic; font-size: clamp(14px, 1.44vw, 18px); letter-spacing: .04em; opacity: .95; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero-jp-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(21px, 2.56vw, 32px); letter-spacing: .12em; line-height: 1.5; margin: 10px 0 22px; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.hero-jp-sub { font-family: var(--font-serif); font-weight: 400; font-size: clamp(10.5px, 1.2vw, 13px); line-height: 2.2; max-width: 32em; letter-spacing: .06em; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hero-en-sub { font-family: var(--font-en); font-size: clamp(10.5px, 1.12vw, 13px); line-height: 1.8; max-width: 40em; margin-top: 14px; opacity: .92; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; align-self: flex-start; padding: 14px 30px; background: var(--cta); color: #fff; font-family: var(--font-sans); font-weight: 600; font-size: 14px; letter-spacing: .08em; box-shadow: 0 8px 26px rgba(0,0,0,.3); transition: background .25s, transform .2s; }
.hero-cta::after { content: "→"; font-family: var(--font-en-sans); }
.hero-cta:hover { background: var(--cta-dark); transform: translateY(-2px); }
.hero-scroll { position: absolute; right: clamp(20px, 4vw, 44px); bottom: 26px; z-index: 2; writing-mode: vertical-rl; font-family: var(--font-en-sans); font-size: 9px; letter-spacing: .3em; color: rgba(255,255,255,.85); }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 42px; margin: 10px auto 0; background: rgba(255,255,255,.7); }

/* ---------- セクション共通 ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(46px, 8vh, 84px) clamp(22px, 5vw, 40px); }
.sec-head { margin-bottom: 30px; }
.sec-en { font-family: var(--font-en); font-style: normal; font-weight: 600; font-size: clamp(28px, 4.6vw, 46px); color: var(--accent); line-height: 1.15; letter-spacing: .04em; }
.sec-jp { display: block; font-family: var(--font-serif); font-weight: 600; font-size: 14px; letter-spacing: .28em; color: var(--fg); margin-top: 10px; }
.sec-center { text-align: center; }
.sec-center .sec-head { margin-left: auto; margin-right: auto; }

/* ---------- ティーザー（画像＋テキスト交互） ---------- */
.teaser { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 880px) { .teaser { grid-template-columns: 1.05fr 1fr; }
  .teaser--rev .teaser-figure { order: 2; } }
.teaser-figure { margin: 0; overflow: hidden; }
.teaser-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.teaser + .teaser { margin-top: clamp(36px, 6vh, 68px); }
.teaser-body p { font-size: 14.5px; line-height: 2.15; color: var(--fg); max-width: 34em; margin-top: 16px; }
.teaser-more { display: inline-block; margin-top: 24px; font-family: var(--font-en-sans); font-size: 11px; letter-spacing: .28em; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 4px; }

/* ---------- 客室・空間 ---------- */
.room-grid { display: grid; gap: clamp(20px, 3vw, 30px); grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 720px) { .room-grid { grid-template-columns: 1fr 1fr; } }
.room-card figure { margin: 0; overflow: hidden; }
.room-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.room-card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 18px; letter-spacing: .06em; margin: 16px 0 4px; }
.room-card p { font-size: 13px; color: var(--muted); }
.mini-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 720px) { .mini-grid { grid-template-columns: repeat(3, 1fr); } }
.mini-card figure { margin: 0; overflow: hidden; }
.mini-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.mini-card h4 { font-family: var(--font-serif); font-weight: 600; font-size: 14.5px; margin: 12px 0 3px; letter-spacing: .04em; }
.mini-card p { font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.spec-list { border-top: 1px solid var(--line); margin-top: 48px; max-width: 60em; }
.spec-list > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 15px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .spec-list > div { grid-template-columns: 190px 1fr; gap: 20px; } }
.spec-list dt { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; color: var(--accent); }
.spec-list dd { font-size: 13.5px; color: var(--fg); line-height: 1.85; overflow-wrap: anywhere; }
.spec-note { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.8; }

/* ---------- ギャラリー ---------- */
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1080px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid figure { margin: 0; overflow: hidden; }
.gallery-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .5s; }
.gallery-grid figure:hover img { transform: scale(1.05); }

/* ---------- アクセス ---------- */
.access-map { margin: 0 0 10px; }
.access-map iframe { width: 100%; height: 300px; border: 0; }
@media (min-width: 900px) { .access-map iframe { height: 380px; } }
.access-map-link { text-align: right; font-size: 12.5px; margin-top: 8px; }
.access-map-link a { color: var(--accent); text-decoration: underline; }
.access-cols { display: grid; gap: 34px; margin-top: 34px; }
@media (min-width: 760px) { .access-cols { grid-template-columns: 1fr 1.3fr; column-gap: 56px; } }
.access-subhead { font-family: var(--font-en-sans); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.access-name { font-family: var(--font-serif); font-weight: 600; font-size: 17px; letter-spacing: .06em; }
.access-addr { font-size: 14px; line-height: 1.9; margin-top: 6px; }
.access-tel { margin-top: 6px; font-size: 14px; }
.access-group { margin-bottom: 22px; }
.access-group h4 { font-family: var(--font-serif); font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.access-group p { font-size: 13.5px; line-height: 1.9; color: var(--fg); }
.access-note { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.8; }

/* ---------- Instagram ---------- */
.insta { text-align: center; }
.insta p { font-size: 14px; color: var(--muted); max-width: 34em; margin: 0 auto 22px; line-height: 2; }
.insta-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en-sans); font-size: 14px; letter-spacing: .1em; padding: 12px 26px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .25s, color .25s; }
.insta-link:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- FAQ ---------- */
/* FAQ：テンプレートB由来の常時表示リスト（アコーディオンは廃止・タップ不要で見渡せる整理感） */
.faq-list { max-width: 52em; margin: 0 auto; border-top: 1px solid var(--line); text-align: left; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.faq-item dt { font-family: var(--font-serif); font-weight: 600; font-size: 15px; letter-spacing: .04em; margin-bottom: 8px; }
.faq-item dt::before { content: "Q."; color: var(--cta); font-family: var(--font-en-sans); font-weight: 600; margin-right: 10px; }
.faq-item dd { color: var(--muted); font-size: 13.5px; line-height: 2; padding-left: 26px; }

/* ---------- 予約バンド ---------- */
.reserve-band { background: var(--accent); color: #fff; text-align: center; padding: clamp(46px, 7vh, 80px) 24px; }
.reserve-band .sec-en { color: rgba(255,255,255,.9); }
.reserve-band .sec-jp { color: #fff; }
.reserve-band p { max-width: 32em; margin: 18px auto 30px; font-size: 14px; line-height: 2; opacity: .95; }
.reserve-band .hero-cta { background: var(--cta); }
.reserve-band .hero-cta:hover { background: var(--cta-dark); }

/* ---------- フッター ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(44px, 6vh, 72px) 24px 38px; text-align: center; }
.footer-logo { width: 120px; height: 120px; margin: 0 auto 12px; background: url("assets/images/logo-black.png") center/contain no-repeat; }
.footer-jp { font-family: var(--font-serif); font-weight: 600; font-size: 15px; letter-spacing: .2em; }
.footer-info { font-size: 12.5px; color: var(--muted); line-height: 2; margin-top: 14px; }
.footer-info a { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin: 22px 0 6px; font-size: 11px; }
.footer-links a { color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--cta); }
.footer-links--legal { font-size: 10.5px; opacity: .9; }
.footer-copy { font-size: 10px; color: var(--muted); letter-spacing: .08em; margin-top: 14px; }
.footer-produced { font-size: 10px; color: var(--muted); letter-spacing: .06em; opacity: .8; margin-top: 6px; }

/* ---------- モバイルナビ ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  /* 固定ヘッダーの backdrop-filter は、position:fixed の子(.main-nav)に対して
     「包含ブロック」を生成してしまい、全画面オーバーレイ(inset:0)がヘッダー枠(約60px)
     内に閉じ込められる。メニューを開くと is-solid が付くため必ず発生する。
     モバイルではブラーを外してトラップを回避する（淡色背景・影は維持）。 */
  .site-header.is-solid { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .main-nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: #f6f3ec; color: var(--fg); z-index: 120;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav a { font-size: 19px; letter-spacing: .14em; }
  .nav-reserve { display: none; }
  .header-nav { gap: 16px; }
}

/* ---------- 画像クレジット（自社提供のため既定非表示） ---------- */
.image-credit { display: none; }

/* ============================================================
   Legal pages / credits（generate_site.py が生成する法的3ページ用）
   ============================================================ */
.section-en { font-family: var(--font-en-sans); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.legal-page, .credits-page { max-width: 880px; margin: 120px auto 72px; padding: 0 28px; }
.legal-page h1, .credits-page h1 { font-family: var(--font-serif); font-weight: 600; font-size: 26px; margin: 14px 0 18px; letter-spacing: .06em; line-height: 1.5; }
.legal-lead, .credits-intro { color: var(--muted); margin-bottom: 28px; font-size: 13.5px; max-width: 46em; line-height: 1.95; }
.legal-page h2, .credits-page h2 { font-family: var(--font-serif); font-weight: 600; font-size: 16px; margin: 34px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.legal-body p { font-size: 13.5px; line-height: 1.95; margin-bottom: 14px; max-width: 46em; }
.legal-body ol, .legal-body ul { margin: 0 0 16px 1.4em; max-width: 46em; }
.legal-body li { font-size: 13.5px; line-height: 1.95; margin-bottom: 7px; list-style: disc; }
.legal-body ol li { list-style: decimal; }
.legal-table { margin: 6px 0 22px; border-top: 1px solid var(--line); max-width: 54em; }
.legal-table > div { display: grid; grid-template-columns: 1fr; gap: 3px; padding: 15px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .legal-table > div { grid-template-columns: 210px 1fr; gap: 24px; } }
.legal-table dt { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.legal-table dd { font-size: 13.5px; line-height: 1.9; }
.legal-link, .credit-file { color: var(--accent); text-decoration: underline; word-break: break-all; }
.legal-todo { color: var(--cta-dark); font-weight: 600; }
.legal-note, .credits-empty { font-size: 12px; color: var(--muted); line-height: 1.85; margin-top: 6px; }
.legal-updated { font-size: 11.5px; color: var(--muted); margin-top: 30px; }
.legal-back, .credits-back { margin-top: 16px; font-size: 12px; }
.legal-back a, .credits-back a { color: var(--accent); text-decoration: underline; }
.credits-list { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }

/* 法的・クレジットページ用ヘッダー：ヒーロー用の「固定・透過・大きい白ロゴ」を上書きし、
   在来配置の淡色バー＋黒ワードマークにする（本文への被り・ロゴの透け防止） */
.page-legal .site-header,
.page-credits .site-header {
  position: static; justify-content: flex-start;
  background: var(--surface); color: var(--fg);
  box-shadow: 0 1px 0 var(--line);
  padding: 16px clamp(18px, 4vw, 44px);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.page-legal .brand,
.page-credits .brand {
  width: 168px; height: 50px;
  background-image: url("assets/images/logo-wordmark-black.png");
  filter: none;
}
/* 法的ページのヘッダーは左寄せ配置のため、JP/EN は右端へ寄せる */
.page-legal .lang-switch,
.page-credits .lang-switch { margin-left: auto; }
@media (max-width: 860px) {
  .page-legal .brand, .page-credits .brand { width: 140px; height: 42px; }
}
/* 在来配置ヘッダーに合わせ、固定ヘッダー前提の上マージン(120px)を詰める */
.page-legal .legal-page, .page-legal .credits-page,
.page-credits .legal-page, .page-credits .credits-page {
  margin-top: clamp(32px, 5vh, 56px);
}

/* ===== モバイル固定予約バー（テンプレートB由来） ===== */
.mobile-book-bar { display: none; }
@media (max-width: 860px) {
  /* SCROLL表示はバーと重なるため非表示（Bと同じ対処） */
  .hero-scroll { display: none; }
  .mobile-book-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    padding: 11px 16px calc(11px + env(safe-area-inset-bottom, 0px));
    background: var(--cta); color: #fff; text-align: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .16);
    transition: transform .3s ease, opacity .3s ease;
  }
  .mobile-book-bar:active { background: var(--cta-dark); }
  .mobile-book-bar .mbb-main { font-family: var(--font-sans); font-weight: 600; font-size: 15px; letter-spacing: .06em; }
  .mobile-book-bar .mbb-sub { font-size: 11px; opacity: .92; letter-spacing: .04em; }
  /* 予約バンド表示中は重複を避けて退避（script.js の IntersectionObserver が付与） */
  .mobile-book-bar.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
  body { padding-bottom: 66px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } .hero-media img { animation: none !important; } }


/* bunsetsu-keepall */
.hero-sub, .section-title, .poetic-intro, .spec-note,
.reservation-lead, .contact-lead, .stay-body-text,
.footer-address, .footer-credit,
.about-body, .facility-item, .spec-list, .faq-item, .faq-list,
.access-group, .access-note, .access-name, .access-addr,
.legal-page, .credits-intro {
  word-break: keep-all; line-break: strict; overflow-wrap: normal;
}
/* テンプレートC（holahoo型）の本文クラス：<wbr>（budoux文節）とセットで文節でのみ折り返す */
.hero-jp-title, .hero-jp-sub, .teaser-body, .sec-jp,
.room-card, .mini-card, .reserve-band p, .footer-info, .footer-jp {
  word-break: keep-all; line-break: strict; overflow-wrap: normal;
}

/* スマホはヒーローの文字量を絞る：英文サブ（日本語サブと重複する説明）は非表示（PCは従来どおり） */
@media (max-width: 860px) {
  .hero-en-sub { display: none; }
}
/* keep-all 下でも URL・メール・パス等の長い英字列は破綻回避 */
.legal-link, .credit-file { word-break: break-all; overflow-wrap: anywhere; }

/* ============================================================
   追加：③フォント / ②予約ボタン書体 / ④リビール / ⑧ライトボックス
   ============================================================ */
/* ③ ヒーローeyebrow「Miyazu, Kyoto by the Sea」を明朝系のシンプルで洗練された書体に */
.hero-en-eyebrow { font-family: var(--font-en); font-style: normal; font-weight: 500; letter-spacing: .12em; }

/* ② 予約ボタン Reserve ｜ 予約（英日混在のためJPフォールバック） */
.nav-reserve { font-family: "Inter", "Noto Sans JP", sans-serif; }

/* ④ スクロールで左右交互に現れるリビール（.reveal-on 時のみ隠す＝JS失敗時の可視性ガード） */
main { overflow-x: clip; }
.reveal-on .reveal { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal-on .reveal--l { transform: translateX(-52px); }
.reveal-on .reveal--r { transform: translateX(52px); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-on .reveal { opacity: 1; transform: none; transition: none; } }

/* ⑧ ギャラリーのライトボックス（クリックで拡大） */
.gallery-grid img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(16,18,18,.97); padding: 24px; cursor: zoom-out; }
.lightbox.is-open { display: flex; }
.lightbox-img { width: 94vw; height: 88vh; background: center/contain no-repeat; }
.lightbox-close { position: absolute; top: 16px; right: 22px; width: 44px; height: 44px; font-size: 30px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; }

/* ============================================================
   追加：② スマホのコンパクト化 / ④ お問い合わせ / ③ フッターSNSロゴ
   ============================================================ */
@media (max-width: 640px) {
  .section { padding: 36px 20px; }
  .sec-head { margin-bottom: 22px; }
  .teaser { gap: 20px; }
  .teaser + .teaser { margin-top: 30px; }
  .teaser-figure img { aspect-ratio: 3/2; }
  .room-card img, .mini-card img { aspect-ratio: 16/11; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .reserve-band { padding: 42px 20px; }
  .reserve-band p { margin: 14px auto 24px; }
  .hero-inner { padding-bottom: 40px; }
}

/* ④ お問い合わせ（テンプレB同様のカード） */
.contact-lead { font-size: 14px; color: var(--muted); max-width: 34em; margin: 0 auto 30px; line-height: 2; }
.contact-methods { display: grid; gap: 14px; max-width: 760px; margin-inline: auto; }
@media (min-width: 700px) { .contact-methods { grid-template-columns: repeat(3, 1fr); } }
.contact-method { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 24px 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, transform .25s; }
.contact-method:hover { border-color: var(--cta); transform: translateY(-2px); }
.contact-method-label { font-family: var(--font-en-sans); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.contact-method-value { font-size: 13px; color: var(--fg); white-space: nowrap; }

/* ③ フッターのSNSロゴ */
.footer-social { display: flex; gap: 16px; justify-content: center; margin: 18px 0 6px; }
.footer-social a { display: inline-flex; opacity: .9; transition: opacity .2s, transform .2s; }
.footer-social a:hover { opacity: 1; transform: translateY(-2px); }
.footer-social svg { width: 24px; height: 24px; display: block; }
