/* 制作者:中尾 */

/* 使用カラー */
:root {
  --black: #000;
  --white: #FFF;
  --blue: #4084C8;
  --textGray: #707070; 
  --borderGray: #C2C2C2; 
  --mainGreen: #478891;
  --accentGreen: #5299A3;
}


/* 使用フォント */
:root {
  --NotoSans: "Noto Sans JP", sans-serif;
  --DMSans: "DM Sans", sans-serif;
  /* --NotoSerif: "Noto Serif JP", serif; */
}

.contact_wrapper{
  padding-top: 10rem;
  width: 118rem;
  margin: 0 auto 15rem;
  color: #1B242F;
}
.header_under_font{
  font-size: 1.8rem;
  margin-bottom: 2.7rem;
  line-height: calc(26 / 18);
}
/* formエリア↓ */
.form_area{
  margin-top: 6.5rem;
  font-size: 1.8rem;
  margin-bottom: 11.5rem;
}
.form_flex{
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  align-items: center;
}
.form_label{
  color: #0F257A;
  font-weight: 700;
}
p.form_label {
  padding-bottom: 3rem;
}
.form_label_text{
  margin-right: 9rem;
  padding-left: 2rem;
  width: 82.9rem;
  height: 5rem;
  border: 0.1rem solid #1B242F;
  font-weight: 500;
  font-size: 1.8rem;
  font-weight: 500;
}
.form_required{
  font-weight: 700;
  color: #FE191F;
}
.input_area{
  display: flex;
  align-items: center;
  width: 82.9rem;
  margin-right: 9rem;
  flex-wrap: wrap;
  column-gap: 3rem;
  row-gap: 1.5rem;
}
.input_check_area{
  display: flex;
  align-items: center;
}
.form_checkbox{
  border: 0.1rem solid #1B242F;
  width: 1.5rem;
  height: 1.5rem;
  appearance: auto;
  margin-right: 1rem;
}
.checkbox_label{
  font-size: 1.8rem;
  font-weight: 500;
}
.input_short_wrap{
  width: 82.9rem;
  margin-right: 9rem;
}
.input_short_width{
  width: 15rem;
  height: 5rem;
  padding-left: 2rem;
  border: 0.1rem solid #1B242F;
  font-size: 1.8rem;
  font-weight: 500;
}
.form_select_width{
  width: 30rem;
  position: relative;
}
.form_select{
  width: 30rem;
  height: 5rem;
  border: 0.1rem solid #1B242F;
  font-size: 1.8rem;
  padding-left: 2rem;
  /* color: rgba(27, 36, 47, 0.4); */
}
.form_select_width::after{
  top: 0;
  right: 1.5rem;
  position: absolute;
  content: "▼";
  top: 1rem;
  display: inline-table;
}
.form_position_top{
  align-items: start;
  margin-bottom: 3.7rem;
}
.form_label_top{
  margin-top: 1.2rem;
}
.form_textarea{
  width: 82.9rem;
  height: 44.9rem;
  margin-right: 9rem;
  padding: 1.2rem 2rem;
  font-size: 1.8rem;
  font-weight: 500;
  border: 0.1rem solid #1B242F;
}
.form_btn{
  width: 24.1rem;
  height: 5.5rem;
  background-color: #1B242F;
  color: #fff;
  margin-left: 24.5rem;
}
.form_btn_wrap{
  text-align: center;
}
.form_checkbox{
  display: flex;
  gap: 3rem;
}
input[type="checkbox"]{
  width: 1.5rem;
  height: 1.5rem;
  border: 0.1rem solid #1B242F;
  appearance: auto;
}
span.wpcf7-list-item{
  margin: 0;
}
span.wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
span.wpcf7-form-control.wpcf7-checkbox.wpcf7-validates-as-required {
  display: flex;
  flex-wrap: wrap;
  column-gap: 3rem;
  row-gap: 1.5rem;
  padding-top: 1rem;
}
/* formエリア↑ */

