:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: #f5f9fd; color: #24364b; font: 16px/1.75 "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif; }
.site-header { display: flex; align-items: center; min-height: 80px; padding: 12px max(16px, calc((100vw - 1200px) / 2)); background: #fff; border-bottom: 1px solid #d4e1ed; }
.site-header img { display: block; width: min(216px, 55vw); height: auto; }
main { max-width: 920px; margin: 32px auto; padding: 28px clamp(16px, 4vw, 44px); border: 1px solid #d4e1ed; border-radius: 20px; background: #fff; }
h1, h2 { color: #0f2d5b; line-height: 1.35; }
h1 { margin: 0 0 24px; font-size: clamp(30px, 4vw, 44px); }
h2 { margin: 32px 0 8px; font-size: 24px; }
p { margin: 0 0 14px; }
a { color: #007a89; text-underline-offset: .15em; }
a:focus-visible { outline: 3px solid #175cd3; outline-offset: 3px; }
footer { display: flex; flex-wrap: wrap; gap: 8px 24px; max-width: 920px; margin: 0 auto 32px; padding: 0 16px; font-size: 14px; }
.legal-ad-mount:not(:empty) { max-width: 952px; margin: 32px auto; padding: 0 16px; }
.legal-ad-mount .pdf-home-ad__unit { min-height: 250px; }
.legal-showcase { max-width: 1120px; margin: 48px auto 32px; padding: 32px 16px 0; border-top: 1px solid #d4e1ed; }
.legal-showcase h2 { margin: 0 0 16px; font-size: clamp(22px, 3vw, 28px); }
.legal-showcase__frame-wrap { position: relative; }
.legal-showcase__frame-wrap.has-frame { min-height: 460px; }
.legal-showcase__frame { display: block; width: 100%; height: 460px; border: 0; border-radius: 24px; background: #fdfdff; visibility: hidden; }
.legal-showcase__frame-wrap.ready .legal-showcase__frame { visibility: visible; }
.legal-showcase__placeholder { margin: 0; padding: 28px; border: 1px solid #d4e1ed; border-radius: 24px; background: #ecf3fc; text-align: center; }
.legal-showcase__frame-wrap.has-frame .legal-showcase__placeholder { position: absolute; inset: 0; display: grid; place-content: center; }
.legal-showcase__frame-wrap.ready .legal-showcase__placeholder { display: none; }
.legal-showcase__fallback { margin: 12px 0 0; text-align: right; font-size: 13px; }
@media (max-width: 767px) { .site-header { min-height: 64px; } main { margin: 16px; padding: 24px 16px; } h2 { font-size: 22px; } }
@media (max-width: 767px) { .legal-showcase { margin-top: 32px; } .legal-showcase__frame-wrap.has-frame { min-height: 740px; } .legal-showcase__frame { height: 740px; border-radius: 17px; } .legal-showcase__fallback { text-align: left; } }
