.p-menu-hero--container {
  background: url(../../assets/img/bg/menu_bg2.jpg) center / cover no-repeat;
}

.p-menu-hero {
  z-index: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(40dvh + 12vw);
  padding: var(--header-h) 0 12vw;
  overflow: hidden;
}

.p-menu-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}

.p-menu-hero__title {
  position: relative;
  z-index: 1;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

.p-menu-tabs {
  padding: 1.5rem 5% 5rem;
}

.p-menu-tabs ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 760px;
  margin-inline: auto;
}

.p-menu-tabs a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 0.5em 0.75em;
  text-align: center;

  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-wood);
  background: var(--color-beige) url("../../assets/img/bg/menu_bg.jpg") center / cover;
  border: 1px solid rgba(53, 40, 8, 0.35);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.p-menu-tabs a::before {
  --dot: 6px;
  content: "";
  position: absolute;
  inset: 6px;
  background:
    radial-gradient(circle closest-side, var(--color-wood) 85%, transparent) left top,
    radial-gradient(circle closest-side, var(--color-wood) 85%, transparent) right top,
    radial-gradient(circle closest-side, var(--color-wood) 85%, transparent) left bottom,
    radial-gradient(circle closest-side, var(--color-wood) 85%, transparent) right bottom;
  background-size: var(--dot) var(--dot);
  background-repeat: no-repeat;
  pointer-events: none;
}

.p-menu-tabs a:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.p-menu-tabs__wide {
  margin-top: 1.2rem;
  grid-column: 1 / -1;
  justify-self: center;
  width: 50%;
}

.p-menu-tabs__wide a {
  min-height: 60px;
  background-blend-mode: soft-light;
}

.p-cat + .p-cat {
  padding-top: 0;
}

.p-cat + .p-cat > .l-inner::before {
  content: "";
  display: block;
  margin-bottom: var(--space-section);
  border-top: 3px solid var(--color-green);
}

.c-cat-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}

.c-cat-note {
  margin-top: 3rem;
  font-weight: 600;
  text-align: center;
  font-size: 1rem;
  color: #000;
}

.c-menu-grid {
  --cols: 3;
  --gap-x: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem var(--gap-x);
  margin-top: 2.5rem;
}

.c-menu-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc((100% - (var(--cols) - 1) * var(--gap-x)) / var(--cols));
  text-align: center;
}

.c-menu-card__img {
  position: relative;
  width: 100%;
}

.c-menu-card__img img {
  width: 100%;
}

