/* ------------------------------
       ベーススタイル
    ------------------------------ */
:root {
  --bg: #ffffff;
  --accent: #000000;
  /* メインを黒に */
  --accent-dark: #222222;
  /* 少し柔らかい黒 */
  --text: #000000;
  --light: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", "YuGothic", "Yu Gothic", "Meiryo", sans-serif;
  background: #fff;
  color: #000;
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 64px 0;
}

.section-title {
  border-left: 6px solid #000;
  color: #000;
}

h2.section-title {
  font-size: 2rem;
  margin-bottom: 16px;
  border-left: 6px solid var(--accent);
  padding-left: 12px;
  letter-spacing: 0.08em;
  border-left: 6px solid var(--accent);
  color: var(--accent-dark);
}

.section-lead {
  margin-bottom: 32px;
  color: #666;
  font-size: 0.95rem;
}

/* ------------------------------
       ヘッダー / ナビ
    ------------------------------ */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 239, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.logo span {
  font-size: 0.8rem;
  display: block;
  letter-spacing: 0.2em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  font-size: 0.9rem;
}

nav a {
  padding: 4px 0;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--light);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

/* ------------------------------
       ヒーロー
    ------------------------------ */
.hero {
  padding: 80px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-copy-title {
  font-size: 2.4rem;
  margin-bottom: 8px;
  letter-spacing: 0.12em;
}

.hero-copy-sub {
  font-size: 1rem;
  margin-bottom: 24px;
  color: #666;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.badge {
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.badge-accent {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.hero-note {
  font-size: 0.8rem;
  color: #777;
}

.hero-image {
  background: url("https://images.pexels.com/photos/952479/pexels-photo-952479.jpeg?auto=compress&cs=tinysrgb&w=1200") center/cover;
  border-radius: 24px;
  min-height: 260px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}

.hero-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 12px;
  border-radius: 999px;
}

/* ------------------------------
       営業情報
    ------------------------------ */
.info-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.info-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px 20px 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.info-card,
.menu-card {
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
}

.info-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
  /* 追加 */
  margin-bottom: 0;
  /* 追加（念のため） */
}

.info-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #555;
}

.info-text {
  font-size: 0.9rem;
}

/* ------------------------------
       席・設備・支払い
    ------------------------------ */
.facility-grid {
  display: grid;
  gap: 18px;
}

.facility-group-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.facility-list {
  list-style: none;
  font-size: 0.9rem;
  padding-left: 0;
}

.facility-list li {
  margin-bottom: 4px;
}

.pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1e4d7;
  font-size: 0.75rem;
  margin-left: 6px;
}

/* ------------------------------
       メニュー
    ------------------------------ */
.menu-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.menu-tab {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.9rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.12);
}

.menu-tab.active {
  background: black;
  color: #fff;
  border-color: transparent;
}

.menu-block {
  display: none;
  animation: fadeIn 0.25s ease;
}

.menu-block.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
  /* ← 追加：各カードを同じ高さに伸ばす */
}

.menu-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  font-size: 0.9rem;

  /* ここから追加（重要） */
  display: flex;
  flex-direction: column;
}

.menu-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  border: none;
  background: none;
  height: auto;
  padding: 0;
}

.menu-title {
  font-weight: 600;
  font-size: 1rem;
}

.menu-price {
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 0.95rem;
}

.menu-note {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 8px;
}

.menu-items {
  list-style: none;
  font-size: 0.9rem;
  padding-left: 1em;
}

.menu-items li {
  margin-bottom: 2px;
  position: relative;
}

.menu-items li::before {
  content: "・";
  position: absolute;
  left: -1em;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------
       アクセス
    ------------------------------ */
.access-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.map-wrap {
  position: relative;
  width: 100%;
  padding-top: 65%;
  /* 画面幅に対して高さを割合で確保（縦横比） */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  background: #ccc;
}

/* iframe を .map-wrap の中でピッタリに広げる */
.map-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  padding: 16px;
}

.access-detail {
  font-size: 0.9rem;
}

.parking-map {
  margin-top: 16px;
  border-radius: 14px;
  background: #fff;
  padding: 10px 12px;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  font-size: 0.82rem;
}

