@charset "UTF-8";
/* -----------------------------
よくあるご質問部分『sp』
-------------------------------- */
.sec_faq {
  background: #fff;
  padding: 40px 0;
}

/* .sec_faq h2 {
  padding-bottom: 25px;
  text-align: center;
} */

/*　アコーディオン　*/
.accordion {
  cursor: pointer;
  position: relative;
  /* 後でつける矢印用のリラティブ */
  background: #ebebeb;
}

.sub_aco {
  cursor: pointer;
  margin-top: 20px;
  padding: 0 36px 20px;
  border: 1px solid #FFBDBD;
  position: relative;
  display: none;
}

.accordion,
.sub_aco {
  line-height: 1.5;
  text-align: justify;
  border-radius: 30px;
  padding: 70px 50px 45px;
  margin-bottom: 20px;
}

/* 左側のQとAのアイコンをつける */
dl {
  /* カウンターをリセット */
  counter-reset: No 0;
}

.accordion::before {
  /* カウンターをカウントアップ */
  counter-increment: No 1;
  /* カウンターを表示 */
  content: "Q" counter(No);
  background: #fff;
  color: #000;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid  #3e475e;
}

.sub_aco::before {
  /* カウンターをdtと同じにする */
  counter-increment: inherit;
  /* カウンターを表示 */
  content: "A" counter(No);
  background: #3e475e;
  color: #fff;
}

.accordion::before,
.sub_aco::before {
  position: absolute;
  display: inline-block;
  width: 46px;
  height: 32px;
  border-radius: 23px;
  left: 50%;
  top: 19px;
  transform: translateX(-50%);
  text-align: center;
  line-height: 1;
  padding-top: 6px;
  box-sizing: border-box;
}

/* 右側の十字アイコン */
.aco_wrap .accordion span {
  display: block;
  position: absolute;
  top: auto;
  right: 35px;
  bottom: 25px;
}

.aco_wrap .accordion span::before,
.aco_wrap .accordion span::after,
.aco_wrap .sub_aco span::before,
.aco_wrap .sub_aco span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  position: absolute;
  left: 0;
  top: 50%;
  background: #3e475e;
}

.aco_wrap .accordion span::after,
.aco_wrap .sub_aco span::after {
  transform: rotate(90deg);
}

.aco_wrap .sub_aco span {
  transform: rotate(45deg);
  display: block;
  position: absolute;
  top: auto;
  right: 30px;
  bottom: 40px;
}

.open span {
  opacity: 0;
}

.sec_faq .form_btn {
  margin-top: 40px;
}

/* -----------------------------
よくあるご質問部分『pc』
-------------------------------- */
@media (min-width: 1025px) {
  /* .sec_faq {
    padding: 100px 0;
  } */

  .sec_faq .form_btn {
    margin-top: 100px;
  }

  /* .sec_faq h2 {
    padding-bottom: 125px;
    text-align: center;
    font-size: 7.2rem;
    font-weight: 500;
  } */

  .aco_wrap {
    font-size: 2rem;
  }

  .aco_wrap .accordion span {
    right: 90px;
    bottom: 50%;
  }

  .accordion,
  .sub_aco {
    line-height: 1.5;
    border-radius: 30px;
    text-align: left;
    padding: 30px 140px;
    margin-bottom: 30px;
  }

  .aco_wrap .accordion span::before,
  .aco_wrap .accordion span::after,
  .aco_wrap .sub_aco span::before,
  .aco_wrap .sub_aco span::after {
    width: 40px;
    height: 3px;
    left: 0;
    top: 50%;
  }

  .accordion::before,
  .sub_aco::before {
    width: 70px;
    height: 50px;
    left: 85px;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 2.5;
    padding-top: 0;
  }

  .aco_wrap .sub_aco span {
    top: 40%;
    right: 80px;
    bottom: auto;
    transform: translateY(-50%) rotate(45deg);
  }
}

