/* Shared, self-hosted cookie notice. All modal styles are scoped to this feature. */
.cookie-settings-trigger{display:none}
.cookie-consent-ready .cookie-settings-trigger{display:inline-block;appearance:none;background:transparent;border:0;color:inherit;font:inherit;font-size:12px;line-height:1.6;letter-spacing:.02em;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:10px 0;cursor:pointer}
.cookie-settings-trigger:focus-visible{outline:2px solid currentColor;outline-offset:5px}
.cookie-settings-footer{margin-top:20px;text-align:center}
#cookie-consent{--cc-paper:#f6f3ec;--cc-ink:#35202d;--cc-line:#bd956566;--cc-accent:#35202d;display:contents;font:400 14px/1.8 Arial,'Hiragino Kaku Gothic ProN',Meiryo,sans-serif;color:var(--cc-ink);text-align:left;letter-spacing:0}
.company-page #cookie-consent{--cc-ink:#193d54;--cc-accent:#193d54;--cc-line:#193d5433}
#cookie-consent *,#cookie-consent *::before,#cookie-consent *::after{box-sizing:border-box}
#cookie-consent [hidden]{display:none!important}
#cookie-consent .cookie-banner{position:fixed;z-index:1000;inset:auto 20px 20px;display:flex;align-items:center;gap:24px;max-width:1120px;margin:0 auto;padding:24px 28px;border:1px solid var(--cc-line);border-radius:4px;background:var(--cc-paper);box-shadow:0 8px 40px #170e2026;color:var(--cc-ink);max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow:auto}
#cookie-consent .cookie-banner-copy{flex:1;min-width:0}
#cookie-consent h2{font:500 22px/1.5 'Noto Serif JP','Yu Mincho',Georgia,serif;color:var(--cc-ink);letter-spacing:.02em;margin:0 0 10px;text-align:left}
#cookie-consent h3{font:600 15px/1.7 Arial,'Hiragino Kaku Gothic ProN',Meiryo,sans-serif;color:var(--cc-ink);letter-spacing:0;margin:0 0 8px}
#cookie-consent p{font:400 14px/1.8 Arial,'Hiragino Kaku Gothic ProN',Meiryo,sans-serif;letter-spacing:0;color:var(--cc-ink);margin:0;text-align:left;max-width:none}
#cookie-consent button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border:1px solid var(--cc-ink);border-radius:2px;background:transparent;color:var(--cc-ink);font:500 13px/1.6 Arial,'Hiragino Kaku Gothic ProN',Meiryo,sans-serif;letter-spacing:.02em;cursor:pointer;text-align:center;text-transform:none}
#cookie-consent button:hover{background:#193d540d}
#cookie-consent button.cookie-primary{background:var(--cc-accent);color:var(--cc-paper)}
#cookie-consent button.cookie-primary:hover{filter:brightness(1.2)}
#cookie-consent :is(button,a):focus-visible{outline:2px solid var(--cc-ink);outline-offset:4px}
#cookie-consent .cookie-actions{display:flex;gap:12px;flex-wrap:wrap;flex:0 1 340px;align-items:center}
#cookie-consent .cookie-actions>button{flex:1 1 auto}
#cookie-consent dialog{color-scheme:light;width:min(660px,calc(100% - 32px));max-width:660px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--cc-line);border-radius:4px;background:var(--cc-paper);color:var(--cc-ink);box-shadow:0 16px 80px #170e2040;overflow:auto;overscroll-behavior:contain}
#cookie-consent dialog::backdrop{background:#170e2099}
html:has(#cookie-preferences[open]){overflow:hidden}
#cookie-consent .cookie-dialog-content{padding:28px}
#cookie-consent .cookie-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}
#cookie-consent .cookie-dialog-header h2{margin:0}
#cookie-consent .cookie-close{flex:none;font-size:26px;line-height:1;width:44px;padding:0;border-color:var(--cc-line)}
#cookie-consent .cookie-category{margin-top:24px;padding-top:20px;border-top:1px solid var(--cc-line)}
#cookie-consent .cookie-category-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
#cookie-consent .cookie-category-heading>span{font-size:12px;color:var(--cc-ink)}
#cookie-consent .cookie-analytics-choice{display:flex;align-items:center;gap:12px;min-height:44px;margin:8px 0 12px;font-size:14px;font-weight:500;cursor:pointer}
#cookie-consent .cookie-analytics-choice input{appearance:auto;flex:none;width:20px;height:20px;margin:0;accent-color:var(--cc-accent)}
#cookie-consent .cookie-analytics-choice input:focus-visible{outline:2px solid var(--cc-ink);outline-offset:4px}
#cookie-consent .cookie-contact{margin:24px 0}
#cookie-consent a{color:var(--cc-ink);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
#cookie-consent .cookie-storage-status{position:fixed;z-index:1001;bottom:20px;left:20px;right:20px;max-width:680px;margin:0 auto;padding:18px 22px;background:var(--cc-paper);border:1px solid var(--cc-line);box-shadow:0 8px 40px #170e2026;pointer-events:none}
@media(max-width:700px){
  #cookie-consent .cookie-banner{inset:auto 12px 12px;padding:20px;flex-direction:column;align-items:stretch;gap:18px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
  #cookie-consent h2{font-size:19px}
  #cookie-consent .cookie-actions{flex:auto;gap:10px}
  #cookie-consent .cookie-actions>button{flex:1 1 100%}
  #cookie-consent .cookie-dialog-content{padding:22px}
}
