.main {
  padding: 11.6rem 0 20rem;
  overflow: hidden;
}

/* 背景 */
.bg {
  background-image: url("../img/top,header,footer/top_bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

.thanks {
  text-align: center;
  color: #333333;
}
.thanks h1 {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: calc(54em / 35);
  letter-spacing: 0;
  margin-top: 7rem;
  margin-bottom: 1.3rem;
}
.thanks p {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 400;
  font-size: 2rem;
  line-height: calc(40em / 18);
  letter-spacing: 0;
}
.thanks p:nth-child(2) {
  margin-bottom: 5.6rem;
}
.thanks p:nth-child(3) {
  font-size: 1.8rem;
  margin-bottom: 1.6rem;
}
.thanks p:nth-child(4) {
  font-size: 1.8rem;
  margin-bottom: 2.8rem;
  line-height: calc(27em / 18);
}
.thanks a {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: 2.7rem;
  line-height: calc(88em / 27);
  letter-spacing: 0;
  display: block;
  width: 34.3rem;
  height: 8.7rem;
  margin: 5rem auto 0;
  background-color: #ecae50;
  border-radius: 0.8rem;
  color: #fff;
}

@media screen and (max-width: 699.98px) {
  .thanks h1 {
    margin-top: 10rem;
    font-size: 3rem;
  }
  .thanks p {
    font-size: 1.8rem;
  }
  .thanks a {
    font-size: 2.4rem;
    width: 26.3rem;
    height: 6.6rem;
    line-height: calc(66em / 24);
  }
  .thanks p:nth-child(3) {
    font-size: 1.6rem;
    line-height: calc(24em / 16);
  }
  .thanks p:nth-child(4) {
    font-size: 1.6rem;
    line-height: calc(24em / 16);
  }
}
