header {
  height: 50px;
}

.wrapper {
  padding-top: 50px;
}

.contact_flow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  background-color: #3695D7;
  gap: 8px;
}

.contact_flow li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: bold;
  font-size: 1.8rem;
  opacity: 0.2;
}

.contact_flow li.active {
  opacity: 1;
}

.contact_flow li::before {
  display: block;
  content: '';
  width: 70px;
  height: 60px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.contact_flow li:nth-child(1)::before {
  background-image: url(../img/page/stepicon01.png);
}

.contact_flow li:nth-child(2)::before {
  background-image: url(../img/page/stepicon02.png);
}

.contact_flow li:nth-child(3)::before {
  background-image: url(../img/page/stepicon03.png);
}

.contact_flow li::after {
  display: block;
  content: '';
  width: 50px;
  height: 50px;
  background-image: url(../img/page/steparw.svg);
  background-size: cover;
}

.contact_flow li:last-child::after {
  display: none;
}

.ttl_contact {
  width: 100%;
  max-width: 1000px;
  margin: 30px auto 40px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ttl_contact_h1 {
  width: 47%;
}

.ttl_contact_data {
  width: 49%;
}

.ttl_contact_block {
  border: solid 3px #8e704e;
  border-radius: 20px;
  padding: 20px 24px;
}

.ttl_contact_block+.ttl_contact_block {
  margin-top: 20px;
}

.ttl_contact_data_com_ttl {
  text-align: center;
  margin-bottom: 10px;
}

.ttl_contact_data_com_ttl span {
  position: relative;
  display: inline-block;
  padding: 0 1.5em;
  color: #0058A0;
  font-size: 2.0rem;
  font-weight: bold;
}

.ttl_contact_data_com_ttl span::before,
.ttl_contact_data_com_ttl span::after {
  position: absolute;
  content: '';
  top: 50%;
  height: 30px;
  width: 5px;
  background-color: #FFEB36;
}

.ttl_contact_data_com_ttl span::before {
  left: 0;
  transform: translateY(-50%) rotate(-45deg);
}

.ttl_contact_data_com_ttl span::after {
  right: 0;
  transform: translateY(-50%) rotate(45deg);
}

.ttl_contact_data_com_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 2%;
  justify-content: center;
}

.ttl_contact_data_com_inner li {
  width: 49%;
  height: 50px;
}

.ttl_contact_data_com_inner li img {
  object-fit: contain;
  height: 90%;
}

.ttl_contact_data_res_ttl {
  color: #0058A0;
  font-size: 2.0rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.ttl_contact_data_res dl {
  font-size: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ttl_contact_data_res dl {
  border-top: dotted 1px #C8D2DD;
}

.ttl_contact_data_res dl:last-child {
  border-bottom: dotted 1px #C8D2DD;
}

.ttl_contact_data_res dt {
  font-weight: bold;
  margin-bottom: 0.2em;
}

.contact_content {
  margin-top: 40px;
  margin-bottom: 80px;
}

.contact_content_head {}

.contact_content_head_wrap {
  font-size: 2rem;
}

.mv_catch_deco02 {
  font-size: 2.8rem;
}

.contact .mv_catch_img01 {
  align-items: center;
  width: 47px;
}

.contact .mv_catch_img02 {
  align-items: flex-end;
  width: 76px;
  padding: 0;
  margin-left: 0;
}

.contact_content_body {
  background-color: rgb(92 55 13 / 13%);
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  border-radius: 20px;
}

.contact_content_gauge {
  max-width: 800px;
  margin: 0 auto 50px;
  display: flex;
  align-items: center;
}

.contact_content_gauge_txt {
  width: 22%;
  font-weight: bold;
}

.contact_content_gauge_txt strong {
  font-size: 1.125em;
  color: #F75050 !important;
}

.contact_content_gauge_inner {
  position: relative;
  flex: 1;
  height: 30px;
  background-color: #fff;
  border-radius: 1000px;
  overflow: hidden;
}

.contact_content_gauge_inner span {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #FFEB36;
  border-radius: 1000px;
  transition: width .2s ease-in-out;
}

.form {
  max-width: 800px;
  margin: 0 auto;
}

.form input[type=text],
.form input[type=email] {
  border: solid 1px #8e704e;
  background-color: #F0F4F8;
  border-radius: 5px;
  padding: 1em 0.7em;
  width: 100%;
}

.form input[type=text].err,
.form input[type=email].err {
  background-color: rgba(247, 80, 80, 0.2);
}

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

.form input::placeholder {
  color: #999999;
}

.form_inner+.form_inner {
  margin-top: 40px;
}

.form_inner h3 {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  color: #8e704e;
  font-size: 2.4rem;
}

.form_inner h3::before {
  display: block;
  content: '';
  width: 8px;
  background-color: #8e704e;
}

.form_block {
  overflow: hidden;
  border-radius: 10px;
}

.form_box {
  display: flex;
}

.form_box+.form_box {
  border-top: solid 1px #DDEEFD;
}

.form_box>dt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
  padding: 24px 20px;
  width: 31.25%;
  background-color: #8e704e;
  color: #fff;
}

.form_box>dt p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.form_box.js_req>dt p::after {
  content: '';
  display: block;
  background-image: url(../img/page/ok.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 23px;
  height: 20px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.form_box.js_ok>dt p::after {
  opacity: 1;
}

.form_box>dd {
  flex: 1;
  background-color: #fff;
  padding: 24px;
}

.box_parent.form_box>dt {
  width: 14%;
}

.box_parent.form_box>dd {
  padding: 0;
}

.box_child.form_box>dt {
  width: 20.1%;
  background-color:rgb(92 55 13 / 50%);
}

.box_child.form_box+.form_box {
  border-top: none;
}

.box_child.form_box+.box_child.form_box>dt {
  border-top: solid 1px #DDEEFD;
}

.box_child.form_box+.box_child.form_box>dd {
  border-top: dashed 1px #3695D7;
}

.tag {
  display: block;
  width: 3em;
  border-radius: 100px;
  font-size: 1.2rem;
  text-align: center;
}

.form input[type=text].todofuken {
  border: none;
  padding: 0;
  background-color: transparent;
  margin-bottom: 1em;
  outline: none;
}

.radio_list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.radio_list .mwform-radio-field-text {
  position: relative;
  display: block;
  padding-left: 25px;
}

.radio_list .mwform-radio-field-text::before,
.radio_list .mwform-radio-field-text::after {
  position: absolute;
  display: block;
  content: '';
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
}

.radio_list .mwform-radio-field-text::before {
  left: 0;
  width: 18px;
  height: 18px;
  border: solid 1px #333;
}

.radio_list .mwform-radio-field-text::after {
  left: 1px;
  width: 16px;
  height: 16px;
  border: solid 5px #8e704e;
  opacity: 0;
  transition: opacity .2s ease-in-out;
}

.radio_list input:checked+.mwform-radio-field-text::after {
  opacity: 1;
}

.mw_wp_form .horizontal-item+.horizontal-item {
  margin: 0 !important;
}

.required {
  background-color: #F75050;
  color: #fff;
}

.required::before {
  content: '必須';
}

.form_box.js_ok .required {
  background-color: #4CB833;
  color: #fff;
}

.form_box.js_ok .required::before {
  content: 'OK';
}

.any {
  background-color: #F0F4F8;
  color: #8e704e;
}

.any::before {
  content: '任意';
}

.err_mess {
  font-size: 1.4rem;
  color: #F75050;
}

.form_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.form_submit input[type=submit] {
  appearance: none;
  width: 100%;
  max-width: 450px;
  padding: 1.2em;
  border-radius: 1000px;
  font-size: 1.8rem;
  background-size: 40px;
  background-repeat: no-repeat;
  color: #fff;
  border: none;
  cursor: pointer;
}

.form_submit input[type=submit].chk_btn {
  background-color: #ff4c00;
  box-shadow: 0px 5px 0px rgb(214 74 6);
  background-position: right 1em center;
  background-image: url(../img/page/btn_arrow_next.png);
}

.form_submit input[type=submit].back_btn {
  background-color: #999999;
  box-shadow: 0px 5px 0px 0px #8D8D8D;
  background-position: left 1em center;
  background-image: url(../img/page/btn_arrow_prev.png);

}

.form_submit input[type=submit]:hover {
  box-shadow: none;
  transform: translateY(5px);
}

.form_submit input[type=submit]:disabled {
  opacity: 0.4;
  cursor: default;
}

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

  .wrapper {
    padding-top: 72px;
  }

  .contact_flow {
    padding: 10px 0;
    gap: 4px;
  }

  .contact_flow li {
    gap: 4px;
    font-size: 1.2rem;
  }

  .contact_flow li span {
    display: none;
  }

  .contact_flow li.active span {
    display: block;
  }

  .contact_flow li::before {
    width: 52px;
    height: 44px;
  }

  .contact_flow li::after {
    width: 20px;
    height: 20px;
  }

  .ttl_contact {
    margin-top: 10px;
    margin-bottom: 20px;
    flex-direction: column;
  }

  .ttl_contact_h1 {
    width: 100%;
  }

  .ttl_contact_data {
    width: 100%;
  }

  .ttl_contact_block {
    margin-top: 10px;
    padding: 12px 10px;
  }

  .ttl_contact_block+.ttl_contact_block {
    margin-top: 10px;
  }

  .ttl_contact_data_com_ttl span {
    font-size: 1.4rem;
  }

  .ttl_contact_data_com_ttl span::before,
  .ttl_contact_data_com_ttl span::after {
    height: 20px;
  }

  .ttl_contact_data_com_inner {
    gap: 5px;
  }

  .ttl_contact_data_com_inner li {
    width: auto;
    height: 15px;
  }

  .ttl_contact_data_res {
    padding: 12px 15px;
  }

  .ttl_contact_data_res_ttl {
    font-size: 1.4rem;
  }

  .ttl_contact_data_res dl {
    font-size: 1.3rem;
  }

  .contact_content {
    padding-top: 20px;
    margin-bottom: 0;
  }

  .mv_catch {
    width: 94%;
    height: 40px;
  }

  .mv_catch_text {
    padding: 8px;
  }

  .mv_catch_deco02 {
    font-size: 1.6rem;
  }

  .contact .mv_catch_img01 {
    align-items: center;
    width: 24px;
  }

  .contact .mv_catch_img02 {
    display: none;
  }

  .contact_content_body {
    padding: 0 20px 60px;
  }

  .contact_content_gauge {
    display: block;
    margin-bottom: 20px;
  }

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

  .contact_content_gauge_inner {
    width: 100%;
    height: 20px;
    margin-top: 5px;
  }

  .form_box {
    flex-direction: column;
  }

  .form_box>dt {
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
    padding: 8px 16px;
    width: 100%;
  }

  .form_box>dd {
    width: 100%;
    padding: 16px;
  }

  .box_parent.form_box>dt {
    width: 100%;
  }

  .box_parent.form_box>dd {
    padding: 0;
  }

  .box_child.form_box>dt {
    width: 100%;
    background-color: transparent;
    color: #8e704e;
  }

  .box_child.form_box+.form_box {
    border-top: none;
  }

  .box_child.form_box>dt {
    padding-top: 15px;
  }

  .box_child.form_box+.box_child.form_box>dt {
    border-top: none;
  }

  .box_child.form_box dd {
    padding-top: 0;
  }

  .box_child.form_box+.box_child.form_box>dd {
    border-top: none;
  }

  .form_submit {
    flex-direction: column;
  }

}


/* ------ 確認ページ用CSS ------ */

.confirm_h1 {
  text-align: center;
  font-size: 2.8rem;
  color: #8e704e;
}

.confirm .tag {
  display: none;
}

.confirm .contact_content {
  margin-top: 40px;
}

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

  .confirm .contact_content {
    margin-top: 0;
  }

}

/* ------ サンクスページ用CSS ------ */

.thanks_content {
  max-width: 1000px;
  padding: 0 20px;
  margin: 40px auto 80px;
}

.thanks_h1 {
  text-align: center;
  font-size: 2.8rem;
  color: #8e704e;
  margin-bottom: 20px;
}

.thanks_panda {
  max-width: 146px;
  margin: 0 auto 30px;
}

.thanks_inner {
  text-align: center;
  font-weight: 600;
}

.thanks_note {
  max-width: 540px;
  margin: 40px auto 0;
  padding: 0.5em;
  background-color: rgba(247, 80, 80, 0.5);
  color: #fff;
  text-align: center;
  font-size: 2.0rem;
  font-weight: 600;
  border-radius: 10px;
}

.thanks_note span {
  display: inline-block;
  position: relative;
  padding: 0 35px;
}

.thanks_note span::before,
.thanks_note span::after {
  position: absolute;
  display: block;
  content: '';
  width: 30px;
  height: 30px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(../img/page/note.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.thanks_note span::before {
  left: 0;
}

.thanks_note span::after {
  right: 0;
}


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

  .thanks_h1 {
    font-size: 2.0rem;
  }

  .thanks_panda {
    max-width: 100px;
  }

  .thanks_inner {
    font-size: 1.4rem;
  }

  .thanks_note {
    font-size: 1.6rem;
  }

  .thanks_note span {
    padding: 35px 0 0;
  }

  .thanks_note span::before {
    top: 0;
    left: 50%;
    transform: translateY(0) translateX(-50%);
  }

  .thanks_note span::after {
    display: none;
  }

}


/*  -- swiper --  */

.swiper{
  height: 61px;
  overflow: hidden;
}

/* その他ご相談内容のtextareaスタイル */
.other_content_textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  font-family: inherit;
  background-color: #fff;
  resize: none; /* リサイズ無効化 */
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.other_content_textarea:focus {
  border-color: #8e704e;
  box-shadow: 0 0 0 3px rgba(142, 112, 78, 0.1);
}

.other_content_textarea::placeholder {
  color: #999;
  font-size: 14px;
}

/* フォーム全体のブラウンテーマ適用 */
.contact_flow {
  background-color: #8e704e;
}
.form_submit .chk_btn {
  background-color: #ff4c00 !important;
  color: #fff !important;
  transition: all 0.3s ease;
}

.form_submit .chk_btn:hover {
  background-color: #6b5338 !important;
  border-color: #6b5338 !important;
}

.tag.required {
  background-color: #F75050 !important;
  color: #fff !important;
}

input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label {
  color: #8e704e !important;
}

/* フォーム入力フィールドのフォーカス時の色修正 */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
  border-color: #8e704e !important;
  box-shadow: 0 0 0 2px rgba(142, 112, 78, 0.2) !important;
}
