@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap");

.explain * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}

.explain {
  margin: 0 10px;
}

.explain img {
  display: block;
  width: 90%;
  margin: 0 auto 30px;
}

.explain p {
  margin-bottom: 1.4em;
  font-size: clamp(0.875rem, 0.6323rem + 1.0356vw, 1.875rem);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
}

.explain h1 {
  font-weight: 400;
  margin: 20px 0 20px;
  font-size: clamp(1.25rem, 0.4915rem + 3.2362vw, 2.5rem);
  font-family: "Noto Sans JP", sans-serif;
}

.explain h2 {
  font-size: clamp(1.2625rem, 0.9316rem + 2.1654vw, 2.95rem);
  margin-bottom: 0.3em;
  font-family: "Noto Sans JP", sans-serif;
}

.secret-list {
  list-style: none;
  width: 90%;
  margin: 0 auto 80px;
}

.secret-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.secret-item:last-child {
  margin-bottom: 0;
}

.secret-item-text {
  font-size: clamp(1.05rem, 0.3915rem + 1.9362vw, 2.775rem);
  flex: 1;
}

.secret-item-text h3 {
  font-weight: 500;
  margin-bottom: 0.3em;
}

.secret-item-text p {
  font-size: 0.7em;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.4;
  margin-left: 1.5em;
}

.explain .secret-item-img {
  width: 30%;
  margin: 0;
}

.explain figure {
  margin-bottom: 80px;
}

.explain figure figcaption {
  font-size: clamp(1.15rem, 0.4915rem + 2.6362vw, 2.375rem);
  text-align: center;
}

.explain .allergy {
  font-size: clamp(1.15rem, 0.3915rem + 1.6362vw, 2.375rem);
  margin-bottom: 20px;
}

.explain .annotation {
  font-size: clamp(0.625rem, 0.4126rem + 0.9061vw, 1.5rem);
}

footer {
  aspect-ratio: 1220 / 281;
  background: url(img/7.jpg) center center no-repeat;
  background-size: cover;
  color: white;
}

footer > p {
  margin: 0 0 0 20px;
  font-family: "Noto Sans JP", sans-serif;
}

footer > p:first-child {
  font-size: clamp(1.763177083125rem, 0rem + 8.0833vw, 7.679166625rem);
}

footer > p:last-child {
  font-size: clamp(0.799791666875rem, 0rem + 3.6667vw, 3.183333rem);
}

@media screen and (max-width: 959px) {
  main {
    margin: 0;
  }

  .explain img {
    width: 90%;
    margin: 0 auto 15px;
  }

  .explain p {
    margin-bottom: 1em;
  }

  .explain h1 {
    margin: 10px 0;
    font-size: 17px;
  }

  .explain h2 {
    font-size: 18px;
    margin-bottom: 1em;
  }

  .secret-list {
    width: 100%;
    margin: 0 auto 40px;
  }

  .secret-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 30px;
  }

  .secret-item:last-child {
    margin-bottom: 0;
  }

  .secret-item-text {
    font-size: 16px;
    flex: 1;
    margin-bottom: 0;
  }

  .secret-item-text h3 {
    margin-bottom: 0.3em;
  }

  .secret-item-text p {
    font-size: 0.8em;
    margin-left: 1.5em;
    margin-bottom: 0;
  }

  .explain .secret-item-img {
    width: 50%;
    margin: 0 auto;
  }

  .explain figure {
    margin-bottom: 40px;
  }

  .explain figure figcaption {
    font-size: 16px;
    text-align: center;
  }

  .explain .allergy {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .explain .annotation {
    font-size: 12px;
  }
}
