@charset "UTF-8";

/* メニューページ全体のレイアウト */
.menu-page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px 80px;
  box-sizing: border-box;
}

.page-title {
  text-align: center;
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 4px;
  margin-bottom: 50px;
  color: #333;
}

/* 横4列 × 縦2列のグリッド配置（PC表示） */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 24px;
}

/* 個別カードスタイル */
.menu-item {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
}

/* 上部：画像エリア */
.item-img {
  width: 100%;
  height: 200px;
  background-color: #e0e0e0;
  overflow: hidden;
}

.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 下部：説明文エリア */
.item-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  box-sizing: border-box;
}

.item-info h3 {
  font-size: 1.05rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 4px;
}

.item-info .price {
  font-size: 0.95rem;
  color: #4A3525;
  font-weight: bold;
  margin-bottom: 10px;
}

.item-info .desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================
   PC時ハンバーガーボタン非表示
========================================== */
@media screen and (min-width: 769px) {
  .hamburger-btn {
    display: none;
  }
}

/* ==========================================
   モバイル・タブレット対応（レスポンシブ）
========================================== */
@media (max-width: 768px) {

  .menu-page-content {
    padding: 60px 20px 60px;
  }

  /* --- ハンバーガーメニュー --- */
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger-btn span {
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
  }

  .hamburger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.96);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .header-nav.active {
    right: 0;
  }

  .header-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .header-nav ul li a {
    font-size: 1.2rem;
  }

  /* --- メニューカード横スクロール（拡大＆チラ見せ） --- */
  .menu-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 10px 24px 30px;
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: 40px;
    -webkit-overflow-scrolling: touch;

    /* スクロールバー表示 */
    scrollbar-width: thin;
    scrollbar-color: #4A3525 #f0f0f0;
  }

  .menu-grid::-webkit-scrollbar {
    height: 6px;
  }

  .menu-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
  }

  .menu-grid::-webkit-scrollbar-thumb {
    background: #4A3525;
    border-radius: 3px;
  }

  /* カード拡大・チラ見せ（82%幅） */
  .menu-item {
    flex: 0 0 82%;
    scroll-snap-align: center;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  .item-img {
    height: 240px;
  }

  .item-info {
    padding: 20px;
  }

  .item-info h3 {
    font-size: 1.15rem;
  }

  /* --- フッターの横並び最適化 --- */
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 0;
    list-style: none;
  }

  .footer-sns .sns-list {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 0;
    list-style: none;
  }

  .footer-address {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .footer-map {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
  }
}