/* ===== 配色・基本設定 ===== */
:root {
  --background: #090909;
  --brand-red: #b7180c;
  --text: #eee7da;
  --muted: #b6ada0;
  --gold: #c5a778;
  --line: #39332b;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  padding-bottom: 0;
  /* カレンダーの全幅表示は、スクロールバーを除いた本文領域を基準にする。 */
  container-type: inline-size;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--gold); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif; font-weight: 400; }
h2 { margin-bottom: 28px; font-size: 29px; line-height: 1.5; }
h3 { font-size: 18px; font-weight: 500; }
.wrap { width: min(1040px, calc(100% - 80px)); margin-inline: auto; }
.note { color: var(--muted); font-size: 13px; }
.skip { position: absolute; top: -100px; left: 16px; background: var(--background); padding: 12px; z-index: 5; }
.skip:focus { top: 12px; }

/* ===== ロゴ・ナビゲーション ===== */
.site-header { background: var(--background); color: #fff; }
.logo-band { background: var(--brand-red); }
.site-header a:hover { color: #fff; text-decoration: underline; }
.header-inner { display: flex; justify-content: center; padding-block: 36px; }
.navigation-inner { padding-block: 14px; }
.brand { display: block; width: min(370px, 85%); }
.brand img { width: 100%; }
.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 14px; }

/* ===== 写真スライド ===== */
.slides { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #171410; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.slide.active { opacity: 1; }

/* ===== お店の概要 ===== */
.overview {
  padding-top: 40px;
  text-align: center;
}
.overview h2 { margin-bottom: 16px; font-size: 25px; }
.overview p { color: var(--muted); line-height: 2; }

/* ===== 店舗情報 ===== */
.information { padding-block: 36px 12px; }
.store-facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin: 0; }
.store-facts > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding-block: 15px; border-bottom: 1px solid var(--line); }
.store-facts .payments { grid-column: 1 / -1; }
.store-facts dt { color: var(--muted); font-size: 13px; }
.store-facts dd { margin: 0; }
.store-facts a { text-decoration: none; }

/* ===== カレンダー ===== */
.section { padding-block: 48px; }
.main-calendar { display: block; width: 100%; height: 660px; border: 1px solid #605442; background: white; color-scheme: light; }
/* 見出し・本文の位置は揃えたまま、カレンダーだけ画面幅まで広げる。 */
@supports (width: 100cqi) {
  .main-calendar {
    width: 100cqi;
    max-width: none;
    margin-inline: calc((100% - 100cqi) / 2);
  }
}
.calendar-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; }

/* ===== メニュー ===== */
.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.menu-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 20px; }
.menu-item .price {
  margin-block: 6px 10px;
  font-family: Arial, "Yu Gothic", Meiryo, sans-serif;
  font-size: 23px;
  font-variant-numeric: lining-nums tabular-nums;
}
.menu-item p:not(.price) { color: var(--muted); font-size: 16px; }
.menu-bottom {
  margin-top: 30px;
  text-align: center;
}
.menu-bottom .button {
  width: min(360px, 100%);
}
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 23px; border: 1px solid #8d7754; color: var(--gold); text-decoration: none; font-size: 14px; }
.button:hover { background: var(--gold); color: #17130e; }

/* ===== メニュー下の関連リンク ===== */
.related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-block: 8px 24px;
}
.related-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 18px 24px;
  border: 1px solid #8d7754;
  font-size: 18px;
  text-decoration: none;
}
.related-links a:hover { background: #1c1712; }
.related-links span { color: var(--gold); }

/* ===== 画面下の固定ナビゲーション ===== */
.quick-nav {
  position: fixed;
  right: 24px;
  bottom: 18px;
  z-index: 10;
  display: none;
  gap: 8px;
  padding: 8px;
  background: var(--background);
  border: 1px solid var(--line);
}
.quick-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 8px 22px;
  text-decoration: none;
  font-size: 14px;
}
.quick-nav .quick-call { background: var(--brand-red); color: #fff; }
.quick-nav .quick-call:hover { background: #941309; }

/* ===== フッター ===== */
.site-footer { margin-top: 40px; padding-block: 26px; background: var(--background); color: var(--text); }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer small { color: #fff; font-size: 11px; }
.footer-brand { width: 210px; }

/* ===== 貸切・ギフトカードの詳細ページ ===== */
.detail { padding-top: 35px; }
.breadcrumbs { margin-bottom: 32px; font-size: 13px; color: var(--muted); }
.detail h1 { font-size: 38px; margin-bottom: 24px; }
.detail .lead { margin-bottom: 35px; font-size: 17px; }
.detail section { margin-top: 35px; }
.detail section h2 { font-size: 25px; margin-bottom: 14px; }
.detail p + p { margin-top: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts { margin: 0 0 24px; }
.facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 15px; padding-block: 17px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; }
.gift-image { width: 300px; margin-block: 30px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-underline-offset: 5px; }

/* ===== タブレット：メニューを2列にする ===== */
@media (min-width: 641px) and (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ===== スマートフォン ===== */
@media (max-width: 640px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .wrap { width: calc(100% - 40px); }
  .related-links { grid-template-columns: 1fr; gap: 10px; }
  .related-links a { min-height: 60px; padding: 14px 20px; font-size: 17px; }
  .quick-nav {
    inset: auto 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid var(--line);
  }
  .quick-nav a { padding: 8px; font-size: 13px; }
  .header-inner { padding-block: 26px; }
  .navigation-inner { padding-block: 10px; }
  .brand { width: 280px; }
  .nav { gap: 28px; }
  .nav a { font-size: 13px; }
  .slideshow { width: 100%; }
  .overview { padding-top: 28px; }
  .overview h2 { font-size: 22px; }
  .information { padding-top: 20px; }
  .store-facts { grid-template-columns: 1fr; }
  .store-facts > div { grid-template-columns: 76px 1fr; gap: 12px; padding-block: 13px; }
  .store-facts dd { font-size: 15px; }
  .section { padding-block: 32px; }
  h2 { font-size: 25px; margin-bottom: 22px; }
  .main-calendar { height: 610px; }
  .calendar-links { flex-direction: column; }
  .calendar-links a { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; }
  .menu-grid { grid-template-columns: 1fr; gap: 32px; }
  .menu-bottom .button { width: 100%; }
  .menu-item img { margin-bottom: 15px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer { margin-top: 20px; }
  .detail h1 { font-size: 30px; }
  .facts > div { grid-template-columns: 1fr; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}