/* ------------------------------
       フッター
    ------------------------------ */
footer {
  background: #222;
  color: #eee;
  padding: 32px 0 16px;
  font-size: 0.85rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  margin-bottom: 16px;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}

.footer-links a {
  color: #eee;
  font-size: 0.85rem;
  margin-right: 12px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  color: #aaa;
}

/* ------------------------------
       レスポンシブ
    ------------------------------ */
@media (max-width: 768px) {
  .header-inner {
    justify-content: space-between;
    gap: 8px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
  }

  .hero-copy-title {
    font-size: 1.9rem;
  }

  .info-grid,
  .access-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  section {
    padding: 48px 0;
  }
}

/* ------------------------------
       メニュー写真用スタイル
    ------------------------------ */
.menu-items.with-photo {
  list-style: none;
  padding-left: 0;
}

.menu-item-with-photo {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.menu-item-with-photo img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.menu-item-text-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.menu-item-text-note {
  font-size: 0.85rem;
  color: #666;
}

/* コース用の写真ギャラリー */
/* コース用の写真ギャラリー */
.menu-photos {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* margin-top: auto; */
  /* ← 文字数が違っても写真は下揃え */
}

.menu-photos p {
  font-size: 0.85rem;
  color: #777;
  letter-spacing: 0.08em;
}

.menu-photos img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

@media (max-width: 768px) {
  .menu-item-with-photo {
    align-items: center;
  }

  .menu-photos img {
    width: 100% !important;
    /* 画面幅いっぱい */
    max-width: 100% !important;
    height: auto !important;
  }
}

/* 営業 + アクセスの2カラム */
.business-access-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  /* 左広め、右狭め */
  gap: 24px;
}

@media (max-width: 768px) {
  .business-access-grid {
    grid-template-columns: 1fr;
    /* スマホは縦並び */
  }
}

/* ハンバーガーボタン（PCでは非表示） */
.menu-toggle {
  display: none;
  /* PCでは非表示 */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #333;
  border-radius: 999px;
  margin: 3px auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* 開いたときの×アイコン風アニメーション */
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .header-inner {
    justify-content: space-between;
    gap: 8px;
  }

  /* PC時に指定していた nav ul の display:none; は削除 or 上書き */
  nav ul {
    flex-direction: column;
    gap: 0;
  }

  /* ハンバーガー表示、WEB予約はお好みで非表示に */
  .menu-toggle {
    display: flex;
    /* スマホで表示 */
  }

  .nav-cta {
    display: none;
    /* 必要なら消す。残したければこの行は削除 */
  }

  header nav {
    position: absolute;
    top: 64px;
    /* ヘッダーの下に表示 */
    left: 0;
    right: 0;
    background: rgba(247, 244, 239, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
  }

  header nav.open {
    max-height: 260px;
    /* メニューの高さ分。必要に応じて増やす */
  }

  header nav ul {
    padding: 8px 16px 12px;
  }

  header nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  header nav li:last-child {
    border-bottom: none;
  }

  header nav a {
    display: block;
    padding: 10px 0;
    font-size: 0.95rem;
  }
}

/* ------------------------------------
   ヒーロー：フル幅スライドショー
------------------------------------- */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 90vh;
  /* 高さ（お好みで調整可） */
  min-height: 320px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 18s infinite;
}

/* hero-slide を <img> 化しても見え方を変えないための指定 */
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* background-size: cover と同じ */
  object-position: center;  /* background-position: center と同じ */
}


/* 各スライドのスタートタイミング */
.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-slide:nth-child(4) {
  animation-delay: 18s;
}

@keyframes heroFade {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* キャッチコピー部分 */
.hero-caption {
  text-align: center;
  padding: 40px 20px 60px;
}

.hero-caption h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.hero-caption p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
}

/* スマホで調整 */
@media (max-width: 768px) {
  .hero-caption h1 {
    font-size: 1.6rem;
  }

  .hero-slideshow {
    height: 45vh;
    min-height: 240px;
  }
}

/* ----------------------------------------
   固定表示 ご予約ボタン
---------------------------------------- */
.fixed-reserve-btn {
  position: fixed;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  background: var(--accent);
  color: #fff !important;
}

