/* 本文をスクロールしながら読める、目次の現在地表示。 */
.faq-spy-ready .faq-navigation { position:sticky;top:var(--faq-side-top,100px);align-self:start; }
.faq-spy-ready .faq-topics a { position:relative;padding-left:16px;transition:color .2s,background-color .2s;border-left:2px solid transparent; }
.faq-spy-ready .faq-topics a[aria-current="location"] { color:#eedbb7;background:#d7bc8310;border-left-color:var(--gold); }
.faq-spy-ready .faq-topics a[aria-current="location"] span { color:#f1d7a0; }
.faq-spy-ready .faq-list details { scroll-margin-top:var(--faq-question-offset,120px); }
.faq-spy-ready .faq-current .faq-question-number { color:#efd5a5; }
@media(min-width:961px) {
 .faq-spy-ready .faq-topics { gap:0; }
 .faq-spy-ready .faq-topics a { min-height:44px;padding-top:7px;padding-bottom:7px; }
}
@media(max-width:960px) {
 .faq-spy-ready .faq-layout { display:grid;grid-template-columns:minmax(0,1fr);gap:0; }
 .faq-spy-ready .faq-navigation { position:static;margin-bottom:30px; }
 .faq-spy-ready .faq-layout > .faq-topics { position:sticky;top:var(--faq-nav-top,84px);z-index:35;display:flex;flex-direction:row;gap:8px;margin:0 0 32px;padding:12px 0;max-width:100%;min-width:0;overflow-x:auto;background:#061723f5;backdrop-filter:blur(12px);border-block:1px solid var(--line);scrollbar-width:none;overscroll-behavior-x:contain; }
 .faq-spy-ready .faq-topics::-webkit-scrollbar { display:none; }
 .faq-spy-ready .faq-topics a { flex:0 0 auto;white-space:nowrap;padding:10px 16px;min-height:48px;border:1px solid transparent;border-bottom:1px solid transparent;font-size:16px;gap:10px; }
 .faq-spy-ready .faq-topics a[aria-current="location"] { border-color:#d7bc8366;background:#d7bc8314; }
 .faq-spy-ready .faq-topics a span { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) { .faq-spy-ready .faq-topics a { transition:none; } }
@media print { .faq-spy-ready .faq-navigation,.faq-spy-ready .faq-layout > .faq-topics { position:static; } }
