@font-face {
  font-family: "BABAKAGU FAQ Serif";
  src: url("../font/faq/NotoSerifJP-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "BABAKAGU FAQ Serif";
  src: url("../font/faq/NotoSerifJP-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
body.page-faq .faq-page {
  width: calc(100% - 40px);
  max-width: 1000px;
  margin: 98px auto 0;
  padding-bottom: 130px;
  color: #4c4948;
  font-family: "BABAKAGU FAQ Serif", serif;
  letter-spacing: normal;
}

body.page-faq .faq-section + .faq-section {
  margin-top: 88px;
}

body.page-faq .faq-section__title {
  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;
  gap: 28px;
  min-height: 68px;
  margin: 0;
  padding: 0 15px 8px;
  border-bottom: 1px solid #999;
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-align: center;
}

body.page-faq .faq-section__title img {
  display: block;
  width: 65px;
  max-height: 60px;
  -o-object-fit: contain;
     object-fit: contain;
}

body.page-faq .faq-section--small-icon .faq-section__title img {
  width: 48px;
  max-height: 48px;
}

body.page-faq .faq-item {
  border-bottom: 1px solid #999;
}

body.page-faq .faq-item__question {
  display: grid;
  grid-template-columns: 20px 24px minmax(0, 1fr);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  min-height: 59px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.65;
  list-style: none;
}

body.page-faq .faq-item__question::-webkit-details-marker {
  display: none;
}

body.page-faq .faq-item__question::before {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #999;
  content: "";
}

body.page-faq .faq-item[open] .faq-item__question {
  border-bottom: 2px dotted #bdbdbd;
}

body.page-faq .faq-item[open] .faq-item__question::before {
  -webkit-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
          transform: rotate(90deg);
}

body.page-faq .faq-item__mark {
  font-family: Georgia, "BABAKAGU FAQ Serif", serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

body.page-faq .faq-item__answer {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding: 15px 20px 24px 62px;
  color: #f03728;
  font-size: 18px;
  line-height: 1.95;
}

body.page-faq .faq-item__answer-copy p {
  margin: 0;
  line-height: inherit;
}

body.page-faq .faq-item__answer-copy p + p {
  margin-top: 3px;
}

body.page-faq .faq-item__answer-copy a {
  color: #4a6e9b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.page-faq .faq-page__contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 350px;
  min-height: 90px;
  margin: 110px auto 0;
  background: #f03728;
  color: #fff;
  font-family: "BABAKAGU FAQ Serif", serif;
  font-size: 17px;
  line-height: 1.3;
  text-align: center;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

body.page-faq .faq-page__contact span:first-child {
  font-family: Georgia, "BABAKAGU FAQ Serif", serif;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: normal;
}

body.page-faq .faq-page__contact:hover {
  opacity: 0.8;
}

@media (max-width: 991.98px) {
  body.page-faq .faq-page {
    margin-top: 34px;
    padding-bottom: 55px;
  }
  body.page-faq .faq-section + .faq-section {
    margin-top: 48px;
  }
  body.page-faq .faq-section__title {
    gap: 16px;
    min-height: 51px;
    padding: 0 0 6px;
    font-size: clamp(18px, 4.8vw, 22px);
  }
  body.page-faq .faq-section__title img {
    width: 44px;
    max-height: 43px;
  }
  body.page-faq .faq-section--small-icon .faq-section__title img {
    width: 36px;
    max-height: 36px;
  }
  body.page-faq .faq-item__question {
    grid-template-columns: 14px 20px minmax(0, 1fr);
    gap: 6px;
    min-height: 65px;
    padding: 9px 0;
    font-size: 16px;
    line-height: 1.5;
  }
  body.page-faq .faq-item__question::before {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 9px;
  }
  body.page-faq .faq-item__mark {
    font-size: 22px;
  }
  body.page-faq .faq-item__answer {
    display: block;
    padding: 18px 0 22px;
    font-size: 16px;
    line-height: 1.65;
  }
  body.page-faq .faq-item__answer > .faq-item__mark {
    display: none;
  }
  body.page-faq .faq-page__contact {
    width: 190px;
    min-height: 56px;
    margin-top: 52px;
    font-size: 19px;
    font-weight: 700;
  }
  body.page-faq .faq-page__contact span:first-child {
    display: none;
  }
}
