@charset "UTF-8";

.page-template-thanks-page-php {
  background: var(--color-white);
}

.thanks-page {
  min-height: 850px;
  overflow: hidden;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-primary);
}

.thanks-hero {
  position: relative;
  height: 209px;
  background: var(--color-bg-beige);
}

.thanks-hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 162px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 162' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 162H1440V131C1224 126 1027 90 775 45C462-11 192 18 0 57V162Z'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
  pointer-events: none;
}

.thanks-complete {
  position: relative;
  z-index: 1;
  padding-top: 28px;
  text-align: center;
}

.thanks-complete__inner {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 0 30px;
}

.thanks-complete__icon {
  display: block;
  width: 92px;
  height: 92px;
  margin: 0 auto 45px;
  color: var(--color-green);
  overflow: visible;
}

.thanks-complete__icon-circle,
.thanks-complete__icon-check {
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 9;
}

.thanks-complete__title {
  margin: 0 0 34px;
  color: var(--color-text);
  font-family: var(--font-kosugi);
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.thanks-complete__text {
  margin: 0;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0;
}

.thanks-complete__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 219px;
  height: 55px;
  margin-top: 101px;
  border-radius: 999px;
  background: var(--color-green);
  color: var(--color-white) !important;
  font-family: var(--font-kosugi);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.thanks-complete__button:hover {
  opacity: 0.86;
}

@media screen and (max-width: 767px) {
  .thanks-page {
    min-height: 1027px;
  }

  .thanks-hero {
    height: 149px;
  }

  .thanks-hero::after {
    height: 96px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 750 96' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M0 96H750V79C638 65 522 31 388 13C235 -8 113 12 0 18V96Z'/%3E%3C/svg%3E");
  }

  .thanks-complete {
    padding-top: 22px;
  }

  .thanks-complete__inner {
    width: 100%;
    padding: 0 55px;
  }

  .thanks-complete__icon {
    width: 92px;
    height: 92px;
    margin-bottom: 35px;
  }

  .thanks-complete__title {
    margin-bottom: 36px;
    font-size: 43px;
  }

  .thanks-complete__text {
    font-size: 27px;
    line-height: 1.72;
    white-space: nowrap;
  }

  .thanks-complete__button {
    width: 389px;
    max-width: 100%;
    height: 86px;
    margin-top: 150px;
    font-size: 31px;
  }
}

@media screen and (max-width: 560px) {
  .thanks-page {
    min-height: 514px;
  }

  .thanks-hero {
    height: 75px;
  }

  .thanks-hero::after {
    height: 48px;
  }

  .thanks-complete {
    padding-top: 11px;
  }

  .thanks-complete__inner {
    padding: 0 28px;
  }

  .thanks-complete__icon {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
  }

  .thanks-complete__title {
    margin-bottom: 18px;
    font-size: 22px;
  }

  .thanks-complete__text {
    font-size: clamp(13px, 3.55vw, 14px);
  }

  .thanks-complete__button {
    width: 195px;
    height: 43px;
    margin-top: 75px;
    font-size: 16px;
  }
}

/* Final lower-page hero alignment: match guide-page */
.thanks-hero {
  position: relative;
  z-index: 0;
  overflow: visible;
  background: #faf9f4;
}

.thanks-hero::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -61px;
  left: 0;
  width: 100%;
  height: 184px;
  background-color: #fff;
  background-image: url("../images/wave_up_bg_beige.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 100% 130%;
  pointer-events: none;
  z-index: 0;
  transform: scaleX(-1);
}

@media screen and (max-width: 767px) {
  .thanks-hero::after {
    bottom: -98px;
    height: 156px;
    background-size: 111% 80%;
  }
}
