/* Scoped consent UI only. Existing Header/Footer and page layouts remain untouched. */
.kc-consent[hidden], .kc-consent-settings[hidden] { display: none !important; }
.kc-consent, .kc-consent-settings { box-sizing: border-box; font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; }
.kc-consent { position: fixed; inset: auto 16px 64px; z-index: 80; max-height: calc(100dvh - 100px); overflow: auto; color: #102c53; background: #fff; border: 1px solid #b9d2f0; border-top: 3px solid #2766b9; }
.kc-consent__inner { display: flex; align-items: center; gap: 28px; max-width: 1180px; margin: auto; padding: 22px 24px; }
.kc-consent__copy { flex: 1; min-width: 0; }
.kc-consent h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.5; color: #052a5f; }
.kc-consent p { margin: 5px 0; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; }
.kc-consent a { color: #2766b9; text-decoration: underline; text-underline-offset: .2em; }
.kc-consent__notice, .kc-consent__status { font-weight: 600; }
.kc-consent__actions { display: flex; gap: 12px; flex-shrink: 0; }
.kc-consent button, .kc-consent-settings { min-height: 44px; border: 1px solid #2766b9; border-radius: 3px; cursor: pointer; font-size: 14px; font-weight: 600; color: #052a5f; background: #fff; }
.kc-consent button { min-width: 116px; padding: 10px 16px; }
.kc-consent button:hover, .kc-consent-settings:hover { background: #eff5fc; }
.kc-consent button:focus-visible, .kc-consent a:focus-visible, .kc-consent-settings:focus-visible { outline: 3px solid #2766b9; outline-offset: 3px; }
.kc-consent-settings { position: fixed; right: 16px; bottom: 12px; z-index: 70; padding: 10px 14px; }
.privacy-analytics-proposal { margin-top: 40px; padding: 20px; border: 1px solid #b9d2f0; background: #f7faff; }
@media (max-width: 959px) {
  .kc-consent { inset-inline: 12px; }
  .kc-consent__inner { display: block; padding: 16px; }
  .kc-consent h2 { font-size: 17px; }
  .kc-consent__actions { margin-top: 14px; }
  .kc-consent__actions button { flex: 1; min-width: 0; }
  .kc-consent-settings { right: 12px; }
}
