/* Shared visual refresh. Content, navigation and diagnosis logic are unchanged. */
:root {
  --ink: #163958;
  --text: #30485b;
  --muted: #526779;
  --sky: #f4f8fb;
  --line: #dce6ed;
  --shadow: 0 10px 28px rgba(18, 54, 83, .07);
}
html { scroll-padding-top: 100px; }
body { line-height: 1.85; }
h1, h2, h3 { word-break: normal; overflow-wrap: anywhere; }
a, button, input, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #0877c9; outline-offset: 4px;
}
.site-header { background: #fff; box-shadow: 0 3px 16px rgba(18, 54, 83, .04); }
.desktop-nav a { border-radius: 8px; }
.desktop-nav a:hover { background: var(--sky); }
.menu-button { border-radius: 10px; }
.hero { min-height: 540px; color: var(--ink); background: #f5f9fc; }
.hero-image { left: auto; width: 52%; object-position: center; }
.hero::after { background: linear-gradient(90deg, #f5f9fc 0%, #f5f9fc 43%, rgba(245,249,252,.94) 59%, rgba(245,249,252,.25) 100%); }
.hero-inner { padding: 68px 0; }
.hero.hero-services h1 { max-width: 790px; font-size: clamp(1.85rem, 3.7vw, 3.2rem); line-height: 1.5; letter-spacing: -.025em; }
.hero h1 em { color: var(--navy); text-decoration: underline; text-decoration-color: #ffd87a; text-decoration-thickness: .16em; text-underline-offset: .12em; }
.hero .eyebrow { color: #526779; line-height: 1.8; }
.hero-lead { max-width: 690px; font-size: 1.03rem; font-weight: 500; line-height: 1.95; }
.hero-actions { max-width: 720px; gap: 12px; margin-top: 28px; }
.button { border-radius: 12px; min-height: 54px; line-height: 1.5; }
.button-gold { background: #ffce64; }
.button-line { color: #fff; background: #087b3b; box-shadow: 0 5px 14px rgba(8,123,59,.14); }
.hero .trust-list { max-width: 710px; gap: 8px 20px; font-size: .86rem; font-weight: 700; }
.hero .trust-list li::before { color: #087b3b; }
.subhero { min-height: 290px; }
.subhero::after { background: linear-gradient(90deg, rgba(5,43,89,.9), rgba(5,43,89,.65)); }
.subhero-inner { padding: 52px 0; }
.subhero h1 { font-size: clamp(1.85rem, 3.5vw, 2.8rem); line-height: 1.5; }
.subhero p:last-child { line-height: 1.85; font-weight: 500; }
.section { padding: 68px 24px; }
.section-soft { background: #f5f8fb; }
.section-soft + .section-soft { background: #fff; }
.section-gold { background: #fffbf2; }
.section-heading { max-width: 780px; margin-bottom: 28px; }
.section-heading h2, .split-copy h2, .checker-title { font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.55; letter-spacing: -.015em; }
.section-heading p { margin-top: 12px; line-height: 1.85; }
.section .section-kicker { color: #5c7285; font-size: .72rem; letter-spacing: .14em; }
.section-navy .section-kicker { color: var(--gold); }
.service-grid, .feature-grid, .process-grid, .topic-grid { gap: 20px; }
.service-card, .topic-card, .feature-card, .process-card {
  padding: 26px; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 16px rgba(18,54,83,.04);
}
.service-card { min-height: 0; }
.service-card .card-no, .process-card .card-no { align-self: flex-start; display: inline-block; padding: 4px 10px; border-radius: 7px; color: var(--navy); background: #edf5fa; font-size: .74rem; }
.service-card h3, .topic-card h3, .feature-card h3, .process-card h3 { margin: 16px 0 10px; font-size: 1.18rem; line-height: 1.55; }
.service-card p, .topic-card p, .feature-card p, .process-card p { font-size: .95rem; line-height: 1.85; }
.service-card a { display: block; margin-top: auto; padding: 18px 0 0; min-height: 48px; }
.process-card .card-no { color: #694800; background: #fff1cc; }
.free-fees { margin: 0 0 20px; gap: 8px; }
.free-fees li { border-color: var(--line); color: var(--ink); background: #fff; font-weight: 700; }
.free-fees li::before { color: #087b3b; }
.price-info-panel { border-radius: 12px; padding: 14px 18px; }
.price-info-label { color: var(--ink); background: #edf5fa; }
.pest-summary-grid { gap: 16px; }
.pest-summary-card { grid-template-columns: 64px minmax(0,1fr); gap: 16px; padding: 22px 18px; border-color: var(--line); border-radius: 18px; box-shadow: 0 4px 16px rgba(18,54,83,.04); }
.pest-summary-icon, .price-icon-wrap { width: 64px; height: 64px; border: 0; border-radius: 16px; background: #f1f6fa; }
.pest-summary-icon .pest-icon, .price-icon-wrap .pest-icon { width: 54px; height: 54px; }
.pest-summary-card h3 { font-size: 1.02rem; line-height: 1.5; margin-bottom: 8px; }
.pest-summary-card p { font-size: .8rem; line-height: 1.65; }
.pest-summary-card strong { color: var(--ink); font-size: 1.6rem; line-height: 1.4; white-space: normal; font-variant-numeric: tabular-nums; }
.pest-summary-card small { display: inline-block; font-size: .74rem; white-space: nowrap; }
.pest-name-link { text-decoration-color: #aebfcf; text-underline-offset: 4px; }
.pest-panel { min-height: 0; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 16px rgba(18,54,83,.04); }
.pest-panel-top { grid-template-columns: 64px minmax(0,1fr); min-height: 108px; padding: 20px 20px 14px; }
.pest-panel h3 { line-height: 1.55; }
.pest-panel-feature { font-size: .86rem; }
.pest-panel-price { padding: 14px; margin: 0 18px; border: 0; border-radius: 12px; background: #fff2cf; }
.pest-panel-price strong { color: var(--ink); font-size: 1.9rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.pest-panel-price small { display: inline-block; font-size: .8rem; }
.pest-panel-price span { font-size: .82rem; }
.pest-panel-work { margin: 16px 20px 20px; }
.pest-panel-work span { color: var(--ink); background: #edf5fa; font-size: .75rem; }
.pest-panel-work p { font-size: .9rem; line-height: 1.7; }
.pest-panel-link { min-height: 48px; padding: 13px 16px; font-size: .9rem; }
.pricing-note { border-left-width: 4px; border-radius: 0 12px 12px 0; padding: 20px 24px; }
.pricing-note p { font-size: .93rem; line-height: 1.9; }
.area-explorer { gap: 24px; }
.kanto-area-map { box-shadow: none; }
.prefecture-disclosure { box-shadow: none; border-radius: 12px; }
.prefecture-disclosure summary { min-height: 48px; }
.prefecture-disclosure[open] summary { background: #edf5fa; }
.prefecture-body { padding: 18px; }
.municipality-names { font-size: .9rem; font-weight: 500; line-height: 2.1; }
.area-note { font-size: .9rem; }
.area-more { padding: 10px 0; }
.split { gap: 40px; }
.split-media { border-radius: 18px; box-shadow: none; }
.split-copy p { max-width: 42em; line-height: 1.9; }
.notice, .definition-list > div, .area-group { border-radius: 12px; }
.faq-list { display: grid; gap: 10px; border: 0; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq-list summary { padding: 20px 48px; font-size: .98rem; line-height: 1.75; }
.faq-list summary::before { left: 18px; }
.faq-list details[open] { border-color: #a6c7de; }
.faq-list details p { max-width: 880px; line-height: 1.9; }
.contact-band { padding-top: 52px; padding-bottom: 52px; background: #123d62; }
.contact-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.55; }
.qr-box { border-radius: 16px; }
.checker-shell { border-top: 4px solid #ffce64; border-radius: 18px; box-shadow: 0 6px 24px rgba(18,54,83,.06); }
.checker-progress, .checker-progress i { border-radius: 999px; }
.qc-option { min-height: 66px; padding: 16px; border-radius: 12px; }
.qc-option:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.qc-option.selected { border-color: #0877c9; box-shadow: inset 0 0 0 1px #0877c9; }
.qc-option small { font-size: .85rem; line-height: 1.7; }
.qc-btn { min-height: 48px; border-radius: 10px; }
.qc-actions #qc-next { min-width: 150px; }
.qc-result { border-radius: 14px; }
.qc-result textarea { border-radius: 8px; }
.qc-note { font-size: .88rem; line-height: 1.8; }
.qc-line { background: #087b3b; }
.footer-links { gap: 8px; }
.footer-links a { display: inline-block; padding: 4px 0; }
.mobile-cta .mobile-cta-line { background: #087b3b; }
.mobile-cta .mobile-cta-check { background: #ffce64; }
@media (min-width: 821px) and (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .hero { min-height: 0; }
  .hero-image { width: 100%; opacity: .16; }
  .hero::after { background: linear-gradient(90deg, rgba(245,249,252,.98), rgba(245,249,252,.68)); }
  .hero-inner { padding: 44px 0 40px; }
  .hero.hero-services h1 { font-size: clamp(1.65rem,4.8vw,2.4rem); line-height: 1.6; }
  .hero h1 em { display: inline; white-space: normal; }
  .hero-lead { font-size: 1rem; line-height: 1.9; }
  .hero .trust-list { display: flex; flex-wrap: wrap; gap: 8px 16px; }
  .section { padding: 48px 20px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2, .split-copy h2, .checker-title { font-size: 1.65rem; line-height: 1.55; }
  .service-grid, .feature-grid, .process-grid, .topic-grid { gap: 14px; }
  .service-card, .topic-card, .feature-card, .process-card { padding: 22px; }
  .service-card h3 { margin-top: 12px; }
  .service-card p, .topic-card p, .feature-card p, .process-card p { font-size: .96rem; }
  .subhero { min-height: 240px; }
  .subhero-inner { padding: 38px 0; }
  .subhero h1 { font-size: 1.85rem; }
  .subhero p:last-child { font-size: 1rem; }
  .checker-layout { gap: 24px; }
  .checker-shell { min-width: 0; padding: 24px 18px; }
  .split { gap: 26px; }
}
@media (max-width: 520px) {
  html { scroll-padding-top: 84px; }
  .hero-inner, .subhero-inner, .breadcrumb { width: calc(100% - 40px); }
  .hero.hero-services h1 { font-size: clamp(1.45rem, 5.6vw, 1.85rem); }
  .hero .eyebrow { font-size: .75rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .button-line { order: -1; }
  .hero .trust-list { font-size: .8rem; }
  .button { padding: 12px 16px; }
  .section-actions .button, .contact-actions .button { width: 100%; }
  .pest-summary-grid { gap: 12px; }
  .pest-summary-card { grid-template-columns: 1fr; gap: 10px; padding: 18px 10px; text-align: center; align-content: start; }
  .pest-summary-icon { width: 58px; height: 58px; margin: 0 auto; }
  .pest-summary-icon .pest-icon { width: 50px; height: 50px; }
  .pest-summary-card h3 { min-height: 3em; margin: 0 0 4px; font-size: .95rem; display: flex; align-items: center; justify-content: center; }
  .pest-summary-card strong { font-size: 1.4rem; }
  .pest-summary-card small { display: block; margin: 0; font-size: .75rem; }
  .pest-panel-price strong { font-size: 1.75rem; }
  .free-fees li { font-size: .8rem; }
  .pricing-note { padding: 18px; }
  .municipality-names { font-size: .9rem; }
  .faq-list summary { padding: 18px 40px; font-size: .94rem; }
  .faq-list summary::before { left: 14px; font-size: 1.05rem; }
  .faq-list details p { padding: 0 18px 20px; font-size: .94rem; }
  .qc-customer { padding: 14px; }
  .qc-option { padding: 13px 12px; }
  .qc-actions { justify-content: space-between; }
  .qc-actions #qc-next { min-width: 0; flex: 1; }
  .qc-result { padding: 14px; }
  .qc-line { padding: 14px 10px; }
  .mobile-cta { grid-template-columns: .85fr 1.2fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .button:hover { transform: none; } }

/* Main brand display on the home page. */
.hero.hero-services .hero-brand-title {
  max-width: 1040px;
  font-size: clamp(2.75rem, 5.1vw, 4rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: -.035em;
}
.hero-brand-title > span { display: inline-block; white-space: nowrap; }
.hero-brand-earth {
  text-decoration: underline;
  text-decoration-color: #ffce64;
  text-decoration-thickness: .14em;
  text-underline-offset: .09em;
}
.hero-service-summary {
  margin: 26px 0 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  font-weight: 800;
  line-height: 1.7;
}
.hero-service-summary + .hero-lead { margin-top: 14px; }
@media (max-width: 820px) {
  .hero.hero-services .hero-brand-title { font-size: clamp(2rem, 5vw, 2.8rem); }
}
@media (max-width: 520px) {
  .hero.hero-services .hero-brand-title { font-size: clamp(1.75rem, 7.4vw, 2.4rem); line-height: 1.45; letter-spacing: -.025em; }
  .hero-brand-title > span { display: block; }
  .hero-brand-title .hero-brand-earth { width: fit-content; margin-bottom: 6px; font-size: 1.45em; }
  .hero-service-summary { margin-top: 22px; font-size: clamp(1.05rem, 4.5vw, 1.3rem); }
}
