/* 任意のアクセス解析。同意前にはGA4タグを読み込みません。 */
.analytics-prefs-trigger{background:transparent;border:0;color:inherit;text-decoration:underline;cursor:pointer;font:inherit;padding:0 3px}
.analytics-prefs-trigger:hover{text-decoration-thickness:2px}
.analytics-consent{position:fixed;z-index:9999;inset:auto 14px 14px;max-width:680px;margin:0 auto;background:#fff;color:#17313a;box-shadow:0 12px 65px #17313a38;border:1px solid #cddedc;border-radius:14px;padding:17px 20px;line-height:1.6;font:14px/1.65 system-ui,-apple-system,"Yu Gothic",Meiryo,sans-serif}
.analytics-consent strong{display:block;font-size:15px;color:#17313a;margin-bottom:6px}
.analytics-consent p{margin:0 0 11px;color:#415761;font-size:13px}
.analytics-consent a{color:#006f68}
.analytics-consent-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.analytics-consent button{border:1px solid #a5b9b8;padding:10px 15px;border-radius:9px;cursor:pointer;background:#fff;color:#17313a;font-weight:750;min-height:42px}
.analytics-consent button[data-decision="granted"]{background:#087c72;border-color:#087c72;color:white}
.analytics-consent button:focus-visible{outline:3px solid #e5a54b;outline-offset:2px}
@media(min-width:710px){.analytics-consent{left:20px;right:20px}}
@media(max-width:430px){.analytics-consent{padding:14px;bottom:9px;left:9px;right:9px}.analytics-consent-actions button{flex:1}}
