:root {
  --primary: #3d96a4;
  --primary-dark: #287887;
  --primary-deep: #176273;
  --sky: #b9e1f3;
  --sky-light: #eef9fc;
  --coral: #fa8877;
  --ink: #24424a;
  --muted: #587078;
  --line: #d8e8eb;
  --white: #fff;
  --shadow: 0 16px 48px rgba(25, 91, 105, .10);
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; line-height: 1.42; letter-spacing: .02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); }
h3 { font-size: 1.35rem; }

.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(880px, calc(100% - 40px)); }
.section { padding: 104px 0; }
.section-tint { background: var(--sky-light); }
.section-deep { background: linear-gradient(135deg, #1a6b7a, #3d96a4); color: var(--white); }
.section-heading { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-heading p:last-child { margin: 16px auto 0; color: var(--muted); }
.eyebrow { margin: 0 0 10px; color: var(--primary); font-size: .78rem; font-weight: 800; letter-spacing: .16em; }
.sp-only { display: none; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; transform: translateY(-150%); padding: 10px 16px; background: var(--ink); color: var(--white); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(61,150,164,.12); backdrop-filter: blur(12px); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.brand { margin-right: auto; }
.brand img { width: min(300px, 42vw); }
.header-nav { display: flex; align-items: center; gap: 24px; }
.header-nav a { text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 700; }
.header-nav a:hover { color: var(--primary); }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; border-radius: 999px; background: var(--primary); color: var(--white); font-weight: 800; text-decoration: none; box-shadow: 0 10px 24px rgba(61,150,164,.22); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--primary-dark); box-shadow: 0 14px 30px rgba(61,150,164,.28); }
.button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.button-small { padding: 10px 24px; }
.button-large { min-width: 320px; padding: 17px 28px; }

.hero { position: relative; overflow: hidden; padding: 76px 0 84px; background: linear-gradient(135deg, #f7fcfd 0%, #ebf8fb 58%, #dff3f8 100%); }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -230px; border-radius: 50%; background: rgba(185,225,243,.46); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.02fr; align-items: center; gap: 52px; }
.hero-copy { position: relative; z-index: 1; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-lead { max-width: 620px; color: var(--muted); font-size: 1.08rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 30px; }
.hero-points span { padding: 7px 13px; border: 1px solid rgba(61,150,164,.26); border-radius: 999px; background: rgba(255,255,255,.72); color: var(--primary-dark); font-size: .9rem; font-weight: 800; }
.button-note { margin: 8px 0 0 20px; color: var(--muted); font-size: .78rem; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }

.quick-guide { position: relative; z-index: 2; margin-top: -32px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.quick-grid div { display: grid; gap: 2px; padding: 22px; text-align: center; }
.quick-grid div + div { border-left: 1px solid var(--line); }
.quick-grid strong { color: var(--primary); font-size: .8rem; }
.quick-grid span { font-weight: 800; }

.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.check-item { display: flex; align-items: flex-start; gap: 13px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 8px 24px rgba(25,91,105,.05); }
.check-item span { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: var(--primary); color: var(--white); font-weight: 900; line-height: 1; }
.check-item p { margin: 0; font-weight: 700; line-height: 1.7; }

.two-column { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 72px; }
.illustration-card { border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.illustration-card img { width: 100%; border-radius: inherit; }
.two-column h2 { margin-bottom: 24px; }
.two-column > div:last-child > p:not(.eyebrow) { color: var(--muted); }
.alert-box { margin-top: 28px; padding: 20px 22px; border-left: 5px solid var(--coral); border-radius: 8px 16px 16px 8px; background: var(--white); }
.alert-box strong { color: #c85647; }
.alert-box p { margin: 5px 0 0; color: var(--ink); font-size: .94rem; }

.flow-list { counter-reset: flow; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.flow-card { position: relative; min-height: 260px; padding: 30px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 8px 24px rgba(25,91,105,.06); }
.flow-card:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -18px; top: 46%; display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--white); color: var(--primary); font-weight: 900; box-shadow: 0 4px 12px rgba(25,91,105,.12); }
.step { display: inline-block; margin-bottom: 18px; color: var(--primary); font-size: .77rem; font-weight: 900; letter-spacing: .08em; }
.flow-card h3 { margin-bottom: 12px; }
.flow-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.test-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.test-card { position: relative; padding: 42px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); background: rgba(255,255,255,.10); backdrop-filter: blur(8px); }
.card-number { position: absolute; right: 26px; top: 18px; color: rgba(255,255,255,.22); font-size: 3rem; font-weight: 900; line-height: 1; }
.test-card h2 { margin-bottom: 20px; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.test-card p { color: rgba(255,255,255,.9); }
.plain-list { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.plain-list li { position: relative; padding-left: 25px; }
.plain-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--coral); font-weight: 900; }
.card-note { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.12); font-weight: 700; }

.treatment-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 20px; align-items: stretch; }
.treatment-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 30px rgba(25,91,105,.06); }
.treatment-card.featured { border: 2px solid var(--primary); background: linear-gradient(180deg, #f6fcfd, #fff); }
.treatment-card h3 { margin-bottom: 16px; }
.treatment-card p { color: var(--muted); }
.tag { display: inline-block; margin: 0 0 14px !important; padding: 4px 11px; border-radius: 999px; background: var(--primary); color: var(--white) !important; font-size: .77rem; font-weight: 800; }

.cost-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.cost-table { width: 100%; border-collapse: collapse; text-align: center; }
.cost-table th, .cost-table td { padding: 20px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cost-table tr:last-child > * { border-bottom: 0; }
.cost-table tr > *:last-child { border-right: 0; }
.cost-table thead th { background: var(--primary); color: var(--white); font-size: .9rem; }
.cost-table tbody th { width: 34%; text-align: left; background: #f9fcfd; }
.cost-table tbody td { color: var(--primary-deep); font-weight: 800; }
.cost-table small { color: var(--muted); font-weight: 500; }
.table-scroll-note { display: none; margin: 7px 0 0; color: var(--muted); font-size: .76rem; text-align: right; }
.cost-psg { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 18px; margin-top: 22px; padding: 22px 24px; border-radius: 16px; background: var(--white); }
.cost-psg > strong { color: var(--primary-dark); }
.cost-psg p { margin: 0; }
.fine-print { margin-top: 20px; color: var(--muted); font-size: .82rem; }

.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; }
.faq-list summary { position: relative; padding: 21px 58px 21px 24px; cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; margin-right: 13px; color: var(--primary); font-weight: 900; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > div { padding: 0 24px 20px 55px; color: var(--muted); }
.faq-list details > div p { margin: 0; }

.cta-section { padding: 92px 0; background: linear-gradient(135deg, #2e8796, #54aab7); color: var(--white); text-align: center; }
.cta-inner { max-width: 760px; }
.cta-section .eyebrow { color: #d8f2f7; }
.cta-section h2 { margin-bottom: 18px; }
.cta-section p:not(.eyebrow) { color: rgba(255,255,255,.88); }
.button-white { margin-top: 14px; background: var(--white); color: var(--primary-deep); box-shadow: 0 12px 28px rgba(11,66,78,.22); }
.button-white:hover { background: #f6fdff; color: var(--primary-deep); }

.site-footer { padding: 52px 0 120px; background: #f7fbfc; }
.footer-inner { display: grid; justify-items: center; gap: 20px; text-align: center; }
.footer-inner img { width: min(320px, 80vw); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.copyright { margin: 0; color: #7d9197; }

.mobile-cta { display: none; }

@media (max-width: 920px) {
  .header-nav { display: none; }
  .hero-grid, .two-column { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-points { justify-content: center; }
  .button-note { margin-left: 0; }
  .hero-visual { max-width: 760px; margin-inline: auto; }
  .two-column { gap: 40px; }
  .illustration-card { width: min(420px, 100%); margin-inline: auto; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .flow-card:not(:last-child)::after { display: none; }
  .treatment-grid { grid-template-columns: 1fr 1fr; }
  .treatment-card.featured { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 15px; padding-bottom: 70px; }
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
  .sp-only { display: block; }
  .header-inner { min-height: 66px; gap: 12px; }
  .brand img { width: min(235px, 58vw); }
  .site-header .button-small { padding: 8px 15px; font-size: .82rem; }
  .hero { padding: 56px 0 64px; }
  .hero-grid { gap: 36px; }
  .hero-copy h1 { font-size: clamp(1.82rem, 8vw, 2.35rem); }
  .hero-lead { font-size: 1rem; }
  .button-large { width: 100%; min-width: 0; padding-inline: 18px; }
  .quick-guide { margin-top: -20px; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-grid div { padding: 15px 8px; }
  .quick-grid div + div { border-left: 0; }
  .quick-grid div:nth-child(even) { border-left: 1px solid var(--line); }
  .quick-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .check-list, .flow-list, .test-grid, .treatment-grid { grid-template-columns: 1fr; }
  .flow-card { min-height: 0; }
  .test-card { padding: 32px 24px; }
  .treatment-card.featured { grid-column: auto; }
  .cost-table { min-width: 610px; }
  .table-scroll-note { display: block; }
  .cost-psg { grid-template-columns: 1fr; gap: 5px; }
  .faq-list summary { padding-left: 18px; }
  .faq-list details > div { padding-left: 45px; }
  .site-footer { padding-bottom: 52px; }
  .mobile-cta { position: fixed; z-index: 120; right: 0; bottom: 0; left: 0; display: block; padding: 9px 12px max(9px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
  .mobile-cta a { display: block; padding: 12px 10px; border-radius: 12px; background: var(--primary); color: var(--white); font-weight: 800; text-align: center; text-decoration: none; }
}

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

@media print {
  .site-header, .mobile-cta, .button { display: none !important; }
  .section { padding: 32px 0; }
  body { color: #000; }
}
