/* 公共精简页脚：仅作用于显式启用的页面，不影响正文与旧页脚。 */
.site-footer.footer-compact { display: block; margin: 0; padding: 0; border-top: 1px solid #dce3e8; background: #18242d; color: #fff; font-family: system-ui,"Microsoft YaHei",sans-serif; }
.site-footer.footer-compact .footer-inner { box-sizing: border-box; display: grid; width: calc(100% - 64px); max-width: 1240px; margin: 0 auto; padding: 28px 0 18px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px 48px; }
.footer-compact .footer-col-copy { min-width: 0; }
.footer-compact .footer-nav { display: flex; flex-wrap: wrap; gap: 8px 25px; margin: 0 0 15px; padding: 0; border: 0; }
.footer-compact .footer-nav a { color: #e4e9ed; font-size: 13px; line-height: 1.7; text-decoration: none; }
.footer-compact .footer-nav a:hover { color: #82d1e3; }
.footer-compact .footer-copy,.footer-compact .footer-note { margin: 0; color: #aebbc4; font-size: 12px; line-height: 1.85; }
.footer-compact .footer-col-copy .footer-note { margin-top: 3px; font-size: 11px; color: #8697a3; }
.footer-compact .footer-inner > .contact-block { padding: 0; border: 0; }
.footer-compact .footer-col-sns { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.footer-compact .contact-sns-copy { text-align: right; }
.footer-compact .contact-status { margin: 0 0 3px; color: #fff; font-size: 16px; line-height: 1.5; font-weight: 700; }
.footer-compact .footer-sns { display: flex; align-items: center; }
.footer-compact .sns-qq { position: relative; }
.footer-compact .sns-qq > summary { position: relative; box-sizing: border-box; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; padding: 7px; border: 1px solid #ffffff30; border-radius: 50%; background: #ffffff0b; cursor: pointer; list-style: none; }
.footer-compact .sns-qq > summary::-webkit-details-marker { display: none; }
.footer-compact .sns-qq > summary::marker { content: ""; }
.footer-compact .sns-qq > summary:hover,.footer-compact .sns-qq[open] > summary { background: #ffffff18; border-color: #75c7df; }
.footer-compact .sns-up-arrow { position: absolute; top: -17px; left: 18px; width: 16px; height: 14px; color: #9ce4f5; pointer-events: none; transform: rotate(180deg); }
.footer-compact .sns-penguin { display: block; flex: none; width: 31px; height: 35px; }
.footer-compact .sns-qq > summary:focus-visible,.footer-compact a:focus-visible { outline: 2px solid #75c7df; outline-offset: 4px; }
.footer-compact .sns-qr-popup { box-sizing: border-box; position: absolute; z-index: 100; right: -4px; bottom: calc(100% + 24px); width: min(260px,calc(100vw - 44px)); padding: 15px; border: 1px solid #dce5eb; border-radius: 12px; background: #fff; color: #263d4b; box-shadow: 0 10px 38px #0003; text-align: center; }
.footer-compact .sns-qr-popup::after { content: ""; position: absolute; right: 23px; bottom: -7px; width: 12px; height: 12px; border-right: 1px solid #dce5eb; border-bottom: 1px solid #dce5eb; background: #fff; transform: rotate(45deg); }
.footer-compact .sns-qr-popup::before { content: ""; position: absolute; bottom: -26px; left: 0; right: 0; height: 27px; }
.footer-compact .sns-qr-popup strong { display: block; font-size: 13px; line-height: 1.6; margin: 0 0 9px; }
.footer-compact .sns-qr-popup a,.footer-compact .sns-qr-popup img { display: block; }
.footer-compact .sns-qr-popup img { width: 100%; height: auto; }
.footer-compact .sns-qr-popup > span { display: block; margin-top: 8px; color: #74838d; font-size: 10px; line-height: 1.6; }
.footer-compact .footer-inner > .footer-legal { grid-column: 1 / -1; margin: 0; padding-top: 12px; border-top: 1px solid #ffffff0c; color: #80929f; font-size: 10px; line-height: 1.75; }
@media (max-width:760px) {
  .site-footer.footer-compact .footer-inner { width: calc(100% - 32px); grid-template-columns: minmax(0,1fr); gap: 18px 16px; padding: 22px 0 16px; }
  .footer-compact .footer-nav { gap: 6px 17px; margin-bottom: 11px; }
  .footer-compact .footer-col-sns { justify-content: space-between; }
  .footer-compact .contact-sns-copy { text-align: left; }
  .footer-compact .sns-qr-popup { right: 0; }
}
