@charset "UTF-8";
/*共通css
------------------------------------------*/
#menu main {
  padding: 80px 0;
}
.menuContainer {
  max-width: 800px;
  margin: 0 auto;
  width: 80%;
}
#menu main h1 {
  text-align: center;
}
/* メニュー */
#menu .menulist .menu_ttl {
  display: flex;
  justify-content: space-between;
  margin-bottom: 120px;
  align-items: center;
}
#menu .menulist .menu-buttons {
  margin: 60px auto;
  max-width: 600px;
  border-bottom: 1px solid #451c1c;
  display: flex;
  justify-content: space-around;
}
#menu .menulist .menu-buttons a {
  padding: 3px 24px;
  margin: 10px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
  display: block;
}
#menu .menulist .active-button {
  color: #333;
  font-weight: bold;
}
#menu .menulist .menu-buttons a:hover {
  transform: scale(1.05);
  border: 2px solid #d4af37;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#menu .menulist .menu-buttons a.active-button:hover {
  color: #333;
} /* アクティブなリンクのホバー時の色変更を防止 */
#menu .menulist .menu {
  display: none;
}
#menu .menulist .active-menu {
  display: block;
}

/* ボタンの背景色 */
#foodBtn {
  background-color: #2a2a5c;
}
#drinkBtn {
  background-color: #9c3d3d;
}
#courseBtn {
  background-color: #6b5537;
}

/* アクティブ状態のスタイル */
#menu .menulist .active-button {
  border: 3px solid #d4af37; /* 金色の枠線 */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* アクティブなメニューの表示 */
.active-menu {
  display: block;
}

#menu .menulist .cardMenu {
  width: 44%;
  display: inline-block;
  margin: 0 5% 10% 0;
  vertical-align: top;
}
#menu .menulist #foodMenu .cardMenu:nth-of-type(2n) {
  margin-right: 0 !important;
}
#menu .drinkList {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#menu .drinkList .cardMenu {
  width: 45%;
  margin-bottom: 30px;
}
#menu .menulist h3 {
  font-size: 25px;
  margin-bottom: 16px;
}
#menu .menulist h4 {
  font-weight: bold;
  margin: 16px 0 0 0;
}
#menu .menulist .item {
  display: flex;
  justify-content: space-between;
  position: relative;
  border-bottom: 1px dotted #a9a9a9;
}
#menu .menulist .item .name {
  padding: 0 15px 0 0;
  width: auto;
  position: relative;
  z-index: 2;
}
#menu .menulist .item .name p {
  width: fit-content;
  font-weight: bold;
}
#menu .menulist .item .price {
  padding: 0 0 0 15px;
  position: relative;
  z-index: 2;
  text-align: right;
}
#menu article {
  margin-bottom: 20px;
}
#menu .imgtxt {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
#menu .set .img {
  width: 45%;
}
#menu .menulist .set .name {
  width: 50%;
}
#menu .img {
  padding: 0;
  width: 25%;
}
#menu .txt {
  width: 75%;
  padding-left: 20px;
}
#menu .txt h3 {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 5px;
}
#menu .articles {
  margin-bottom: 60px;
}
/* =========================================
   メニューリスト詳細デザイン（修正版）
   ========================================= */

/* 各メニューのコンテナ */
#menu .menulist .articles .up {
  margin-bottom: 40px;
  border-bottom: 1px solid #eaeaea; /* 薄い区切り線 */
  padding-bottom: 5px;
}

#menu .menulist .articles .up:last-child {
  border-bottom: none;
}

/* 画像とテキストの横並び設定 */
#menu .menulist .imgtxt {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 垂直方向中央揃え */
  gap: 30px; /* 画像とテキストの間隔 */
}

/* 画像エリア */
#menu .menulist .imgtxt .img {
  width: 30%; /* PC表示時の画像の幅 */
  max-width: 180px; /* 大きくなりすぎないように制限 */
  flex-shrink: 0;
}

/* 画像自体の装飾 */
#menu .menulist .imgtxt .img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#menu .menulist .imgtxt .img img:hover {
  transform: scale(1.05); /* ホバー時に少し拡大 */
}

/* テキストエリア */
#menu .menulist .imgtxt .ttl {
  width: 70%;
  text-align: left;
}

/* dl, dt, ddのリセット */
#menu .menulist .imgtxt dl,
#menu .menulist .imgtxt dt,
#menu .menulist .imgtxt dd {
  margin: 0;
  padding: 0;
}

/* カテゴリタグ（看板メニューなど） */
#menu .menulist .imgtxt dt {
  font-size: 12px;
  color: #fff;
  background-color: #333; /* 黒背景でシックに */
  padding: 4px 10px;
  display: inline-block;
  border-radius: 2px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

/* 商品名 */
#menu .menulist .imgtxt h3 {
  font-size: 22px;
  font-family: "Zen Maru Gothic", sans-serif; /* 丸ゴシックがあれば適用 */
  font-weight: bold;
  margin-bottom: 12px;
  color: #222;
  border: none; /* 既存のborderを消す */
  line-height: 1.4;
}

/* 商品説明 */
#menu .menulist .imgtxt dd p:first-of-type {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  display: block;
  text-align: left;
}

/* 価格 */
#menu .menulist .imgtxt dd p:last-child {
  font-size: 18px;
  font-weight: bold;
  color: #9c3d3d; /* テーマカラーの赤茶色 */
  text-align: right; /* 右寄せにする */
  margin-top: 10px;
}

/* =========================================
   スマホ表示（レスポンシブ）
   ========================================= */
@media screen and (max-width: 768px) {
  #menu .menulist .menu-buttons a {
    padding: 3px 4px;
  }
  .menuContainer {
    width: 98%;
  }
  #menu .menulist .imgtxt {
    gap: 15px;
  }
  #menu .menulist .item {
    display: block;
  }
  #menu .set .img,
  #menu .menulist .set .name {
    width: 100%;
  }
  #menu #courseMenu .menulist .imgtxt {
    display: block;
  }

  #foodMenu .menulist .imgtxt .img {
    width: 30% !important;
  }
  #menu #foodMenu .menulist .imgtxt .ttl {
    text-align: left;
  }

  #menu .menulist .imgtxt .img {
    width: 60%;
    max-width: 200px;
    margin: 0 auto;
  }

  #menu .menulist .imgtxt .ttl {
    width: 100%;
    text-align: center;
  }
  #menu .menulist .imgtxt h3 {
    font-size: 18px;
  }
  #menu .menulist .imgtxt dt {
    margin-bottom: 10px;
  }

  #menu .menulist .imgtxt dd p:last-child {
    text-align: center;
    font-size: 14px;
    #menu .menulist .cardMenu {
      width: 100%;
    }
  }
  #menu .menulist .cardMenu {
    width: 100%;
  }
}
