@charset "UTF-8";
/* ===================================
 * よくあるご質問_20240628
 * =================================== */
.faq {
  margin-top: 100px;
  margin-bottom: 380px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 960px) {
  .faq {
    margin-top: 0;
    margin-bottom: 0;
  }
  .faq .inner {
    padding-bottom: 200px;
  }
}
.faq::after {
  background: url(../img/top/benefit-people.png) no-repeat center center/cover;
  content: "";
  position: absolute;
  bottom: -245px;
  right: 158px;
  width: 392px;
  height: 304px;
  z-index: 1;
}
@media screen and (max-width: 960px) {
  .faq::after {
    width: 180px;
    height: 140px;
    bottom: 40px;
    right: auto;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
}

.faq__list {
  max-width: 831px;
  margin: auto;
}

.faq__item {
  cursor: pointer;
}
.faq__item:not(:last-child) {
  margin-bottom: 24px;
}
.faq__item p.ques {
  padding: 16px 24px 16px 95px;
  background: #F58217;
  color: #fff;
  margin-bottom: 0;
  border-radius: 5px;
  position: relative;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
@media screen and (max-width: 960px) {
  .faq__item p.ques {
    padding: 12px 46px 12px 58px;
  }
}
.faq__item p.ques:hover {
  opacity: 0.8;
}
.faq__item p.ans {
  padding-left: 95px;
  padding-right: 86px;
  height: 0;
  overflow: hidden;
  -webkit-transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: height, opacity, margin-top;
  opacity: 0;
  position: relative;
}
@media screen and (max-width: 960px) {
  .faq__item p.ans {
    padding-left: 46px;
    padding-right: 58px;
  }
}
.faq__item p.ans:not(.active) {
  height: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.faq__item.active .ans {
  opacity: 1;
  visibility: visible;
  margin-top: 24px;
}
.faq__item .m_q,
.faq__item .m_a {
  font-family: "Inter", serif;
  font-size: 40px;
  font-weight: 400;
  line-height: normal;
  width: 51px;
  height: 29px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  position: absolute;
  left: 24px;
}
@media screen and (max-width: 960px) {
  .faq__item .m_q,
  .faq__item .m_a {
    font-size: 24px;
    width: 31px;
    left: 12px;
    height: 17px;
  }
}
.faq__item .m_q {
  color: #fff;
  top: 16px;
}
.faq__item .m_a {
  color: #333;
  top: 0px;
}
@media screen and (max-width: 960px) {
  .faq__item .m_a {
    top: 2px;
  }
}
.faq__item .m_open {
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 20px;
  height: 20px;
}
.faq__item .m_open::before, .faq__item .m_open::after {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 20px;
  height: 2px;
  background: #fff;
  content: "";
}
@media screen and (max-width: 960px) {
  .faq__item .m_open::before, .faq__item .m_open::after {
    -webkit-transform: none;
            transform: none;
    right: 14px;
  }
}
.faq__item .m_open::before {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq__item .m_open::after {
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}
.faq__item.active .m_open::before {
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}