:root {
  --brand-red: #cc0000;
  --teal: rgb(0, 159, 165);
  --teal-dark: #007a78;
  --teal-deep: #07555a;
  --teal-pale: #dff7f5;
  --pink: #f53268;
  --pink-dark: #d91e54;
  --yellow: #ffcf35;
  --ink: rgb(51, 51, 51);
  --muted: #5d6d71;
  --line: #d8e5e5;
  --mist: #f4f8f8;
  --white: #fff;
  --shadow: 0 18px 55px rgba(4, 71, 75, .12);
  --radius: 18px;
  font-family: "Noto Sans JP", sans-serif, メイリオ, Meiryo, "Hiragino Kaku Gothic ProN", "Lucida Grande", "ヒラギノ角ゴ ProN W3";
  color: #444;
  background: var(--white);
}

@font-face {
  font-family: "onamae-domain-icon";
  src: url("https://www.onamae.com/common/fonts/onamae_domain_icon.woff?1706143909363") format("woff"), url("https://www.onamae.com/common/fonts/onamae_domain_icon.ttf?1706143909363") format("truetype");
  font-style: normal;
  font-weight: normal;
  font-display: block;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #444; font-size: 16px; line-height: 1.6; }
a { color: inherit; }
.section-shell { width: min(1080px, calc(100% - 48px)); margin-inline: auto; }

.site-header { min-height: 72px; display: flex; align-items: center; gap: 32px; padding: 0 max(24px, calc((100vw - 1080px) / 2)); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); }
.header-brand { display: flex; align-items: center; flex-shrink: 0; padding: 12px 16px; background: #cc0000; }
.header-brand img { display: block; width: 166px; height: auto; }
.header-campaign { display: flex; gap: 16px; align-items: center; padding-left: 28px; color: var(--teal-deep); }
.header-campaign span { font-size: 13px; }
.header-campaign strong { font-size: 15px; }

.result-hero { position: relative; overflow: hidden; padding: 70px 0 44px; background: linear-gradient(140deg, #eafffd 0%, #bfecea 100%); }
.result-hero::before, .result-hero::after { content: ""; position: absolute; border: 1px solid rgba(0,155,151,.16); border-radius: 50%; }
.result-hero::before { width: 520px; height: 520px; right: -180px; top: -250px; }
.result-hero::after { width: 280px; height: 280px; left: -120px; bottom: -150px; }
.result-hero--clear { background: linear-gradient(140deg, #effbf8 0%, #cfeee7 100%); }
.result-hero--caution { background: linear-gradient(140deg, #fffaf0 0%, #d8f1eb 100%); }
.result-hero--urgent { background: linear-gradient(140deg, #fff4f6 0%, #cfeceb 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 64px; }
.hero-copy { max-width: 650px; }
.result-overline { margin: 0 0 12px; color: var(--teal-deep); font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.result-label { display: inline-flex; margin: 0 0 18px; padding: 5px 16px; border-radius: 999px; background: var(--white); color: var(--teal-deep); font-weight: 800; box-shadow: 0 6px 20px rgba(0,80,80,.08); }
.hero-kicker { margin: 0 0 8px; color: #666; font-size: 14px; font-weight: 700; }
.hero-copy h1 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.34; letter-spacing: -.025em; }
.hero-intro { max-width: 650px; margin: 24px 0 0; font-size: 17px; font-weight: 600; }
.hero-intro--secondary { margin-top: 12px; font-weight: 400; }
.hero-visual { display: grid; place-items: center; }
.hero-art { width: 100%; max-width: 420px; height: auto; }
.understanding-gauge { position: relative; z-index: 1; max-width: 860px; margin-top: 42px; padding: 20px 28px 16px; border-radius: 12px; background: rgba(255,255,255,.88); }
.understanding-gauge__title { display: flex; justify-content: space-between; gap: 20px; margin: 0 0 16px; font-size: 14px; font-weight: 700; }
.understanding-gauge__title strong { color: var(--teal); }
.risk-scale { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.risk-scale::before { position: absolute; top: 8px; right: 16.666%; left: 16.666%; height: 6px; border-radius: 999px; content: ""; background: linear-gradient(90deg, rgba(0,159,165,.24), rgba(0,159,165,.95)); }
.risk-scale__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; color: #6e7f82; font-size: 12px; font-weight: 700; }
.risk-scale__dot { z-index: 1; display: block; width: 20px; height: 20px; border: 4px solid var(--white); border-radius: 50%; background: #b8dedd; box-shadow: 0 0 0 1px rgba(0,159,165,.24); }
.risk-scale__item.is-current { color: var(--teal); font-weight: 900; }
.risk-scale__item.is-current .risk-scale__dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(0,159,165,.2); }
.risk-scale__item.is-current .risk-scale__label::before { content: "今回の結果："; }

.why-section { padding: 100px 0; background: var(--white); }
.split-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 13px; font-weight: 900; letter-spacing: .06em; }
.section-heading h2, .center-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.4; letter-spacing: -.025em; }
.body-copy > p { margin: 0; font-size: 18px; }
.note-box { margin-top: 32px; padding: 26px 30px; border-left: 5px solid var(--yellow); background: #fffbeb; }
.note-box strong { color: var(--teal-deep); }
.note-box p { margin: 8px 0 0; }

.diagnosis-section { position: relative; overflow: hidden; padding: 82px 0; background: linear-gradient(145deg, #008c89, #005a5f); }
.diagnosis-section::after { content: ""; position: absolute; width: 560px; height: 560px; right: -250px; bottom: -340px; border: 80px solid rgba(255,255,255,.04); border-radius: 50%; }
.solution-panel { position: relative; z-index: 1; padding: 62px 60px 54px; border-radius: 14px; color: #444; background: var(--white); }
.center-heading { position: relative; z-index: 1; text-align: center; }
.highlight { position: relative; z-index: 0; display: inline-block; }
.highlight::before { position: absolute; z-index: -1; bottom: 0; left: 0; display: block; width: 100%; height: 9px; content: ""; background: rgb(246, 189, 5); }
.solution-content { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; margin-top: 46px; }
.solution-visual img { display: block; width: 100%; height: auto; }
.feature-grid { display: grid; gap: 8px; }
.feature-card { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-card:last-child { border-bottom: 0; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--white); background: var(--teal); font-weight: 900; }
.feature-icon::before { font-family: "onamae-domain-icon"; font-size: 25px; font-style: normal; font-weight: normal; line-height: 1; }
.icon-time::before { content: "\f024"; }
.icon-control::before { content: "\f01c"; }
.icon-check::before { content: "\f015"; }
.feature-card h3 { margin: 0 0 10px; font-size: 22px; }
.feature-card p { margin: 0; color: #666; }
.scope-note { margin: 44px 0 0; padding-top: 34px; border-top: 1px solid var(--line); text-align: center; font-size: 18px; font-weight: 700; }

.offer-section { padding: 100px 0; background: var(--white); }
.offer-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 70px; padding: 58px 64px; border-radius: 26px; background: var(--white); box-shadow: var(--shadow); }
.offer-heading h2 { margin: 0; font-size: 18px; line-height: 1.5; }
.price { display: inline-flex; align-items: baseline; margin-right: 12px; color: var(--teal); letter-spacing: -.04em; }
.price-number { font-size: clamp(58px, 7vw, 86px); font-weight: 600; line-height: 1.1; }
.price-unit { margin-left: 5px; font-size: clamp(28px, 3vw, 40px); font-weight: 400; }
.price-note { margin-left: 4px; color: #444; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.offer-heading h2 small { font-size: 13px; font-weight: 500; }
.offer-cta { grid-column: 1 / -1; margin-top: 14px; }
.trial-badge { display: inline-block; margin-top: 16px; padding: 7px 14px; color: var(--teal-deep); background: var(--teal-pale); font-weight: 800; }
.offer-points { margin: 18px 0 0; padding: 0; list-style: none; }
.offer-points li { position: relative; padding: 9px 0 9px 34px; border-bottom: 1px solid var(--line); font-weight: 700; }
.offer-points li:last-child { border-bottom: 0; }
.offer-points li::before { position: absolute; top: 11px; left: 4px; color: var(--teal); content: "\f015"; font-family: "onamae-domain-icon"; font-size: 16px; font-style: normal; font-weight: normal; line-height: 1; }
.offer-points sup { font-size: 10px; }
.fine-print { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.fine-print p { margin: 3px 0; }
.cta-section { position: relative; overflow: hidden; padding: 72px 0 82px; color: var(--white); background: #007f7c; }
.cta-section::before { position: absolute; inset: -50% 30% -70% -15%; content: ""; border-radius: 50%; background: rgba(255, 255, 255, .07); transform: rotate(14deg); }
.cta-shell { position: relative; z-index: 1; text-align: center; }
.cta-badge { display: inline-block; position: absolute; top: -28px; left: 50%; padding: 4px 16px; transform: translateX(-50%); border: 2px solid rgb(255, 255, 255); border-radius: 20px; color: #444; background: linear-gradient(to right, rgb(246, 189, 5), rgb(255, 238, 46)); font-size: 14px; font-weight: 800; line-height: 1.6; text-align: center; white-space: nowrap; }
.primary-cta { position: relative; display: flex; align-items: center; justify-content: center; min-height: 82px; padding: 15px 26px; border: 4px solid var(--white); border-radius: 7px; color: var(--white); background: var(--pink); text-decoration: none; font-size: 26px; font-weight: 900; transition: opacity .16s ease; }
.primary-cta:hover { opacity: .8; }
.primary-cta:focus-visible, .cta-sub-links a:focus-visible, .preview-card:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
.cta-sub-links { display: flex; justify-content: center; margin-top: 25px; font-size: 17px; font-weight: 800; }
.cta-sub-links a { color: var(--white); text-decoration: underline; }
.cta-sub-links a:hover { text-decoration: none; }
.site-footer { display: flex; justify-content: center; padding: 26px 24px; color: var(--white); background: #07555a; border-top: 1px solid rgba(255,255,255,.28); font-size: 11px; letter-spacing: .04em; }

.index-page { min-height: 100vh; background: linear-gradient(150deg, #e8fbf8, #fff); }
.index-shell { width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0; }
.index-shell h1 { margin: 0; font-size: clamp(38px, 6vw, 64px); line-height: 1.25; }
.index-lead { margin: 20px 0 42px; color: var(--muted); font-size: 18px; }
.preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.preview-card { display: flex; min-height: 280px; flex-direction: column; justify-content: flex-end; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-decoration: none; transition: transform .18s ease; }
.preview-card:hover { transform: translateY(-5px); }
.preview-card__count { display: grid; place-items: center; width: 78px; height: 78px; margin-bottom: auto; border-radius: 50%; color: var(--white); background: var(--teal); font-size: 21px; font-weight: 900; }
.preview-card strong { margin: 24px 0 8px; font-size: 21px; line-height: 1.5; }
.preview-card > span:last-child { color: var(--pink); font-weight: 800; }
.preview-card--caution .preview-card__count { color: var(--ink); background: var(--yellow); }
.preview-card--urgent .preview-card__count { background: var(--pink); }

@media (max-width: 820px) {
  .site-header { min-height: 64px; gap: 15px; padding: 10px 18px; }
  .header-brand { flex-shrink: 0; }
  .header-brand img { width: 126px; }
  .header-campaign { display: block; padding-left: 15px; line-height: 1.4; }
  .header-campaign span, .header-campaign strong { display: block; font-size: 11px; }
  .section-shell { width: min(100% - 36px, 680px); }
  .result-hero { padding: 48px 0 30px; }
  .hero-grid, .split-layout, .offer-shell { grid-template-columns: 1fr; }
  .hero-grid { gap: 18px; }
  .hero-copy h1 { font-size: clamp(30px, 8vw, 38px); }
  .hero-intro { font-size: 16px; }
  .hero-visual { max-width: 330px; margin: 0 auto; }
  .understanding-gauge { margin-top: 24px; padding: 18px 16px 14px; }
  .understanding-gauge__title { font-size: 12px; }
  .risk-scale__item { gap: 5px; text-align: center; font-size: 10px; line-height: 1.3; }
  .why-section, .diagnosis-section, .offer-section { padding: 70px 0; }
  .split-layout { gap: 28px; }
  .body-copy > p { font-size: 16px; }
  .solution-panel { padding: 44px 20px 36px; }
  .solution-content { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .feature-grid, .preview-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .offer-shell { gap: 34px; padding: 38px 24px; }
  .primary-cta { font-size: 20px; }
  .cta-section { padding: 56px 0 62px; }
  .cta-sub-links { flex-direction: column; gap: 8px; font-size: 15px; }
  .index-shell { padding: 64px 0; }
  .preview-card { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
