/* p-thanks
---------------------------------------------------------------------------- */
.p-thanks {
  padding-block: 22.4rem 15rem;
  position: relative;
}

.p-thanks::before {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../../../images/inquiry/bg_pc.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom right;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.p-thanks::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #f0f6fe;
  position: absolute;
  inset: 0;
  z-index: -2;
}

.p-thanks-ttl {
  font-size: 6.8rem;
  line-height: 1.1;
  font-weight: 700;
  font-family: "Josefin Sans";
  font-style: italic;
  color: #002c81;
  text-align: center;
}
.p-thanks-ttl span {
  font-size: 12rem;
}

.p-thanks-txt01 {
  font-size: 2.8rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-align: center;
}

.p-thanks-txt02 {
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
  font-weight: 400;
  text-align: center;
  margin-top: 3rem;
}

.p-thanks-button {
  width: 23.1rem;
  margin-inline: auto;
  margin-top: 6rem;
}

@media screen and (max-width: 767px) {
  .p-thanks {
    padding-block: 26.6666666667vw 13.3333333333vw;
  }
  .p-thanks::before {
    width: 100vw;
    height: 59.7333333333vw;
    background-image: url(../../../images/inquiry/bg_sp.webp);
    top: auto;
    bottom: 0;
  }
  .p-thanks-ttl {
    font-size: 9.3333333333vw;
  }
  .p-thanks-ttl span {
    font-size: 11.4666666667vw;
  }
  .p-thanks-txt01 {
    font-size: 5.3333333333vw;
    margin-top: 5.3333333333vw;
  }
  .p-thanks-txt02 {
    font-size: 4vw;
    text-align: left;
    margin-top: 5.3333333333vw;
  }
  .p-thanks-button {
    width: 61.6vw;
    margin-inline: auto;
    margin-top: 13.3333333333vw;
  }
}
