:root {
  --ink: #0d252d;
  --ink-deep: #07171d;
  --paper: #f7f3e9;
  --white: #fffdf8;
  --gold: #d8a514;
  --gold-bright: #ffd000;
  --blue: #247795;
  --blue-soft: #dceef3;
  --green: #194f46;
  --line: #d7cfbc;
  --muted: #4f6368;
  --shadow: 0 22px 60px rgba(7, 23, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: var(--gold-bright);
  color: #000;
  font-weight: 900;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-width {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem max(1rem, calc((100% - 1120px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 23, 29, 0.97);
  color: #fff;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand strong {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 0.35rem;
  background: var(--gold-bright);
  color: #07171d;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand span {
  font-size: 0.95rem;
}

#page-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.85rem;
  font-weight: 900;
}

#page-nav a:not(.nav-cta):hover {
  color: var(--gold-bright);
}

.nav-cta {
  padding: 0.7rem 1rem;
  border-radius: 0.35rem;
  background: var(--gold-bright);
  color: #07171d;
}

.menu-button {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0.3rem;
  background: transparent;
  color: #fff;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-weight: 900;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(7, 23, 29, 0.98), rgba(13, 45, 56, 0.94)),
    radial-gradient(circle at 80% 18%, rgba(216, 165, 20, 0.25), transparent 30%);
  color: #fff;
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  padding-top: clamp(4.25rem, 8vw, 7.4rem);
  padding-bottom: clamp(3rem, 6vw, 5.25rem);
}

.hero-copy {
  max-width: 700px;
  position: relative;
  padding-top: clamp(4.25rem, 8vw, 7.4rem);
  padding-bottom: clamp(3.75rem, 7vw, 6rem);
}

.hero-badge {
  display: inline-flex;
  margin: 0 0 1.2rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 208, 0, 0.7);
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-category {
  margin: 0 0 0.55rem;
  color: #c8e2e9;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 900;
  letter-spacing: 0.09em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 4.85rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.16;
}

.hero h1::after {
  display: block;
  width: 5.5rem;
  height: 0.45rem;
  margin-top: 1.4rem;
  background: var(--gold-bright);
  content: "";
}

.hero-lead {
  max-width: 46rem;
  margin: 1.5rem 0 0;
  color: #d8e5e8;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 700;
  line-height: 1.95;
}

.hero-support {
  max-width: 44rem;
  margin: 1rem 0 0;
  color: #fff;
  font-size: clamp(0.95rem, 1.7vw, 1.08rem);
  font-weight: 900;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 0.35rem;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.45;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold-bright);
  color: #07171d;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.hero-case-link {
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.hero-notice {
  margin: 0.8rem 0 0;
  color: #c7d7da;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-panel {
  position: relative;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-top: 5px solid var(--gold-bright);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.panel-label {
  margin: 0 0 0.35rem;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 900;
}

.hero-panel h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 900;
  line-height: 1.5;
}

.hero-panel ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.hero-panel li span {
  color: var(--gold-bright);
  font-size: 0.75rem;
}

.hero-panel > p:last-child {
  margin: 0;
  color: #c9d9dd;
  font-size: 0.78rem;
}

.quick-answers {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  transform: translateY(50%);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quick-answers > div {
  display: grid;
  gap: 0.1rem;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--line);
}

.quick-answers > div:last-child {
  border-right: 0;
}

.quick-answers span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
}

.quick-answers strong {
  font-size: clamp(0.92rem, 2vw, 1.18rem);
  font-weight: 900;
}

.section {
  padding-top: clamp(5.5rem, 10vw, 8.5rem);
  padding-bottom: clamp(4.5rem, 9vw, 7.5rem);
  scroll-margin-top: 70px;
}

.section-heading {
  max-width: 800px;
}

.section-kicker {
  margin: 0 0 0.7rem;
  color: #886400;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-heading h2,
.case-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.section-heading > p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.need-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 2rem 1.5rem 1.65rem;
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  background: var(--white);
}

.need-number {
  display: block;
  margin-bottom: 1.7rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.need-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.55;
}

.need-card p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-dark {
  width: 100%;
  background: var(--ink);
  color: #fff;
}

.inspection-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: start;
}

