.haru_contact {
  margin: 14.6rem 0 10rem;
}

/* 入力フォーム */
.contact_form {
  width: 100rem;
  margin: 0 auto;
}

.form_content {
  font-size: 1.6rem;
  margin-bottom: 5rem;
}

.contact_label {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: calc(0.07em / 20);
  line-height: calc(33 / 20);
}

/* お問い合わせ種別 */
.select_area {
  position: relative;
}

.select_area::after {
  position: absolute;
  top: 3rem;
  right: 1.7rem;
  content: "";
  width: 1.8rem;
  height: 1.7rem;
  background-image: url(../img/polygon1.svg);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.form_text {
  font-size: 1.6rem;
  font-weight: 400;
  margin-top: 1rem;
  line-height: calc(33em / 16);
  letter-spacing: calc(0.07em / 16);
  background-color: #EBEBEB;
  color: #000;
}

/* 入力欄 */
.form_input {
  width: calc(100% - 4rem);
  height: 5rem;
  padding: 0 2rem;
  align-content: center;
  border: none;
  border-radius: 0.5rem;
}

.contact_tel_form .wpcf7-form-control-wrap .wpcf7-not-valid-tip {
  display: none;
}

.form_select {
  width: 100%;
}

.label_flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.label_flex .contact_label {
  margin-bottom: 0;
}

.form_required {
  width: 4.3rem;
  height: 2rem;
  font-size: 1.4rem;
  font-weight: 500;
  padding: 0 0.7rem;
  align-content: center;
  letter-spacing: calc(0.07em / 14);
  background-color: #D54343;
  color: #FDFDFD;
}

.form_textarea {
  width: calc(100% - 4rem) !important;
  height: 16.5rem;
  padding: 1.5rem 2rem 2rem;
  line-height: calc(33 / 16);
  resize: none;
  border-radius: 0.5rem;
}

/* プライバシーポリシー */
.check_flex {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-bottom: 5rem;
}

.form_check {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
}

.check_text {
  font-size: 1.6rem;
  letter-spacing: calc(0.07em / 16);
  font-weight: 700;
  text-decoration: underline;
  line-height: calc(33 / 16);
}

.checkbox_error {
  width: 100%;
  text-align: center;
}

.policy_url {
  color: #1BA193;
}

.button_error_message_box {
  text-align: center;
  margin-bottom: 1rem;
}

/* ボタン */
.button_area {
  width: 100%;
  display: flex;
  gap: 5rem;
  justify-content: center;
  margin-bottom: 10rem;
}

.form_button {
  width: 17.8rem;
  height: 4rem;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: left;
  align-content: center;
  padding-left: 5rem;
  letter-spacing: calc(-0.15em / 14);
  line-height: calc(20 / 14);
  border: 0.2rem solid #1E2939 !important;
  border-radius: 3rem;
  background-color: inherit;
  color: #1E2939;
  transition: all 0.5s;
}

.button_content {
  position: relative;
  cursor: pointer;
}

.form_button:hover,
.form_button:focus {
  background-color: #FDF0B0;
}

.button_content::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 2rem;
  content: "\2192";
  width: 2rem;
  align-content: center;
  font-size: 2rem;
  pointer-events: none;
}

/* 電話でのお問い合わせ */
.contact_tel {
  width: 100rem;
  margin: 0 auto;
}

.tel_title {
  font-size: 3.6rem;
  font-weight: 700;
  color: #000;
  letter-spacing: calc(0.07em / 36);
  margin-bottom: 5rem;
  line-height: calc(33/ 36);
}

.tel_content {
  padding: 4rem 0 4rem 5.5rem;
  background-color: #FFF0F4;
  color: #000;
  border-radius: 0.5rem;
}

.tel_number {
  display: inline-block;
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: calc(33 / 36);
  letter-spacing: calc(0.07em / 36);
  color: #1E2939;
}

.tel_time {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: calc(0.07em / 16);
  line-height: calc(33 / 16);
}

.confirm_content {
  display: none;
}

.confirm_content .form_text {
  width: 100%;
  background-color: #FFF0F4;
}

.confirm_content .button_area {
  margin-bottom: 0;
}

.wpcf7-spinner {
  display: none;
}

.contact_link {
  color: inherit;
  z-index: 3;
}

.wpcf7-form.sent .wpcf7-response-output {
  display: none;
}

.wpcf7-not-valid-tip {
  display: none;
}

.error_message,
.button_error_message_box {
  color: #dc3232;
  font-size: 1.6rem;
  font-weight: normal;
  display: none;
}

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

  .haru_contact {
    width: 33.5rem;
    margin: 5rem auto 6rem;
  }

  .contact_form {
    width: 100%;
    margin-bottom: 0;
  }

  .form_content {
    margin-bottom: 4rem;
  }

  .contact_label {
    font-weight: 500;
  }

  .form_content:first-of-type .contact_label {
    font-size: 1.8rem;
  }

  .select_area::after {
    right: 1.2rem;
    background-image: url(../img/polygon2.svg);
  }

  .form_text {
    width: calc(100% - 3rem);
    padding: 0.85rem 1.5rem;
  }

  .confirm_content .form_input {
    height: 5rem;
  }

  .form_input {
    height: auto;
  }

  .form_select {
    width: 100%;
  }

  .label_flex {
    gap: 0.5rem;
  }

  .sp_textarea {
    margin-bottom: 2rem;
  }

  .form_textarea {
    width: calc(100% - 3rem) !important;
    height: 19.2rem;
    padding: 0.8rem 1.5rem 0 1.5rem;
  }

  .button_error_message_box {
    text-align: left;
  }

  .button_area {
    margin-bottom: 5rem;
  }

  .confirm_content .form_button {
    width: 15rem;
  }

  .confirm_content .button_area {
    justify-content: space-between;
    gap: 0;
    margin-bottom: 0;
  }

  .contact_tel {
    width: 100%;
    margin: 0 auto;
  }

  .tel_title {
    font-size: 1.9rem;
    letter-spacing: calc(-0.44em / 19);
    line-height: calc(35 / 19);
    margin-bottom: 3rem;
    color: #0A0A0A;
  }

  .tel_content {
    padding: 3rem 0 3rem 3rem;
  }

  .tel_number {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    letter-spacing: calc(0.07em / 24);
    line-height: calc(33 / 24);
  }

  .confirm_input {
    width: 100%;
  }

  .send_button {
    margin-bottom: 0;
  }

}