
:root {
  --background: #f4f7f8; --foreground: #17333e; --primary: #165b70;
  --primary-foreground: #fff; --input: #a9bdc5; --border: #d4e0e4;
  --ring: #0c6f88; --destructive: #a23530; --radius: .75rem;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-size: 16px; line-height: 1.75; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, [role="radio"]:focus-visible { outline: 3px solid #d09a34; outline-offset: 3px; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.topbar { height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { display: flex; gap: 11px; align-items: center; text-decoration: none; color: #17333e; font-size: 20px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: #165b70; border-radius: 9px; font-size: 19px; line-height: 1; }
.top-note { color: #55707a; font-size: 14px; }
.page { padding-bottom: 60px; }
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr); background: #e6f0f2; border-radius: 22px; overflow: hidden; min-height: 315px; }
.intro-copy { padding: 45px 54px; display: flex; flex-direction: column; justify-content: center; }
.kicker { margin: 0 0 15px; font-size: 13px; font-weight: 800; letter-spacing: .17em; color: #1c7187; }
h1 { font-size: clamp(30px, 3.5vw, 45px); line-height: 1.4; letter-spacing: -.055em; margin: 0 0 18px; }
.intro-copy > p:last-child { color: #47636c; font-size: 16px; margin: 0; max-width: 31em; }
.intro-image { position: relative; background: #cbdcde; min-height: 250px; }
.intro-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #e6f0f234, transparent 35%); pointer-events: none; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 245px; gap: 36px; align-items: start; margin: -32px auto 0; position: relative; padding-inline: 40px; }
.survey-card { background: white; border: 1px solid #d7e3e6; border-radius: 18px; padding: 36px 40px 32px; box-shadow: 0 16px 34px #183b4920; min-height: 435px; }
.survey-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: #42616c; margin-bottom: 17px; }
.survey-meta strong { color: #176077; font-variant-numeric: tabular-nums; }
.survey-progress { height: 7px !important; border-radius: 99px; background: #e3edef !important; margin-bottom: 33px; }
.survey-progress [data-slot="progress-indicator"] { background: #16718a; border-radius: 99px; }
.survey-question { margin: 0 0 7px; font-size: clamp(23px, 2.5vw, 28px); letter-spacing: -.035em; line-height: 1.55; font-weight: 800; }
.question-help { margin: 0 0 23px; color: #607983; font-size: 14px; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.option { display: flex; align-items: center; gap: 12px; min-height: 61px; padding: 12px 15px; border: 1px solid #cbdbe0; border-radius: 10px; background: #fff; cursor: pointer; color: #264650; font-size: 16px; font-weight: 600; transition: background .16s, border-color .16s, box-shadow .16s; }
.option:hover { background: #f3f9fa; border-color: #80adba; }
.option:has([data-state="checked"]) { border-color: #1a7289; background: #eaf5f7; box-shadow: inset 0 0 0 1px #1a7289; }
.option [data-slot="radio-group-item"] { width: 21px; height: 21px; border: 1.5px solid #64838d; background: white; flex-shrink: 0; }
.option [data-slot="radio-group-item"][data-state="checked"] { border-color: #176d85; background: #176d85; color: white; }
.option [data-slot="radio-group-item"] [data-slot="radio-group-indicator"] svg { fill: white; }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 31px; }
.back-button { background: none; border: 0; color: #466a76; padding: 13px 4px; font-weight: 700; }
.back-button:disabled { visibility: hidden; }
.next-button { margin-left: auto; border: 0; background: #165b70; color: white; border-radius: 9px; padding: 13px 26px; min-height: 50px; font-weight: 800; box-shadow: 0 4px 0 #0e4252; }
.next-button:hover:not(:disabled) { background: #0f485b; }
.next-button:disabled { background: #afc2c8; box-shadow: none; cursor: not-allowed; }
.error { color: #a23530; background: #fff0ed; border-radius: 8px; padding: 10px 13px; font-size: 14px; margin: 18px 0 0; }
.aside { padding-top: 72px; color: #506b74; font-size: 14px; }
.aside h2 { color: #17333e; margin: 0 0 15px; font-size: 17px; }
.aside p { margin: 0 0 18px; }
.aside-rule { height: 1px; background: #cbdcdf; margin: 22px 0; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li { padding: 7px 0 7px 28px; position: relative; }
.aside-list li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: #17809a; }
.privacy { border-top: 1px solid #d3e0e4; padding: 26px 0 0; margin: 40px 40px 0; font-size: 14px; color: #54707b; }
.privacy h2 { color: #1e414c; font-size: 16px; margin: 0 0 8px; }
.privacy p { margin: 0; max-width: 780px; }
.footer { border-top: 1px solid #d6e1e5; padding: 22px 0 28px; font-size: 13px; color: #66808a; }
.footer .shell { display: flex; justify-content: space-between; gap: 16px; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a, .privacy a { color: #165b70; text-underline-offset: 4px; }
.info-page { padding: 52px 0 90px; max-width: 910px; }
.info-page h1 { margin-bottom: 16px; }
.info-lead { color: #506b74; margin: 0 0 34px; max-width: 48em; }
.info-panel { background: white; border: 1px solid #d7e3e6; border-radius: 18px; padding: 30px 40px; box-shadow: 0 12px 28px #183b4912; }
.company-list { margin: 0; }
.company-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; border-bottom: 1px solid #dbe5e8; padding: 18px 0; }
.company-list > div:last-child { border-bottom: 0; }
.company-list dt { color: #5b737c; font-weight: 700; }
.company-list dd { margin: 0; }
.info-panel a { color: #165b70; text-underline-offset: 4px; overflow-wrap: anywhere; }
.info-source { border-top: 1px solid #dbe5e8; color: #657c84; font-size: 14px; padding-top: 20px; margin: 16px 0 0; }
.policy-panel section + section { border-top: 1px solid #dbe5e8; margin-top: 25px; padding-top: 25px; }
.policy-panel h2 { margin: 0 0 9px; font-size: 21px; }
.policy-panel p { margin: 0; color: #435f68; }
.policy-link { display: inline-block; margin-top: 17px; font-weight: 800; }
.complete-icon { width: 55px; height: 55px; display: grid; place-items: center; background: #eaf5f7; color: #12647c; font-size: 29px; border-radius: 50%; margin-bottom: 18px; }
.complete-title { font-size: 28px; margin: 0 0 11px; line-height: 1.45; }
.complete-copy { color: #526e79; margin: 0 0 18px; }
@media (max-width: 850px) { .workspace { grid-template-columns: 1fr; gap: 0; padding-inline: 20px; } .aside { padding: 28px 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .aside-rule { display: none; } .privacy { margin-inline: 20px; } .intro-copy { padding: 36px; } }
@media (max-width: 600px) { .shell { width: min(100% - 28px, 1120px); } .topbar { height: 67px; } .logo { font-size: 18px; } .top-note { font-size: 12px; } .intro { display: flex; flex-direction: column-reverse; border-radius: 16px; } .intro-image { height: 170px; min-height: 170px; } .intro-copy { padding: 24px 24px 52px; } h1 { font-size: 29px; } .intro-copy > p:last-child { font-size: 14px; } .workspace { margin-top: -24px; padding-inline: 12px; } .survey-card { padding: 25px 20px; min-height: 430px; } .survey-question { font-size: 23px; } .options { grid-template-columns: 1fr; gap: 9px; } .option { min-height: 54px; } .aside { display: block; padding: 28px 12px 0; } .privacy { margin: 28px 12px 0; } .footer .shell { display: block; } .footer nav { margin-top: 10px; } .info-page { padding: 34px 0 60px; } .info-panel { padding: 20px; } .company-list > div { grid-template-columns: 1fr; gap: 2px; } .info-back { text-align: right; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0s !important; } }

/* Native controls used by the standalone HTML version. */
.question-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.question-fieldset legend { width: 100%; }
.option input[type="radio"] { width: 21px; height: 21px; flex: none; margin: 0; accent-color: #176d85; }
.option:has(input:checked) { border-color: #1a7289; background: #eaf5f7; box-shadow: inset 0 0 0 1px #1a7289; }
.option input:focus-visible { outline: 3px solid #d09a34; outline-offset: 3px; }
.survey-progress { width: 100%; appearance: none; -webkit-appearance: none; display: block; }
.survey-progress::-webkit-progress-bar { background: #e3edef; border-radius: 99px; }
.survey-progress::-webkit-progress-value { background: #16718a; border-radius: 99px; }
.survey-progress::-moz-progress-bar { background: #16718a; border-radius: 99px; }
.preview-note { background: #fff8e8; border-left: 3px solid #b98021; border-radius: 5px; color: #5b4b2d; font-size: 14px; padding: 11px 13px; margin: 18px 0 0; }
