.contact-lead {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--main);
  text-align: center;
}
@media screen and (max-width: 767px) {
  .contact-lead {
    font-size: 4.2666666667vw;
    line-height: 1.5;
  }
}
.contact-lead * {
  font-weight: inherit;
  color: inherit;
}

.contact-inner {
  padding-bottom: 135px;
}
@media screen and (max-width: 767px) {
  .contact-inner {
    padding-bottom: 13.3333333333vw;
  }
}

.contact-box {
  position: relative;
  padding: 50px 30px 30px;
  margin-top: 75px;
  text-align: center;
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  .contact-box {
    padding: 10.6666666667vw 5.3333333333vw 5.3333333333vw;
    margin-top: 10vw;
  }
}
.contact-box + .contact-box {
  margin-top: 55px;
}
@media screen and (max-width: 767px) {
  .contact-box + .contact-box {
    margin-top: 13.3333333333vw;
  }
}
.contact-box__unit {
  max-width: 660px;
  margin-inline: auto;
}
.contact-box__unit + .contact-box__unit {
  margin-top: 45px;
}
@media screen and (max-width: 767px) {
  .contact-box__unit + .contact-box__unit {
    margin-top: 6vw;
  }
}
.contact-box__ttl {
  position: absolute;
  inset-inline: 0;
  top: -24px;
  display: inline-grid;
  place-items: center;
  width: 258px;
  height: 48px;
  margin-inline: auto;
  margin-bottom: 0;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  background-color: var(--primary-color);
  border-radius: 10px;
}
@media screen and (max-width: 767px) {
  .contact-box__ttl {
    top: -5.3333333333vw;
    width: 66.6666666667vw;
    height: 10.6666666667vw;
    font-size: 4.8vw;
    border-radius: 5px;
  }
}
.contact-box__sttl {
  font-size: 20px;
  font-weight: 600;
  color: var(--main);
}
@media screen and (max-width: 767px) {
  .contact-box__sttl {
    font-size: 4.2666666667vw;
  }
}
.contact-box__txt {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--main);
}
@media screen and (max-width: 767px) {
  .contact-box__txt {
    margin-top: 2.6666666667vw;
    font-size: 3.7333333333vw;
  }
}
.contact-box__txt * {
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}
.contact-box__tel {
  margin-top: 17px;
}
@media screen and (max-width: 767px) {
  .contact-box__tel {
    margin-top: 2.6666666667vw;
  }
}
.contact-box__tel-txt {
  font-size: 20px;
  font-weight: 600;
  color: var(--main);
}
@media screen and (max-width: 767px) {
  .contact-box__tel-txt {
    font-size: 3.7333333333vw;
  }
}
.contact-box__tel-num {
  font-size: 39px;
  font-weight: 600;
  color: var(--main);
}
@media screen and (max-width: 767px) {
  .contact-box__tel-num {
    margin-top: 1.3333333333vw;
    font-size: 6.6666666667vw;
  }
}
.contact-box__step {
  margin-top: 15px;
}
@media screen and (max-width: 767px) {
  .contact-box__step {
    margin-top: 4vw;
  }
}
.contact-box__step li {
  position: relative;
  padding: 10px 20px;
  background-color: #f4eee7;
}
@media screen and (max-width: 767px) {
  .contact-box__step li {
    padding: 5.3333333333vw;
  }
}
.contact-box__step li + li {
  margin-top: 55px;
}
@media screen and (max-width: 767px) {
  .contact-box__step li + li {
    margin-top: 13.3333333333vw;
  }
}
.contact-box__step li + li::before {
  position: absolute;
  inset-inline: 0;
  top: -43px;
  width: 50px;
  height: 34px;
  margin-inline: auto;
  content: "";
  background: url("../../../img/page/contact/arrow.svg") 50%/contain no-repeat;
}
@media screen and (max-width: 767px) {
  .contact-box__step li + li::before {
    top: -8vw;
    width: 6.6666666667vw;
    height: 4.5333333333vw;
  }
}
.contact-box__step-ttl {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--primary-color);
}
@media screen and (max-width: 767px) {
  .contact-box__step-ttl {
    font-size: 4.2666666667vw;
  }
}
.contact-box__step-txt {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--main);
}
@media screen and (max-width: 767px) {
  .contact-box__step-txt {
    font-size: 3.7333333333vw;
  }
}
.contact-box__step-note {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--main);
}
@media screen and (max-width: 767px) {
  .contact-box__step-note {
    font-size: 3.2vw;
  }
}

.contact-form-area {
  padding: 75px 50px;
  margin-top: 80px;
  background-color: #fff;
}
@media screen and (max-width: 767px) {
  .contact-form-area {
    padding: 10vw 5.3333333333vw;
    margin-top: 10.6666666667vw;
  }
}

.contact-form-step {
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: 75px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .contact-form-step {
    margin-bottom: 10vw;
  }
}
.contact-form-step__list {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}
.contact-form-step__list::before {
  position: absolute;
  top: 27px;
  z-index: -1;
  display: block;
  width: 100%;
  height: 1px;
  content: "";
  background-color: var(--primary-color);
}
@media screen and (max-width: 767px) {
  .contact-form-step__list::before {
    top: 3.6vw;
  }
}
.contact-form-step__list li:nth-child(1) .contact-form-step__num {
  background-image: linear-gradient(to right, #fff 50%, transparent 50%);
}
.contact-form-step__list li:nth-child(3) .contact-form-step__num {
  background-image: linear-gradient(to right, transparent 50%, #fff 50%);
}
.contact-form-step__list li.is-current .contact-form-step__num span {
  color: #fff;
  background-color: var(--primary-color);
}
.contact-form-step__num span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-inline: auto;
  color: var(--primary-color);
  background-color: #fff;
  border: 1px solid var(--primary-color);
  border-radius: 50%;
}
@media screen and (max-width: 767px) {
  .contact-form-step__num span {
    width: 7.2vw;
    height: 7.2vw;
  }
}
.contact-form-step__ttl {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 300;
}
@media screen and (max-width: 767px) {
  .contact-form-step__ttl {
    margin-top: 1.3333333333vw;
    font-size: 2.4vw;
  }
}

.mw_wp_form_input .no2 {
  display: none;
}

.mw_wp_form_confirm .contact-box {
  display: none;
}
.mw_wp_form_confirm .no1 {
  display: none;
}
.mw_wp_form_confirm .p-form__submit {
  display: grid;
  gap: 20px;
}
.mw_wp_form_confirm .p-form__submit input[name=submit] {
  margin-left: 0 !important;
}