.contact_form_area {
  font-size: min(1.6rem, 16px);
  /* max-width: 72.2rem; */
  /* width: 100%; */
  /* margin: 3.6rem 0rem 15rem 19.3rem; */
}

.contact_form_inner {
  margin-bottom: 2rem;

  select{
    appearance: auto;
  }

  input[type="text"],
  input[type="email"],
  input[type="date"],
  select,
  textarea {
    /* border: 0.1rem solid #333; */
    background-color: #f2f2f2;
    padding: 0.5em;
  }

  input[type="text"],
  input[type="email"],
  select {
    width: 100%;
  }

  .wpcf7-list-item:first-child{
    margin-left: 0;
  }

  .wpcf7-list-item-label::before{
    content: '';
    position: relative;
    display: block;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    border: .1rem solid;
  }

  .wpcf7-list-item-label::after{
    content: "";
    display: block;
    border-radius: 50%;
    width: 1.1rem;
    height: 1.1rem;
    background-color: #FF99CC;
    position: absolute;
    top: .65rem;
    left: .3rem;
    display: none;
  }

  input[type="radio"]:checked + .wpcf7-list-item-label::after{
    display: block;
  }

  input[type="radio"]{
    display: none;
  }

  textarea {
    width: 100%;
    resize: none;
    padding: 1em;
  }

  .input_phone {
    max-width: 15rem;
  }

  .input_phone_line {
    max-width: 0.7rem;
    font-size: 1.7rem;
    font-weight: 500;
    color: #202124;
    margin: 0rem 1rem;
  }

  .wpcf7-list-item-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    position: relative;
  }
}

.input_wrapper:not(:first-child){
  margin-top: 1.5rem;
}

.contact_label {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.contact_required {
  display: inline-block;
  max-width: 4.1rem;
  width: 100%;
  /* height: 2.3rem; */
  color: #FFFFFF;
  background-color: #EC6D65;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  padding: 0 0.2em;
}

.check_yes{
  display: none;
}

.check_yes.active{
  display: block;
}

.btn_area {
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.contact_btn,
.contact_btn_back {
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin: 0 auto; */
  max-width: 17.4rem;
  width: 100%;
  /* height: 5.4rem; */
  background-color: #FF7DB6;
  font-size: 1.6rem;
  font-weight: 500;
  color: #FFFFFF;
  /* margin-top: 6rem; */
  padding: 0.3em;
  cursor: pointer;
}

.contact_btn_back {
  background-color: #fff;
  color: #FF7DB6;
  border: 0.1rem solid;
}

.wpcf7-spinner {
  display: none;
}

@media screen and (max-width: 699.98px) {
  .contact_form_inner {

    .input_phone {
      max-width: 8rem;
    }
  }

  .contact_required {
    font-size: 1.1rem;
  }

  .contact_btn,
  .contact_btn_back {
    font-size: 1.4rem;
  }
}