.sj-privacy,.sj-consent-banner { box-sizing:border-box; font:14px/1.8 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif; color:#18342e; overflow-wrap:anywhere; }
.sj-privacy { max-width:860px; margin:24px auto; padding:20px 24px; border-top:1px solid #cddbd6; }
.sj-privacy summary { cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.sj-privacy p,.sj-consent-banner p { margin:12px 0; }
.sj-privacy a,.sj-consent-banner a { color:#175d88; text-underline-offset:3px; }
.sj-consent-banner { position:fixed; z-index:9000; bottom:16px; right:16px; max-width:420px; max-height:calc(100dvh - 32px); overflow:auto; padding:18px; background:#fff; border:2px solid #286e58; border-radius:10px; box-shadow:0 4px 20px #18342e22; }
.sj-consent-actions { display:flex; flex-wrap:wrap; gap:12px; margin:12px 0; }
.sj-consent-actions button { flex:1; min-width:120px; min-height:48px; padding:10px 14px; border:2px solid #286e58; border-radius:6px; background:#fff; color:#183e36; font:inherit; cursor:pointer; }
.sj-consent-actions button:hover { background:#edf6f1; }
.sj-privacy :focus-visible,.sj-consent-banner :focus-visible { outline:3px solid #2563eb; outline-offset:3px; }
.sj-consent-banner[hidden],#sj-consent-controls[hidden] { display:none !important; }
@media(max-width:600px) { .sj-privacy { padding:16px; } .sj-consent-banner { left:12px; right:12px; bottom:12px; max-width:none; padding:14px; } }

.sj-consent-actions button[aria-pressed="true"] { background:#183e36; color:#fff; border-color:#183e36; font-weight:700; }
#sj-consent-status,#sj-measurement-status { padding:10px 12px; border-left:4px solid #286e58; background:#edf6f1; }
#sj-consent-storage-note[hidden] { display:none !important; }
