#popup-octsub .popup-content {
  width: 629px;
  height: 600px;
  background-image: url(../images/sub/popup-back.jpg);
  background-image: -webkit-image-set(url("../images/sub/popup-back.webp") 1x, url("../images/sub/popup-back@2x.webp") 2x);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#popup-octsub .popup-default,
#popup-octsub .popup-thanks {
  width: 100%;
  height: 100%;
}

#popup-octsub p {
  margin-bottom: 0;
}

#popup-octsub .popup-close {
  width: auto;
  height: auto;
  top: 0;
  right: 0;
  padding: 26px 21px;
}

#popup-octsub .popup-close img {
  opacity: 1;
}

#popup-octsub .popup-close::before,
#popup-octsub .popup-close::after {
  display: none;
}

#popup-octsub form {
  margin-top: 22px;
  margin-bottom: 0;
  max-width: 92%;
}

#popup-octsub .button {
  border-radius: 50px;
  background: #FFF;
  width: 185px;
  height: 45px;
  color: #000;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: uppercase;
  margin-top: 10px;
  padding: 0;
}

#popup-octsub .popup-thanks .button {
  width: 225px;
  margin-top: 30px;
}

#popup-octsub .form-action {
  justify-content: center;
  display: flex;
}

#popup-octsub .form-text-top {
  color: #FFF;
  text-align: center;
  font-size: 31px;
  font-style: normal;
  font-weight: 500;
  line-height: 99%;
  /* 30.69px */
  margin-bottom: 5px;
}

#popup-octsub .form-text-bottom {
  color: #FFF;
  text-align: center;
  text-shadow: 4.323px 5.403px 0 #780000;
  -webkit-text-stroke-width: 2.16px;
  -webkit-text-stroke-color: #7D0000;
  font-size: 42.147px;
  font-style: normal;
  font-weight: 700;
  line-height: 99%;
  /* 41.726px */
  text-transform: uppercase;
  font-family: "cc-thats-all-folks";
}

#popup-octsub .thanks-top {
  color: #FFF;
  text-align: center;
  text-shadow: 4.323px 5.403px 0 #780000;
  -webkit-text-stroke-width: 2.16px;
  -webkit-text-stroke-color: #7D0000;
  font-family: "cc-thats-all-folks";
  font-size: 58px;
  font-style: normal;
  font-weight: 700;
  line-height: 123%;
  /* 71.34px */
  text-transform: uppercase;
}

#popup-octsub .thanks-note {
  color: #FFF;
  text-align: center;
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: 117%;
  /* 29.25px */
  margin-top: 20px;
}

@supports (background: -webkit-named-image(i)) {

  #popup-octsub .popup-default .button,
  #popup-octsub .popup-thanks .button {
    padding-top: 2px;
  }
}

@media screen and (max-width: 567px) {
  #popup-octsub .popup-content {
    width: 100%;
    height: 100%;
    background-image: url(../images/sub/popup-back-m.jpg);
    background-image: -webkit-image-set(url("../images/sub/popup-back-m.webp") 1x, url("../images/sub/popup-back-m@2x.webp") 2x);
  }

  #popup-octsub form {
    margin-top: 18px;
    width: 100%;
  }

  #popup-octsub .popup-form,
  #popup-octsub .popup-inner {
    width: 100%;
  }

  #popup-octsub .form-text-top {
    font-size: 23.69px;
    /* 23.453px */
  }

  #popup-octsub .thanks-top {
    text-shadow: 1cqw 1.5cqw 0 #780000;
    -webkit-text-stroke-width: 0.5cqw;
    font-size: 9.8cqw;
    line-height: 12.5cqw;
  }

  #popup-octsub .form-text-bottom {
    text-shadow: 3.303px 4.129px 0 #780000;
    -webkit-text-stroke-width: 1.65px;
    font-size: 32.208px;
    /* 31.886px */
  }

  #popup-octsub .thanks-note {
    font-size: 6cqw;
    margin-top: 5cqw;
    line-height: 7cqw;
  }
}