@import url("reset.css");
@import url("common.css");

/* .mv-area ------------------------------------------- */
.mv-area {
  background: url(../images/contact/mv.webp);
  background-size: cover;
}

@media screen and (max-width: 767px) {
  .mv-area {
    background: url(../images/contact/mv_sp.webp);
    background-size: cover;
  }
}

.contact_main {
  padding: 118px 0 256px;
}

@media screen and (max-width: 767px) {
  .contact_main {
    padding: 15.2vw 4vw 32.27vw;
  }
}

.contact_main_inner {
  display: block;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
}

.contact_txt {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: center;
  margin-top: 56px;
}

@media screen and (max-width: 767px) {
  .contact_txt {
    text-align: left;
    margin-top: 4.8vw;
    padding: 0 10vw;
  }
}

.contact_flow {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 577px;
  margin: 41px auto 0;
}

@media screen and (max-width: 767px) {
  .contact_flow {
    margin: 15.2vw auto 0;
  }
}

.contact_flow::before,
.contact_flow::after {
  content: "";
  position: absolute;
  top: calc(50% - 8px);
  left: 154px;
  display: block;
  width: 49px;
  height: 17px;
  background: url(../images/contact/arrow_flow.svg);
  background-size: 100%;
}

@media screen and (max-width: 767px) {
  .contact_flow::before,
  .contact_flow::after {
    top: calc(50% - 5px);
    left: 25vw;
    width: 7.47vw;
    height: 2.67vw;
  }
}

.contact_flow::after {
  left: 370px;
}

@media screen and (max-width: 767px) {
  .contact_flow::after {
    left: 59vw;
  }
}

.contact_flow_item01,
.contact_flow_item02,
.contact_flow_item03 {
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  background: #eaefef;
  color: #707070;
  border-radius: 50%;
}

@media screen and (max-width: 767px) {
  .contact_flow_item01,
  .contact_flow_item02,
  .contact_flow_item03 {
    width: 22.67vw;
    height: 22.67vw;
  }
}

.contact_flow_item01.active,
.contact_flow_item02.active,
.contact_flow_item03.active {
  background: #ff0707;
  color: #fff;
}

.contact_flow_step {
  padding-top: 30px;
  font-size: 1.1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  line-height: 3.5;
  letter-spacing: -0.02em;
}

@media screen and (max-width: 767px) {
  .contact_flow_step {
    font-size: 1rem;
    line-height: 1.4;
    padding-top: 5vw;
  }
}

