.contact {
  padding: 40px 21px 10px;
}

.page_title {
  font-size: 24px;
  text-align: center;
  font-weight: 500;
  letter-spacing: 2px;
}

.contact input,
.contact textarea,
.contact select {
  font-size: 16px;
}

.contact_form {
  padding-top: 0;
}

.contact__type {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 6px;
}

.contact__type {
  font-size: 16px;
}

.contact__type input[type="radio"] {
  transform: scale(1.5);
  margin-right: 4px;
}

.submit-button {
  width: 85.33vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto 80px;
  background-color: #000;
  border-radius: 8px;
  text-align: center;
  min-height: 60px;
  /* line-height: 60px; */
  color: white;
  max-width: 320px;
  font-size: 20px;
  font-weight: 700;
}

.submit-button--back {
  margin-top: 40px;
  margin-bottom: 40px;
}

.submit-button--send {
  margin-top: 0;
}

.contact_content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 54px;
}

.contact_wrapper {
  margin-top: 43px;
}

.contact_section_wrapper {
  padding: 100px 0;
}

.contact_section {
  padding-bottom: 100px;
}

.contact_content img {
  position: relative;
  width: 36px;
  margin-right: 5px;
  top: -5px;
}

img.order_content__icon {
  position: absolute;
  left: 50px;
  top: 18px;
  width: 20px;
}

.contact_form {
  color: #000;
}

input[type="tel"] > a {
  color: #3b4043;
}

.contact__form {
  padding-top: 62px;
  padding-bottom: 104px;
}
.contact__item {
  padding-bottom: 40px;
  width: 100%;
  max-width: 744px;
  margin-left: auto;
  margin-right: auto;
}
form > .contact__item {
  padding-bottom: 0;
}

.contact_form > .contact__item {
  padding-bottom: 0px;
}

.contact_form > .contact__item:last-of-type {
  padding-bottom: 0;
}

.contact__item.region {
  margin-left: 0;
}

.contact__label {
  padding-bottom: 10px;
  font-weight: 700;
  color: #000000;
}
.contact__required {
  background-color: #ca3c38;
  border-radius: 4px;
  margin-right: 10px;
  min-width: 44px;
  /* width: 44px; */
  padding: 2px 8px 0 8px;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  height: 25px;
  line-height: normal;
}

.contact__sub-required {
  background-color: #aaaaaa;
  border-radius: 4px;
  margin-right: 10px;
  width: 44px;
  padding: 2px 8px 0px 8px;
  display: inline-block;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: #ffffff;
  height: 25px;
  line-height: normal;
}

.contact__name {
  max-width: 744px;
  width: 100%;
}

.mw_wp_form .error {
  font-size: 14px;
  color: #b70000;
  display: block;
  margin-top: 4px;
}

.contact__item:first-of-type .contact__name input {
  margin-right: 0;
}

.contact__birth {
  display: flex;
}
.contact__birth > select {
  margin-right: 20px;
  padding: 0 8px;
}
.contact__birth > select:nth-child(1) {
  width: 150px;
}
.contact__birth > select:nth-child(2) {
  width: 65px;
}
.contact__birth > select:last-child {
  width: 65px;
}
.contact__input {
  border: 1px solid #707070;
  padding: 8px 16px;
  height: 40px;
  width: 100%;
  /* margin-bottom: 20px; */
  background-color: #f8f8f8;
  border-radius: 4px;
  font-weight: 500;
}

.contact__medium-input {
  width: 320px;
  max-width: 100%;
  display: block;
  position: relative;
  margin-bottom: 20px;
}
.contact__small-input {
  max-width: 235px;
  display: block;
  position: relative;
}

.contact__small-input02 {
  max-width: none;
}
.contact__small-input03 {
  margin-bottom: 0;
}
.contact__small2-input {
  max-width: 132px;
}
.contact__textarea {
  border: 1px solid #707070;
  border-radius: 4px;
  padding: 8px 16px;
  height: 200px;
  width: 100%;
  background-color: #f8f8f8;
}
.contact__select {
  background-image: url(../images/contact/select_arrow.svg);
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 20px 9px;
  border: 1px solid #707070;
  border-radius: 4px;
  width: 235px;
  position: relative;
}

