@charset "UTF-8";

.l-contact_container--inner {
  padding: 8.4rem 15.5rem 18rem;
}

@media screen and (max-width: 767px) {
  .l-contact_container--inner {
    padding: 6.4rem 1.6rem 10rem;
  }
}

.l-contact_head {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.l-contact_head--title {
  font-weight: bold;
  font-size: 2.8rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-align: center;
  color: #509DCE;
}

@media screen and (max-width: 767px) {
  .l-contact_head--title {
    letter-spacing: 0;
  }
}

.l-contact_head--text {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: center;
  margin-top: 2.4rem;
}

.l-contact_tel {
  max-width: 56rem;
  margin: 3.2rem auto 0;
  padding: 2.4rem 5.6rem;
  border-radius: 0.8rem;
  background: #E7F1F6;
}

.l-contact_tel--title {
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 1.6;
  text-align: center;
}

.l-contact_tel--link {
  display: block;
  font-weight: bold;
  font-size: 3.2rem;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.05em;
  color: #509DCE;
  margin-top: 0.4rem;
}

.l-contact_tel--time {
  font-size: 1.4rem;
  text-align: center;
  margin-top: 0.8rem;
}

.l-contact_form {
  max-width: 80rem;
  margin: 0 auto;
}

.l-contact_form:not(:first-child) {
  margin-top: 8rem;
}

.l-contact_form--title {
  font-weight: bold;
  font-size: 2.4rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: center;
  color: #509DCE;
}

.l-contact_form--body {
  margin-top: 2.4rem;
}

.l-contact_form--note {
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
  padding: 1.6rem 2.4rem;
  background: #E7F1F6;
}

@media screen and (max-width: 767px) {
  .l-contact_form--content tr {
    display: flex;
    flex-direction: column;
  }
}

.l-contact_form--content tr>* {
  font-size: 1.6rem;
  line-height: 1.8;
  vertical-align: top;
  padding: 2.4rem 0;
  border-bottom: solid 0.1rem #ccc;
}

@media screen and (max-width: 767px) {
  .l-contact_form--content tr>* {
    padding: 1.6rem 0;
  }
}

.l-contact_form--content th {
  font-weight: bold;
  color: #509DCE;
  width: 12em;
  padding: 4rem 0;
}

@media screen and (max-width: 767px) {
  .l-contact_form--content th {
    width: 100%;
    padding: 2.4rem 0 0;
    border: none;
  }
}

.l-contact_form--content th[colspan] {
  text-align: center;
  padding: 1.6rem 2.4rem;
  background: #fff;
  border: solid 0.2rem #509DCE;
}

@media screen and (max-width: 767px) {
  .l-contact_form--content td {
    width: 100%;
    padding: 0.8rem 0 4rem;
  }
}

.l-contact_form--content input[type="email"],
.l-contact_form--content input[type="tel"],
.l-contact_form--content input[type="text"],
.l-contact_form--content textarea {
  font-size: 16px;
  line-height: 1.6;
  padding: 1.6rem 2.4rem;
  width: 100%;
  background: #F2F2F2;
  border-radius: 0.4rem;
}

.l-contact_form--content input::placeholder {
  font-size: 1.6rem;
}

.l-contact_form--content select {
  display: block;
  font-size: 16px;
  line-height: 1.6;
  padding: 1.6rem 2.4rem;
  width: 100%;
  background: #F2F2F2;
  border-radius: 0.4rem;
}

/* 住所のみ */
.l-contact_form--content .mwform-zip-field {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.l-contact_form--content .mwform-zip-field input {
  width: 12em;
}

@media screen and (max-width: 767px) {
  .l-contact_form--content .mwform-zip-field input {
    width: 100%;
  }
}

/* ラジオボタン */
.l-contact_form--content .horizontal-item {
  display: inline-block;
  padding: 1.6rem 0;
}

.l-contact_form--content .horizontal-item+.horizontal-item {
  margin-left: 1.6rem;
}

@media screen and (max-width: 767px) {
  .l-contact_form--content .horizontal-item {
    padding: 0.8rem 0;
  }
}

/* 確認メッセージ */
.l-contact_form--content .message {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: center;
  margin: 4rem 0;
}

.l-contact_form--content .message::before {
  content: "「確認画面へ」を押したあと、もう一度入力内容の確認画面が表示されます。";
}

/* 送信ボタン */
.l-contact_form--content .submit-btn {
  margin: 4rem auto;
}

.l-contact_form--content .submit-btn p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
}

.l-contact_form--content input[type="submit"] {
  flex: 1;
  cursor: pointer;
  transition: all 0.5s;
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  max-width: 24rem;
  padding: 1.6rem 2.4rem;
  background: #509DCE;
  border: solid 0.1rem #509DCE;
  border-radius: 100em;
  position: relative;
}

.l-contact_form--content input[type="submit"]:hover {
  opacity: 1;
  color: #509DCE;
  background: #fff;
}

/* 戻るボタン */
.l-contact_form--content input[type="submit"][name="submitBack"] {
  color: #509DCE;
  background: #fff;
}

/* エラーメッセージ */
.l-contact_form--content .error {
  font-size: 1.4rem;
  color: red;
  display: block;
  margin-top: 0.4rem;
}

/*----- 確認画面 -----*/
.l-contact_form--content .mw_wp_form_confirm td {
  padding: 4rem 0;
}

@media screen and (max-width: 767px) {
  .l-contact_form--content .mw_wp_form_confirm td {
    padding: 1.6rem 0 4rem;
  }
}

.l-contact_form--content .mw_wp_form_confirm .message::before {
  content: "入力内容を確認し、お間違いがなければ「送信する」ボタンを押してください。";
}

/*----- 完了画面 -----*/
.l-contact_form.--complete {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 20vh;
}

.l-contact_form--complete {
  text-align: center;
  line-height: 2;
  padding: 0rem 0;
}