.worry-list {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.worry-list li {
  position: relative;
  padding: 1.15rem 0 1.15rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 900;
  line-height: 1.65;
}

.worry-list li::before {
  position: absolute;
  top: 1.65rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold-bright);
  content: "";
}

.inspection-copy h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4.5vw, 3.15rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.35;
}

.inspection-copy > p {
  margin: 1.2rem 0 0;
  color: #c9d9dd;
}

.inspection-copy small {
  display: block;
  margin-top: 1rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.section-heading-light .section-kicker {
  color: var(--gold-bright);
}

.section-heading-light > p:last-of-type {
  color: #c9d9dd;
}

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  border-bottom: 2px solid var(--gold);
  font-weight: 900;
}

.text-link-light {
  color: #fff;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.check-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  min-height: 170px;
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.check-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--ink);
  font-weight: 900;
}

.check-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
}

.check-card p {
  margin: 0.45rem 0 0;
  color: #c9d9dd;
  font-size: 0.82rem;
}

.process-list {
  display: grid;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.process-step {
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 900;
}

.process-item h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
}

.process-item p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.case-band {
  background: #e6efe9;
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid #aebdae;
  background: var(--white);
  box-shadow: var(--shadow);
}

.case-copy > p:not(.section-kicker) {
  margin: 1rem 0 1.6rem;
  color: var(--muted);
}

.case-record {
  margin: 0;
  padding: clamp(1.8rem, 5vw, 3.2rem);
  border-left: 5px solid var(--gold);
  background: #edf4ef;
  color: #21493f;
  font-size: clamp(1.15rem, 2.7vw, 1.65rem);
  font-weight: 900;
  line-height: 1.7;
}

.case-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.6rem;
  align-items: center;
}

.case-timeline div {
  display: grid;
  min-height: 150px;
  place-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid #b6c7bd;
  background: #f0f6f2;
  text-align: center;
}

.case-timeline span {
  color: #35695e;
  font-size: 0.74rem;
  font-weight: 900;
}

.case-timeline strong {
  font-size: 0.88rem;
  font-weight: 900;
}

.case-timeline i {
  color: #52756c;
  font-style: normal;
  font-weight: 900;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  padding: 1.25rem 3rem 1.25rem 2.3rem;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: "Q";
  font-weight: 900;
}

.faq-item summary::after {
  position: absolute;
  right: 0.35rem;
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1rem 1.3rem 2.3rem;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.final-cta {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  border-top: 8px solid var(--gold-bright);
  background: var(--ink-deep);
  color: #fff;
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.final-cta p {
  margin: 0 0 0.5rem;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
}

.final-cta span {
  display: inline-block;
  margin-top: 0.8rem;
  color: #c9d9dd;
  font-size: 0.85rem;
}

.final-actions {
  display: grid;
  gap: 0.75rem;
}

.phone-link {
  display: block;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-align: center;
  font-weight: 900;
}

.site-footer {
  padding: 2rem 0;
  background: #041116;
  color: #fff;
}

.site-footer .page-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-footer strong {
  min-height: 34px;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
  color: #aebfc3;
  font-size: 0.75rem;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  #page-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1rem 1rem;
    background: var(--ink-deep);
  }

  #page-nav.is-open {
    display: grid;
  }

  #page-nav a {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-grid,
  .two-column,
  .inspection-layout,
  .case-card,
  .faq-section,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .need-grid {
    grid-template-columns: 1fr;
  }

  .need-card {
    min-height: 0;
  }

  .case-timeline {
    grid-template-columns: 1fr;
  }

  .case-timeline div {
    min-height: 110px;
  }

  .case-timeline i {
    transform: rotate(90deg);
    text-align: center;
  }
}

