/* 会社サイト（kmbe-site）と同じヘッダー・フッター
   サイトの css/style.css の .top・.nav・.menu-btn・footer に合わせています。
   予約システムの部品と名前がぶつからないよう、頭に site- を付けています。 */
html { scroll-padding-top: 64px; }
body.has-chrome { display: flex; flex-direction: column; min-height: 100vh; }
body.has-chrome > main { flex: 1 0 auto; width: 100%; }

.site-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.site-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.site-top { position: sticky; top: 0; z-index: 10; background: #4a2f1b; color: #fff; line-height: 1.85; }
.site-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.site-brand { display: block; text-decoration: none; }
.site-brand img { width: 210px; height: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: .9rem; }
.site-nav a { color: inherit; text-decoration: none; opacity: .9; }
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.site-nav .site-btn { display: inline-block; background: #c0392b; color: #fff; font-weight: 700; padding: 6px 16px; font-size: .85rem; border-radius: 999px; border: 1.5px solid transparent; opacity: 1; text-decoration: none; transition: opacity .15s; }
.site-nav .site-btn:hover { opacity: .88; text-decoration: none; }
.site-menu-btn { display: none; }

.site-footer { background: #2b1c10; color: rgba(255, 255, 255, .75); text-align: center; font-size: .85rem; padding: 22px 0; line-height: 1.85; }
.site-footer p { margin: 0; }

@media (max-width: 860px) {
  .site-brand img { width: 170px; }
  .site-menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
  .site-menu-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-open .site-menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .site-menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .site-menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; background: #4a2f1b; padding: 4px 20px 20px; box-shadow: 0 12px 20px rgba(0, 0, 0, .2); font-size: 1rem; }
  .menu-open .site-nav { display: flex; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
  .site-nav .site-btn { margin-top: 16px; text-align: center; padding: 12px; border-bottom: 0; font-size: 1rem; }
}
