/* ================================================================
   LIGHTHOUSE デザインの仕上げ（2026-11-09）
   全店共通の依頼「木と本を参考に、おしゃれで動きのある作りに」（_共有/デザイン仕上げ_手順.md）。
   情報・文章・導線は変えず、見せ方と動きだけを変える。
   LIGHTHOUSE は白と黒の静かな古民家の雰囲気。差し色は店名の「灯台」から、灯りの金色を細い線と光にだけ使う。
   やめるときは site-config.php の LH_DESIGN_ON を false にする（このファイルが読み込まれなくなる）。
   ================================================================ */
:root{
  --lhd-lamp:#b8861b;
  --lhd-ease:cubic-bezier(.22,.61,.36,1);
  --lhd-serif:"Shippori Mincho","Hiragino Mincho ProN","Yu Mincho",serif;
  --lhd-latin:"Cormorant Garamond","Shippori Mincho",serif;
}

/* ---- 文字 ---- */
body{ -webkit-font-smoothing:antialiased; }
.lh-main h1, .lh-main h2, .lh-main h3, .lh-eyecatch h1, .lh-lead{ font-family:var(--lhd-serif); }
.lh-main h2, .lh-main h3{ font-weight:600; letter-spacing:.1em; }
.lh-eyecatch h1{ font-weight:500; letter-spacing:.12em; }
.lh-logo, .lh-brand-intro-main, .lh-brand-intro-sub, .lh-eyecatch-full h1{ font-family:var(--lhd-latin); }
.lh-logo{ letter-spacing:.28em; }
.lh-brand-intro-main{ letter-spacing:.42em; }
.lh-brand-intro-sub{ letter-spacing:.32em; color:var(--lhd-lamp); }

/* ---- 見出し：下の線が左から伸び、始まりに金の灯り ---- */
.lh-main h2{ position:relative; }
.lh-main h2::before{ content:""; position:absolute; left:0; bottom:-1px; width:44px; height:2px; background:var(--lhd-lamp); z-index:1; }
.lh-fx .lh-main h2.lhd-rv{ border-bottom-color:transparent; }
.lh-fx .lh-main h2.lhd-rv::after{ content:""; position:absolute; left:0; right:0; bottom:-1px; height:1px; background:var(--lh-ink);
  transform:scaleX(0); transform-origin:left center; transition:transform 1.1s var(--lhd-ease) .2s; }
.lh-fx .lh-main h2.lhd-rv::before{ transform:scaleX(0); transform-origin:left center; transition:transform .7s var(--lhd-ease) .1s; }
.lh-fx .lh-main h2.lhd-rv.is-in::after, .lh-fx .lh-main h2.lhd-rv.is-in::before{ transform:scaleX(1); }

/* ---- 画面上部の細い進み具合バー（灯りの色） ---- */
#lhd-progress{ position:fixed; left:0; top:0; height:2px; width:100%; z-index:2000; background:var(--lhd-lamp);
  transform-origin:0 50%; transform:scaleX(0); pointer-events:none; }

/* ---- トップの写真：ゆっくり寄る／文字が順に現れる／灯台の光がひと筋横切る ---- */
.lh-eyecatch{ overflow:hidden; }
.lh-eyecatch picture img, .lh-eyecatch > img{ animation:lhdKen 16s var(--lhd-ease) both; will-change:transform; }
@keyframes lhdKen{ from{ transform:scale(1.12); } to{ transform:scale(1); } }
.lh-eyecatch-scrim::after{ content:""; position:absolute; top:-20%; bottom:-20%; left:-60%; width:45%;
  background:linear-gradient(100deg, transparent 0%, rgba(255,240,200,.28) 50%, transparent 100%);
  transform:skewX(-18deg); animation:lhdBeam 3.2s var(--lhd-ease) 1.1s 1 both; pointer-events:none; }
@keyframes lhdBeam{ from{ left:-60%; opacity:0; } 15%{ opacity:1; } to{ left:130%; opacity:0; } }
.lh-fx .lh-eyecatch-text{ animation:lhdUp 1.1s var(--lhd-ease) .1s both; }
.lh-fx .lh-eyecatch-text > *{ opacity:0; animation:lhdUp 1s var(--lhd-ease) forwards; }
.lh-fx .lh-eyecatch-text > *:nth-child(1){ animation-delay:.35s; }
.lh-fx .lh-eyecatch-text > *:nth-child(2){ animation-delay:.55s; }
.lh-fx .lh-eyecatch-text > *:nth-child(3){ animation-delay:.75s; }
.lh-fx .lh-eyecatch-text > *:nth-child(4){ animation-delay:.95s; }
.lh-fx .lh-eyecatch-text > *:nth-child(5){ animation-delay:1.15s; }
/* 動きが止まる環境でも、2.5秒後には必ず全部見えるようにする（js が lhd-hero-done を付ける） */
.lhd-hero-done .lh-eyecatch-text, .lhd-hero-done .lh-eyecatch-text > *{ opacity:1!important; animation:none!important; transform:none!important; }
@keyframes lhdUp{ from{ opacity:0; transform:translateY(20px); } to{ opacity:1; transform:none; } }

/* 下へ誘う線（トップだけ） */
.lhd-scroll{ display:block; position:absolute; left:50%; bottom:22px; z-index:3; transform:translateX(-50%); color:#fff;
  font-family:var(--lhd-latin); font-size:12px; letter-spacing:.35em; text-align:center; pointer-events:none;
  text-shadow:0 1px 6px rgba(0,0,0,.35); }
.lhd-scroll::after{ content:""; display:block; width:1px; height:46px; margin:8px auto 0; background:rgba(255,255,255,.8);
  transform-origin:top; animation:lhdLine 2.2s var(--lhd-ease) infinite; }