.contact_flow_txt {
  font-size: 1.4rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

@media screen and (max-width: 767px) {
  .contact_flow_txt {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 767px) {
  .contact_flow_item01 .contact_flow_txt,
  .contact_flow_item03 .contact_flow_txt {
    padding-top: 2vw;
  }
}

.contact_table {
  width: 100%;
  margin-top: 70px;
  position: relative;
}

.contact_table dt {
  position: absolute;
  text-align: left;
  vertical-align: top;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: -0.02em;
  padding: 30px 0;
}

@media screen and (max-width: 767px) {
  .contact_table dt {
    font-size: 1.6rem;
    padding: 6.67vw 0 0 0;
  }
}

@media screen and (max-width: 767px) {
  .contact_table dt {
    position: relative;
  }
}

.contact_table dt .icon_required,
.contact_table dt .icon_any {
  background: #ff0707;
  color: #fff;
  font-size: 1.1rem;
  line-height: 3.6;
  padding: 2px 10px;
  border-radius: 2px;
  margin-right: 10px;
}

.contact_table dt .icon_any {
  background: #b7b7b7;
  color: #fff;
}

.contact_table dd {
  text-align: left;
  border-bottom: solid 1px #eaefef;
  padding: 30px 0 30px 270px;
}

@media screen and (max-width: 767px) {
  .contact_table dd {
    text-align: left;
    border-bottom: solid 1px #eaefef;
    padding: 3.2vw 0 8vw;
  }
}

.contact_table.confirm dd {
  padding: 38px 0 30px 270px;
}

@media screen and (max-width: 767px) {
  .contact_table.confirm dd {
    padding: 3.2vw 0 8vw;
  }
}

.contact_table dd:last-child {
  border-bottom: none;
}

.contact_table .contact_radio_btn_wrap {
  display: flex;
}

.wpcf7-form-control {
  width: 100%;
  display: flex;
}

@media screen and (max-width: 767px) {
  .contact_table .contact_radio_btn_wrap {
    flex-direction: column;
  }

  .wpcf7-form-control {
    flex-direction: column;
  }
}

.contact_table .contact_radio_btn {
  /*width: 200px;*/
}

@media screen and (max-width: 767px) {
  .contact_table .contact_radio_btn:nth-child(2) {
    margin-top: 2vw;
  }
}

/*.contact_radio_btn_radio {
  display: none;
}*/

.wpcf7-radio input {
  display: none;
}

/*.contact_radio_btn_label {
  position: relative;
  display: block;
  padding: 0 12px 5px 34px;
  border-radius: 4px;
  background: #fff;
  font-size: 1.5rem;
  line-height: 2.2;
  letter-spacing: -0.02em;
  cursor: pointer;
}*/

.wpcf7-radio label {
  position: relative;
  display: block;
  padding: 0 12px 5px 34px;
  border-radius: 4px;
  background: #fff;
  font-size: 1.5rem;
  line-height: 2.2;
  letter-spacing: -0.02em;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  /*.contact_radio_btn_label {
    padding: 0 12px 5px 22px;
    font-size: 1.4rem;
    line-height: 1.6;
    cursor:auto;
  }*/

  .wpcf7-radio label {
    padding: 0 12px 5px 22px;
    font-size: 1.4rem;
    line-height: 1.6;
    cursor:auto;
  }
}

/*.contact_radio_btn_label:before {
  content: "";
  position: absolute;
  display: block;
  top: 6px;
  left: 8px;
  width: 20px;
  height: 20px;
  margin: auto;
  box-sizing: border-box;
  border-radius: 100%;
  border: solid 1px #ccc;
}*/

.wpcf7-radio label:before {
  content: "";
  position: absolute;
  display: block;
  top: 6px;
  left: 8px;
  width: 20px;
  height: 20px;
  margin: auto;
  box-sizing: border-box;
  border-radius: 100%;
  border: solid 1px #ccc;
}

@media screen and (max-width: 767px) {
  /*.contact_radio_btn_label:before {
    top: 3px;
    left: 0;
    width: 16px;
    height: 16px;
  }*/
  
  .wpcf7-radio label:before {
    top: 3px;
    left: 0;
    width: 16px;
    height: 16px;
  }
}

/*.contact_radio_btn_label:after {
  content: "";
  position: absolute;
  display: block;
  border-radius: 100%;
  margin: auto;
  left: 13px;
  top: 11px;
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  background: #fff;
}*/

.wpcf7-radio label:after {
  content: "";
  position: absolute;
  display: block;
  border-radius: 100%;
  margin: auto;
  left: 13px;
  top: 11px;
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  background: #fff;
}

@media screen and (max-width: 767px) {
  /*.contact_radio_btn_label:after {
    left: 4px;
    top: 7px;
    width: 8px;
    height: 8px;
  }*/

  .wpcf7-radio label:after {
    left: 4px;
    top: 7px;
    width: 8px;
    height: 8px;
  }
}

/*.contact_radio_btn_radio:checked + .contact_radio_btn_label:before {
  border-color: #dedede;
  background: #fff;
}*/

.wpcf7-radio input:checked + .wpcf7-radio label:before {
  border-color: #dedede;
  background: #fff;
}

/*.contact_radio_btn_label.is-active:after {
  background: #ff0707;
}*/

.wpcf7-radio label.is-active:after {
  background: #ff0707;
}

.contact_form_text {
  box-sizing: border-box;
  font-size: 1.5rem;
  line-height: 2.2;
  letter-spacing: -0.02em;
  background: #f5f5f5;
  border: none;
  border-radius: 4px;
  width: 100%;
  padding: 4px 10px;
  outline: none;
}

.contact_form_textarea {
  box-sizing: border-box;
  font-size: 1.5rem;
  line-height: 2.2;
  letter-spacing: -0.02em;
  background: #f5f5f5;
  border: none;
  border-radius: 4px;
  width: 100%;
  height: 150px;
  padding: 4px 10px;
  outline: none;
}

.contact_form_btn,
.contact_form_btn_back {
  position: relative;
  margin-top: 100px;
  width: 100%;
  height: 137px;
  background: #1e313c;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 2;
  border: none;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .contact_form_btn {
    margin-top: 10.67vw;
    height: 97px;
    font-size: 1.8rem;
    line-height: 2;
    letter-spacing: -0.02em;
  }
}

.contact_form_btn_back {
  width: 247px;
  height: 110px;
  background: #b7b7b7;
}

@media screen and (max-width: 767px) {
  .contact_form_btn_back {
    margin-top: 52px;
    width: 68vw;
    height: 54px;
  }
}

.contact_form_btn p,
.contact_form_btn_back p {
  position: relative;
  width: 100%;
  height: 100%;
}

.contact_form_btn p input,
.contact_form_btn_back p input {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.8rem;
  line-height: 2;
  z-index: 1;
}

@media screen and (max-width: 767px) {
  .contact_form_btn p input {
    font-size: 1.8rem;
    line-height: 2;
    letter-spacing: -0.02em;
  }
}

.contact_form_btn p img {
  position: absolute;
  top: calc(50% - 10px);
  left: 510px;
  z-index: 1;
  transition: all 0.5s 0s ease;
}

@media screen and (max-width: 767px) {
  .contact_form_btn p img {
    top: calc(50% - 6px);
    left: 67vw;
    width: 6.7vw;
    height: auto;
  }
}

.contact_form_btn:hover p img {
  left: 520px;
}

@media screen and (max-width: 767px) {
  .contact_form_btn:hover p img {
    left: 67vw;
  }
}

.contact_form_btn p::before {
  position: absolute;
  top: 0;
  left: -100%;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #ff0707;
  transition: all 0.5s 0s ease;
}

.contact_form_btn_back p::before {
  position: absolute;
  top: 0;
  right: -100%;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #879298;
  transition: all 0.5s 0s ease;
}

.contact_form_btn:hover p::before {
  left: 0;
}

@media screen and (max-width: 767px) {
  .contact_form_btn:hover p::before {
    left: -100%;
  }
}

.contact_form_btn_back:hover p::before {
  right: 0;
}

@media screen and (max-width: 767px) {
  .contact_form_btn_back:hover p::before {
    right: -100%;
  }
}

.contact_form_btn_wrap {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 767px) {
  .contact_form_btn_wrap {
    flex-direction: column;
    flex-direction: column-reverse;
    align-items: center;
  }
}

.contact_form_btn_wrap .contact_form_btn {
  height: 110px;
}

@media screen and (max-width: 767px) {
  .contact_form_btn_wrap .contact_form_btn {
    width: 100%;
  }
}

.contact_form_btn_wrap .contact_form_btn:nth-child(2) {
  width: 564px;
}

@media screen and (max-width: 767px) {
  .contact_form_btn_wrap .contact_form_btn:nth-child(2) {
    width: 100%;
  }
}

.contact_form_btn_wrap .contact_form_btn p img {
  left: 321px;
}

@media screen and (max-width: 767px) {
  .contact_form_btn_wrap .contact_form_btn p img {
    left: 56vw;
  }
}

.contact_form_btn_wrap .contact_form_btn:hover p img {
  left: 331px;
}

@media screen and (max-width: 767px) {
  .contact_form_btn_wrap .contact_form_btn:hover p img {
    left: 56vw;
  }
}