@charset "utf-8";
/* CSS Document */

/* 下層メインビジュアル */
.page_mv {
  background: url(../img/mv.webp) no-repeat center/cover;
}
/* アンカーボタンリスト */
.faq_btnlist {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 4em 0;
  padding: 0 5%;
  @media screen and (max-width: 767px) {
    gap: 10px;
    margin: 2em 0;
  }
}
.faq_btn {
  font-size: var(--font-14);
  font-weight: bold;
  line-height: 1;
  max-width: 241px;
  width: 100%;
  a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70px;
    padding-right: 1rem;
    background: var(--var-color);
    text-align: center;
    line-height: 1.5;
    @media screen and (max-width: 767px) {
      min-height: 50px;
    }
    span{
      position: relative;
      color: var(--var-color);
      &:after {
        content: "";
        margin-top: .1em;
        display: inline-block;
        vertical-align: middle;
        color: var(--var-color);
        line-height: 1;
        width: .5em;
        height: .5em;
        border: 0.1em solid currentColor;
        border-left: 0;
        border-bottom: 0;
        box-sizing: border-box;
        transform: translateY(-50%) rotate(135deg);
        position: absolute;
        top: 30%;
        right: -1em;
        transition: .2s;
        @media screen and (max-width: 767px) {
          top: 40%;
        }
      }
    }
    &:hover {
      span:after {
        top: 55%;
        transition: .2s;
      }
    }
  }
  @media screen and (max-width: 767px) {
    max-width: calc(50% - 5px);
  }
}
.faq_main {
  background: url(/common/img/contents_bg.webp) no-repeat center top/cover;
  padding: 64px 0;
  margin-top: 5em;
  .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .common_btn a {
    margin: 0;
    margin-top: 2em;
    max-width: 300px;
    min-height: 50px;
    @media screen and (max-width: 767px) {
      margin-top: 1em;
    }
    span:after {
      @media screen and (max-width: 767px) {
        right: -.5em;
      }
    }
  }
}
.faq_mainsec:not(:first-of-type) {
  margin-top: 4em;
}
.faq_sec {
  margin-top: 2em;
}
.faq_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq_card {
  padding: 30px;
  background: #FFF;
  @media screen and (max-width: 767px) {
    padding: 20px 5%;
  }
}
.question {
  position: relative;
  color: #fff;
  padding: 0.5em var(--space-30);
  padding-right: 60px;
  list-style: none;
  &::-webkit-details-marker {display: none;}
  &::after {
    content: "";
    position: absolute;
    width: 16px;
  }
  @media screen and (max-width: 767px) {
    padding-right: 40px;
    &::after {right: 15px;}
  }
}
.faq_card[open] .question::after {transform: rotate(-45deg);}

.question , .answer {
  display: flex;
  align-items: center;
  gap: .5em;
  @media screen and (max-width: 767px) {
    gap: .2em;
  }
}
.question {
  position: relative;
  padding-bottom: 1em;
  border-bottom: 1px solid var(--bg-color);
  &::after {
    content: "";
    margin-top: .1em;
    display: inline-block;
    vertical-align: middle;
    color: var(--main-color);
    line-height: 1;
    width: .8em;
    height: .8em;
    border: 0.15em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: rotate(135deg);
    position: absolute;
    top: 40%;
    right: 20px;
    z-index: 1;
  }
}
.answer {
  padding-top: 1em;
  @media screen and (max-width: 767px) {
    padding-top: .8em;
  }
}
.q_icon {
  position: relative;
  top: -5px;
}
.q_icon , .a_icon {
  font-weight: bold;
  font-size: var(--font-40);
  color: var(--sub-color2);
  line-height: 1.5;
  width: 40px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  @media screen and (max-width: 767px) {
    width: 30px;
  }
}
.q_text {
  color: var(--main-color);
  line-height: 1.75;
  font-size: var(--font-20);
  font-weight: bold;
  vertical-align: bottom;
}
.a_text {
  color: #000;
  line-height: 1.75;
}
.answer_plus--contents {
  max-width: calc(100% - 40px - .5em);
  margin-left: auto;
  @media screen and (max-width: 767px) {
    max-width: calc(100% - 30px - .2em);
  }
}
.ans_detail {
  margin-top: 1em;
  display: flex;
  gap: 20px;
  @media screen and (max-width: 767px) {
    flex-direction: column;
  }
}
.ans_detail--box {
  max-width: calc(50% - 10px);
  width: 100%;
  background: var(--bg-color2);
  padding: 20px;
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}
.ans_detail--title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--main-color);
  padding-bottom: .5em;
  margin-bottom: 1em;
  border-bottom: 2px solid var(--bg-color);
}
.ans_detail-flex {
  display: flex;
  align-items: center;
  gap: 2em;
}
.ans_detail li , .ans_detail p {
  line-height: 2;
}