@import url("https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;700;900&display=swap");

/* ── Tokens ── */
:root {
  --dark: #292220;
  --accent: #f53c08;
  --cream: #f4f1ee;
  --white: #ffffff;
  --gray: #f4f4f4;
  --font: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  /* --max: 1120px; */
  --pad: 40px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font);
  background: #f4f1ee;
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ── Container ── */
.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  width: 100%;
  box-sizing: border-box;
}

/* ================================================================
   PAGE: メニュー (menu-food.html / menu-special.html)
   ================================================================ */

/* ── Hero section (first section, larger) ── */
.menu-section--hero .menu-section__photo {
  width: 55%;
  min-height: 500px;
}
.menu-section--hero .menu-section__content {
  padding: 56px 60px;
  justify-content: center;
}
.menu-section--hero .menu-section__title {
  /* font-size: 36px; */
  margin-bottom: 4px;
}
.menu-section--hero .item-list li {
  font-size: 19px;
  padding: 12px 0;
}

.dish-card {
  width: 100%;
  max-width: 930px;
  overflow: hidden;
  display: flex;
  height: 365px;
}

/* ─── 左：料理写真 ─── */
.dish-photo {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

.dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.food-hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  min-height: 520px;
}

/* 写真：左から右へ徐々にフェードアウト */
.food-hero__img {
  position: absolute;
  inset: 0;
  width: 72%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* 右に行くにつれ不透明度が下がるマスク */
  -webkit-mask-image: linear-gradient(
    to right,
    black 0%,
    black 45%,
    rgba(0, 0, 0, 0.6) 62%,
    transparent 82%
  );
  mask-image: linear-gradient(
    to right,
    black 0%,
    black 45%,
    rgba(0, 0, 0, 0.6) 62%,
    transparent 82%
  );
}

/* コンテンツ：max-widthコンテナ内で右側に配置 */
.food-hero__body {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* テキストエリア：右側40% */
.food-hero__text {
  width: 40%;
  padding: 60px 0 60px 24px;
}
.food-hero__title {
  font-family: var(--font);
  font-weight: 900;
  font-size: 36px;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  line-height: 1.3;
}
.food-hero__list li {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  padding: 12px 0;
  font-size: 18px;
}
.food-hero__list .iname,
.food-hero__list .iprice {
  color: var(--white);
}

/* ─── 右：ダークパネル ─── */
.dish-info {
  flex: 0 0 354px;
  width: 354px;
  background-color: #2a2420;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0px 32px 48px 32px;
}

/* タイトル */
.dish-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.05em;
  white-space: nowrap;
  margin-bottom: 10px;
}

/* タイトル下の区切り線 */
.dish-divider {
  width: 100%;
  height: 1px;
  background-color: #ffffff;
  margin-bottom: 18px;
}

/* 価格リスト */
.price-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.price-row:last-child {
  border-bottom: none;
}

