/* 主役となる写真と、常に独立して読める店舗名・案内。 */
.hero-media { position:absolute; inset:0; }
.hero-slide { overflow:hidden; }
.hero-slide img { transform:scale(1.09); }
.hero-slide.is-active img, .hero-slide.is-leaving img { animation:hero-zoom 9s linear both; }
@keyframes hero-zoom { from { transform:scale(1.01); } to { transform:scale(1.09); } }
.hero-shade { pointer-events:none; background:linear-gradient(90deg,rgba(5,8,9,.45) 0%,rgba(5,8,9,.15) 38%,rgba(5,8,9,.12) 76%,rgba(5,8,9,.35) 100%); }
.hero-logo img { filter:brightness(0) invert(1); }

/* メニューは全ページで共通。各リンクは横書き、予約を同じ中に配置する。 */
.header { position:relative; z-index:40; }
.desktop-nav,.header-book,.language-nav { display:none!important; }
.menu-toggle { position:relative; z-index:45; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; width:52px; height:52px; padding:10px; margin-left:auto; color:#252b27; }
.menu-toggle span { display:block; width:27px; height:1px; background:currentColor; transition:transform .3s ease; }
.menu-toggle[aria-expanded=true] { color:#252b27!important; }
.menu-toggle[aria-expanded=true] span:first-child { transform:translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { transform:translateY(-4px) rotate(-45deg); }
.mobile-menu[hidden] { display:none!important; }
.mobile-menu:not([hidden]) { position:fixed; display:flex; flex-direction:column; align-items:stretch; gap:0; z-index:35; inset:0 0 0 auto; width:min(440px,100%); padding:clamp(100px,16vh,150px) clamp(38px,5vw,72px) 40px; overflow-y:auto; background:#fafaf7; color:#333a35; box-shadow:-18px 0 60px rgba(0,0,0,.15); border:0; }
.mobile-menu a { display:block; width:100%; padding:16px 0; color:#333a35; font-size:15px; letter-spacing:.13em; line-height:1.7; writing-mode:horizontal-tb; }
.mobile-menu a:hover { color:#808b77; }
.mobile-menu a[aria-current=page] { text-decoration:underline; text-underline-offset:7px; }
.mobile-menu .menu-reservation { margin-top:28px; padding:13px 18px; border:1px solid #a7aca2; text-align:center; transition:background .3s,color .3s; }
.mobile-menu .menu-reservation:hover { background:#303b33; color:#fff; }
@media (min-width:901px), (min-width:600px) and (pointer:fine) {
  body:has(#top.hero) > .header { position:absolute; top:0; left:0; right:0; height:96px; padding:22px 4.2%; }
  body:has(#top.hero) > .header .brand { visibility:hidden; }
  body:has(#top.hero) .menu-toggle { color:white; }
  #top.hero { display:block; height:100vh; height:100svh; min-height:0; max-height:none; width:100%; margin:0; padding:0; background:#090e15; color:#fff; }
  #top .hero-media, #top .hero-image { position:absolute; inset:0; min-width:0; min-height:0; }
  #top .hero-image img { object-position:center 69%; }
  #top .hero-slide--chef img { object-position:center 48%; }
  #top .hero-slide--interior img { object-position:center 58%; }
  #top .hero-logo { position:absolute; top:27%; left:9%; width:clamp(58px,5vw,82px); height:clamp(150px,24vh,220px); animation:letter-enter 1.3s .2s both; }
  #top .hero-copy { position:absolute; top:33%; left:25%; right:auto; margin:0; font-size:clamp(15px,1.2vw,18px); line-height:2.1; letter-spacing:.20em; writing-mode:vertical-rl; text-orientation:upright; animation:letter-enter 1.3s .5s both; }
}
@media (max-width:900px) {
  .header { justify-content:space-between; }
  .menu-toggle { margin-left:auto; }
  .mobile-menu:not([hidden]) { top:0; right:0; left:auto; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-slide.is-active img, .hero-slide.is-leaving img { animation:none; transform:none; }
  .hero-slide { transition:none; }
}
/* PCではメニューを画面上部に横長で開く。 */
@media (min-width:901px) {
  .mobile-menu:not([hidden]) { inset:0 0 auto; width:100%; min-height:96px; max-height:none; padding:18px 120px 18px 150px; display:flex; flex-direction:row; align-items:center; justify-content:center; gap:clamp(12px,2.2vw,34px); overflow:visible; background:rgba(0,0,0,.90); box-shadow:none; }
  .mobile-menu a { width:auto; padding:12px 0; color:#fff; font-size:14px; white-space:nowrap; }
  .mobile-menu a:hover { color:#d4d9ce; }
  .mobile-menu .menu-reservation { margin:0 0 0 8px; padding:9px 18px; border-color:rgba(255,255,255,.65); }
  .mobile-menu .menu-reservation:hover { background:#fff; color:#26312b; }
  body:has(.menu-toggle[aria-expanded=true]) .menu-toggle { color:#fff!important; }
  body:has(.menu-toggle[aria-expanded=true]) .header .brand img { filter:brightness(0) invert(1); }
}
@media (min-width:901px) and (max-width:1120px) {
  .mobile-menu:not([hidden]) { padding-left:90px; padding-right:90px; gap:14px; }
  .mobile-menu a { font-size:13px; letter-spacing:.04em; }
  .mobile-menu .menu-reservation { padding-inline:10px; margin-left:0; }
}
.header { pointer-events:none; }
.header .brand, .header .menu-toggle { pointer-events:auto; }
/* 動きの停止はFVの表示を邪魔しないようメニュー内に収める。 */
.mobile-menu .menu-motion-toggle:not([hidden]) { display:block; width:fit-content; padding:12px 0; font-size:13px; letter-spacing:.08em; color:#59645a; text-align:left; }
@media (min-width:901px) {
  .mobile-menu .menu-motion-toggle:not([hidden]) { flex:none; color:#fff; font-size:12px; white-space:nowrap; }
}

.hero-motion-paused .hero-slide.is-active img { animation-play-state:paused; }

/* 共通ナビゲーションの項目と操作を分け、広さに応じて余白を確保。 */
.menu-pages { display:flex; flex-direction:column; }
.menu-actions { display:flex; flex-direction:column; align-items:flex-end; gap:24px; }
.mobile-menu .menu-reservation { width:auto; min-width:190px; }
@media (min-width:901px) {
  .mobile-menu:not([hidden]) { justify-content:space-between; gap:clamp(22px,3vw,50px); padding-left:clamp(100px,8vw,160px); padding-right:calc(4.2vw + 52px + clamp(30px,3vw,52px)); }
  .menu-pages { flex-direction:row; align-items:center; gap:clamp(24px,3.4vw,64px); margin-inline:auto; }
  .menu-actions { flex:none; flex-direction:row; align-items:center; gap:clamp(36px,3.5vw,56px); }
  .mobile-menu .menu-reservation { min-width:0; margin:0; padding:12px 27px; letter-spacing:.16em; }
}
@media (min-width:901px) and (max-width:1120px) {
  .mobile-menu:not([hidden]) { padding-left:70px; padding-right:calc(4.2vw + 52px + 24px); gap:18px; }
  .menu-pages { gap:clamp(17px,2vw,24px); }
  .menu-actions { gap:26px; }
  .mobile-menu .menu-reservation { padding-inline:17px; }
}
@media (max-width:900px) {
  .menu-pages { gap:8px; }
  .menu-actions { margin-top:28px; }
  .mobile-menu .menu-reservation { margin:0; }
}

/* メニューボタンはスクロール中も表示し、FV上と明るい領域で色を切り替える。 */
.menu-toggle { position:fixed; top:21px; right:4.2%; margin:0; color:#111; transition:color .25s ease; }
body:has(#top.hero) .menu-toggle:not(.is-over-hero) { color:#111; }
body:has(#top.hero) .menu-toggle.is-over-hero { color:#fff; }
@media (max-width:760px) {
  .menu-toggle { top:12px; right:6%; }
}
@media (max-width:380px) {
  .menu-toggle { right:4%; }
}

/* ページリンクは画面中央に揃え、予約ボタンは閉じるボタンの左に配置。 */
@media (min-width:901px) {
  .mobile-menu:not([hidden]) { display:block; height:96px; padding:0; }
  .mobile-menu .menu-pages {
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    display:flex; flex-direction:row; align-items:center;
    gap:clamp(28px,3.5vw,64px); margin:0; white-space:nowrap;
  }
  .mobile-menu .menu-actions {
    position:absolute; top:50%; right:calc(4.2% + 82px); transform:translateY(-50%);
    margin:0; display:block;
  }
}
@media (min-width:901px) and (max-width:959px) {
  .mobile-menu:not([hidden]) { height:156px; }
  .mobile-menu .menu-pages { top:48px; gap:clamp(20px,2.8vw,34px); }
  .mobile-menu .menu-actions { top:109px; right:auto; left:50%; transform:translate(-50%,-50%); }
}
/* 共通ヘッダーのロゴはFVと同じく表示しない。 */
.header .brand { visibility:hidden; }

