@charset "utf-8";

body {
  background-image: url(../images/fablic.jpg);
  background-size: cover;
  background-repeat: repeat-y;
  z-index: -500;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  justify-content: center;
  margin-top: 26px;
}

.menu__item {
  padding: 10px 15px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 4px 4px 4px 0px rgba(201, 170, 141, 0.25);
  font-family: "Kaisei Decol";
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: 3px solid #f7f4f4;
}

.menu__item.active {
  background: rgba(201, 170, 141, 0.8);
  box-shadow: 4px 4px 4px 0px rgba(255, 255, 255, 0.8);
}

.menu__item.active:hover {
  border: 3px solid #ffffff;
}

.title {
  font-family: "Kaisei Decol";
  font-size: 1.6rem;
  font-weight: 700;
  padding: 20px 8px 14px 0;
}

.sweets__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.sweets__item {
  width: 40%;
  margin-top: 44px;
}

.menu__item:hover {
  transition: 0.1s;
  border: 3px solid var(--lightbrown);
}

.sweets__item:first-of-type {
  width: 80%;
}

.sweets__item img {
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

.sweets__description {
  margin: 16px auto 0;
  text-align: center;
}

.text {
  font-size: 1.4rem;
  margin-top: 10px;
  text-align: start;
}

.footer {
  margin-top: 82px;
}

.menu__contents {
  display: none;
}

.menu__contents.show {
  display: block;
}

.subtitle {
  min-height: 47px;
}

/* sweets PC */
@media screen and (min-width: 769px) {
  .title {
    font-size: 3.2rem;
    padding: 42px 33px 32px 0;
    margin-top: 140px;
  }

  .menu {
    gap: 0 56px;
    margin-top: 62px;
  }

  .menu__item {
    font-size: 2.4rem;
  }

  .sweets__list {
    gap: 55px;
  }

  .sweets__item,
  .sweets__item:first-of-type {
    width: 41.6%;
    margin-top: 71px;
  }

  .sweets__item:nth-last-of-type(-n + 3) {
    width: 29%;
  }

  .sweets__description {
    margin: 10px auto 0;
  }

  .text {
    font-size: 1.6rem;
    margin: 30px auto 0;
    width: 76%;
  }

  .footer {
    margin-top: 131px;
  }

  .brSp {
    display: none;
  }
}
