#popup-aug {
  font-size: 16px;
  z-index: 999999;
  --gray: #a3a3a6;
  --red: #ed1c24;
  --focus-border: #000;
  --focus-color: #79797b;
  --error-border: #e32e22;
  --error-color: #e32e22;
}
#popup-aug .popup-overlay {
  background-color: rgba(0, 0, 0, 0.66);
}
#popup-aug .popup-content {
  flex-basis: 1076px;
  max-height: 100%;
  height: 553px;
  top: 156px;
  align-self: self-start;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: cover;
  background-image: url(../../../images/home/hero/25/aug/popup-back.jpg);
  background-image: -webkit-image-set(
    url("../../../images/home/hero/25/aug/popup-back.jpg") 1x,
    url("../../../images/home/hero/25/aug/popup-back@2x.jpg") 2x
  );
  max-width: calc(100% - 30px);
  transition: all 0.5s;
  transform: translateX(-100%);
}
#popup-aug .popup-close {
  z-index: 10;
}
#popup-aug .popup-close:before,
#popup-aug .popup-close:after {
  display: none;
}
#popup-aug .popup-content.on {
  transform: translateX(0);
}
#popup-aug .aug-left {
  flex-basis: 386px;
  flex-grow: 0;
  flex-shrink: 0;
  padding: 0 15px;
}
#popup-aug .aug-default,
#popup-aug .aug-thanks {
  flex-grow: 1;
  padding: 0 19px;
  max-width: 63%;
}
#popup-aug form {
  width: 624px;
  margin-top: 5px;
}

#popup-aug .form-field {
  padding: 9px;
  flex-basis: 50%;
  flex-grow: 1;
}

#popup-aug .form-field label {
  left: 16px;
  font-size: 1.125em;
  margin-bottom: 0;
  line-height: 1;
  margin-top: 0.3em;
  transition: all 0.3s;
}

#popup-aug .form-field .textarea_box label {
  margin-top: 16px;
}

#popup-aug .form-field input,
#popup-aug .form-field textarea,
#popup-aug .form-field select {
  font-size: 1.125em;
  height: 56px;
  background-color: #fff;
  width: 100%;
  text-indent: 16px;
  padding-top: 18px;
  border-radius: 12px;
}

#popup-aug .form-field select {
  background-image: none;
}

#popup-aug .form-field textarea {
  height: 126px;
  padding-top: 16px;
  resize: none;
}

#popup-aug .form-field .select_box:after {
  content: "";
  display: block;
  width: 17px;
  height: 10px;
  position: absolute;
  right: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../../../images/home/hero/25/aug/down-arrow.png);
  background-image: -webkit-image-set(
    url("../../../images/home/hero/25/aug/down-arrow.png") 1x,
    url("../../../images/home/hero/25/aug/down-arrow@2x.png") 2x
  );
  background-size: cover;
  pointer-events: none;
}

@-moz-document url-prefix() {
  #popup-aug .form-field select {
    text-indent: 8px;
  }
}

#popup-aug .form-field select.selected,
#popup-aug .form-field input {
  color: var(--black);
}

#popup-aug .form-field select,
#popup-aug .form-field ::placeholder {
  opacity: 1;
  color: #262626;
}

#popup-aug .form-field input:-internal-autofill-selected,
#popup-aug .form-field input:-webkit-autofill,
#popup-aug .form-field input:-webkit-autofill:focus {
  background-color: #fff !important;
  transition: background-color 0s 600000s, color 0s 600000s !important;
}

#popup-aug .button {
  width: 10em;
  height: 2.2em;
  border-radius: 1.1em;
  font-size: 1.25em;
  margin-top: 10px;
}

#popup-aug .form-action [type="submit"].button {
  width: 8.5em;
}

#popup-aug .form-action [type="submit"].button[disabled] {
  opacity: 0.8;
  cursor: not-allowed;
}

#popup-aug .form-field .select_box.focused:after {
  transform: scaleY(-1);
}

#popup-aug .form-field .focused label,
#popup-aug .form-field .has-value label {
  font-size: 0.84375em;
  margin-top: calc(-2.9em + 24px);
  color: var(--focus-color);
}

#popup-aug .form-field .textarea_box.focused label,
#popup-aug .form-field .textarea_box.has-value label {
  margin-top: 8px;
}

#popup-aug .form-field .focused select,
#popup-aug .form-field .focused textarea,
#popup-aug .form-field .focused input {
  border-color: var(--focus-border);
  border-width: 2px;
}

#popup-aug .form-field .validation-error:before,
#popup-aug .form-field .incomplete-mask:before {
  content: "";
  display: block;
  width: 23px;
  height: 23px;
  position: absolute;
  z-index: 2;
  right: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../../../../../../images/error.png);
  background-image: -webkit-image-set(
    url("../../../../../../images/error.png") 1x,
    url("../../../../../../images/error@2x.png") 2x
  );
  background-size: cover;
  pointer-events: none;
}

