/* ==========================================================================
   Thanks
========================================================================== */

.thanks {
  width: 100%;
  min-height: calc(100svh - var(--header-h) - 96px);
  display: flex;
  justify-content: center;
  padding: 114px 0 120px;
  text-align: center;
  box-sizing: border-box;

  @media screen and (max-width: 767px) {
    padding: 50px 0;
  }
}

.thanks__title {
  color: var(--color-main);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 160%;
  letter-spacing: 0.02em;
  margin-bottom: 40px;

  @media screen and (max-width: 767px) {
    font-size: 2.8rem;
    margin-bottom: 30px;

    @media screen and (max-width: 414px) {
      font-size: calc(100vw * 28 / 414);
    }
  }
}

.thanks__lead {
  color: var(--color-text);
  text-align: center;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 175%;

  @media screen and (max-width: 767px) {
    font-size: 1.4rem;

    @media screen and (max-width: 414px) {
      font-size: calc(100vw * 14 / 414);
    }
  }
}


.review {
  width: 800px;
  margin-top: 40px;

  @media screen and (max-width: 767px) {
      width: 82%;
      margin: 0 auto;
      margin-top: 40px;

    @media screen and (max-width: 414px) {
      width: 100%;
      margin-top: 30px;
    }
  }
}
.review_box {
  position: relative;

  @media screen and (max-width: 767px) {
    position: relative;

    @media screen and (max-width: 414px) {
      position: relative;
    }
  }
}
.review_btn {
  position: absolute;
  right: 0px;
  left: 0px;
  bottom: 23px;
  margin: 0px auto;
  width: 750px;

  @media screen and (max-width: 767px) {
    position: absolute;
    right: 0;
    left: 0;
    bottom: -120px;
    margin: 0 auto;
    width: 72%;

    @media screen and (max-width: 414px) {
      position: absolute;
      right: 0;
      left: 0;
      bottom: 5%;
      margin: 0 auto;
      width: 86%;
    }
  }
}
.review_btn a {
  transition: opacity 0.3s ease; 

  @media screen and (max-width: 767px) {
    transition: opacity 0.3s ease; 

    @media screen and (max-width: 414px) {
      transition: opacity 0.3s ease; 
    }
  }
}
.review_btn a:hover {
  opacity: 0.7;

  @media screen and (max-width: 767px) {
   opacity: 0.7;

    @media screen and (max-width: 414px) {
      opacity: 0.7;
    }
  }
}