:root {
  --navy-950: #041a36;
  --navy-900: #08264d;
  --navy-800: #103767;
  --navy-700: #174b82;
  --blue-100: #eaf2fa;
  --blue-50: #f5f8fc;
  --gold-600: #8a5d0a;
  --gold-500: #d3a33e;
  --gold-100: #fbf3df;
  --ink: #14243a;
  --muted: #5f6f82;
  --line: #dce4ed;
  --white: #fff;
  --shadow: 0 16px 40px rgba(8,38,77,.09);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Noto Sans JP", system-ui, sans-serif; font-size: 16px; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select { font: inherit; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid #2e70b5; outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-160%); background: var(--white); color: var(--navy-900); padding: 10px 16px; border-radius: 6px; box-shadow: var(--shadow); }
.skip-link:focus { transform: none; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.narrow { max-width: 840px; }
.section { padding: 88px 0; }
.section-tint { background: var(--blue-50); border-block: 1px solid #edf1f6; }
.section-dark { color: var(--white); background: var(--navy-950); }
.icon { width: 1.35em; height: 1.35em; flex: none; }
.eyebrow { margin: 0 0 10px; color: var(--gold-600); font-size: .75rem; font-weight: 700; letter-spacing: .16em; }
.eyebrow-light { color: #f0cf83; }
.eyebrow-gold { color: #edc66d; }
h1, h2, h3 { color: var(--navy-950); line-height: 1.35; }
h1 { font-size: 3.375rem; letter-spacing: -.04em; }
h2 { margin: 0 0 16px; font-size: 2.25rem; letter-spacing: -.025em; }
h3 { margin: 0 0 8px; font-size: 1.08rem; }
p { margin-top: 0; }

.site-header { position: sticky; top: 0; z-index: 100; height: 78px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { width: min(1320px, calc(100% - 48px)); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy-950); }
.brand img { display: block; width: 232px; height: auto; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: var(--navy-900); border: 2px solid currentColor; border-radius: 50%; font-size: 1.85rem; line-height: 1; transform: rotate(-12deg); }
.brand strong { display: block; font-size: 1.15rem; letter-spacing: .05em; }
.brand small { display: block; margin-top: -3px; color: var(--muted); font-size: .62rem; }
.global-nav { display: flex; align-items: center; gap: 28px; font-size: .85rem; font-weight: 700; }
.global-nav a { padding: 9px 0; border-bottom: 2px solid transparent; }
.global-nav a:hover, .global-nav a:focus-visible, .global-nav a[aria-current="page"] { color: var(--navy-700); border-color: var(--gold-500); }
.global-nav .nav-cta { padding: 11px 18px; color: var(--white); background: var(--navy-900); border: 0; border-radius: var(--radius-sm); box-shadow: 0 8px 20px rgba(8,38,77,.15); }
.menu-button { display: none; flex: none; padding: 8px 12px; color: var(--navy-900); background: var(--white); border: 1px solid var(--line); border-radius: 6px; white-space: nowrap; }

.hero { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; color: var(--white); background: var(--navy-950); }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { background-image: url('/assets/images/hero-investigator.jpg'); background-size: cover; background-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(3,22,46,.97) 0%, rgba(5,28,56,.9) 34%, rgba(5,28,56,.25) 63%, rgba(3,16,33,.08) 100%); }
.hero-content { position: relative; z-index: 1; width: min(1320px, calc(100% - 96px)); margin: 0 auto; padding: 72px 0; }
.hero-content h1 { max-width: 720px; margin: 0 0 22px; color: var(--white); }
.hero-line { display: block; }
.hero-line .phrase { display: inline-block; }
.hero-content > p:not(.eyebrow):not(.hero-note) { max-width: 630px; font-size: 1.05rem; color: #dae6f3; }
.hero-note { margin: 18px 0 0; color: #b9c9da; font-size: .75rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 22px; border: 1px solid transparent; border-radius: var(--radius-sm); font-weight: 700; line-height: 1.35; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #172237; background: linear-gradient(135deg, #ebc66c, var(--gold-500)); box-shadow: 0 10px 24px rgba(184,132,36,.25); }
.button-primary { color: var(--white); background: var(--navy-900); }
.button-outline { color: var(--navy-900); background: var(--white); border-color: #aac0d8; }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }

.trust-strip { width: min(1320px, calc(100% - 64px)); margin: -34px auto 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 22px 25px; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item > .icon { width: 30px; height: 30px; color: var(--navy-700); }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { font-size: .88rem; }
.trust-item span { color: var(--muted); font-size: .72rem; }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading p:last-child { color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy-700); font-size: .88rem; font-weight: 700; white-space: nowrap; }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.quick-card { min-height: 118px; display: flex; align-items: center; gap: 15px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border .2s, box-shadow .2s, transform .2s; }
.quick-card:hover { transform: translateY(-3px); border-color: #aebfd3; box-shadow: var(--shadow); }
.quick-card > .icon:first-child { width: 36px; height: 36px; color: var(--navy-700); }
.quick-card > .icon:last-child { width: 18px; margin-left: auto; color: var(--gold-600); }
.quick-card strong, .quick-card small { display: block; }
.quick-card small { margin-top: 4px; color: var(--muted); font-size: .72rem; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 26px rgba(8,38,77,.05); scrollbar-color: var(--navy-700) var(--blue-100); }
.table-hint { display: none; margin: 0 0 8px; color: var(--muted); font-size: .76rem; font-weight: 700; }
.comparison-table { width: 100%; min-width: 1000px; border-collapse: collapse; font-size: .83rem; line-height: 1.55; }
.comparison-table th, .comparison-table td { width: 20%; padding: 18px; text-align: left; vertical-align: top; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.comparison-table tr:last-child > * { border-bottom: 0; }
.comparison-table tr > *:last-child { border-right: 0; }
.comparison-table thead th { color: var(--navy-950); background: var(--blue-100); }
.comparison-table thead th:first-child, .comparison-table tbody th { width: 14%; background: #f8fafc; }
.comparison-table tbody th { color: var(--navy-800); white-space: nowrap; }
.table-link { display: block; margin-top: 8px; color: var(--navy-700); font-size: .72rem; font-weight: 400; }
.source-note { margin: 16px 0 0; color: var(--muted); font-size: .74rem; }

.purpose-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.purpose-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.purpose-card > .icon { width: 42px; height: 42px; margin-bottom: 22px; padding: 8px; color: var(--navy-700); background: var(--blue-100); border-radius: 50%; }
.purpose-card p { color: var(--muted); font-size: .86rem; }
.purpose-card a, .read-more { display: flex; align-items: center; gap: 5px; margin-top: 20px; color: var(--navy-700); font-size: .78rem; font-weight: 700; }
.purpose-card a .icon, .read-more .icon { width: 16px; height: 16px; }

.decision-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.section-dark h2 { color: var(--white); }
.section-dark p { color: #bdcad8; }
.check-list { margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 18px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.check-list li > span { color: #edc66d; font-size: .75rem; font-weight: 700; }
.check-list strong { color: var(--white); }
.check-list p { margin: 2px 0 0; font-size: .82rem; }

.article-teasers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-teaser { display: block; padding: 28px; background: var(--blue-50); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.article-teaser:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-category { display: inline-block; margin-bottom: 16px; padding: 4px 9px; color: var(--navy-700); background: var(--blue-100); border-radius: 4px; font-size: .68rem; font-weight: 700; }
.article-teaser p { color: var(--muted); font-size: .85rem; }
.cta-band { width: min(1320px, calc(100% - 64px)); margin: 0 auto 88px; padding: 48px 54px; display: flex; align-items: center; justify-content: space-between; gap: 40px; color: var(--white); background: var(--navy-900); border-radius: var(--radius-lg); }
.cta-band h2 { color: var(--white); }
.cta-band p:last-child { max-width: 780px; margin-bottom: 0; color: #c7d4e2; }

.page-hero { padding: 54px 0 60px; background: linear-gradient(135deg, #f3f7fc, #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 0 0 16px; font-size: 3.25rem; }
.page-lead { max-width: 790px; color: var(--muted); font-size: 1.03rem; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 36px; color: var(--muted); font-size: .72rem; }
.breadcrumb a { color: var(--navy-700); }
.notice, .source-box { margin: 0 0 32px; padding: 22px 26px; background: var(--gold-100); border-left: 4px solid var(--gold-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.notice strong { display: block; margin-bottom: 4px; color: var(--navy-950); }
.notice p, .source-box p { margin: 0; color: #5b5139; font-size: .88rem; }
.source-box { margin-top: 42px; background: var(--blue-50); border-color: var(--navy-700); }
.source-box h2 { font-size: 1.2rem; }
.source-box p { color: var(--muted); }
.source-box a { color: var(--navy-700); text-decoration: underline; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps-grid article { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.steps-grid span { display: block; margin-bottom: 20px; color: var(--gold-600); font-weight: 700; }
.steps-grid p { color: var(--muted); font-size: .85rem; }
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 26px rgba(8,38,77,.04); }
.service-card-head { display: flex; gap: 15px; align-items: center; margin-bottom: 22px; }
.service-monogram { width: 54px; height: 54px; display: grid; place-items: center; flex: none; color: var(--white); background: var(--navy-900); border-radius: 50%; font-size: 1.25rem; font-weight: 700; }
.service-card-head h2 { margin: 0; font-size: 1.25rem; }
.service-card-head p { margin: 2px 0 0; color: var(--muted); font-size: .72rem; }
.service-card dl { margin: 0 0 25px; }
.service-card dl div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.service-card dt { color: var(--navy-700); font-size: .76rem; font-weight: 700; }
.service-card dd { margin: 0; font-size: .83rem; }

.prose h2 { margin: 46px 0 12px; scroll-margin-top: 100px; }
.prose h2:first-of-type { margin-top: 0; }
.prose p { color: #405064; }
.prose a { color: var(--navy-700); text-decoration: underline; }
.purpose-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.purpose-detail { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.purpose-detail p { color: var(--muted); }
.purpose-detail h3 { margin-top: 22px; }
.purpose-detail ul { margin: 12px 0 0; padding: 0; list-style: none; }
.purpose-detail li { display: flex; gap: 9px; margin: 9px 0; font-size: .86rem; }
.purpose-detail li .icon { color: var(--gold-600); }
.formula { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 46px; padding: 28px; color: var(--navy-900); background: var(--blue-50); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; }
.formula span { padding: 8px 12px; background: var(--white); border-radius: 6px; }
.pricing-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.pricing-types article { padding: 24px; background: var(--blue-50); border-radius: var(--radius-sm); }
.pricing-types p { margin: 0; font-size: .83rem; }
.check-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 36px; }
.check-columns ul { margin: 0; padding: 22px 22px 22px 44px; background: var(--blue-50); border-radius: var(--radius-sm); }
.check-columns li { margin: 7px 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; gap: 16px; align-items: center; padding: 24px 4px; cursor: pointer; color: var(--navy-950); font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; margin-left: auto; color: var(--navy-700); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary span, .faq-answer > span { width: 32px; height: 32px; display: grid; place-items: center; flex: none; color: var(--white); background: var(--navy-900); border-radius: 50%; }
.faq-answer { display: flex; gap: 16px; padding: 0 4px 28px; }
.faq-answer > span { color: var(--navy-900); background: var(--gold-100); }
.faq-answer p { margin: 3px 0 0; color: var(--muted); }
.emergency-card { display: flex; gap: 20px; padding: 28px; margin-bottom: 26px; color: var(--white); background: var(--navy-900); border-radius: var(--radius); }
.emergency-card > div:first-child { width: 52px; height: 52px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.1); border-radius: 50%; }
.emergency-card h2 { margin: 0 0 4px; color: var(--white); font-size: 1.25rem; }
.emergency-card p { margin: 0; color: #d7e0eb; }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.contact-options article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-options p { color: var(--muted); }
.updated { color: var(--muted); font-size: .8rem; }
.legal h2 { font-size: 1.3rem; }
.empty-state { max-width: 620px; min-height: 60vh; margin: 0 auto; padding: 100px 32px; text-align: center; }

.site-footer { padding: 68px 0 0; color: #d6e0eb; background: var(--navy-950); }
.footer-grid { width: min(var(--container), calc(100% - 64px)); margin: 0 auto; display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 60px; }
.brand-footer { color: var(--white); }
.brand-footer img { padding: 6px 10px; background: var(--white); border-radius: 8px; }
.brand-footer small { color: #9fb0c3; }
.footer-grid > div:first-child p { max-width: 330px; margin-top: 22px; color: #9fb0c3; font-size: .8rem; }
.footer-grid h2 { margin: 0 0 14px; color: var(--white); font-size: .82rem; }
.footer-grid > div > a:not(.brand) { display: block; margin: 7px 0; color: #aebdcd; font-size: .78rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { width: min(var(--container), calc(100% - 64px)); margin: 52px auto 0; padding: 20px 0; display: flex; justify-content: space-between; gap: 30px; color: #8297ad; border-top: 1px solid rgba(255,255,255,.1); font-size: .68rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 1050px) {
  .global-nav { gap: 16px; }
  .global-nav a:not(.nav-cta) { font-size: .78rem; }
  .quick-grid, .purpose-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 820px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.6rem; }
  .page-hero h1 { font-size: 2rem; }
  .container, .trust-strip, .cta-band, .footer-grid, .footer-bottom { width: min(100% - 40px, var(--container)); }
  .site-header { height: auto; }
  .header-inner { width: calc(100% - 32px); height: auto; min-height: 68px; flex-wrap: wrap; padding: 8px 0; }
  .brand strong { font-size: 1rem; }
  .brand img { width: 190px; }
  .brand small { display: none; }
  .brand-mark { width: 36px; height: 36px; font-size: 1.55rem; }
  .global-nav { width: 100%; display: grid; gap: 0; padding: 0 0 12px; }
  .global-nav a { padding: 10px 4px; }
  .global-nav .nav-cta { text-align: center; }
  html.js .site-header { height: 68px; }
  html.js .header-inner { height: 100%; min-height: 0; flex-wrap: nowrap; padding: 0; }
  html.js .menu-button { display: block; }
  html.js .global-nav { position: absolute; top: 68px; left: 0; right: 0; width: auto; display: none; padding: 14px 20px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  html.js .global-nav.is-open { display: grid; }
  .hero { min-height: 600px; align-items: end; }
  .hero-image { background-position: 68% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(3,20,42,.18) 0%, rgba(3,20,42,.62) 42%, rgba(3,20,42,.98) 78%); }
  .hero-content { width: calc(100% - 48px); padding: 80px 0 52px; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content > p:not(.eyebrow):not(.hero-note) { font-size: .92rem; }
  .trust-strip { margin-top: 20px; }
  .section { padding: 68px 0; }
  .section-heading.split { align-items: start; }
  .decision-grid, .service-cards, .purpose-detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .article-teasers { grid-template-columns: 1fr; }
  .cta-band { margin-bottom: 68px; padding: 36px; align-items: start; flex-direction: column; }
  .pricing-types { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  h1, .page-hero h1, .hero-content h1 { font-size: 1.875rem; }
  .container, .trust-strip, .cta-band, .footer-grid, .footer-bottom { width: calc(100% - 32px); }
  .section { padding: 56px 0; }
  .hero { min-height: 620px; }
  .hero-content { width: calc(100% - 36px); padding-bottom: 38px; }
  .button-row, .button-row .button { width: 100%; }
  .button { padding-inline: 16px; }
  .trust-strip, .quick-grid, .purpose-grid, .steps-grid, .check-columns, .contact-options { grid-template-columns: 1fr; }
  .trust-item, .trust-item:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .section-heading.split { display: block; }
  .section-heading.split .text-link { margin-top: 10px; }
  .quick-card { min-height: 100px; }
  .purpose-card, .purpose-detail, .service-card, .article-teaser { padding: 24px; }
  .comparison-table { min-width: 850px; font-size: .78rem; }
  .comparison-table th, .comparison-table td { padding: 14px; }
  .comparison-table thead th:first-child, .comparison-table tbody th { position: sticky; left: 0; z-index: 1; box-shadow: 6px 0 10px rgba(8,38,77,.05); }
  .comparison-table thead th:first-child { z-index: 2; }
  .table-hint { display: block; }
  .cta-band { padding: 28px 24px; }
  .page-hero { padding: 32px 0 45px; }
  .breadcrumb { margin-bottom: 25px; }
  .service-card dl div { grid-template-columns: 1fr; gap: 4px; }
  .formula { justify-content: flex-start; }
  .formula b { transform: rotate(90deg); }
  .faq-list summary { align-items: start; }
  .emergency-card { display: block; }
  .emergency-card > div:first-child { margin-bottom: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 10px; }
}

@media (max-width: 360px) {
  .header-inner { width: calc(100% - 24px); gap: 8px; }
  .brand img { width: 166px; }
}

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