/* FAQ採用2。共通タイトル/CTAと他ページは変更しない。 */
.faq-page { position: relative; isolation: isolate; overflow: clip; background: #fff; color: #071344; font-weight: 400; }
.faq-page .site-container { width: calc(100% - 96px); max-width: 1320px; margin-inline: auto; }
.faq-category-nav { padding-block: 16px 28px; }
.faq-category-nav__inner { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.faq-category-nav a { display: flex; align-items: center; gap: 14px; min-height: 94px; padding: 15px; border: 1px solid #dfebfa; border-radius: 7px; background: #fbfdff; color: inherit; text-decoration: none; transition: background-color 180ms, border-color 180ms; }
.faq-category-nav a:hover { background: #edf6ff; border-color: #87baff; }
.faq-category-nav__icon { position: relative; flex: 0 0 60px; width: 60px; height: 60px; display: grid; place-items: center; }
.faq-category-nav__icon::before { content: ""; position: absolute; inset: 0; background: url('../img/article-review-circle.webp') center/contain no-repeat; opacity: .8; }
.faq-category-nav__icon img { position: relative; width: 36px; height: 36px; object-fit: contain; }
.faq-category-nav a:nth-child(n+3) .faq-category-nav__icon { filter: hue-rotate(30deg); }
.faq-category-nav__label { font-size: 13px; font-weight: 700; line-height: 1.7; }
.faq-category-nav__number { display: block; color: #4987ea; font-size: 12px; margin-bottom: 3px; }
.faq-category-nav__word { display: inline-block; }
/* ヘッダー分は共通scroll-paddingで確保済み。セクション内余白だけを少し相殺する。 */
.faq-section { position: relative; scroll-margin-top: -24px; }
.faq-section::before { content: ""; position: absolute; z-index: -1; pointer-events: none; left: -175px; bottom: -80px; width: 310px; height: 310px; background: url('../img/article-review-circle.webp') center/contain no-repeat; opacity: .55; }
.faq-section:nth-child(even)::before { left: auto; right: -200px; top: -80px; bottom: auto; }
.faq-section:nth-child(odd)::after { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 5.5%; bottom: 50px; width: 84px; height: 84px; background: url('../img/article-review-dots.webp') center/contain no-repeat; opacity: .35; }
.faq-section__grid { display: grid; grid-template-columns: minmax(0,.4fr) minmax(0,.6fr); gap: 40px; align-items: start; padding-block: 58px; }
.faq-section + .faq-section .faq-section__grid { border-top: 1px solid #dfebfa; }
.faq-section__heading { position: relative; padding-left: 140px; }
.faq-section__number { position: absolute; top: -24px; left: 0; font-size: 92px; font-style: italic; font-weight: 700; line-height: 1.2; color: #d6e8ff; letter-spacing: -.055em; }
.faq-section__eyebrow { margin: 0 0 16px; color: #0867f2; font-weight: 700; font-size: 13px; letter-spacing: .04em; }
.faq-section__heading h2 { margin: 0; font-size: clamp(28px,2.3vw,34px); line-height: 1.6; font-weight: 700; letter-spacing: -.035em; overflow-wrap: anywhere; }
.faq-section__blue { color: #0867f2; }
.faq-section__description { margin: 18px 0 0; color: #536984; font-size: 15px; line-height: 1.9; }
.faq-list { min-width: 0; }
.faq-list details { border-bottom: 1px solid #dfebfa; }
.faq-list details:first-child { border-top: 1px solid #dfebfa; }
.faq-list summary { position: relative; display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 16px; padding: 22px 38px 22px 8px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; top: 26px; right: 8px; width: 20px; height: 20px; background: url('../img/icons/faq-plus.svg') center/contain no-repeat; }
.faq-list details[open] summary::after { background-image: url('../img/icons/faq-minus.svg'); }
.faq-list details[data-faq-expanded="false"] summary::after { background-image: url('../img/icons/faq-plus.svg'); }
.faq-list summary > span, .faq-answer > span { color: #0867f2; font-size: 15px; font-weight: 700; line-height: 1.9; }
.faq-list summary strong { font-size: 17px; line-height: 1.9; font-weight: 700; overflow-wrap: anywhere; }
.faq-list details[open] summary { background: #f5faff; }
.faq-answer { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 16px; padding: 0 26px 22px 8px; background: #f5faff; }
.faq-answer p { margin: 0; color: #536984; font-size: 15px; line-height: 2; overflow-wrap: anywhere; }
.faq-answer p + p { margin-top: 14px; }
.faq-answer a { color: #0867f2; font-weight: 700; text-underline-offset: 4px; }
.faq-answer a img { display: inline-block; margin-left: 8px; vertical-align: middle; }
.faq-page a:focus-visible, .faq-list summary:focus-visible { outline: 3px solid #0867f2; outline-offset: -3px; border-radius: 3px; }
@media (max-width: 1200px) {
  .faq-page .site-container { width: calc(100% - 64px); }
  .faq-category-nav a { gap: 8px; padding: 12px; }
  .faq-category-nav__icon { flex-basis: 38px; width: 38px; height: 38px; }
  .faq-category-nav__icon img { width: 25px; height: 25px; }
  .faq-category-nav__label { font-size: 12px; }
  .faq-section__grid { gap: 30px; }
  .faq-section__heading { padding-left: 100px; }
  .faq-section__number { font-size: 76px; top: -15px; }
}
@media (max-width: 1000px) {
  .faq-category-nav__inner { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .faq-section__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 44px; }
  .faq-section__heading { min-height: 90px; }
  .faq-section__heading h2 { font-size: 30px; }
  .faq-section__eyebrow { margin-bottom: 8px; }
  .faq-section__description { margin-top: 10px; }
  .faq-section:nth-child(odd)::after { left: auto; right: -25px; bottom: 20px; }
}
@media (max-width: 640px) {
  .faq-page .site-container { width: calc(100% - 40px); }
  .faq-category-nav { padding-block: 12px 20px; }
  .faq-category-nav__inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .faq-category-nav a { padding: 12px 10px; min-height: 94px; gap: 8px; }
  .faq-category-nav__icon { flex-basis: 32px; width: 32px; height: 32px; }
  .faq-category-nav__icon img { width: 23px; height: 23px; }
  .faq-category-nav__label { font-size: 12px; }
  .faq-section__grid { gap: 24px; padding-block: 36px; }
  .faq-section__heading { padding-left: 0; }
  .faq-section__number { position: static; display: block; font-size: 52px; margin-bottom: 8px; }
  .faq-section__eyebrow { position: absolute; top: 18px; left: 82px; font-size: 11px; }
  .faq-section__heading h2 { font-size: clamp(25px,6.7vw,28px); line-height: 1.65; text-wrap: balance; }
  .faq-section__description { font-size: 14px; }
  .faq-list summary { grid-template-columns: 22px minmax(0,1fr); gap: 8px; padding: 18px 28px 18px 4px; }
  .faq-list summary strong { font-size: 15px; }
  .faq-list summary::after { top: 23px; right: 2px; width: 18px; height: 18px; }
  .faq-answer { grid-template-columns: 22px minmax(0,1fr); gap: 8px; padding: 0 14px 18px 4px; }
  .faq-answer p { font-size: 14px; }
  .faq-section::before { opacity: .35; }
  .faq-section:nth-child(odd)::after { opacity: .12; }
}
@media (max-width: 380px) {
  .faq-category-nav a { flex-direction: column; align-items: flex-start; }
  .faq-category-nav__icon { flex-basis: 32px; }
  .faq-category-nav__label { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .faq-category-nav a { transition: none; } }
@media (forced-colors: active) {
  .faq-section::before, .faq-section::after, .faq-category-nav__icon::before { display: none; }
  .faq-list summary { display: list-item; list-style: disclosure-closed inside; }
  .faq-list details[open] summary { list-style-type: disclosure-open; }
  .faq-list summary::after { display: none; }
  .faq-section__blue, .faq-section__number, .faq-list summary > span, .faq-answer > span { color: LinkText; }
}
