:root { color-scheme: light; --ink:#17332b; --green:#17483f; --line:#dce6df; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f7f8f4; color: var(--ink); font: 17px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: #17634d; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #85b627; outline-offset: 3px; }
.legal-header { background: #143c32; color: white; }
.legal-header-inner { max-width: 1120px; margin: auto; padding: 17px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.legal-header a { color: white; }
.brand { font-weight: 800; text-decoration: none; line-height: 1.25; }
.header-phone { white-space: nowrap; font-weight: 700; }
.legal-main { max-width: 1120px; margin: 0 auto; padding: clamp(28px,5vw,64px) 24px 76px; }
.back { display: inline-block; margin-bottom: 24px; font-size: 15px; font-weight: 700; }
.eyebrow { margin: 0 0 8px; color: #577064; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
h1 { max-width: 850px; margin: 0; font-size: clamp(32px,5vw,54px); line-height: 1.08; letter-spacing: -.04em; }
.lead { max-width: 750px; margin: 20px 0 8px; font-size: 19px; }
.revised { color: #587067; font-size: 14px; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: clamp(28px,5vw,70px); align-items: start; margin-top: 42px; }
.contents { position: sticky; top: 25px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.contents strong { display: block; margin-bottom: 9px; font-size: 15px; }
.contents a { display: block; padding: 5px 0; font-size: 14px; line-height: 1.4; }
.legal-content { max-width: 760px; }
.legal-simple { margin-top: 38px; }
.legal-content section { padding: 0 0 30px; margin: 0 0 30px; border-bottom: 1px solid var(--line); scroll-margin-top: 22px; }
.legal-content h2 { margin: 0 0 12px; font-size: clamp(23px,3vw,30px); line-height: 1.2; }
.legal-content p, .legal-content ul { margin: 0 0 15px; }
.legal-content li + li { margin-top: 5px; }
.legal-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-content th, .legal-content td { padding: 10px; text-align: left; vertical-align: top; border: 1px solid var(--line); }
.legal-content th { background: #e9f0e9; }
.legal-footer { padding: 28px 24px; background: #143c32; color: white; }
.legal-footer-inner { max-width: 1120px; margin: auto; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.legal-footer a, .legal-footer button { color: white; }
.legal-footer button { border: 0; padding: 0; background: none; text-decoration: underline; }
.analytics-consent { position: fixed; z-index: 100; right: 16px; bottom: 16px; width: min(360px,calc(100% - 32px)); padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 12px 40px #122b2240; font-size: 14px; line-height: 1.45; }
.analytics-consent[hidden] { display: none; }
.analytics-consent p { margin: 0 0 8px; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.analytics-consent-actions button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--green); border-radius: 9px; background: white; color: var(--green); font-weight: 750; }
.analytics-consent-actions [data-analytics-accept] { background: var(--green); color: white; }
@media (max-width: 720px) { .legal-layout { display: block; } .contents { position: static; margin-bottom: 34px; } .header-phone { font-size: 14px; } .legal-content table { display: block; overflow-x: auto; } }