.fixed-reserve-btn:hover {
  background: var(--accent-dark);
}

/* PC表示：右上 */
@media (min-width: 769px) {
  .fixed-reserve-btn {
    top: 10px;
    /* ← さらに上に */
    right: 20px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.95rem;
  }
}

/* スマホ表示：右下（丸ボタン） */
@media (max-width: 768px) {
  .fixed-reserve-btn {
    bottom: 20px;
    right: 16px;

    width: 60px;
    /* 円のサイズ */
    height: 40px;
    /* border-radius: 50%; ← 完全な円 */
    padding: 0;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.2;
    display: flex;
    flex-direction: column;

    /* ボタン内を改行させる */
    white-space: pre-line;
  }
}

/* ホバー（PCのみ） */
@media (hover: hover) {
  .fixed-reserve-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
  }
}

/* コース切り替えボタン */
.course-selector-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  align-items: flex-start;
  justify-content: flex-start;

  /* 追加：右側の高さに引っ張られない */
  align-self: flex-start;
}

.course-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
  font-size: 0.9rem;
  cursor: pointer;
}

.course-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

/* コース詳細エリア */
@media (min-width: 769px) {
  #lunch-course.menu-block.active,
  #dinner-course.menu-block.active,
  #party-course.menu-block.active {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }
}

@media (min-width: 769px) {
  .course-selector-group {
    display: none;
  }
}

/* ------------------------------------
   ボタン（黒ベース）
------------------------------------ */

/* 共通のボタンスタイル */
.btn {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
  border: 1px solid #000;
}

/* 黒ボタン（メイン） */
.btn-primary {
  background: #000;
  color: #fff;
  border-color: #000;
}

.btn-primary:hover {
  background: #222;
}

/* 枠線だけの黒ボタン（サブ） */
.btn-outline {
  background: transparent;
  color: #000;
  border-color: #000;
}

.btn-outline:hover {
  background: #000;
  color: #fff;
}

/* ------------------------------------
   固定表示「ご予約はこちら」ボタン
   PC右上 & スマホ右下
------------------------------------ */
.fixed-reserve-btn {
  position: fixed;
  z-index: 9999;
  background: #000;
  /* ← 黒ボタンに統一 */
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.28);
  transition: 0.2s;
}

/* PC版（右上） */
@media (min-width: 769px) {
  .fixed-reserve-btn {
    top: 8px;
    right: 20px;
    padding: 12px 22px;
  }
}

/* スマホ版（丸ボタン） */
@media (max-width: 768px) {
  .fixed-reserve-btn {
    width: 60px;
    height: 40px;
    padding: 0;
    /* border-radius: 50%; */
    bottom: 20px;
    right: 16px;
    text-align: center;
    white-space: pre-line;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ホバー効果（PCのみ） */
@media (hover: hover) {
  .fixed-reserve-btn:hover {
    background: #222;
    transform: translateY(-2px);
  }
}

footer a {
  color: #fff;
}

footer a:hover {
  text-decoration: underline;
}

/* コース詳細エリア */
.course-detail {
  display: none;
  align-self: flex-start;
  height: 100%;
}

.course-detail.active {
  display: block;
  height: 100%;
}

@media (min-width: 769px) {
  /* PCでは切替ボタンを隠す（既存方針のまま） */
  .course-selector-group {
    display: none;
  }

  /* PCではA/B/Cを全部出す */
  #lunch-course .course-detail,
  #dinner-course .course-detail,
  #party-course .course-detail {
    display: block;
  }

  /* PCでは3列固定で横並び */
  #lunch-course.menu-block.active,
  #dinner-course.menu-block.active,
  #party-course.menu-block.active {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 16px;
    align-items: stretch;
  }
}