.c-menu-card__kcal {
  position: absolute;
  top: 4%;
  right: 6%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 65px;
  height: 65px;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  color: #000;
  background: var(--color-yellow);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.c-menu-card__kcal small {
  font-size: 0.72rem;
  font-weight: 500;
}

.c-menu-card__name {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.4em;
  margin-top: 0.75rem;
  padding: 0.4em 0.75em;

  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  background: var(--color-green);
  border-radius: 4px;
}

.c-menu-card__sub {
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #000;
  line-height: 1.5;
}

.c-menu-grid--single {
  --cols: 1;
  max-width: 240px;
  margin-inline: auto;
}

.c-menu-grid--2 {
  --cols: 2;
  max-width: 620px;
  margin-inline: auto;
}

.c-menu-grid--drink {
  --cols: 3;
}

.p-dressing {
  background-image: url(../../assets/img/bg/white_bg.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.p-dressing__sub {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.p-dressing__legend--container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
}

.p-dressing__legend {
  width: fit-content;
  font-weight: 600;
  display: flex;
  justify-content: center;
  gap: 2rem;
  border: 3px solid var(--color-green);
  padding: 0.5rem;
  background-color: #fff;
}

.p-dressing__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
}

.p-dressing__legend img {
  width: 18px;
  height: 18px;
}

.p-dressing__scroll {
  margin-top: 1.5rem;
  overflow-x: auto;
}

.p-dressing__table {
  width: 100%;
  min-width: 520px;
  table-layout: fixed;
  border: 1px solid rgba(0, 27, 0, 0.15);
}

.p-dressing__table .p-dressing__th-name {
  width: 20%;
}

.p-dressing__table th,
.p-dressing__table td {
  padding: 0.7rem 0.5rem;
  text-align: center;
  border: 1px solid rgba(0, 27, 0, 0.12);
  font-size: 0.8rem;
  background-color: #fff;
}

.p-dressing__table thead th {
  font-weight: 600;
  color: var(--color-text);
  background: #ffffd9;
  line-height: 1.3;
}

.p-dressing__table thead th img {
  width: 24px;
  height: 24px;
  margin-inline: auto;
  margin-bottom: 0.25rem;
}

.p-dressing__table tbody th {
  text-align: center;

  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.p-dressing__th-name,
.p-dressing__table tbody th {
  position: sticky;
  left: 0;
  background: #F7FDF2;
}

.p-dressing__table thead .p-dressing__th-name {
  background: #DCF5D4;
  font-size: 1.2rem;
}

.p-dressing__table td img {
  width: 20px;
  height: 20px;
  margin-inline: auto;
}

@media (max-width: 1024px) {
  .p-menu-hero { min-height: calc(200px + 12vw); }

  .p-cat + .p-cat > .l-inner::before {
    margin-bottom: var(--space-section-sp);
  }

  .c-menu-card__kcal {
    width: 48px;
    height: 48px;
    font-size: 0.85rem;
  }
}

@media (max-width: 767px) {

  .p-menu-hero {
    min-height: 62vw;

    padding-bottom: 20vw;
  }
  .p-menu-hero__title { font-size: 12vw; }

  .p-menu-tabs { padding: 0 3.8vw 13.5vw; }
  .p-menu-tabs ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 5.2vw 5vw;
    max-width: none;
  }
  .p-menu-tabs a {
    min-height: 15.6vw;
    padding: 0 2vw;
    font-size: 4.6vw;
    line-height: 1.15;
    letter-spacing: 0;
  }
  .p-menu-tabs__wide {
    justify-self: auto;
    width: auto;
  }
  .p-menu-tabs__wide a { min-height: 10.8vw; }

  .p-cat {
    padding-top: 18vw;
    padding-bottom: 17.7vw;
  }

  .p-cat + .p-cat > .l-inner::before {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-bottom: 20vw;
  }
  .c-cat-heading {
    font-size: 12vw;
    line-height: 1.25;
  }
  .c-cat-note {
    margin-top: 10vw;
    font-size: 3.7vw;
    letter-spacing: 0;
  }

  .c-menu-grid,
  .c-menu-grid--drink,
  .c-menu-grid--single,
  .c-menu-grid--2 {
    --cols: 1;
    gap: 23vw 0;
    max-width: none;
    margin: 22vw 0 0;
  }
  .c-menu-card__img img {

    width: 100%;
    margin-inline: auto;
  }
  .c-menu-card__kcal {
    top: -7vw;
    right: 0;
    width: 20.8vw;
    height: 20.8vw;
    font-size: 7vw;
    font-weight: 700;
    box-shadow: none;
  }
  .c-menu-card__kcal small {
    font-size: 3.5vw;
    font-weight: 600;
  }
  .c-menu-card__name {
    min-height: 13vw;
    margin-top: 5vw;
    font-size: 4.6vw;
    border-radius: 0;
  }
  .c-menu-card__sub {
    margin-top: 6vw;
    font-size: 4.6vw;
  }

  .p-dressing {
    padding-top: 22vw;
    padding-bottom: 32vw;
  }
  .p-dressing .c-cat-heading { font-size: 10.4vw; }
  .p-dressing__sub {
    margin-top: 5vw;
    font-size: 5vw;
  }
  .p-dressing__legend--container { margin-top: 3vw; }
  .p-dressing__legend {
    width: 100%;
    gap: 0;
    justify-content: space-around;
    padding: 2vw 0;
    border-width: 0.6vw;
  }
  .p-dressing__legend span {
    gap: 2.5vw;
    font-size: 4vw;
  }
  .p-dressing__legend img {
    width: 6.25vw;
    height: 6.25vw;
  }

  .p-dressing__scroll {
    position: relative;
    width: 100vw;
    margin-top: 12vw;
    margin-left: calc(50% - 50vw);
  }
  .p-dressing__table {
    width: 203vw;
    min-width: 0;
  }
  .p-dressing__table .p-dressing__th-name { width: 40vw; }
  .p-dressing__table th,
  .p-dressing__table td {
    height: 12.5vw;
    padding: 1vw;
    font-size: 4vw;
  }
  .p-dressing__th-name,
.p-dressing__table tbody th {
  width: auto;
}

.p-dressing__table tbody th {
  font-size: 4.5vw;
}

  .p-dressing__table thead th {
    padding: 2vw 1vw;
    font-size: 4vw;
  }
  .p-dressing__table thead th img {
    width: 8vw;
    height: 8vw;
    margin-bottom: 1.5vw;
  }
  .p-dressing__table td img {
    width: 6.25vw;
    height: 6.25vw;
  }
  .p-dressing .c-cat-note {
    margin-top: 16vw;
    text-align: left;
  }
}

.webp .p-menu-hero--container { background-image: url("../../assets/img/bg/menu_bg2.webp"); }
.webp .p-menu-tabs a { background-image: url("../../assets/img/bg/menu_bg.webp"); }
.webp .p-dressing { background-image: url("../../assets/img/bg/white_bg.webp"); }
