#contact {
  padding: 60px 0;
  background-image: url("../images/bg-contact-img_pc.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
#contact .sec-title-flex-wrap {
  text-align: center;
}
#contact .sec-title-wrap {
  margin-bottom: 36px;
}
#contact .sec-title-wrap::before {
  content: none;
}
.contact-read-txt {
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
  margin-bottom: 26px;
}
.contact-info-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact-info-wrap .more-btn {
  margin-right: 60px;
}
.contact-tel {
  text-align: center;
  border-right: 1px solid #fff;
  margin-right: 40px;
  padding-right: 40px;
}
.contact-tel .tel-txt {
  font-size: 2rem;
  color: #fff;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.contact-tel .tel-txt:hover {
  opacity: 0.7;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.contact-tel .tel-txt span {
  font-weight: 600;
  color: #ad9d8f;
}
.contact-tel .time-txt {
  font-size: 1.3rem;
  color: #fff;
  text-align: center;
}

/* =============== お問い合わせページ CSS =============== */
.tab_area {
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}
.tab_area label {
  cursor: pointer;
  border: 1px solid #fff;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.tab_area label:hover {
  background-color: #dadfe6;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
label.tab1_label {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 10px 20px;
  width: 50%;
  text-align: center;
}
label.tab2_label {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  padding: 10px 20px;
  width: 50%;
  text-align: center;
}
.panel_area {
  background-color: #dadfe6;
}
#tab1:checked~.tab_area .tab1_label {
  background-color: #dadfe6;
  border: 1px solid #30455d;
}
#tab1:checked~.panel_area #panel1 {
  display: block;
}
#tab2:checked~.tab_area .tab2_label {
  background-color: #dadfe6;
  border: 1px solid #30455d;
}
#tab2:checked~.panel_area #panel2 {
  display: block;
}
.tab_panel {
  display: none;
  padding: 60px;
}

.contact-form-head {
  position: relative;
  background-color: #30455d;
  padding: 30px;
  margin-bottom: 40px;
  text-align: center;
}
.contact-form-head-title {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
}
.contact-form-head .tel-txt a {
  font-size: 1.6rem;
  color: #fff;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.contact-form-head .tel-txt a:hover {
  opacity: 0.7;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.contact-form-head .tel-txt a span {
  color: #ad9d8f;
  font-size: 2rem;
  font-weight: 900;
}
.contact-form-head .time-txt {
  font-size: 1.2rem;
  color: #fff;
}
.contact-form-head .fax-txt {
  font-size: 1.6rem;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.contact-form-head .fax-txt span {
  font-size: 2rem;
  font-weight: 900;
  color: #ad9d8f;
}
#page-contact .contact-read-txt {
  color: #30455d;
}
#page-contact {
  position: relative;
  padding-bottom: 90px;
}
#page-contact .sec-inner {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

