@charset "UTF-8";

.layout {
  position: relative;
}

.section__menu {
  padding: 80px 0;
}

.section__topic {
  margin-top: var(--headerHeight);
  padding: 0 var(--contentPadding);
}

.menuNav--top {
  padding-top: 8px;
}

.menu__btnList {
  margin-top: 60px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  row-gap: 8px;
  column-gap: clamp(4px, 2vw, 20px);
  cursor: pointer;
  background-color: rgba(244, 236, 225, 0.7);
  width: 100%;
}

/* .menu__btn {
  font-size: 1.4rem;
  font-weight: 500;
  background-color: var(--White);
  border: 1px solid var(--Brown);
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 34px;
} */

.menu__btn a {
  font-size: 1.4rem;
  font-weight: 500;
  background-color: var(--White);
  border: 1px solid var(--Brown);
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 34px;
  width: 100%;
}

/* .menu__content {
  scroll-margin-top: 89px;
} */

.menu__topic {
  width: 100%;
  height: 96px;
  background-color: var(--Brown);
  color: var(--White);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 40px 0 32px;
  /* scroll-margin-top: 89px; */
  scroll-margin-top: calc(var(--headerHeight) + 8px + var(--fixedNavHeight, 0px));
}

.menu__main {
  font-size: 2.2rem;
  font-weight: 700;
}

.menu__sub,
.menu__time {
  font-size: 1.4rem;
  font-weight: 500;
}

.menu__list {
  padding: 0 8.6%;
  width: 100%;
}

.menuItem__photo {
  margin-top: 24px;
  background-color: var(--White);
  border-radius: 24px 24px 0 0;
}

.menuItem__img {
  display: block;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
}

.menuItem__textBox {
  padding: 16px 0 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.nameSmall {
  font-size: 1.2rem;
}

.menuItem__price {
  font-size: 2.4rem;
  line-height: 1.3;
}

.yen {
  font-size: 1.6rem;
  line-height: 1.3;
}

.menuItem__category {
  background-color: var(--Beige);
  width: 100%;
  height: 39px;
  line-height: 39px;
  text-align: center;
  margin-top: 16px;
}

.menuItem__text {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 16px;
}


.menuItem__category--pasta,
.menuItem__category--hotdog,
.menuItem__category--otherDesert,
.menuItem__category--coffee {
  margin-top: 24px;
}

.menuItem__text--no-margin {
  margin: 0;
}

.menuNav--fixed {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  z-index: 100;
}

.menu__btnList--fixed {
  margin-top: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  row-gap: 8px;
  column-gap: clamp(4px, 2vw, 20px);
  cursor: pointer;
  background-color: rgba(244, 236, 225, 0.7);
  width: 100%;
}

.is-hide {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.is-show {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* menu */
@media screen and (min-width: 1024px) {
  .menuNav--fixed {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    left: 8.3%;
  }

  .section__menu {
    padding: 0 0 80px;
  }

  .menuNav--top {
    display: none !important;
  }

  .menu__topic {
    scroll-margin-top: 0;
  }
}

@media screen and (min-width: 1441px) {
  .menuNav--fixed {
    left: calc(8.3% + (100% - 1440px) / 2);
  }

  .menuNav--top {
    display: none !important;
  }

  /* .menu__topic {
    scroll-margin-top: 0;
  } */
}