.contact__radio {
  cursor: pointer;
  padding-left: 20px !important;
  vertical-align: middle;
  position: relative;
}
.contact__radio::before {
  content: "";
  display: block;
  position: absolute;
  background-color: #ffffff;
  border: 1px solid #707070;
  width: 20px;
  height: 20px;
  transform: translateY(-55%);
  top: 50%;
  left: 0;
}
.contact__radio::after {
  content: "";
  display: block;
  position: absolute;
  border-bottom: 2px solid #707070;
  border-left: 2px solid #707070;
  opacity: 0;
  height: 11px;
  width: 17px;
  transform: rotate(-50deg);
  top: -5px;
  left: 3px;
}
.contact__radio:checked::after {
  opacity: 1;
}
.contact__accept {
  display: inline-block;
  padding-left: 10px;
  font-weight: 700;
  margin-top: 20px;
}

.contact__btn-pt {
  padding-top: 10px;
  text-align: center;
}

::placeholder {
  color: #c7c7c7;
}

.is-empty {
  color: #c7c7c7;
}

:disabled {
  color: #3b4043;
  background-color: #ffffff;
  border: 1px solid #707070;
}

.common__btn__wrap {
  width: 320px;
  height: 60px;
  background-color: #191919;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  line-height: calc(18 / 14);
  text-align: center;
  margin-top: 40px;
}

.common__btn__wrap a {
  color: #fff;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 20px;
  font-weight: bold;
}

.contact__item__sign {
  margin-top: 10px;
}

.contact__section_wrapper {
  padding-bottom: 100px;
}

.contact__information {
  text-align: center;
}

.contact__information p {
  line-height: 1.5;
}

.contact__checkbox {
  font-weight: 700;
}

.contact__item.region {
  width: 132px;
}

.contact__item.region select span {
  font-size: 10px;
}

.contact__confirm {
  position: relative;
  padding: 150px 10px 250px 10px;
}

.form-container {
  background-color: white;
  width: 100%;
  max-width: 752px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 40px;
  border-bottom: 1px solid #333333;
  padding-bottom: 10px;
}

.form-group:last-child {
  border-bottom: none;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.form-value {
  padding: 5px 0;
  color: #333;
  line-height: 21px;
}

.contact__complete {
  margin-top: 150px;
  padding-bottom: 250px;
}

.contact__complete img {
  width: 52px;
  height: 52px;
  display: block;
  margin: 0 auto;
}

.contact__complete p,
.contact__complete h2 {
  display: block;
  max-width: 600px;
  margin: 40px auto 0 auto;
}

.contact-complete__txt {
  text-align: center;
  margin: 0px auto 80px;
  width: 100%;
  font-size: 16px;
  line-height: 24px;
}

@media (min-width: 768px) {
  .contact {
    padding-top: 0px;
  }

  .fadeInUp {
    padding-top: 120px;
  }

  .contact__type {
    display: flex;
    flex-direction: row;
    gap: 32px;
  }

  .contact_content {
    margin-bottom: 0px;
  }

  .contact_content {
    justify-content: space-between;
  }

  .contact_form {
    color: #000;

    max-width: 752px;
    margin: 0 auto;
  }
  .contact__form {
    padding-top: 73px;
  }

  .contact__item__wrap {
    max-width: 752px;
    margin: 0 auto;
  }

  .contact .section_title h3:last-of-type {
    display: block;
    width: 100%;
  }

  .contact .section_title hr {
    margin-top: 27px;
    margin-bottom: 65px;
  }

  .contact__confirm {
    padding: 70px 10px 250px 10px;
  }

  .contact__complete {
    margin-top: 70px;
  }

  .submit-button {
    margin: 40px auto 133px;
    transition: all 0.2s;
  }

  .submit-button--back {
    margin-bottom: 40px;
  }

  .submit-button--send {
    margin-top: 0;
  }

  .submit-button:hover {
    background-color: #ca3c38;
  }

  .contact-complete__txt {
    margin-bottom: 133px;
  }
}
