/* ===== MENU LEAD ===== */
.section-menu {
  position: relative;
  background-color: var(--color-bg);
  overflow: hidden;
}

.section-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../common/images/back01.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.section-menu > .container {
  position: relative;
  z-index: 1;
}

.section-menu .section-en,
.section-menu h2 {
  text-align: left;
}

.section-menu h2 {
  margin: 0 0 32px;
}

.section-menu p:not(.section-en) {
  font-family: var(--title-font);
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 16px;
  max-width: 840px;
}

.section-menu > .container > p:nth-of-type(3) {
  font-family: var(--base-font);
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-sub);
  margin-bottom: 0;
}

.menu-anchor {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.menu-anchor .btn {
  width: 100%;
}

#food-menu,
#seasonal,
#drink-menu {
  scroll-margin-top: 96px;
}

@media (min-width: 1024px) {
  .section-menu .section-en,
  .section-menu h2,
  .section-menu p:not(.section-en) {
    text-align: center;
  }

  .section-menu p:not(.section-en) {
    font-size: 18px;
    margin: 0 auto;
  }

  .section-menu > .container > p:nth-of-type(3) {
    font-size: 14px;
    margin-top: 18px;
  }

  .menu-anchor {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
  }

  .menu-anchor .btn {
    width: auto;
    min-width: 220px;
  }
}

/* ===== FOOD ===== */
.section-food {
  position: relative;
  background-color: var(--color-bg-sub);
  overflow: hidden;
}

.section-food::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../common/images/back02.jpg');
  background-size: 960px auto;
  background-position: top left;
  background-repeat: repeat;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.section-food > .container {
  position: relative;
  z-index: 1;
}

.menu-category {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.menu-category section > .section-en,
.menu-category section > h2 {
  text-align: left;
}

.menu-category section > h2 {
  margin: 0 0 28px;
}

.menu-category section > p:not(.section-en) {
  font-family: var(--title-font);
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 28px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.menu-grid article {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  align-items: stretch;
  background-color: rgba(250, 246, 239, 0.92);
  border: 1px solid rgba(161, 123, 64, 0.28);
}

.menu-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
  grid-row: 1 / 4;
}

.menu-grid h3 {
  font-size: 19px;
  color: var(--color-main);
  margin: 18px 18px 8px;
}

.menu-grid p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 18px 8px;
}

.menu-grid p:last-child {
  color: var(--color-sub);
  font-size: 15px;
  font-weight: var(--base-weight2);
  margin-top: auto;
  margin-bottom: 18px;
}

.menu-list {
  margin: 28px 0 0;
}

.menu-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(161, 123, 64, 0.28);
}

.menu-list dt {
  font-size: 16px;
  line-height: 1.6;
  font-weight: var(--base-weight2);
}

.menu-list dd {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-sub);
  font-weight: var(--base-weight2);
  white-space: nowrap;
}

.menu-category section:nth-last-child(2) .menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
}

@media (min-width: 1024px) {
  .menu-category {
    gap: 72px;
  }

  .menu-category section > .section-en,
  .menu-category section > h2 {
    text-align: center;
  }

  .menu-category section > h2 {
    margin-bottom: 24px;
  }

  .menu-category section > p:not(.section-en) {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .menu-grid h3 {
    font-size: 18px;
  }

  .menu-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    margin-right: auto;
    margin-left: auto;
  }

  .menu-category section:nth-last-child(2) .menu-list {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 24px;
    max-width: none;
  }

  .menu-category section:last-child .menu-grid {
    grid-template-columns: minmax(0, 540px);
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .menu-grid article {
    grid-template-columns: 1fr;
  }

  .menu-grid img {
    height: auto;
    aspect-ratio: 4 / 3;
    grid-row: auto;
  }
}

/* ===== SEASONAL MENU ===== */
.section-seasonal {
  position: relative;
  background-color: var(--color-bg);
  overflow: hidden;
}

.section-seasonal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../common/images/back01.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.section-seasonal > .container {
  position: relative;
  z-index: 1;
}

.section-seasonal h2 {
  margin: 0 0 24px;
}

.section-seasonal p:not(.section-en) {
  font-family: var(--title-font);
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 32px;
}

.seasonal-card {
  display: block;
  max-width: 760px;
  border: 1px solid rgba(161, 123, 64, 0.34);
  background-color: var(--color-bg);
  cursor: zoom-in;
}

.seasonal-card img {
  display: block;
  width: 100%;
  height: auto;
}

.seasonal-monja {
  max-width: 760px;
  margin: 32px 0 0;
  padding: 28px 24px;
  border: 1px solid rgba(161, 123, 64, 0.34);
  background-color: rgba(255, 252, 245, 0.88);
}

.seasonal-monja .section-en {
  margin-bottom: 10px;
}

.seasonal-monja h3 {
  margin: 0 0 16px;
  color: var(--color-accent);
}

.section-seasonal .seasonal-monja p:not(.section-en) {
  margin-bottom: 24px;
}

.seasonal-monja .btn {
  white-space: nowrap;
}

.seasonal-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.78);
  z-index: 1000;
}

.seasonal-modal:target {
  display: flex;
}

.seasonal-modal a {
  position: absolute;
  inset: 0;
  cursor: zoom-out;
}

.seasonal-modal img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: min(94vw, 1200px);
  max-height: 88vh;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: contain;
}

@media (min-width: 1024px) {
  .section-seasonal .section-en,
  .section-seasonal h2,
  .section-seasonal p:not(.section-en) {
    text-align: center;
  }

  .section-seasonal p:not(.section-en) {
    font-size: 18px;
  }

  .seasonal-card {
    margin: 0 auto;
  }

  .seasonal-monja {
    margin: 40px auto 0;
    padding: 36px 48px;
    text-align: center;
  }
}

/* ===== DRINK ===== */
.section-drink {
  position: relative;
  background-color: var(--color-bg-sub);
  overflow: hidden;
}

.section-drink::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../common/images/back02.jpg');
  background-size: 960px auto;
  background-position: top left;
  background-repeat: repeat;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.section-drink > .container {
  position: relative;
  z-index: 1;
}

.section-drink h2 {
  margin: 0 0 24px;
}

.section-drink > .container > p:not(.section-en) {
  font-family: var(--title-font);
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 40px;
}

.drink-menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.drink-menu section {
  background-color: rgba(250, 246, 239, 0.9);
  border: 1px solid rgba(161, 123, 64, 0.28);
  padding: 24px 20px;
}

.drink-menu h3 {
  color: var(--color-main);
  font-size: 22px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(161, 123, 64, 0.32);
}

.drink-menu dl {
  margin: 0;
}

.drink-menu dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(161, 123, 64, 0.2);
}

.drink-menu dl div:last-child {
  border-bottom: none;
}

.drink-menu dt {
  font-size: 16px;
  line-height: 1.6;
}

.drink-menu dd {
  color: var(--color-sub);
  font-size: 14px;
  font-weight: var(--base-weight2);
  line-height: 1.6;
  white-space: nowrap;
}

.drink-menu section > p {
  color: var(--color-text-sub);
  font-size: 13px;
  line-height: 1.8;
  margin: 16px 0 0;
}

@media (min-width: 768px) {
  .drink-menu {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .section-drink .section-en,
  .section-drink h2,
  .section-drink > .container > p:not(.section-en) {
    text-align: center;
  }

  .section-drink > .container > p:not(.section-en) {
    font-size: 18px;
    max-width: 820px;
    margin: 0 auto 56px;
  }

  .drink-menu {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
  }

  .drink-menu section {
    padding: 28px 24px;
  }
}