@keyframes lhdLine{ 0%{ transform:scaleY(0); } 50%{ transform:scaleY(1); transform-origin:top; } 51%{ transform-origin:bottom; } 100%{ transform:scaleY(0); transform-origin:bottom; } }

/* ---- メニュー：スクロールすると少し透けてぼける／触れると下線が伸びる ---- */
.lh-header{ transition:background .4s, box-shadow .4s; }
.lh-header.lhd-stuck{ background:rgba(255,255,255,.86)!important; -webkit-backdrop-filter:saturate(1.3) blur(10px); backdrop-filter:saturate(1.3) blur(10px);
  box-shadow:0 6px 24px rgba(0,0,0,.06); }
.lh-nav a{ position:relative; }
.lh-nav a::after{ content:""; position:absolute; left:0; right:0; bottom:-6px; height:1px; background:var(--lhd-lamp);
  transform:scaleX(0); transform-origin:right; transition:transform .45s var(--lhd-ease); }
.lh-nav a:hover::after, .lh-nav a.is-current::after{ transform:scaleX(1); transform-origin:left; }

/* ---- 画面に入ると、下からそっと現れる ---- */
.lh-fx .lhd-rv{ opacity:0; transform:translateY(24px); transition:opacity 1s var(--lhd-ease), transform 1s var(--lhd-ease); }
.lh-fx .lhd-rv.is-in{ opacity:1; transform:none; }
/* 写真は幕が上がるように現れる */
.lh-fx .lhd-curtain{ clip-path:inset(0 0 100% 0); transition:clip-path 1.3s var(--lhd-ease); }
.lh-fx .lhd-curtain.is-in{ clip-path:inset(0 0 0 0); }

/* ---- 写真：触れると少し寄る ---- */
.lh-thumb-grid figure, .lh-case picture, .lh-case-figure{ overflow:hidden; }
.lh-thumb-grid figure img, .lh-case picture img{ transition:transform 1.2s var(--lhd-ease); }
.lh-thumb-grid figure:hover img, .lh-case picture:hover img{ transform:scale(1.05); }

/* ---- カード：触れると少し浮く ---- */
.lh-reasons > li, .lh-next-steps li, .lh-usecase-links li, .lh-guide-fit > div{
  transition:transform .5s var(--lhd-ease), box-shadow .5s var(--lhd-ease), border-color .5s, opacity 1s var(--lhd-ease);
}
.lh-reasons > li:hover, .lh-next-steps li:hover, .lh-guide-fit > div:hover{ transform:translateY(-4px); box-shadow:0 14px 34px rgba(0,0,0,.08); border-color:var(--lhd-lamp); }
.lh-fx .lhd-rv.is-in.lh-reasons-item:hover{ transform:translateY(-4px); }
.lh-usecase-links li:hover{ transform:translateX(4px); }

/* ---- ボタン：触れると浮いて、灯りがひと筋走る ---- */
.lh-btn, .lh-book-band-btn, .lh-header-cta-book{ position:relative; overflow:hidden;
  transition:transform .35s var(--lhd-ease), box-shadow .35s var(--lhd-ease), background .3s, color .3s; }
.lh-btn::after, .lh-book-band-btn::after, .lh-header-cta-book::after{ content:""; position:absolute; top:0; left:-120%; width:60%; height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,230,170,.45),transparent); transform:skewX(-20deg); transition:left .8s var(--lhd-ease); pointer-events:none; }
.lh-btn:hover::after, .lh-book-band-btn:hover::after, .lh-header-cta-book:hover::after{ left:140%; }
.lh-btn:hover, .lh-book-band-btn:hover{ transform:translateY(-2px); box-shadow:0 10px 26px rgba(0,0,0,.14); }
/* 予約へ進む主役のボタンは、ときどき灯りが走る */
.lh-eyecatch-cta .lh-btn:first-child::after, .lh-book-band-btn::after{ animation:lhdShine 5s var(--lhd-ease) 2.8s infinite; }
@keyframes lhdShine{ 0%{ left:-120%; } 22%,100%{ left:140%; } }

/* ---- 本文の文字リンク：下線が伸びる ---- */
.lh-main p a:not(.lh-btn), .lh-main li a:not(.lh-btn){ text-decoration:none; background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;
  transition:background-size .45s var(--lhd-ease); }
.lh-main p a:not(.lh-btn):hover, .lh-main li a:not(.lh-btn):hover{ background-size:0 1px; background-position:100% 100%; }

/* ---- 余白をひと回り広く ---- */
.lh-main h2, .lh-main > h2{ margin-top:6.5rem; }
.lh-brand-intro{ padding-top:5rem; padding-bottom:4.5rem; }

/* ---- 「動きを減らす」設定の端末では、動かさない ---- */
@media (prefers-reduced-motion: reduce){
  .lh-eyecatch picture img, .lh-eyecatch > img, .lh-eyecatch-scrim::after, .lhd-scroll::after,
  .lh-eyecatch-cta .lh-btn:first-child::after, .lh-book-band-btn::after{ animation:none!important; }
  .lh-eyecatch-scrim::after{ display:none; }
  .lh-fx .lhd-rv, .lh-fx .lhd-curtain, .lh-fx .lh-eyecatch-text, .lh-fx .lh-eyecatch-text > *{ opacity:1!important; transform:none!important; clip-path:none!important; animation:none!important; transition:none!important; }
}
@media (max-width:700px){
  .lh-main h2, .lh-main > h2{ margin-top:5rem; }
  .lhd-scroll{ bottom:84px; font-size:11px; }
  .lhd-scroll::after{ height:34px; }
}
