@charset "UTF-8";

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

.takeout-intro {
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 60px;
  word-break: break-word;
}

/* ご注文フロー */
.takeout-flow {
  margin-bottom: 80px;
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.step-card {
  background-color: #F9F6F0;
  padding: 30px 24px;
  border-radius: 4px;
  position: relative;
  box-sizing: border-box;
}

.step-num {
  font-size: 2rem;
  font-weight: bold;
  color: #C2B69D;
  margin-bottom: 8px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.1rem;
  color: #4A3525;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* メニューグリッド (3列配置) */
.takeout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.takeout-card {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.takeout-card .card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f5f5f5;
}

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

.takeout-card .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  box-sizing: border-box;
}

.category-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  letter-spacing: 1px;
  background-color: #EEE7E0;
  color: #4A3525;
  padding: 2px 8px;
  margin-bottom: 10px;
  border-radius: 2px;
}

.takeout-card h3 {
  font-size: 1.05rem;
  font-weight: bold;
  margin-bottom: 6px;
  color: #333;
  line-height: 1.4;
}

.takeout-card .price {
  font-size: 1rem;
  font-weight: bold;
  color: #4A3525;
  margin-bottom: 10px;
}

.takeout-card .price small {
  font-size: 0.8rem;
  font-weight: normal;
  color: #777;
}

.takeout-card .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: 900px) {
  .takeout-flow {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {

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

  .takeout-intro {
    font-size: 0.95rem;
    margin-bottom: 40px;
    text-align: center;
  }

  /* --- ハンバーガーメニュー --- */
  .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;
  }

  /* ご注文フロー（縦並び） */
  .flow-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card {
    padding: 24px 20px;
  }

  /* --- お持ち帰りメニュー横スクロール（拡大＆チラ見せ） --- */
  .takeout-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;
  }

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

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

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

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

  .takeout-card .card-img {
    height: 240px;
  }

  .takeout-card .card-body {
    padding: 20px;
  }

  .takeout-card 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;
  }
}