@media (max-width: 600px) {
  .page-width {
    width: min(100% - 1.25rem, 1120px);
  }

  .site-header {
    min-height: 64px;
    padding: 0.55rem 0.75rem;
  }

  .brand strong {
    min-height: 38px;
    padding-inline: 0.7rem;
  }

  .brand span {
    font-size: 0.8rem;
  }

  .hero-grid {
    gap: 2.3rem;
    padding-top: 3rem;
    padding-bottom: 2.7rem;
  }

  .hero-copy {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .hero-actions,
  .hero-actions .button,
  .final-actions .button {
    width: 100%;
  }

  .hero-case-link {
    width: fit-content;
    line-height: 1.7;
  }

  .quick-answers {
    grid-template-columns: 1fr;
    transform: translateY(1.2rem);
  }

  .quick-answers > div {
    grid-template-columns: 5.5rem 1fr;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-answers > div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 4.5rem;
    padding-bottom: 4rem;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .check-card {
    min-height: 0;
  }

  .process-item {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.7rem;
  }

  .case-card {
    padding: 1.4rem;
  }

  .site-footer .page-width {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}

/* V29 editorial redesign: bright industrial infographic style */
:root {
  --ink: #17263f;
  --ink-deep: #17263f;
  --paper: #fff8ed;
  --white: #ffffff;
  --gold: #ee8354;
  --gold-bright: #ffd21f;
  --blue: #2f7fa2;
  --blue-soft: #dff2f8;
  --green: #258b78;
  --line: #bfccd5;
  --muted: #536273;
  --shadow: 0 18px 45px rgba(23, 38, 63, 0.12);
}

body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  min-height: 76px;
  padding: 0.72rem max(1rem, calc((100% - 1160px) / 2));
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
}

.brand strong {
  min-height: 46px;
  border: 2px solid var(--ink);
  border-radius: 0.85rem;
  background: var(--gold-bright);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

#page-nav a:not(.nav-cta):hover {
  color: var(--blue);
}

.nav-cta {
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--gold-bright);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.menu-button {
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(rgba(47, 127, 162, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 127, 162, 0.09) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  color: var(--ink);
}

.hero::before {
  position: absolute;
  top: -11rem;
  right: -8rem;
  width: 34rem;
  height: 34rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--blue-soft);
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  bottom: 5rem;
  left: -5rem;
  width: 12rem;
  height: 12rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff0a8;
  content: "";
  pointer-events: none;
}

.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-decoration-word {
  position: absolute;
  right: 0.05em;
  bottom: 0.12em;
  color: rgba(47, 127, 162, 0.1);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.8;
  writing-mode: vertical-rl;
}

.drop {
  position: absolute;
  display: block;
  width: 2.1rem;
  height: 2.8rem;
  border: 2px solid var(--ink);
  border-radius: 55% 45% 58% 42% / 64% 46% 54% 36%;
  background: var(--blue);
  transform: rotate(45deg);
}

.drop-one { top: 12%; left: 4%; }
.drop-two { top: 19%; left: 8%; width: 1.1rem; height: 1.5rem; background: var(--gold-bright); }
.drop-three { right: 3%; bottom: 22%; width: 1.4rem; height: 1.9rem; background: #ee8354; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5.8rem);
  align-items: center;
  padding-top: clamp(4rem, 8vw, 7.3rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.hero-copy {
  max-width: 900px;
  padding: 0;
}

.hero-category {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--blue-soft);
  color: #215c7a;
  font-size: 0.88rem;
}

.hero h1 {
  max-width: 12em;
  color: var(--ink);
  font-size: clamp(2.6rem, 5.7vw, 5rem);
}

.hero h1::after {
  width: 7rem;
  height: 0.7rem;
  margin-top: 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--gold-bright);
}

.hero-heading-row {
  display: flex;
  gap: clamp(0.65rem, 2vw, 1.25rem);
  align-items: flex-end;
  max-width: 56rem;
}

.hero-heading-row h1 {
  flex: 1 1 auto;
}

.hero-navigator-cat {
  display: block;
  flex: 0 0 auto;
  width: clamp(6.5rem, 11vw, 10.5rem);
  height: auto;
  margin-bottom: 0.15rem;
  filter: drop-shadow(0 0.45rem 0.55rem rgba(15, 23, 42, 0.16));
}

.hero-lead,
.hero-support,
.hero-notice {
  color: var(--ink-soft);
}

.button {
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.button-primary {
  background: var(--gold-bright);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.button-dark {
  background: #215c7a;
  color: #fff;
  box-shadow: 5px 5px 0 var(--ink);
}

.hero-case-link {
  border-bottom: 3px solid var(--blue);
  color: #215c7a;
}

.route-card {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 2px solid var(--ink);
  border-radius: 2.4rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 10px 10px 0 var(--blue);
  transform: rotate(1.5deg);
}

.route-card::before {
  position: absolute;
  top: -1.25rem;
  right: 2rem;
  padding: 0.25rem 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #ee8354;
  color: #fff;
  content: "雨漏りの見方";
  font-size: 0.76rem;
  font-weight: 900;
  transform: rotate(-3deg);
}

.route-card-label {
  margin: 0 0 1rem;
  font-size: 1.12rem;
  font-weight: 900;
}

.route-steps {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-steps li {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 0 0.8rem;
  align-items: center;
  padding: 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: var(--blue-soft);
}

.route-steps li:nth-child(2) { margin-left: 1.2rem; background: #fff0a8; }
.route-steps li:nth-child(3) { margin-left: 2.4rem; background: #f7dfd1; }

.route-steps span {
  grid-row: 1 / 3;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  color: #215c7a;
  font-size: 0.72rem;
  font-weight: 900;
}

.route-steps strong { font-size: 0.97rem; font-weight: 900; }
.route-steps small { color: var(--muted); font-size: 0.72rem; }

.hero-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--ink);
  background: var(--white);
}

.hero-strip span {
  padding: 1rem 1.2rem;
  border-right: 2px solid var(--ink);
  text-align: center;
  font-size: 0.86rem;
  font-weight: 900;
}

.hero-strip span:nth-child(1) { background: var(--blue-soft); }
.hero-strip span:nth-child(2) { background: #fff0a8; }
.hero-strip span:nth-child(3) { border-right: 0; background: #f7dfd1; }

.section-index {
  display: inline-grid;
  width: 4.1rem;
  height: 4.1rem;
  margin-bottom: 1.1rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold-bright);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}

.section-kicker { color: #215c7a; }

.case-band {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background:
    radial-gradient(circle at 88% 78%, rgba(238, 131, 84, 0.22) 0 8rem, transparent 8.1rem),
    #dff2e7;
}

.case-band::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 38, 63, 0.13) 1px, transparent 1px);
  background-size: 20px 20px;
  content: "";
}

.case-card {
  position: relative;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  padding: clamp(2.5rem, 5vw, 4rem);
  border: 2px solid var(--ink);
  border-radius: 2.4rem;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--green);
}

.case-card .section-index {
  position: absolute;
  top: -2rem;
  left: 2rem;
}

.case-record {
  padding: clamp(2rem, 5vw, 3.3rem);
  border: 2px solid var(--ink);
  border-radius: 50% 50% 46% 54% / 54% 43% 57% 46%;
  background: #fff0a8;
  color: var(--ink);
  text-align: center;
  transform: rotate(-2deg);
}

.section-dark {
  border-bottom: 2px solid var(--ink);
  background:
    linear-gradient(rgba(47, 127, 162, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 127, 162, 0.12) 1px, transparent 1px),
    var(--blue-soft);
  background-size: 30px 30px;
  color: var(--ink);
}

.worry-list {
  gap: 0.9rem;
  border-top: 0;
  counter-reset: worry;
}

.worry-list li {
  padding: 1.15rem 1rem 1.15rem 4.5rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  counter-increment: worry;
}

.worry-list li:nth-child(2) { margin-left: 1.4rem; background: #fff0a8; }
.worry-list li:nth-child(3) { margin-left: 2.8rem; background: #f7dfd1; }

.worry-list li::before {
  top: 50%;
  left: 0.65rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  content: "0" counter(worry);
  font-size: 0.72rem;
  transform: translateY(-50%);
}

.inspection-copy {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 2px solid var(--ink);
  border-radius: 2.4rem;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--gold-bright);
}

.inspection-copy > p { color: var(--muted); }
.inspection-copy small { color: var(--ink); }
.text-link-light { color: #215c7a; }

.process-list {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  border-top: 0;
}

#flow {
  overflow: hidden;
}

.process-item {
  position: relative;
  grid-template-columns: 1fr;
  min-height: 270px;
  padding: 4.8rem 1.45rem 1.45rem;
  border: 2px solid var(--ink);
  border-radius: 1.4rem;
  background: var(--white);
  box-shadow: 7px 7px 0 var(--blue);
}

.process-item:nth-child(2) { background: #fff0a8; box-shadow: 7px 7px 0 #ee8354; transform: translateY(1.25rem); }
.process-item:nth-child(3) { background: #dff2e7; box-shadow: 7px 7px 0 var(--green); }

.process-step {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
}

.faq-section::before {
  position: absolute;
  inset: 2.2rem -4rem;
  z-index: -1;
  border: 2px solid var(--ink);
  border-radius: 4rem;
  background: #fff0a8;
  content: "";
  transform: rotate(1deg);
}

.faq-list { display: grid; gap: 0.75rem; border-top: 0; }
.faq-item { border: 2px solid var(--ink); border-radius: 1.2rem; background: var(--white); overflow: hidden; }
.faq-item summary::before { color: var(--blue); content: "問"; }

.final-cta {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: #ee8354;
  color: var(--ink);
}

.final-cta p,
.final-cta span { color: var(--ink); }

.phone-link {
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
}

.site-footer { background: var(--ink); }

@media (max-width: 900px) {
  #page-nav { border-bottom: 2px solid var(--ink); background: var(--white); }
  #page-nav a { border-bottom-color: var(--line); }
  .hero-grid { grid-template-columns: 1fr; }
  .route-card { max-width: 620px; margin-inline: auto; }
  .case-card { grid-template-columns: 1fr; padding-top: 4rem; }
  .process-list { grid-template-columns: 1fr; }
  .process-item:nth-child(2) { transform: none; }
  .faq-section::before { inset: 2rem -1rem; }
}

@media (max-width: 600px) {
  .site-header { min-height: 66px; background: var(--white); }
  .brand strong { min-height: 38px; box-shadow: 3px 3px 0 var(--ink); }
  .hero::before { top: -7rem; right: -10rem; width: 23rem; height: 23rem; }
  .drop-one { top: 5%; left: 3%; }
  .drop-two { top: 9%; left: 12%; }
  .drop-three,
  .hero-decoration-word { display: none; }
  .hero-grid { gap: 3rem; padding-top: 3.4rem; padding-bottom: 3.5rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.25rem, 11.5vw, 3.3rem); }
  .route-card { margin-inline: 0.2rem 0.7rem; padding: 1.2rem; box-shadow: 7px 7px 0 var(--blue); }
  .route-steps li:nth-child(2),
  .route-steps li:nth-child(3) { margin-left: 0; }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip span { border-right: 0; border-bottom: 2px solid var(--ink); }
  .hero-strip span:last-child { border-bottom: 0; }
  .case-card { border-radius: 1.6rem; box-shadow: 7px 7px 0 var(--green); }
  .case-record { border-radius: 1.6rem; transform: none; }
  .worry-list li:nth-child(2),
  .worry-list li:nth-child(3) { margin-left: 0; }
  .worry-list li { border-radius: 1.2rem; }
  .inspection-copy { padding: 1.5rem; border-radius: 1.6rem; box-shadow: 7px 7px 0 var(--gold-bright); }
  .process-item { min-height: 0; }
  .faq-section::before { inset: 2rem -0.25rem; border-radius: 2rem; }
}

/* 2026-09-02: 背景装飾より文字の読みやすさを優先する補正 */
.hero::before {
  border-color: transparent;
  opacity: 0.72;
}

.hero::after {
  border-color: rgba(24, 43, 67, 0.18);
}

.hero-copy {
  position: relative;
  padding: clamp(1.25rem, 2.8vw, 2rem);
  border-radius: 2rem;
  background: rgba(255, 251, 242, 0.94);
  box-shadow: 10px 10px 0 rgba(79, 169, 208, 0.16);
}

@media (max-width: 600px) {
  .hero-copy {
    padding: 1.1rem;
    border-radius: 1.4rem;
    box-shadow: 7px 7px 0 rgba(79, 169, 208, 0.16);
  }
}

/* 2026-09-02: 雨漏り調査向け 70% / 25% / 5% 配色補正 */
:root {
  --ink: #0f172a;
  --ink-deep: #0f172a;
  --paper: #ffffff;
  --white: #ffffff;
  --gold: #f59e0b;
  --gold-bright: #f79428;
  --blue: #1e3a5f;
  --blue-soft: #e8eef5;
  --green: #3a6073;
  --line: #cbd5e1;
  --muted: #475569;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}
.hero-copy { background: rgba(255, 255, 255, 0.96); }
.hero-category,
.hero-case-link,
.route-steps span { color: var(--blue); }
.route-card::before { background: #f59e0b; }
.final-cta { background: var(--gold-bright); }
.process-item:nth-child(2) { box-shadow: 7px 7px 0 #f59e0b; }

/* 2026-09-02: 雨漏りページの案内役。実写真より小さく、要所2か所だけに配置 */
.navigator-guide {
  display: grid;
  grid-template-columns: 6.75rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.navigator-guide img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.45rem 0.55rem rgba(15, 23, 42, 0.16));
}

.navigator-guide p,
.navigator-guide span {
  margin: 0;
}

.navigator-guide strong,
.navigator-guide span {
  display: block;
}

.navigator-guide strong {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.45;
}

.navigator-guide span {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.65;
}

.navigator-guide-route {
  margin: -0.65rem 0 1.15rem;
  padding: 0.7rem 0.85rem;
  border: 2px solid var(--ink);
  border-radius: 1.35rem;
  background: #fff7ed;
  transform: rotate(-1.5deg);
}

.navigator-guide-final {
  max-width: 33rem;
  margin-bottom: 1.15rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 1.35rem;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
}

.navigator-guide-final span {
  color: var(--ink);
}

/* FAQの装飾背景をページ幅内に収め、横スクロールを発生させない */
.faq-section::before {
  right: 0;
  left: 0;
}

@media (max-width: 600px) {
  .hero-heading-row {
    gap: 0.4rem;
  }

  .hero-navigator-cat {
    width: 4.9rem;
    margin-bottom: 0.4rem;
  }

  .navigator-guide {
    grid-template-columns: 5.4rem minmax(0, 1fr);
    gap: 0.7rem;
  }

  .navigator-guide-route {
    margin-top: 0;
    padding: 0.65rem;
  }

  .navigator-guide-final {
    padding: 0.65rem 0.75rem;
  }

  .navigator-guide strong {
    font-size: 0.9rem;
  }

  .navigator-guide span {
    font-size: 0.72rem;
  }
}

/* 雨漏り・漏水事例 */
.leak-examples {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.leak-examples-heading {
  max-width: 52rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.leak-examples-heading h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.35;
}

.leak-examples-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.leak-example-list {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
}

.leak-extra-section {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 3px solid var(--blue);
}

.leak-extra-heading {
  max-width: 52rem;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.leak-extra-heading h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  font-weight: 900;
  line-height: 1.35;
}

.leak-extra-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.leak-example {
  overflow: hidden;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.leak-example-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.leak-example-number {
  display: grid;
  width: 3.6rem;
  height: 3.6rem;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.leak-example-number.is-extra {
  width: 6.2rem;
  background: var(--blue);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.leak-example-label {
  margin: 0 0 0.2rem;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 900;
}

.leak-example h3 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 900;
  line-height: 1.45;
}

.leak-example-heading div > p:last-child {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.example-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
  gap: 1rem;
}

.example-photo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: #f1eee6;
}

.example-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #dfe5e2;
  cursor: zoom-in;
}

.example-photo-button img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center;
}

.example-photo-button:hover img {
  transform: none;
}

.example-photo-button:focus-visible {
  outline: 4px solid var(--gold-bright);
  outline-offset: -4px;
}

.example-photo figcaption {
  min-height: 4.6rem;
  padding: 0.8rem 0.9rem;
  background: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.6;
}

.leak-example-note {
  margin: 1.25rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 0.35rem solid var(--blue);
  border-radius: 0.7rem;
  background: var(--blue-soft);
  color: var(--ink);
}

.leak-example-note strong {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 900;
}

.leak-examples-caution {
  max-width: 50rem;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
}

.photo-lightbox {
  width: min(94vw, 70rem);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 1rem;
  background: transparent;
}

.photo-lightbox::backdrop {
  background: rgba(3, 12, 16, 0.9);
}

.photo-lightbox-inner {
  display: grid;
  max-height: 94vh;
  gap: 0.75rem;
  padding: 1rem;
  overflow: auto;
  border-radius: 1rem;
  background: var(--ink-deep);
  color: #fff;
}

.photo-lightbox-close {
  justify-self: end;
  padding: 0.55rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold-bright);
  color: #000;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.photo-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 76vh;
  margin: 0 auto;
  object-fit: contain;
}

.photo-lightbox p {
  margin: 0;
  text-align: center;
  font-weight: 800;
}

@media (max-width: 600px) {
  .leak-example-heading {
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .leak-example-heading-extra {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .leak-example-number {
    width: 3rem;
    height: 3rem;
  }

  .leak-example-number.is-extra {
    width: 5.4rem;
    font-size: 0.7rem;
  }

  .example-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .example-photo figcaption {
    min-height: 0;
    padding: 0.65rem;
    font-size: 0.76rem;
  }

  .leak-examples-caution {
    border-radius: 1rem;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .example-photo-button img {
    transition: none;
  }
}

/* 2026-09-07: 長い事例ページで現在地を見失わないページ案内 */
.page-guide {
  position: sticky;
  z-index: 45;
  top: 76px;
  padding: 0.7rem 0;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 248, 237, 0.97);
  box-shadow: 0 0.45rem 1rem rgba(23, 38, 63, 0.12);
  backdrop-filter: blur(12px);
}

.page-guide-inner {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.page-guide-title {
  flex: 0 0 auto;
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
}

.page-guide-title strong,
.page-guide-title span {
  display: block;
}

.page-guide-title strong {
  font-size: 0.95rem;
  font-weight: 900;
}

.page-guide-title span {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.page-guide-links {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  min-width: 0;
}

.page-guide-links a {
  display: flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.page-guide-links a:nth-child(1) { background: var(--blue-soft); }
.page-guide-links a:nth-child(2) { background: #fff0a8; }
.page-guide-links a:nth-child(3) { background: #f7dfd1; }

.page-guide-links a.page-guide-cta {
  background: var(--gold-bright);
  box-shadow: 3px 3px 0 var(--ink);
}

.page-guide-links a:hover,
.page-guide-links a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 3px 3px 0 var(--ink);
}

.page-guide-links a span {
  color: #215c7a;
  font-size: 0.68rem;
}

.inspection-layout-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 58rem;
}

#inspection,
#examples,
#faq {
  scroll-margin-top: 10.5rem;
}

@media (max-width: 900px) {
  .page-guide {
    top: 76px;
  }

  .page-guide-inner {
    align-items: stretch;
  }

  .page-guide-title span {
    display: none;
  }

  .page-guide-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .page-guide {
    top: 66px;
    padding: 0.55rem 0;
  }

  .page-guide-inner {
    display: block;
  }

  .page-guide-title {
    margin-bottom: 0.45rem;
  }

  .page-guide-links {
    gap: 0.4rem;
  }

  .page-guide-links a {
    min-height: 2.55rem;
    padding: 0.5rem 0.4rem;
    font-size: 0.72rem;
  }

  #inspection,
  #examples,
  #faq {
    scroll-margin-top: 13rem;
  }
}