#popup-aug .form-field .validation-error select,
#popup-aug .form-field .validation-error textarea,
#popup-aug .form-field .validation-error input,
#popup-aug .form-field .incomplete-mask input {
  border-color: var(--error-border);
  border-width: 2px;
}

#popup-aug .form-field .validation-error label,
#popup-aug .form-field .incomplete-mask label {
  color: var(--error-color);
}

#popup-aug .form-field .form-field-error {
  bottom: -1.5em;
  left: 2em;
  font-size: 0.5em;
}
#popup-aug .aug-thanks .main-text {
  line-height: 1.32352941;
  font-size: 1.0625em;
  margin-bottom: 11px;
  margin-top: 25px;
}
#popup-aug .aug-thanks .code {
  line-height: 1;
  font-size: 1.75em;
  margin-bottom: 20px;
}
#popup-aug .aug-thanks .button {
  padding: 0;
  line-height: 1;
}

#popup-aug .wheel-ph {
  width: 100%;
}
#wheel-popup {
  width: 34em;
  max-width: unset;
  height: auto;
  transform: rotate(90deg);
  top: -128px;
  left: -11em;
}
#popup-aug .aug-buttons {
  gap: 1em;
}
#popup-aug .thanks-img {
  width: 63%;
  margin-bottom: 4%;
}

#popup-aug .disclamer {
  line-height: 1.2;
  font-size: 11px;
  margin-bottom: 0;
  margin-top: 16px;
  max-width: 80%;
}
/* Safari Only */
@supports (background: -webkit-named-image(i)) {
  #popup-aug .form-action [type="submit"].button {
    padding: 0;
    padding-top: 6px;
  }
  #popup-aug .aug-thanks .button {
    padding-top: 4px;
  }
}
@media screen and (max-width: 991px) {
  #popup-aug .aug-left {
    flex-basis: 298px;
  }
  #wheel-popup {
    width: 30em;
    max-width: unset;
    height: auto;
    transform: rotate(90deg);
    top: -105%;
    left: -11em;
  }
  #popup-aug .wheel-ph {
    width: 74%;
  }
}
@media screen and (max-width: 767px) {
  #popup-aug {
    left: inherit;
    width: 100%;
    justify-content: center;
  }
  #popup-aug .popup-content {
    overflow: hidden;
    background-position: bottom center;
    background-image: url(../../../images/home/hero/25/aug/popup-back-m.jpg);
    background-image: -webkit-image-set(
      url("../../../images/home/hero/25/aug/popup-back-m.jpg") 1x,
      url("../../../images/home/hero/25/aug/popup-back-m@2x.jpg") 2x
    );
    flex-basis: auto;
    width: 100%;
    max-width: 100%;
    height: 100%;
    flex-direction: column;
    transform: translateY(100%);
    align-self: flex-end;
    align-self: center;
    top: 0;
  }
  #popup-aug .popup-content.on {
    transform: translatey(0);
  }
  #popup-aug .aug-default,
  #popup-aug .aug-thanks {
    margin: 0 auto;
    padding: 45px 0 25px;
    display: flex;
    align-items: center;
  }
  #popup-aug .aug-default,
  #popup-aug .aug-form {
    max-width: 100%;
  }
  #popup-aug .slot {
    width: 312px;
  }
  #popup-aug .aug-form form {
    margin-top: 0;
    width: 313px;
  }
  #popup-aug .aug-form .form-row {
    flex-direction: column;
  }
  #popup-aug .form-field {
    padding: 6px 0;
  }
  #popup-aug .form-action [type="submit"].button {
    margin-top: 0;
  }
  #popup-aug .aug-thanks {
    flex-direction: column;
    justify-content: center;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }
  #popup-aug .aug-thanks .main-text {
    font-size: 1.133333333333333em;
    line-height: 1.194444444444444;
    margin-top: 16px;
    margin-bottom: 16px;
  }
  #popup-aug .aug-thanks .code {
    font-size: 2em;
    margin-bottom: 10px;
  }

  #popup-aug .button {
    font-size: 1.1em;
    height: 2.4em;
    border-radius: 1.3em;
  }
  #popup-aug .aug-left {
    flex-basis: 30%;
  }
  #wheel-popup {
    width: 100%;
    max-width: unset;
    height: auto;
    transform: rotate(180deg);
    top: unset;
    left: 0%;
    bottom: 8%;
  }
  #popup-aug .aug-default {
    max-width: 100%;
    padding-top: 1%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  #popup-aug .thanks-img {
    width: 100%;
    margin-bottom: 9%;
  }
  #popup-aug .slot {
    width: 55%;
  }
  #popup-aug .aug-left {
    flex-basis: 26%;
  }
}
@media screen and (max-width: 375px) {
  #popup-aug .aug-buttons {
    gap: 2em;
    flex-direction: column;
  }
}
