html {
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  max-width: 750px;
  width: 100%;
  margin-inline: auto;
}

a {
  text-decoration: none;
  color: black;
}

img {
  width: 100%;
  vertical-align: bottom;
}

button {
  background: transparent;
}

/* 驚きの人気 */
.ranking {
  position: relative;
}

.ranking-copy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* オファー */
.offer {
  position: relative;
}

.rice {
  position: absolute;
  top: 84.5%;
  left: 50%;
  width: 86%;
  transform: translateX(-50%);
  font-size: 1.0em;
}

.cta {
  position: absolute;
  bottom: 2%;
  left: 50%;
  width: 86%;
  transform: translateX(-50%);
  overflow: visible;
}
.cta-button {
  cursor: pointer;
  position: relative;
  animation: bounce 1.25s infinite alternate;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-25deg);
  animation: shine 2s infinite linear;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 150%;
  }
}
@keyframes bounce {
  0% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  30% {
    transform: translateY(-15px);
    animation-timing-function: ease-in;
  }
  60% {
    transform: translateY(0);
    animation-timing-function: linear;
  }
  80% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}

/* 静岡茶 */
.shizuokaTea {
  position: relative;
}

.shizuokaTea-copy {
  position: absolute;
  top: 76%;
  left: 0;
  width: 100%;
}

.shizuokaTea-copy2 {
  position: absolute;
  top: 5%;
  left: 0;
  width: 100%;
}

/* お悩み */
.trouble {
  position: relative;
  overflow: hidden;
}

.trouble01 {
  position: absolute;
  top: 8%;
  right: 0;
  width: 55%;
}
.trouble02 {
  position: absolute;
  top: 16%;
  left: -6%;
  width: 62%;
  overflow: hidden;
}
.trouble03 {
  position: absolute;
  top: 25%;
  right: 0;
  width: 55%;
}

.teaLeaves {
  position: absolute;
  top: 87.5%;
  right: 0;
  width: 52%;
  overflow: hidden;
  animation: zoomInOut 1.5s ease-in-out;
}

@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}
.zoom-in-out {
  animation-name: zoomInOut;
  animation-duration: 1.5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  opacity: 0;
  transform: scale(0.8);
}

.zoom-in-out.start-animation {
  animation-play-state: running;
}

.zoom-in-out.stop-animation {
  animation-play-state: paused;
}

@keyframes zoomInOut {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* おすすめのお召し上がり方 */
.howToDrink {
  position: relative;
}

.reason-copy {
  position: absolute;
  top: 55.5%;
  right: 0;
  width: 32%;
}

/* 定期コース案内 */
.regularCourse-content {
  position: relative;
  color: #593918;
}

.regularCourse .rice {
  position: absolute;
  top: 81%;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  font-size: 1.1rem;
}

.rice-title {
  font-weight: bolder;
  font-size: 1.5em;
}

@media screen and (max-width: 540px) {
  html {
    font-size: 13px;
  }
  .cta {
    bottom: 1.5%;
  }
  .regularCourse .rice {
    top: 81%;
    font-size: 1rem;
  }
}
@media screen and (max-width: 540px) {
  html {
    font-size: 10px;
  }

  .rice {
    line-height: 1.5;
  }
}

@media screen and (max-width: 400px) {
  html {
    font-size: 9px;
  }

  .cta {
    bottom: 1.35%;
  }
}
@media screen and (max-width: 375px) {
  html {
    font-size: 8.5px;
  }

  .cta {
    bottom: 1.4%;
  }
}