/* フォーム CSS調整 */
.contents-wrap.contact-form {
  margin-top: 60px;
}
.contact-form-caption {
  display: block;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  color: #962427;
  margin-bottom: 20px;
}
.wpcf7-form-control.wpcf7-radio {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}
.contact-form-caption .red {
  color: #962427;
}
.contact-form-wrap .row {
  display: block;
  margin-bottom: 32px;
}
.contact-form-wrap .row.last {
  margin-bottom: 0;
  -webkit-box-align: start;
  align-items: flex-start;
}
.contact-form-wrap .row.last .form-title {
  padding-top: 12px;
}
.contact-form-wrap .form-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.contact-form-wrap .form-title .red {
  color: #962427;
}
.contact-form-wrap .row .contact-txt-box {
  width: 100%;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.4;
  border: 1px solid #fff;
  outline: 0;
  background-color: #fff;
  padding: 12px 10px;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.contact-form-wrap .row .contact-txt-box:focus {
  border: 1px solid #30455d;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.form-radio .wpcf7-list-item-label {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}
.privacy-check-wrap {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 60px;
}
.privacy-check-wrap a {
  text-decoration: underline;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.privacy-check-wrap a:hover {
  color: #ad9d8f;
  text-decoration: underline;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.privacy-check-btn {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 20px;
}
.privacy-check-btn .wpcf7-list-item label {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  align-items: center;
}
.privacy-check-btn .wpcf7-list-item-label::before {
  content: none;
}
.privacy-check-btn .wpcf7-list-item-label::after {
  content: none;
}
.privacy-check-btn input[type="checkbox"] {
  margin: 0;
  margin-right: 10px;
}
.page-template-page-contact .wpcf7-list-item {
  margin: 0;
  margin-right: 20px;
  margin-bottom: 6px;
}
.page-template-page-contact .wpcf7-list-item.last {
  margin-right: 0;
}
.wpcf7-list-item-label {
  cursor: pointer;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
}

/* デフォルトのボタン */
input[type="radio"] {
  opacity: 0;
  position: absolute;
}

/* チェック前のボタン */
.wpcf7-list-item-label::before {
  background: #fff;
  border: 1px solid #1a1a1a;
  border-radius: 100%;
  content: "";
  height: 1.2em;
  margin-bottom: 2.5px;
  margin-right: .5em;
  margin-top: auto;
  transition: background-color .5s;
  width: 1.2em;
}

/* チェック後のボタン */
input[type="radio"]:checked+.wpcf7-list-item-label::before {
  background-color: #ad9d8f;
  box-shadow: inset 0 0 0 2.5px #fff;
}

/* 「同意ボタン」既存のチェックボックスを見えなくする */
.privacy-check-btn input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}

/* 「同意ボタン」チェックボックスの枠 */
.privacy-check-btn .wpcf7-list-item-label:before {
  background: #fff;
  border: 1px solid #1a1a1a;
  border-radius: 100%;
  content: "";
  height: 1.2em;
  margin-bottom: 3.5px;
  margin-right: .5em;
  margin-top: auto;
  transition: background-color .5s;
  width: 1.2em;
}

/* 「同意ボタン」チェックアイコン */
.privacy-check-btn input[type="checkbox"]:checked+.wpcf7-list-item-label:before {
  background-color: #ad9d8f;
  box-shadow: inset 0 0 0 2.5px #fff;
}

/* 送信ボタンリセット及び調整CSS */
.submit-btn input[type="submit"],
.submit-btn input[type="button"] {
  border-radius: 10px;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
.submit-btn input[type="submit"]::-webkit-search-decoration,
.submit-btn input[type="button"]::-webkit-search-decoration {
  display: none;
}
.submit-btn input[type="submit"]::focus,
.submit-btn input[type="button"]::focus {
  outline-offset: -2px;
}
.submit-btn {
  position: relative;
  margin-top: 32px;
}
.submit-btn input.wpcf7-form-control.wpcf7-submit.submit {
  cursor: pointer;
  color: #30455d;
  background: #fff;
  border: 1px solid #30455d;
  font-size: 1.4rem;
  line-height: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 20px 40px;
  border-radius: 0;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.submit-btn input.wpcf7-form-control.wpcf7-submit.submit:hover {
  background: #ad9d8f;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* =============== 入居者専用フォーム =============== */
.contact-form-head.resident {
  overflow: hidden;
}
.contact-form-head.resident::after {
  display: inline-block;
  content: "24";
  font-size: 160px;
  font-weight: 900;
  line-height: 1;
  font-style: italic;
  color: #344a63;
  position: absolute;
  bottom: -24px;
  right: 0;
  z-index: 0;
}
.contact-form-head .time-txt.resident {
  font-size: 1.4rem;
  color: #fff;
  position: relative;
  z-index: 2;
}
.resident-txt-wrap {
  max-width: 290px;
  margin: 20px auto 0;
}
.resident-read-txt {
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
  position: relative;
  z-index: 2;
}
.resident-txt {
  font-size: 1.4rem;
  font-weight: 400;
  color: #ad9d8f;
  text-align: left;
  position: relative;
  z-index: 2;
}

/* =============== エラーメッセージ =============== */
.wpcf7 form .wpcf7-response-output {
  display: none !important;
}
.wpcf7-not-valid-tip {
  color: #dc3232 !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
  display: block !important;
}
.wpcf7-spinner {
  position: absolute !important;
}

/* =============== reCAPTCHA 非表示 =============== */
.grecaptcha-badge {
  visibility: hidden;
}
.recaptcha-txt {
  font-size: 1.1rem;
  margin-top: 20px;
}
.recaptcha-txt a {
  text-decoration: underline;
}

/* サンクスページ */
.page-template-page-thanks .sec-read-txt {
  text-align: center;
  margin-bottom: 60px;
}
.page-template-page-thanks .sec-read-txt h3 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.page-template-page-thanks .sec-read-txt p {
  font-size: 1.6rem;
}
.page-template-page-thanks .page-menu-btn-wrap {
  text-align: center;
}
.page-template-page-thanks .page-menu-btn-wrap .more-btn a img {
  margin-bottom: 6px;
}

@media screen and (max-width: 768px) {
  /* =============== お問い合わせページ CSS =============== */
  #page-contact {
    padding-bottom: 60px;
  }
  #page-contact .sec-inner {
    max-width: 100%;
  }

  /* タブ部分 CSS調整 */
  label.tab1_label {
    font-size: 1.4rem;
  }
  label.tab2_label {
    font-size: 1.4rem;
  }
  .tab_panel {
    padding: 40px 20px;
  }

  /* フォームCSS調整 */
  .contact-form-head {
    padding: 20px 16px;
  }
  .contact-form-caption {
    margin-bottom: 12px;
  }
  .contact-form-head-title {
    font-size: 1.6rem;
  }
  .contact-form-wrap .form-title {
    width: 100%;
    margin-bottom: 6px;
    font-size: 1.4rem;
  }
  .contact-form-wrap .form-radio {
    width: 100%;
  }
  .wpcf7-list-item {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .form-radio .wpcf7-list-item-label {
    font-size: 1.4rem;
  }
  .privacy-check-wrap {
    width: 100%;
    margin: 30px auto 0;
    font-size: 1.4rem;
  }
  .privacy-check-btn {
    font-size: 1.4rem;
  }
  /* 送信ボタン */
  .submit-btn {
    width: 100%;
    margin: 32px auto 0;
  }
  .submit-btn input.wpcf7-form-control.wpcf7-submit.submit {
    padding: 16px 30px;
  }

  /* =============== 入居者専用フォーム =============== */
  .contact-form-head.resident::after {
    font-size: 100px;
    bottom: -14px;
  }
  .contact-form-head .time-txt.resident {
    font-size: 1.3rem;
  }
  .resident-txt-wrap {
    max-width: 265px;
  }
  .resident-read-txt {
    font-size: 1.3rem;
  }
  .resident-txt {
    font-size: 1.3rem;
  }
  /* =============== reCAPTCHA 非表示 =============== */
  .recaptcha-txt {
    width: 100%;
    margin: 30px auto 0;
    font-size: 1rem;
  }

  /* サンクスページ */
  .page-template-page-thanks .sec-title-wrap h2 {
    font-size: 2rem;
  }
  .page-template-page-thanks .sec-read-txt h3 {
    font-size: 1.8rem;
  }
  .page-template-page-thanks .sec-read-txt p {
    font-size: 1.4rem;
  }
}



@media screen and (max-width: 768px) {
  #contact .sec-title-wrap {
    margin-bottom: 30px;
  }
  .contact-read-txt {
    font-size: 1.5rem;
  }
  .contact-info-wrap {
    display: block;
    text-align: center;
  }
  .contact-info-wrap .more-btn {
    margin-right: 0;
  }
  .contact-tel {
    margin-right: 0;
    padding-right: 0;
    border-right: 0;
    margin-bottom: 36px;
  }
  .contact-tel .tel-txt {
    font-size: 1.8rem;
  }
}