@media (min-width: 769px) {
  /* グリッドの各マスを同じ高さにする */
  #lunch-course.menu-block.active,
  #dinner-course.menu-block.active,
  #party-course.menu-block.active {
    align-items: stretch;
  }

  /* グリッドの子（course-detail）を“伸びる箱”にする */
  #lunch-course .course-detail,
  #dinner-course .course-detail,
  #party-course .course-detail {
    height: 100%;
    display: flex;
    /* ← 重要：中のmenu-cardを伸ばせる */
  }

  /* カードも100%で埋める（これで文章量が違っても同じ高さになる） */
  #lunch-course .course-detail .menu-card,
  #dinner-course .course-detail .menu-card,
  #party-course .course-detail .menu-card {
    height: 100%;
    width: 100%;
  }
}

/* ------------------------------
   営業日カレンダー
------------------------------ */
.bizcal {
  margin-top: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
}

.bizcal-head {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.bizcal-title {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.bizcal-nav {
  width: 40px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.bizcal-nav:hover {
  background: rgba(0, 0, 0, 0.06);
}

.bizcal-legend {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.bizcal-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 6px;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.bizcal-dot.open {
  background: rgba(0, 0, 0, 0.75);
}

.bizcal-dot.closed {
  background: rgba(0, 0, 0, 0.18);
}

.bizcal-dot.today {
  background: #fff;
  box-shadow: inset 0 0 0 2px #000;
}

.bizcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.bizcal-cell {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  font-size: 0.85rem;
}

.bizcal-cell.is-dow {
  aspect-ratio: auto;
  border: none;
  background: transparent;
  padding: 0 4px 6px;
  font-size: 0.78rem;
  color: #777;
  font-weight: 600;
  justify-content: center;
  text-align: center;
}

.bizcal-cell.is-out {
  opacity: 0.35;
}

.bizcal-cell.is-closed {
  background: rgba(0, 0, 0, 0.03);
}

.bizcal-badge {
  align-self: flex-end;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #333;
  background: rgba(0, 0, 0, 0.03);
}

.bizcal-cell.is-open .bizcal-badge {
  background: #000;
  color: #fff;
  border-color: transparent;
}

.bizcal-cell.is-today {
  box-shadow: inset 0 0 0 2px #000;
}

/* はみ出し対策（追記推奨） */
.bizcal {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  /* 念のため */
}

.bizcal * {
  box-sizing: border-box;
}

/* 7列が縮み切らずに横にはみ出るのを防ぐ */
.bizcal-grid {
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.bizcal-cell {
  min-width: 0;
  /* 重要：セルが縮むのを許可 */
}

/* スマホでギャップ＆パディングを減らす */
@media (max-width: 420px) {
  .bizcal {
    padding: 10px;
  }

  .bizcal-grid {
    gap: 4px;
  }

  .bizcal-cell {
    padding: 6px;
    font-size: 0.78rem;
    border-radius: 10px;
  }

  .bizcal-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
  }
}

.bizcal-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (min-width: 769px) {
  .bizcal-cell:not(.is-dow) {
    aspect-ratio: 1 / 0.5;
    /* 高さを約半分 */
    padding: 6px 8px;
  }

  .bizcal-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
}
/* PC表示：カレンダー全体をコンパクトに */
@media (min-width: 769px) {
  .bizcal-grid {
    gap: 4px; /* マス間を縮める */
  }

  .bizcal-cell:not(.is-dow) {
    aspect-ratio: 2 / 1; /* 横長（横幅 ≒ 高さの2倍） */
    padding: 4px 6px;
    font-size: 0.75rem;
  }

  .bizcal-badge {
    font-size: 0.6rem;
    padding: 1px 5px;
  }
}


/* 画像拡大（クリック可能） */
.js-zoom-img {
  cursor: zoom-in;
}

/* モーダル */
.img-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none; /* JSで開く */
}

.img-modal.is-open {
  display: block;
}

.img-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.img-modal__panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 980px);
  max-height: 88vh;
  margin: 6vh auto 0;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.img-modal__panel img {
  width: 100%;
  height: auto;
  max-height: calc(88vh - 52px);
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.img-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* ドリンクメニュー（写真4枚） */
.drink-photos {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.drink-photos img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* PCでは横4枚に */
@media (min-width: 900px) {
  .drink-photos {
    grid-template-columns: repeat(4, 1fr);
  }
}

.reserve-online-btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  border:1px solid #111;
}

.reserve-online-btn:hover{
  opacity:0.85;
}
