/* contact ↓↓ */

.contact_title_area {
  margin-bottom: 2.4rem;
}

.english_title {
  font-family: var(--Roboto);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: calc(19 / 16);
  color: var(--Orange);
}

.page_title {
  font-family: var(--NotoSans);
  font-size: 3.2rem;
  line-height: calc(48 / 32);
  font-weight: bold;
  color: var(--Swamp);
}

.contact_section {
  width: 93rem;
  margin: 6rem auto 0;
  padding-bottom: 11rem;
}

.contact_intro {
  margin-bottom: 6rem;
  text-align: center;
}

.contact_title {
  margin-bottom: 2.4rem;
}

.contact_explain {
  font-family: var(--NotoSans);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: calc(27 / 16);
  color: var(--Swamp);
}

.sp_linebreak {
  display: none;
}

.contact_form {
  font-family: var(--NotoSans);
  width: 93rem;
  margin: 0 auto;
}

.form_flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem 3rem;
  margin-bottom: 4.8rem;
}

.form_content {
  display: flex;
  flex-direction: column;
}

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

.contact_label {
  font-family: var(--NotoSans);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: calc(27 / 16);
  color: var(--Swamp)
}

.form_required {
  font-size: 1.4rem;
  line-height: calc(23 / 14);
  color: #C54848;
}

.form_input,
.form_textarea {
  font-family: var(--NotoSans);
  font-size: 1.6rem;
  line-height: calc(27 / 16);
  box-sizing: border-box;
  margin-top: 0.8rem;
  padding: 1rem 1.6rem;
  border: 0.1rem solid #50505059 !important;
}

.form_input {
  width: 45rem;
  height: 4.7rem;
}

.form_textarea {
  width: 93rem;
  height: 100%;
  min-height: 22.8rem;
  /* height: 22.8rem; */
  resize: none;
}

.contact_check {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 3.2rem;
}

.form_checkbox {
  width: 2.6rem;
  height: 2.6rem;
  background-color: inherit;
  border: #50505080;
}

.button_area {
  display: flex;
  gap: 6.4rem;
  justify-content: center;
}

.contact_button {
  font-family: var(--NotoSans);
  width: 26.4rem;
  height: 6.7rem;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: calc(27 / 16);
  text-align: center;
  align-content: center;
  background-color: #20273D;
  color: var(--White);
  border: none;
}

.back_button {
  border: 0.1rem solid #20273D;
  color: var(--Swamp);
  background-color: var(--White);
}

.wpcf7-spinner {
  display: none;
}

/* contact ↑↑ */

@media screen and (max-width: 699.98px) {
  .contact_section {
    width: 33.5rem;
  }

  .contact_intro {
    margin-bottom: 4rem;
  }

  .contact_title_area {
    margin-bottom: 0.5rem;
  }

  .english_title {
    font-size: 1.4rem;
    line-height: calc(16 / 14);
  }

  .page_title {
    font-size: 2.4rem;
    line-height: calc(36 / 24);
    font-weight: 500;
  }

  .contact_explain {
    font-size: 1.3rem;
    line-height: calc(27 / 13);
    font-weight: 400;
  }

  .sp_linebreak {
    display: inline;
  }

  .contact_form {
    width: 33.5rem;
  }

  .form_flex {
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 1.6rem;
  }

  .form_content {
    margin-bottom: 0;
  }

  .form_input,
  .form_textarea {
    margin-top: 0.4rem;
  }

  .form_input {
    width: 33.5rem;
  }

  .form_textarea {
    width: 33.5rem;
  }

  .contact_check {
    text-align: center;
  }

  .button_area {
    gap: 2.5rem;
  }

  .contact_button {
    width: 15.5rem;
  }

  .wpcf7-list-item {
    margin: 0;
  }

}