:root {
  --ink: #1a2029;
  --muted: #566270;
  --navy-900: #0e2a4a;
  --navy-700: #17456f;
  --navy-500: #2f6698;
  --navy-100: #e8eff6;
  --accent: #c2410c;
  --accent-dark: #96300a;
  --gold: #e0a63c;
  --yellow: #fff6da;
  --red: #a02c22;
  --line: #d5dde6;
  --surface: #f4f7fa;
  --white: #fff;
  --max: 1160px;
  --shadow: 0 10px 30px rgba(14, 42, 74, .1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-700); text-underline-offset: .16em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, .button, .mobile-cta a { min-height: 44px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: -80px; padding: 10px 14px; color: #fff; background: #000; }
.skip-link:focus { top: 12px; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 8px; color: var(--navy-700); font-size: .83rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.source-note { font-size: .875rem; color: var(--muted); }
.source-note a { overflow-wrap: anywhere; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-900); text-decoration: none; font-weight: 900; line-height: 1.25; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: var(--navy-900); border-radius: 5px; font-size: 1.15rem; }
.brand small { display: block; color: var(--muted); font-size: .7rem; letter-spacing: .06em; font-weight: 600; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 10px 9px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; }
.main-nav .nav-cta { padding-inline: 16px; color: #fff; background: var(--accent); border-radius: 4px; }
.nav-toggle { display: none; width: 46px; border: 1px solid var(--line); color: var(--navy-900); background: #fff; }

.hero { position: relative; min-height: 660px; display: grid; align-items: center; color: #fff; background: #0c2138; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,26,45,.95) 0%, rgba(7,26,45,.82) 46%, rgba(7,26,45,.32) 80%, rgba(7,26,45,.1)); }
.hero-content { position: relative; z-index: 1; width: min(700px, 100%); padding-block: 84px; }
.hero .eyebrow { color: #a9cbe8; }
.hero h1 { margin: 0 0 18px; font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.14; letter-spacing: -.03em; }
.hero h1 .hero-title-main { display: block; font-size: .74em; }
.hero h1 strong { display: block; color: var(--gold); }
.hero-lead { max-width: 640px; margin: 0 0 18px; font-size: clamp(1.05rem, 2vw, 1.28rem); font-weight: 700; }
.hero-note { max-width: 630px; margin: 0 0 26px; padding: 10px 12px; background: rgba(0,0,0,.4); border-left: 4px solid var(--gold); font-size: .88rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.hero-badges li { padding: 6px 13px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: .85rem; font-weight: 700; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border: 2px solid transparent; border-radius: 4px; text-decoration: none; font-weight: 900; cursor: pointer; }
.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { color: var(--navy-900); background: #fff; border-color: #fff; }
.button-outline { color: var(--navy-900); background: transparent; border-color: var(--navy-500); }
.button-lg { padding: 16px 28px; font-size: 1.08rem; }
.hero-contact { margin-top: 20px; }
.hero-contact a { color: #fff; font-size: 1.35rem; font-weight: 900; }
.hero-contact span { display: block; font-size: .82rem; font-weight: 500; }

.section { padding-block: 76px; }
.section-soft { background: var(--surface); }
.section-navy { color: #fff; background: var(--navy-900); }
.section-title { margin: 0 0 14px; color: var(--navy-900); font-size: clamp(1.75rem, 3.8vw, 2.6rem); line-height: 1.3; letter-spacing: -.02em; }
.section-navy .section-title { color: #fff; }
.section-navy .eyebrow { color: #a9cbe8; }
.section-lead { max-width: 760px; margin: 0 0 34px; color: var(--muted); font-size: 1.06rem; }
.section-navy .section-lead { color: #cfe0ee; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { padding: 26px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy-700); }
.card h3 { margin: 0 0 10px; color: var(--navy-900); font-size: 1.18rem; line-height: 1.45; }
.card p:last-child { margin-bottom: 0; }
.card-list { margin: 12px 0 0; padding-left: 1.2em; }
.card-list li { margin-bottom: 6px; }
.fact-card { text-align: center; }
.fact-number { display: block; color: var(--accent); font-size: 1.9rem; line-height: 1.25; font-weight: 900; }
.icon { display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 14px; color: #fff; background: var(--navy-700); border-radius: 50%; font-size: 1.3rem; font-weight: 900; }
.notice { padding: 18px 20px; background: var(--yellow); border-left: 5px solid #d7a600; }
.notice-danger { background: #fff0ed; border-color: var(--red); }
.notice-info { background: var(--navy-100); border-color: var(--navy-500); }
.notice strong { display: block; margin-bottom: 4px; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.media-card { position: relative; margin: 0; }
.media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.media-card.media-contain img { aspect-ratio: auto; object-fit: contain; background: #fff; padding: 14px; border: 1px solid var(--line); box-shadow: none; }
.image-label { position: absolute; right: 8px; bottom: 8px; margin: 0; padding: 4px 8px; color: #fff; background: rgba(0,0,0,.78); font-size: .85rem; }
.media-card.media-contain .image-label { position: static; margin-top: 8px; color: var(--muted); background: transparent; text-align: right; }
.benefit-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 0; list-style: none; }
.benefit-list li { padding: 14px 14px 14px 42px; background: var(--surface); position: relative; font-weight: 700; }
.benefit-list li::before { content: "✓"; position: absolute; left: 15px; color: var(--navy-700); font-weight: 900; }

.page-hero { padding: 60px 0 44px; background: linear-gradient(120deg, var(--navy-100), #f8fbfd); border-bottom: 1px solid var(--line); }
.breadcrumbs { margin: 0 0 24px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #8894a2; }
.page-hero h1 { margin: 0 0 12px; color: var(--navy-900); font-size: clamp(1.9rem, 4.6vw, 3.1rem); line-height: 1.25; }
.page-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 1.06rem; }

.appraisal-form, .quick-start, .contact-form { padding: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-section { margin: 0 0 26px; padding: 20px; border: 0; background: var(--surface); }
.form-section legend { padding: 0 6px; color: var(--navy-900); font-weight: 900; font-size: 1.02rem; }
.form-section-note { margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.choice { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--navy-700); }
.choice:has(input:checked) { border-color: var(--navy-700); background: var(--navy-100); font-weight: 700; }
.required-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; color: #fff; background: var(--accent); border-radius: 3px; font-size: .72rem; font-weight: 900; vertical-align: 2px; }
.optional-tag { display: inline-block; margin-left: 6px; padding: 1px 7px; color: var(--muted); background: #e7ecf1; border-radius: 3px; font-size: .72rem; font-weight: 700; vertical-align: 2px; }
.field { display: grid; gap: 6px; }
.field > span:first-child, label.field > span:first-child { color: var(--navy-900); font-weight: 800; }
.field input, .field select, .field textarea, label.field input, label.field select, label.field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; color: var(--ink); background: #fff; border: 1px solid #9aa8b6; border-radius: 3px;
}
.field textarea, label.field textarea { min-height: 140px; resize: vertical; }
.field-hint { font-size: .84rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { margin-top: 18px; }
.result-box { margin-top: 24px; padding: 22px; border: 2px solid var(--navy-700); background: var(--navy-100); }
.result-box h3 { margin-top: 0; }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; padding: 16px; background: var(--navy-100); border: 1px solid var(--navy-500); }
.privacy-check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--navy-700); }
.form-actions { margin-top: 22px; }
.form-meta { margin-top: 14px; font-size: .875rem; color: var(--muted); }

.quick-start { display: grid; gap: 16px; }
.quick-start h2 { margin: 0; color: var(--navy-900); font-size: 1.3rem; }
.quick-choices { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.quick-choices a { display: grid; place-items: center; gap: 4px; padding: 16px 10px; color: var(--navy-900); background: var(--surface); border: 1px solid var(--line); text-decoration: none; text-align: center; font-weight: 800; }
.quick-choices a:hover { border-color: var(--navy-700); background: var(--navy-100); }
.quick-choices span { display: block; font-size: 1.5rem; line-height: 1; }

.steps { counter-reset: step; display: grid; gap: 14px; }
.step { position: relative; padding: 20px 20px 20px 78px; background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 18px; display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--navy-700); border-radius: 50%; font-weight: 900; }
.step h3 { margin: 0 0 4px; color: var(--navy-900); }
.step p { margin: 0; }
.step .step-meta { margin-top: 6px; font-size: .86rem; color: var(--muted); }

.table-scroll { margin-top: 18px; overflow-x: auto; }
.data-table { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; }
.data-table th, .data-table td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { background: var(--navy-900); color: #fff; }
.data-table tbody th { background: var(--surface); white-space: nowrap; }

.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); }
.faq summary { min-height: 54px; padding: 14px 48px 14px 18px; cursor: pointer; color: var(--navy-900); font-weight: 900; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 18px; font-size: 1.4rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p, .faq details ul { margin: 0; padding: 0 18px 18px; }
.faq details ul { padding-left: 38px; }

.doc-body h2 { margin: 40px 0 12px; padding-bottom: 8px; color: var(--navy-900); font-size: 1.42rem; border-bottom: 2px solid var(--navy-100); }
.doc-body h3 { margin: 26px 0 8px; color: var(--navy-900); font-size: 1.12rem; }
.doc-body ul, .doc-body ol { padding-left: 1.4em; }
.doc-body li { margin-bottom: 7px; }
.doc-body dl { display: grid; grid-template-columns: 200px 1fr; gap: 10px 18px; margin: 0; }
.doc-body dt { color: var(--navy-900); font-weight: 800; }
.doc-body dd { margin: 0; }

.company-band { padding: 32px; color: #fff; background: var(--navy-900); }
.company-band h2 { margin-top: 0; }
.company-band a { color: #fff; }
.company-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 20px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.company-facts strong { display: inline-block; min-width: 6.5em; color: #a9cbe8; }
.link-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 22px; }
.link-card { display: block; padding: 18px; color: var(--ink) !important; background: #fff; text-decoration: none; border-left: 4px solid var(--gold); }
.link-card strong { display: block; color: var(--navy-900); font-size: 1.1rem; }

.cta-band { padding-block: 66px; color: #fff; background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); text-align: center; }
.cta-band h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.cta-band p { max-width: 700px; margin: 0 auto 24px; color: #d7e6f2; }
.cta-band .button-row { justify-content: center; }
.cta-band .hero-contact a { color: #fff; }

.site-footer { padding: 48px 0 100px; color: #d3e0ea; background: #0a1b2d; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 34px; }
.footer-grid h2, .footer-grid h3 { color: #fff; }
.footer-grid a { color: #fff; }
.footer-links { padding: 0; list-style: none; }
.footer-links li { margin-bottom: 7px; }
.legal { margin-top: 30px; padding-top: 22px; border-top: 1px solid #2f4356; font-size: .875rem; }
.mobile-cta { display: none; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav { position: absolute; inset: 72px 0 auto; display: none; padding: 14px 20px 22px; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav[data-open="true"] { display: flex; }
  .main-nav a { padding: 11px; }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .doc-body dl { grid-template-columns: 150px 1fr; }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(100% - 28px, var(--max)); }
  .brand span:last-child { font-size: .9rem; }
  .hero { min-height: 620px; }
  .hero-media::after { background: linear-gradient(90deg, rgba(7,26,45,.95), rgba(7,26,45,.7)); }
  .hero-content { padding-block: 64px 84px; }
  .hero h1 { font-size: 2.05rem; }
  .button-row .button { width: 100%; }
  .section { padding-block: 56px; }
  .grid-2, .grid-3, .grid-4, .split, .footer-grid, .form-grid, .link-cards, .company-facts { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: 1fr; }
  .quick-choices { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .appraisal-form, .quick-start, .contact-form { padding: 18px; }
  .form-section { padding: 16px; }
  .form-grid .full { grid-column: auto; }
  .doc-body dl { grid-template-columns: 1fr; gap: 2px 0; }
  .doc-body dd { margin-bottom: 10px; }
  .mobile-cta { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3,1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0,0,0,.12); }
  .mobile-cta a { display: grid; place-items: center; padding: 8px 4px; color: #fff; background: var(--navy-700); border-right: 1px solid rgba(255,255,255,.25); text-align: center; text-decoration: none; font-size: .875rem; font-weight: 900; }
  .mobile-cta a:nth-child(2) { background: var(--accent); }
  .site-footer { padding-bottom: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .mobile-cta, .button-row, .nav-toggle, .cta-band { display: none !important; }
  .section { padding-block: 24px; }
  a { color: inherit; }
}

/* 4列フッター（seo build が管理） */
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.footer-links a { overflow-wrap: anywhere; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* 2026-07-30 02_OPUS5 指示書対応: 見出し階層とエリア宣言 */
.section-subtitle{margin:40px 0 16px;font-size:1.2rem;font-weight:700;line-height:1.5}
.area-declaration{padding-top:34px;padding-bottom:34px}
.area-declaration .section-title{font-size:1.3rem;line-height:1.5}
.area-declaration p{margin:0 0 10px}
.area-declaration p:last-child{margin-bottom:0}