/* 会社概要エリア↓ */
.company_overview{
  width: 76rem;
  margin: 0 auto 11rem;
  font-size: 1.8rem;
  font-weight: 500;
}
.overview_flex{
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.contact_office{

}
.address_office{
  width: 48.9rem;
}
/* 会社概要エリア↑ */

/* questionsエリア↓ */
.contact_switch{
  display: none;
}
.questions_wrap{
  width: 115.8rem;
  margin: 0 auto;
}
.contact_questions_title{
  font-size: 2.5rem;
  font-weight: 900;
  padding-left: 4rem;
}
.contact_questions_flex{
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  position: relative;
}
.contact_switch.active{
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1000;
}
.contact_questions_area{
  font-size: 1.8rem;
  font-weight: 700;
  flex-direction: column;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.contact_list_wrapper{
  display: flex;
  gap: 5rem;
}
.contact_questions_list{
  font-size: 1.8rem;
  width: 42.9rem;
  height: 5.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0.1rem solid #0F257A;
  position: relative;
  transition: .5s;
}
.contact_questions_list.active{
  color: #fff;
  background-color: #0F257A;
  transition: .5s;
}
.contact_questions_list::before{
  position: absolute;
  right: 1.35rem;
  content: "";
  height: 0.1rem;
  width: 2.5rem;
  background-color: #0F257A;
  top: 0;
  bottom: 0;
  margin: auto 0;
}
.contact_questions_list::after{
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  right: 2.55rem;
  content: "";
  width: 0.1rem;
  height: 2.5rem;
  background-color: #0F257A;
  transition: .5s;
}
.contact_questions_list.active::after{
  background-color: #fff;
  transform: rotate(90deg);
  transition: .5s;
}
.contact_answer_area.active{
  display: none;
}
.contact_font_area{
  background-color: #0F257A;
  padding: 1.5rem 3.6rem 5rem;
  color: #fff;
}
.replacing_source.active{
  display: none;
}
.contact_answer_title{
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}
.contact_answer_title::after{
  content: "";
  height: 2.9rem;
  width: 0.5rem;
  background-color: #FE191F;
  position: absolute;
  top: 0;
  left: -1rem;
}

.contact_answer_font{
  font-size: 1.6rem;
  line-height: calc(30 / 16);
  width: 60.8rem;
}
/* questionsエリア↑ */


/* sp版 */
@media screen and (max-width: 699.98px) {
  .contact_wrapper{
    width: 34.5rem;
    padding-top: 7rem;
    margin-bottom: 18rem;
  }
  /* formエリア↓ */
  .form_flex{
    flex-direction: column;
    align-items: start;
    margin-bottom: 3rem;
  }
  .form_position_top{
    margin-bottom: 2.5rem;
  }
  .form_area{
    margin-top: 5rem;
    margin-bottom: 15rem;
  }
  .form_label{
    margin-bottom: 0.5rem;
  }
  p.form_label {
    padding-bottom: 0;
  }
  .form_label_text{
    width: 100%;
    margin: 0;
    padding-left: 1rem;
    height: 4.1rem;
    font-size: 1.5rem;
  }
  .input_area{
    width: 100%;
    margin: 0;
    row-gap: 1.1rem;
  }
  .input_short_wrap {
    width: 100%;
  }
  .form_select_width{
    width: 100%;
  }
  .form_select{
    width: 100%;
    height: 4rem;
    padding-left: 1rem;
    font-size: 1.5rem;
  }
  .form_select_width::after {
    font-size: 1.2rem;
    top: 1.2rem;
    right: 2.1rem;
  }
  .form_textarea{
    margin: 0;
    width: 100%;
    height: 50rem;
    padding: 1rem;
    font-size: 1.5rem;
  }
  .form_btn{
    margin-left:  2rem;
  }
  span.wpcf7-form-control.wpcf7-checkbox.wpcf7-validates-as-required {
    row-gap: 1rem;
    padding-top: 0;
  }
  .input_short_width{
    width: 17.5rem;
    height: 4rem;
    padding-left: 1rem;
  }
  .form_label_top {
    margin-top: 0;
  }
  span.wpcf7-spinner {
    margin: 0;
  }
  /* formエリア↑ */

  /* 会社概要エリア↓ */
  .company_overview{
    width: 100%;
    margin-bottom: 10rem;
  }
  .overview_flex{
    flex-direction: column;
    margin-bottom: 4rem;
  }
  .contact_office{
    margin-bottom: 1rem;
  }
  .address_office{
    width: 100%;
    line-height: calc(26/18);
  }
  /* 会社概要エリア↑ */

  /* questionsエリア↓ */
  .questions_wrap{
    width: 100%;
  }
  .contact_list_wrapper {
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
  }
  .contact_questions_title{
    font-size: 2rem;
    text-align: center;
    padding-left: 1rem;
  }
  .contact_questions_flex{
    flex-direction: column;
  }
  .contact_switch.active{
    display: block;
    position: relative;
    top: 0;
    right: 0;
    z-index: 1000;
  }
  .contact_questions_area{
    font-size: 1.6rem;
    gap: 2rem;
  }
  .contact_questions_list{
    font-size: 1.6rem;
    width: 100%;
    justify-content: left;
    padding-left: 1.4rem;
  }
  .contact_font_area{
    padding: 1rem;
    display: none;
  }
  .contact_answer_title{
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .contact_answer_font{
    width: 32.5rem;
    font-size: 1.4rem;
    line-height: calc(20/14);
  }
  /* questionsエリア↑ */
}
