:root {
    --page-width: 1120px;
    --form-width: 660px;
    --gold: #bd8200;
    --orange: #f58220;
    --red: #dd0000;
    --black: #050505;
    --line: #dedede;
    --header-button: #7ad2fa;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: #111;
    background: #f3f4f5;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

a { color: inherit; }
img { max-width: 100%; }

.stealth-tag-page { display: flex; min-height: 100vh; flex-direction: column; }
.site-main { flex: 1; }

/* Header */
.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    color: #fff;
    background: #080808;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

.site-header__inner {
    display: flex;
    width: min(1200px, calc(100% - 80px));
    min-height: 94px;
    margin: 0 auto;
    align-items: center;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.site-brand__logo { display: block; width: 250px; height: auto; }
.site-brand__name { font-family: "Arial Narrow", Arial, sans-serif; }
.site-brand__product { margin-left: 5px; padding-left: 11px; border-left: 1px solid #8e8e8e; font-size: 11px; letter-spacing: .1em; }
.site-brand__mark { position: relative; width: 17px; height: 17px; transform: skewX(-19deg); background: linear-gradient(120deg, #e9001d 0 39%, transparent 40% 55%, #1a94d0 56%); }
.site-brand__mark::after { position: absolute; top: 5px; left: 5px; width: 8px; height: 8px; border-radius: 50%; background: #f7b600; content: ""; }
.site-header__actions { display: flex; gap: 9px; margin-left: auto; }

.header-action {
    display: inline-flex;
    min-width: 100px;
    min-height: 36px;
    padding: 8px 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--header-button);
    color: var(--header-button);
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}

.header-action:hover { color: #fff; background: #228bc2; border-color: #228bc2; }
.header-action--diagnosis { border-color: #e60012; color: #ff5965; }
.header-action--diagnosis:hover { background: #e60012; border-color: #e60012; }
.header-action--information { border-color: #7ad2fa; color: #7ad2fa; }
.header-action--information:hover { background: #228bc2; border-color: #228bc2; }
.header-action--contact { border-color: #ff7f21; color: #ff9b5c; }
.header-action--contact:hover { background: #ff7f21; border-color: #ff7f21; }

/* Footer */
.site-footer { color: #e9e9e9; background: #080808; }
.site-footer__inner { display: flex; width: min(1200px, calc(100% - 80px)); min-height: 132px; margin: 0 auto; flex-wrap: wrap; gap: 15px 30px; padding: 24px 0; align-items: center; }
.site-brand--footer { color: #fff; }
.site-brand--footer small { margin-left: 4px; padding-left: 10px; border-left: 1px solid #777; color: #ddd; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.site-footer__links { display: flex; gap: 22px; margin-left: auto; }
.site-footer__links a { color: #ddd; font-size: 12px; text-decoration: none; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; }
.site-footer p { width: 100%; margin: 0; color: #999; font-size: 10px; text-align: right; }

/* Home */
.page-shell { width: min(var(--page-width), calc(100% - 80px)); margin: 0 auto; }
.home { padding: 24px 0; }
.home-visual { margin: 0 0 30px; box-shadow: 0 5px 20px rgba(0, 0, 0, .16); }
.home-visual:last-child { margin-bottom: 0; }
.home-visual picture,
.page-image { display: block; }
.home-visual picture { overflow: hidden; background: #000; }
.home-visual img,
.page-image img { display: block; width: 100%; height: auto; }
/* The second desktop asset uses a 3905px-wide artboard; crop it to the 3840px visual canvas. */
.home-visual__image--top-02 img { width: 101.693%; max-width: none; }
.home-visual__actions { display: flex; justify-content: center; gap: 10px; min-height: 66px; padding: 9px 0; background: #050505; }
.home-visual__actions .button { width: 260px; min-height: 48px; }
.home-visual__actions--two { gap: 28px; background: #050505; }

/* Buttons */
.button { display: inline-flex; min-height: 45px; padding: 9px 34px; align-items: center; justify-content: center; border: 0; border-radius: 3px; color: #fff; font-size: 17px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
.button b { margin-left: auto; font-size: 25px; font-weight: 400; }
.button__icon { margin-right: 10px; font-size: 18px; line-height: 1; }
.button--red { background: var(--red); }
.button--orange { background: var(--orange); }
.button--gold { width: 100%; background: linear-gradient(#dda622, #ae7200); box-shadow: inset 0 1px rgba(255,255,255,.55); }
.button--contact-submit,
.button--information-submit { position: relative; display: flex; width: 100%; min-width: 0; margin: 0 auto; justify-content: center; padding-right: 60px; padding-left: 60px; }
.button--contact-submit .button__icon,
.button--information-submit .button__icon { position: absolute; top: 50%; left: 25%; margin: 0; font-size: 30px; line-height: 1; transform: translate(-50%, -50%); }
.button--contact-submit .button__label,
.button--information-submit .button__label { font-size: 20px; white-space: nowrap; }
.button--contact-submit b,
.button--information-submit b { position: absolute; right: 22px; margin-left: 0; font-size: 28px; line-height: 1; }
.button--outline { border: 1px solid #888; color: #333; background: #fff; }
.button:hover { filter: brightness(1.08); }

/* Diagnosis and information */
.diagnosis-page { max-width: 1000px; padding: 46px 0 56px; }
.information-page { max-width: 1000px; padding: 16px 0 56px; }
.information-page .page-image { box-shadow: 0 4px 15px rgba(0, 0, 0, .13); }
.diagnosis-result { padding: 25px 36px 24px; background: linear-gradient(135deg, #fff 0%, #f4f4f4 100%); box-shadow: 0 4px 15px rgba(0, 0, 0, .13); text-align: center; }
.diagnosis-result__summary { display: flex; align-items: center; justify-content: center; gap: 24px; text-align: left; }
.diagnosis-result__alert { display: inline-flex; width: 68px; height: 59px; flex: 0 0 auto; align-items: center; justify-content: center; clip-path: polygon(50% 0, 100% 100%, 0 100%); color: #fff; background: #df1717; font-size: 39px; font-weight: 800; line-height: 1; padding-top: 15px; }
.diagnosis-result__eyebrow { margin: 0 0 1px; color: #222; font-size: 15px; font-weight: 700; line-height: 1.2; }
.diagnosis-result__title { margin: 0; color: #111; font-size: clamp(23px, 3vw, 34px); font-weight: 800; letter-spacing: .03em; line-height: 1.24; }
.diagnosis-result__title strong { color: #e60012; }
.diagnosis-result__message { margin: 19px 0 13px; padding: 9px 16px; border-radius: 3px; color: #fff; background: #050505; font-size: clamp(16px, 2vw, 22px); font-weight: 700; line-height: 1.25; }
.diagnosis-result__message strong { color: #e2b129; }
.diagnosis-result__description { margin: 0; color: #222; font-size: 14px; font-weight: 700; letter-spacing: .03em; line-height: 1.55; }
.diagnosis-hero { position: relative; display: flex; min-height: 322px; overflow: hidden; isolation: isolate; background: #fff; box-shadow: 0 4px 15px rgba(0, 0, 0, .13); }
.diagnosis-hero__content { position: relative; z-index: 2; width: 73%; padding: clamp(30px, 4.5vw, 52px) 0 26px clamp(26px, 5vw, 56px); }
.diagnosis-hero__eyebrow { margin: 0; color: #050505; font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; letter-spacing: .03em; line-height: 1.15; }
.diagnosis-hero__title { margin: 5px 0 0; color: #050505; font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: .015em; line-height: 1.12; white-space: nowrap; }
.diagnosis-hero__title span { color: #bd8200; background: linear-gradient(180deg, #fff0a0 0%, #d99d16 42%, #a26700 72%, #6f4300 100%); font-size: clamp(50px, 7.4vw, 76px); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.diagnosis-hero__description { margin: clamp(16px, 2.8vw, 28px) 0 0; color: #111; font-size: clamp(13px, 1.8vw, 18px); font-weight: 700; letter-spacing: .04em; line-height: 1.5; }
.diagnosis-hero__photo { position: absolute; z-index: 1; top: 0; right: 0; width: 45%; height: 100%; }
.diagnosis-hero__photo img { display: block; width: auto; height: 100%; margin-left: auto; }
.information-layout { display: block; }
.information-layout .form-card { margin: 12px 0 0; padding: 0 42px 24px; }
.information-layout .form-card__title { margin: 0 -42px; padding: 14px 20px; font-size: 18px; }
.information-layout .form-card__lead { margin: 18px 0; font-size: 13px; }
.information-layout .form-field { grid-template-columns: 160px minmax(0, 1fr); margin: 14px 0; }
.information-layout .form-field__label { font-size: 14px; }
.information-layout .form-field input,
.information-layout .form-field select { padding: 11px; }
.diagnosis-form { margin-top: 12px; border: 1px solid #e5dec5; background: #fff; }
.diagnosis-form__guide { margin: 0; padding: 16px; background: #f2e7bb; font-size: 14px; text-align: center; }
.diagnosis-form__guide b { display: inline-block; min-width: 30px; padding: 2px 5px; color: #e5af18; background: #050505; font-size: .9em; line-height: 1.2; }
.diagnosis-question { display: grid; grid-template-columns: 34px minmax(0, 1fr) 72px 72px; align-items: center; column-gap: 14px; margin: 0 14px; min-inline-size: 0; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.diagnosis-question__number { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; color: #fff; background: #000; font-size: 14px; font-weight: 700; line-height: 1; }
.diagnosis-question__text { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.diagnosis-question__answer { display: flex; align-items: center; justify-content: flex-end; gap: 4px; font-size: 12px; white-space: nowrap; }
.diagnosis-question input { margin: 0; accent-color: #b88300; }
.diagnosis-form__submit { position: relative; display: flex; width: calc(100% - 36px); min-height: 50px; margin: 20px auto; justify-content: center; }
.diagnosis-form__submit b { position: absolute; right: 22px; margin: 0; }
.feature-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0; text-align: center; }
.feature-summary article { padding: 0 18px; border-right: 1px solid #bbb; }
.feature-summary article:last-child { border: 0; }
.feature-summary b { font-size: 42px; }
.feature-summary h2 { margin: 8px 0 4px; font-size: 16px; }
.feature-summary p { margin: 0; font-size: 12px; line-height: 1.5; }

/* Forms */
.form-card { margin: 14px auto 0; padding: 0 26px 16px; border: 1px solid #dfdfdf; background: #fffdfa; }
.form-card__title { margin: 0 -26px; padding: 10px 15px; color: #e5af18; background: #050505; font-size: 15px; text-align: center; }
.form-card__lead { margin: 13px 0; font-size: 11px; text-align: center; }
.contact-page .form-card__lead { margin: 8px 0; font-size: 12px; font-weight: 700; line-height: 1.45; }
.contact-page .form-field input,
.contact-page .form-field select { padding: 5px 8px; }
.form-field { display: grid; grid-template-columns: 125px minmax(0, 1fr); align-items: center; column-gap: 10px; row-gap: 3px; margin: 10px 0; }
.form-field__label { font-size: 12px; font-weight: 700; }
.form-field__label span { display: inline-block; margin-left: 7px; padding: 1px 4px; color: #fff; background: #d80000; font-size: 9px; line-height: 1.2; }
.form-field__label .form-field__optional { color: #666; background: #e3e3e3; }
.form-field input,
.form-field select,
.form-field textarea { width: 100%; padding: 8px; border: 1px solid #dedede; border-radius: 2px; color: #333; font: inherit; font-weight: 400; }
.lead-form textarea { resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 2px solid #d5a11c; border-color: #d5a11c; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #aaa; opacity: 1; }
.form-field--invalid input,
.form-field--invalid textarea,
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: #c81919; background: #fff7f7; }
.form-field__error { grid-column: 2 / -1; margin: 0; color: #c81919; font-size: 11px; font-weight: 700; line-height: 1.45; }
.privacy-note { margin: 13px 0; color: #555; font-size: 14px; line-height: 1.55; text-align: center; }
.privacy-note a { color: #1776bf; }
.form-card__footer { margin: 13px 0 0; color: #555; font-size: 13px; text-align: center; }
.form-card__footer-icon { position: relative; display: inline-block; width: 20px; height: 24px; margin-right: 5px; overflow: hidden; vertical-align: -7px; }
.form-card__footer-icon img { position: absolute; top: -4px; left: -12px; width: 43px; max-width: none; height: auto; }
.contact-page { max-width: 1000px; padding: 6px 0 56px; }
.contact-page .form-card { max-width: 100%; }
.confirmation-list { margin: 20px 0; border-top: 1px solid var(--line); font-size: 13px; }
.confirmation-list div { display: grid; grid-template-columns: 145px 1fr; border-bottom: 1px solid var(--line); }
.confirmation-list dt { padding: 12px; background: #f4f4f4; font-weight: 700; }
.confirmation-list dd { margin: 0; padding: 12px; white-space: pre-wrap; }
.confirmation-actions { display: flex; gap: 12px; }
.confirmation-actions .button { flex: 1; font-size: 14px; }

/* Result and messages */
.result-page,
.complete-page { max-width: var(--form-width); min-height: 560px; padding: 80px 0; }
.result-card { padding: 46px 38px; border-top: 8px solid #000; box-shadow: 0 2px 12px rgba(0, 0, 0, .14); text-align: center; }
.result-card__eyebrow { margin: 0; color: var(--gold); font-weight: 700; }
.result-card h1 { margin: 13px 0; font-size: 29px; line-height: 1.4; }
.result-card strong { color: #be0000; }
.result-card p { margin: 18px 0; line-height: 1.7; }
.result-card .button { margin-top: 16px; font-size: 15px; }
.text-link { display: block; margin-top: 20px; color: #2573ad; font-size: 13px; }
.alert { margin: 14px 0; padding: 12px; border-radius: 3px; font-size: 13px; }
.alert--error { color: #9c1111; border: 1px solid #e3a9a9; background: #fff1f1; }