.price-name {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.price-value {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.menu-section {
  padding-inline: var(--pad);
  max-width: 930px;
  width: 100%;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 40px;
}
.menu-section.reverse {
  max-width: 930px;
  flex-direction: row-reverse;
  justify-content: center;
}

.menu-section__photo {
  width: 40%;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
  min-height: 360px;
}
.menu-section__placeholder {
  width: 40%;
  flex-shrink: 0;
  min-height: 360px;
  background: #ccc5be;
}
.menu-section__content {
  flex: 1;
  background: var(--dark);
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.menu-section__title {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.35;
  padding-bottom: 16px;
  border-bottom: 1px solid #ffffff;
  letter-spacing: 0.03em;
}

/* ── Full-width dark section (デザート) ── */
.menu-section--full {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  width: 100%;
  margin-bottom: 40px;
}
.menu-section--full .menu-section__content {
  width: 100%;
  flex: unset;
}
.menu-section--full .item-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 64px;
  row-gap: 0;
}

/* ── Takoyaki flavor tags ── */
.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.flavor-tag {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-family: var(--font);
  font-weight: 900;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

/* ── Combo table ── */
.combo-table {
  width: 100%;
  border-collapse: collapse;
}
.combo-table th,
.combo-table td {
  font-family: "Noto Serif JP", serif;
  font-weight: 300;
  font-size: 0.75rem;
  color: var(--white);
  text-align: left;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.4;
}
.combo-table th {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  padding-bottom: 12px;
  font-weight: 300;
}
.combo-table td.price,
.combo-table th.price {
  text-align: right;
  white-space: nowrap;
}
.combo-table tr:last-child td {
  border-bottom: none;
}

/* ── Individual section (photo + dark card) ── */
/* ── Menu sections wrapper ── */
.menu-sections {
  max-width: 930px;
  margin-inline: auto;
  background: #f4f1ee;
  padding: 48px 0 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  align-items: center;
}

.menu-section {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  width: 100%;
  display: flex;
  align-items: stretch;
  margin-bottom: 40px;
}
.menu-section.reverse {
  flex-direction: row-reverse;
}

.menu-section__photo {
  width: 40%;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
  min-height: 360px;
}
.menu-section__placeholder {
  width: 40%;
  flex-shrink: 0;
  min-height: 360px;
  background: #ccc5be;
}
.menu-section__content {
  flex: 1;
  background: var(--dark);
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.menu-section__title {
  font-family: "Noto Serif JP", serif; /* 追加 */
  font-weight: 600; /* 900→600 */
  font-size: 1.35rem; /* 30px→1.35rem */
  color: var(--white);
  line-height: 1.35;
  padding-bottom: 16px;
  border-bottom: 1px solid #ffffff;
  letter-spacing: 0.03em;
}
.menu-sublabel {
  font-family: var(--font);
  font-weight: 900;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
}

/* ── Full-width dark section (デザート) ── */
.menu-section--full {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  width: 100%;
  margin-bottom: 40px;
}
.menu-section--full .menu-section__content {
  width: 100%;
  flex: unset;
}
.menu-section--full .item-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 64px;
  row-gap: 0;
}

/* ── Item list ── */
.item-list {
  list-style: none;
}
.item-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font);
  font-weight: 900;
  font-size: 17px;
  color: var(--white);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.4;
}
.item-list li:last-child {
  border-bottom: none;
}
.item-list .iname {
  flex: 1;
}
.item-list .iprice {
  white-space: nowrap;
  flex-shrink: 0;
}
.item-note {
  font-family: var(--font);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
  margin-top: 4px;
}

/* ── Takoyaki flavor tags ── */
.flavor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.flavor-tag {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-family: var(--font);
  font-weight: 900;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

/* ── Combo table ── */
.combo-table {
  width: 100%;
  border-collapse: collapse;
}
.combo-table th,
.combo-table td {
  font-family: var(--font);
  font-weight: 900;
  font-size: 16px;
  color: var(--white);
  text-align: left;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.4;
}
.combo-table th {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  padding-bottom: 12px;
  font-weight: 700;
}
.combo-table td.price,
.combo-table th.price {
  text-align: right;
  white-space: nowrap;
}
.combo-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 900px) {
  :root {
    --pad: 24px;
  }

  .menu-section,
  .menu-section.reverse {
    flex-direction: column !important;
  }
  .menu-section__photo,
  .menu-section__placeholder {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16/9;
  }
  .menu-section--hero .menu-section__photo {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4/3;
  }
  .menu-section--hero .menu-section__content {
    padding: 36px 32px;
  }
  .menu-section__content {
    padding: 36px 32px;
  }

  .menu-section--full .item-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .menu-section__content {
    padding: 28px 20px;
  }
  .menu-section__title {
    font-size: 24px;
  }
  .item-list li {
    font-size: 15px;
  }
  .dish-card {
    flex-direction: column;
    height: auto;
  }
  .dish-photo {
    width: 100%;
    aspect-ratio: 4/3;
    flex: none;
  }
  .dish-info {
    flex: none;
    width: 100%;
    padding: 28px;
  }
}
