:root {
  color-scheme: light;
  --bg: #f5f7f2;
  --paper: #ffffff;
  --ink: #17212b;
  --muted: #5e6875;
  --line: #d8dfd5;
  --navy: #0a2a52;
  --green: #356b2f;
  --soft-green: #eaf2e5;
  --gold: #d8b75f;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: white;
  border-radius: 6px;
  font-weight: 800;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  min-width: 0;
}

.nav a {
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  white-space: normal;
}

.nav a.active,
.nav a:hover {
  background: var(--soft-green);
  color: var(--green);
}

.hero {
  padding: 44px 0 34px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f6ed 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 34px;
}

.hero-grid > *,
.split > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 19px;
  line-height: 1.35;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
}

.status-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 6px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-media,
.image-band {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(10, 42, 82, 0.1);
  overflow: hidden;
}

.hero-media img,
.image-band img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.section {
  padding: 46px 0;
}

.section-head {
  margin-bottom: 22px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  display: grid;
  gap: 12px;
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
  min-width: 0;
}

.info-card p,
.content-block p,
.faq-item p,
.step p,
.split p,
.site-footer p {
  color: var(--muted);
}

.info-card span {
  align-self: end;
  color: var(--green);
  font-weight: 800;
}

.band {
  padding: 46px 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-green);
  padding: 14px 16px;
  color: #244d25;
  font-weight: 700;
}

.page-hero {
  padding: 46px 0 24px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.image-band {
  margin-bottom: 12px;
}

.content-layout {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.content-block,
.faq-item,
.step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
  min-width: 0;
}

.content-block p:last-child,
.faq-item p:last-child,
.step p:last-child {
  margin-bottom: 0;
}

.content-block code {
  border-radius: 4px;
  background: var(--soft-green);
  padding: 2px 6px;
  color: var(--green);
  font-size: 0.92em;
}

.text-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.price-status {
  border: 1px solid rgba(53, 107, 47, 0.28);
  border-radius: 6px;
  background: var(--soft-green);
  padding: 10px 12px;
  color: #244d25;
  font-weight: 700;
}

.price-status.is-fallback {
  border-color: rgba(216, 183, 95, 0.48);
  background: #fff8df;
  color: #6b5517;
}

.price-catalog-grid {
  display: grid;
  gap: 22px;
}

.price-catalog-section {
  display: grid;
  gap: 14px;
}

.section-head.compact {
  margin-bottom: 0;
}

.price-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 22px;
  min-width: 0;
}

.price-card h2 {
  margin-bottom: 0;
  font-size: 22px;
}

.price-category,
.price-value {
  margin: 0;
}

.price-category {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.price-value {
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.price-badge {
  justify-self: start;
  border-radius: 999px;
  background: #fff8df;
  padding: 4px 10px;
  color: #6b5517;
  font-size: 12px;
  font-weight: 800;
}

.price-simulator {
  display: grid;
  gap: 18px;
}

.simulation-form {
  display: grid;
  gap: 18px;
}

.simulation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.simulation-grid fieldset {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 16px;
}

.simulation-grid legend {
  padding: 0 6px;
  color: var(--navy);
  font-weight: 900;
}

.simulation-choice-list {
  display: grid;
  gap: 10px;
}

.simulation-choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
}

.simulation-choice input {
  margin-top: 4px;
  accent-color: var(--green);
}

.simulation-choice span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.simulation-choice strong {
  color: var(--ink);
  line-height: 1.4;
}

.simulation-choice small,
.simulation-muted,
.simulation-note {
  color: var(--muted);
}

.simulation-submit {
  justify-self: start;
}

.simulation-result {
  border: 1px solid rgba(10, 42, 82, 0.16);
  border-radius: 8px;
  background: #f8fafc;
  padding: 16px;
}

.simulation-result p:last-child {
  margin-bottom: 0;
}

.simulation-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.simulation-total span {
  color: var(--muted);
  font-weight: 800;
}

.simulation-total strong {
  color: var(--navy);
  font-size: 28px;
  line-height: 1.2;
}

.simulation-items {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.simulation-items li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}

.simulation-items li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.simulation-items strong {
  white-space: nowrap;
}

.simulation-warning {
  color: #8a5a00;
  font-weight: 800;
}

.simulation-contact {
  margin-top: 6px;
}

.contact-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-summary-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 18px;
  min-width: 0;
}

.contact-summary-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-summary-item p {
  margin-bottom: 0;
  color: var(--navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-form-block {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 800;
  min-width: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-form .contact-honeypot {
  border: 0;
  padding: 0;
  width: 1px;
}

.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form .contact-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  border: 1px solid rgba(53, 107, 47, 0.2);
  border-radius: 6px;
  background: var(--soft-green);
  padding: 12px;
  color: #244d25;
  font-size: 14px;
  line-height: 1.7;
}

.contact-form .contact-consent input {
  width: 18px;
  margin-top: 5px;
  accent-color: var(--green);
}

.contact-status {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-status.is-pending {
  border-color: rgba(216, 183, 95, 0.48);
  background: #fff8df;
  color: #6b5517;
}

.contact-status.is-success {
  border-color: rgba(53, 107, 47, 0.28);
  background: var(--soft-green);
  color: #244d25;
}

.contact-status.is-error {
  border-color: rgba(150, 38, 38, 0.22);
  background: #fff5f5;
  color: #8a2525;
}

.contact-status a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.step-list,
.faq-list {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
}

.step span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  font-weight: 800;
}

.site-footer {
  padding: 32px 0;
  background: var(--navy);
  color: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

.site-footer p,
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
}

@media (max-width: 900px) {
  .header-inner,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .simulation-grid {
    grid-template-columns: 1fr;
  }

  .contact-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding-top: 28px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    flex-wrap: initial;
    width: 100%;
    padding-bottom: 4px;
  }

  .nav a {
    min-width: 0;
    text-align: center;
  }

  .brand {
    min-width: 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .cta-row,
  .button {
    width: 100%;
  }

  .info-card {
    min-height: 0;
  }

  .price-card-grid {
    grid-template-columns: 1fr;
  }

  .simulation-submit {
    justify-self: stretch;
  }

  .simulation-items li {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .contact-summary-grid,
  .contact-field-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
  }
}

:root {
  --bg: #f7f4ea;
  --paper: #fffdf7;
  --ink: #192015;
  --muted: #68715f;
  --line: #ddd6c5;
  --navy: #213f2b;
  --green: #234d25;
  --green-deep: #173818;
  --soft-green: #eef4e8;
  --cream: #fbf7eb;
  --orange: #c75a1d;
  --gold: #d8b75f;
}

body {
  background:
    linear-gradient(180deg, #fffdf8 0, #f7f4ea 520px, #fffdf7 100%);
  color: var(--ink);
}

.site-header {
  background: rgba(255, 255, 251, 0.96);
  box-shadow: 0 10px 24px rgba(36, 54, 30, 0.08);
}

.header-inner {
  min-height: 84px;
}

.brand {
  min-width: 310px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border: 2px solid #d8b75f;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #f7f4c7 0 22%, transparent 23%),
    linear-gradient(145deg, #f3f7ea 0%, #dce9d5 100%);
  color: var(--green);
  box-shadow: inset 0 0 0 4px #fffdf7;
}

.brand-mark span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.brand strong {
  color: var(--green-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 23px;
  letter-spacing: 0;
}

.brand small {
  color: #5d6656;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-copy {
  max-width: 230px;
  margin: 0 auto 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.45;
}

.nav {
  gap: 4px;
}

.nav a {
  color: #263422;
  font-size: 13px;
  padding: 8px 9px;
}

.nav a.active,
.nav a:hover {
  background: #edf5e8;
  color: var(--green-deep);
}

.nav a.nav-contact {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 16px rgba(35, 77, 37, 0.22);
}

.nav a.nav-contact:hover,
.nav a.nav-contact.active {
  background: var(--orange);
  color: #fff;
}

.home-hero {
  position: relative;
  min-height: 520px;
  padding: 68px 0 0;
  overflow: hidden;
  border-bottom: 0;
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.96) 0%, rgba(255, 253, 247, 0.9) 38%, rgba(255, 253, 247, 0.3) 65%, rgba(35, 77, 37, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(35, 77, 37, 0.18) 100%),
    url("/assets/sample-report.png");
  background-position: center, center, right 9% center;
  background-repeat: no-repeat;
  background-size: auto, auto, min(48vw, 640px);
}

.home-hero::after {
  position: absolute;
  right: max(22px, calc((100vw - 1120px) / 2));
  bottom: 28px;
  width: min(370px, 38vw);
  height: 190px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.18)),
    linear-gradient(160deg, rgba(35, 77, 37, 0.06), rgba(199, 90, 29, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  content: "";
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
  align-items: end;
  gap: 40px;
  min-height: 452px;
}

.home-hero-copy {
  max-width: 660px;
  padding-bottom: 88px;
}

.home-hero h1 {
  margin-bottom: 18px;
  color: var(--green-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 900;
  line-height: 1.22;
}

.home-lead {
  max-width: 610px;
  color: #273120;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.9;
}

.home-note {
  display: inline-block;
  margin: 18px 0 0 36%;
  border-bottom: 2px solid rgba(35, 77, 37, 0.45);
  color: var(--green);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.9;
}

.hero-contact-card {
  display: grid;
  gap: 10px;
  margin-bottom: -30px;
  border: 1px solid rgba(46, 68, 36, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.95);
  padding: 24px;
  text-align: center;
  box-shadow: 0 24px 50px rgba(25, 32, 21, 0.18);
}

.hero-contact-card p,
.hero-contact-card h2,
.hero-contact-card span,
.hero-contact-card small {
  margin: 0;
}

.hero-contact-card p {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.hero-contact-card h2 {
  color: var(--green-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 27px;
}

.hero-contact-card span {
  color: #4e5b46;
  font-weight: 800;
}

.hero-contact-card .button,
.final-cta .button {
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(199, 90, 29, 0.18);
}

.hero-phone {
  color: var(--green-deep);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
}

.home-strength-band {
  background: linear-gradient(90deg, #173818 0%, #254d23 58%, #173818 100%);
  color: #fff;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.strength-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 24px 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.strength-item:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.strength-item > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(216, 183, 95, 0.75);
  border-radius: 8px;
  color: #f6dc85;
  font-weight: 900;
}

.strength-item h2 {
  margin: 0 0 5px;
  color: #fffdf7;
  font-size: 16px;
  line-height: 1.35;
}

.strength-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.6;
}

.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-title-row h2 {
  margin-bottom: 0;
  color: var(--green-deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.sample-price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 24px;
  align-items: start;
}

.sample-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sample-card,
.home-price-panel,
.local-reasons,
.home-faq,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(35, 77, 37, 0.07);
}

.sample-card {
  min-width: 0;
  padding: 14px;
}

.sample-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #ebe3d0;
  border-radius: 6px;
  object-fit: cover;
  object-position: left top;
}

.sample-card h3 {
  margin: 14px 0 6px;
  color: var(--green-deep);
  font-size: 15px;
  line-height: 1.45;
  word-break: keep-all;
}

.sample-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.home-price-panel {
  padding: 24px;
}

.home-price-panel h2 {
  color: var(--green-deep);
  font-size: 22px;
}

.home-price-panel ul {
  display: grid;
  gap: 0;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.home-price-panel li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  color: #35412f;
  font-weight: 800;
}

.home-price-panel li:last-child {
  border-bottom: 1px solid var(--line);
}

.home-price-panel strong {
  color: #161d14;
  white-space: nowrap;
}

.local-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  border-radius: 8px;
  background: linear-gradient(90deg, #eef4e8, #fffdf7);
  padding: 22px 28px;
  color: var(--green-deep);
}

.local-message strong {
  font-size: 18px;
  line-height: 1.6;
}

.local-message span {
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.home-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.home-flow article {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.home-flow article + article::before {
  position: absolute;
  top: 35px;
  left: -20px;
  color: #9a9f88;
  content: ">";
  font-weight: 900;
}

.home-flow span {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid #d7dabc;
  border-radius: 50%;
  background: #eef2df;
  color: var(--green);
  font-weight: 900;
}

.home-flow h3 {
  margin: 6px 0 0;
  color: var(--green-deep);
  font-size: 17px;
}

.home-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.local-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.local-reasons,
.home-faq {
  padding: 26px;
}

.local-reasons .check-list {
  margin-top: 18px;
}

.local-reasons .check-list li {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 0 0 28px;
  color: #273120;
}

.local-reasons .check-list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  content: "✓";
  font-size: 12px;
  line-height: 1;
}

.home-faq-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.home-faq details {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
}

.home-faq summary {
  cursor: pointer;
  padding: 12px 14px;
  color: #263422;
  font-weight: 800;
}

.home-faq p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding: 0 14px 14px;
  color: var(--muted);
}

.miyazaki-love {
  background: #173818;
  color: #fff;
}

.love-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) repeat(3, minmax(0, 1fr));
  min-height: 250px;
}

.love-copy {
  display: grid;
  align-content: center;
  padding: 34px 34px 34px 0;
}

.love-copy h2 {
  color: #fffdf7;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.love-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.love-photo {
  display: flex;
  align-items: end;
  min-width: 0;
  min-height: 250px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  background-position: center;
  background-size: cover;
}

.love-photo span {
  width: 100%;
  background: rgba(255, 253, 247, 0.92);
  color: #263422;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.love-photo.is-sunset {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.2)),
    linear-gradient(135deg, #efbc65, #7aa879);
}

.love-photo.is-city {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.2)),
    url("/assets/sample-report.png");
}

.love-photo.is-family {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.2)),
    linear-gradient(135deg, #dfe7ea, #8bbd93 54%, #f0c07c);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(135deg, #173818 0%, #254d23 100%);
  padding: 30px 36px;
  color: #fff;
}

.final-cta h2,
.final-cta p {
  margin-bottom: 0;
}

.final-cta h2 {
  color: #fffdf7;
}

.final-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.final-cta .eyebrow {
  color: #f6dc85;
}

.final-cta-actions {
  display: grid;
  gap: 10px;
  min-width: 250px;
  text-align: center;
}

.final-cta .hero-phone {
  color: #fffdf7;
}

.site-footer {
  background: #f7f4ea;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) auto;
  align-items: start;
}

.site-footer p,
.footer-links a {
  color: var(--muted);
}

.site-footer strong {
  color: var(--green-deep);
}

@media (max-width: 1060px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .brand-copy {
    max-width: none;
    margin: -6px 0 0 64px;
  }

  .nav {
    justify-content: flex-start;
  }

  .home-hero {
    background-size: auto, auto, 560px;
  }

  .sample-price-grid,
  .local-faq-grid {
    grid-template-columns: 1fr;
  }

  .sample-card-grid,
  .strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-flow article + article::before {
    display: none;
  }

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

  .love-copy {
    grid-column: 1 / -1;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand-copy {
    margin-left: 0;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .home-hero {
    min-height: 0;
    padding: 34px 0 28px;
    background:
      linear-gradient(180deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.9) 68%, rgba(35, 77, 37, 0.08) 100%),
      url("/assets/sample-report.png");
    background-position: center, center bottom 24px;
    background-repeat: no-repeat;
    background-size: auto, min(92vw, 460px);
  }

  .home-hero::after {
    display: none;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
  }

  .home-hero-copy {
    padding-bottom: 150px;
  }

  .home-hero h1 {
    font-size: clamp(34px, 11vw, 44px);
  }

  .home-lead {
    font-size: 16px;
    line-height: 1.8;
  }

  .home-note {
    margin-left: 0;
    font-size: 15px;
  }

  .hero-contact-card {
    margin-bottom: 0;
    padding: 20px;
  }

  .strength-grid,
  .sample-card-grid,
  .home-flow,
  .love-grid,
  .final-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .strength-item {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
    padding: 20px 0;
  }

  .strength-item:last-child {
    border-right: 0;
  }

  .section-title-row,
  .local-message {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .local-message span {
    white-space: normal;
  }

  .home-price-panel li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .love-photo {
    min-height: 180px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .final-cta {
    padding: 24px;
  }

  .final-cta-actions {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    font-size: 9px;
  }

  .nav a {
    padding: 8px 7px;
    font-size: 12px;
  }

  .home-hero-copy {
    padding-bottom: 130px;
  }

  .hero-phone {
    font-size: 22px;
  }
}

/* Miyazaki Chosa LP reference refresh: local partner, coast, and practical inquiry flow. */
.site-header {
  border-bottom-color: rgba(35, 77, 37, 0.16);
  background: rgba(255, 255, 251, 0.98);
  box-shadow: 0 6px 18px rgba(27, 54, 23, 0.08);
}

.header-inner {
  min-height: 74px;
}

.brand {
  min-width: 300px;
}

.brand-mark {
  position: relative;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  bottom: 8px;
  width: 3px;
  height: 30px;
  border-radius: 999px;
  background: var(--green);
  content: "";
  transform-origin: bottom center;
}

.brand-mark::before {
  left: 19px;
  transform: rotate(9deg);
}

.brand-mark::after {
  right: 18px;
  transform: rotate(-11deg);
}

.brand-mark span {
  position: absolute;
  right: 2px;
  bottom: 4px;
  width: 36px;
  height: 10px;
  border-radius: 50%;
  background: #e5d482;
  color: transparent;
}

.brand-mark span::before,
.brand-mark span::after {
  position: absolute;
  top: -30px;
  width: 29px;
  height: 22px;
  border-radius: 90% 10% 90% 10%;
  background: var(--green);
  content: "";
}

.brand-mark span::before {
  left: -18px;
  transform: rotate(-24deg);
}

.brand-mark span::after {
  right: -5px;
  transform: rotate(34deg);
}

.brand strong {
  color: #173818;
  font-size: 20px;
}

.brand small {
  color: #415137;
  font-size: 11px;
  letter-spacing: 0;
}

.nav a {
  color: #142016;
  font-size: 14px;
  padding: 8px 11px;
}

.nav a.nav-contact {
  min-height: 42px;
  padding: 10px 16px;
}

.home-hero {
  position: relative;
  min-height: 580px;
  padding: 0;
  border-bottom: 1px solid rgba(35, 77, 37, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.92) 38%, rgba(255, 253, 247, 0.45) 58%, rgba(255, 253, 247, 0.02) 78%),
    linear-gradient(180deg, rgba(255, 253, 247, 0) 62%, rgba(255, 253, 247, 0.9) 100%),
    url("/assets/miyazaki-coast-hero.png");
  background-position: center, center, center right;
  background-repeat: no-repeat;
  background-size: auto, auto, auto 100%;
  overflow: hidden;
}

.home-hero::after {
  display: none;
}

.hero-map-mark {
  position: absolute;
  left: max(270px, calc((100vw - 1120px) / 2 + 300px));
  top: 34px;
  width: 150px;
  height: 260px;
  border: 1px solid rgba(35, 77, 37, 0.1);
  border-radius: 45% 55% 48% 52%;
  background:
    linear-gradient(145deg, rgba(35, 77, 37, 0.08), rgba(255, 253, 247, 0.28));
  opacity: 0.64;
  transform: rotate(11deg);
}

.home-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 610px) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  min-height: 580px;
}

.home-hero-copy {
  max-width: 610px;
  padding-bottom: 0;
}

.home-hero h1 {
  margin-bottom: 20px;
  color: #173818;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 1.15;
}

.home-lead {
  max-width: 500px;
  color: #18251a;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.9;
}

.hero-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.hero-proof-row article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  border-right: 1px solid rgba(35, 77, 37, 0.2);
  padding-right: 14px;
}

.hero-proof-row article:last-child {
  border-right: 0;
}

.hero-proof-row span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid #536b36;
  border-radius: 8px;
  color: #3f5b23;
  font-weight: 900;
}

.hero-proof-row h2 {
  margin: 0 0 4px;
  color: #173818;
  font-size: 14px;
  line-height: 1.45;
}

.hero-proof-row p {
  margin: 0;
  color: #34412e;
  font-size: 12px;
  line-height: 1.65;
}

.hero-cta-row {
  align-items: center;
  margin-top: 30px;
}

.hero-cta-row .button {
  min-width: 250px;
  background: var(--orange);
  box-shadow: 0 10px 20px rgba(199, 90, 29, 0.22);
}

.hero-quote {
  align-self: start;
  justify-self: center;
  margin-top: 82px;
  color: #173818;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
  transform: rotate(-4deg);
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.8);
}

.hero-side {
  position: relative;
  min-height: 430px;
}

.hero-quote p {
  margin: 0;
}

.hero-area-badge {
  position: absolute;
  right: 0;
  bottom: 24px;
  display: grid;
  place-items: center;
  align-content: center;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(35, 77, 37, 0.94);
  color: #fffdf7;
  text-align: center;
  box-shadow: 0 18px 36px rgba(23, 56, 24, 0.3);
}

.hero-area-badge strong {
  font-size: 22px;
  line-height: 1.35;
}

.hero-area-badge span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.65;
}

.home-samples {
  padding-top: 30px;
}

.home-samples .section-title-row {
  justify-content: flex-start;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 16px;
}

.home-samples .section-title-row .eyebrow {
  margin-bottom: 0;
  font-size: 18px;
}

.home-samples .section-title-row h2 {
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.sample-price-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
}

.sample-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sample-card {
  background: #fffdf8;
  padding: 12px;
}

.sample-card img {
  aspect-ratio: 16 / 11;
}

.home-price-panel {
  padding: 22px 24px;
}

.home-price-panel h2 {
  margin-bottom: 4px;
  font-family: inherit;
  font-size: 17px;
}

.price-note {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.price-note-bottom {
  margin-top: 12px;
}

.price-notes-block {
  display: grid;
  gap: 14px;
}

.price-note-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.price-note-list > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.price-note-list dt {
  color: #173818;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
}

.price-note-list dd {
  margin: 0;
  min-width: 0;
  color: #34412e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.home-price-panel li {
  align-items: center;
  padding: 12px 0;
}

.flow-faq-section {
  padding-top: 18px;
}

.flow-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  gap: 34px;
  align-items: start;
}

.flow-faq-section .section-title-row {
  margin-bottom: 16px;
}

.flow-faq-section .section-title-row h2 {
  display: none;
}

.flow-faq-section .eyebrow,
.home-faq > .eyebrow {
  font-size: 18px;
}

.home-flow {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.home-flow span {
  width: 58px;
  height: 58px;
  background: #f2f0e9;
}

.home-flow h3 {
  font-size: 14px;
}

.home-faq {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.home-faq details {
  border-radius: 6px;
  background: #fffdf8;
}

.consult-band {
  background: linear-gradient(90deg, #173818 0%, #234d25 64%, #173818 100%);
  color: #fffdf7;
}

.consult-grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(260px, 330px);
  align-items: center;
  gap: 28px;
  min-height: 128px;
  padding: 18px 0;
}

.consult-grid img {
  width: 100%;
  aspect-ratio: 16 / 5.2;
  border-radius: 8px;
  object-fit: cover;
}

.consult-grid h2 {
  margin-bottom: 8px;
  color: #fff5cf;
  font-size: clamp(24px, 3vw, 34px);
}

.consult-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 800;
}

.consult-actions {
  display: grid;
  gap: 10px;
  text-align: center;
}

.consult-actions .button {
  background: #fffdf7;
  color: #173818;
  box-shadow: none;
}

.consult-note {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.consult-actions .hero-phone {
  color: #fffdf7;
  font-size: 19px;
}

.rooted-section {
  padding-top: 28px;
}

.rooted-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 1fr) 150px;
  gap: 30px;
  align-items: center;
}

.rooted-copy h2,
.operation-panel h2 {
  color: #173818;
  font-family: inherit;
  font-size: 24px;
}

.rooted-copy > p,
.operation-panel p {
  color: #34412e;
}

.rooted-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.rooted-items article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.rooted-items span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid #536b36;
  border-radius: 8px;
  color: #3f5b23;
  font-size: 12px;
  font-weight: 900;
}

.rooted-items h3 {
  margin: 0 0 4px;
  color: #173818;
  font-size: 14px;
}

.rooted-items p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.operation-panel {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}

.operation-panel a {
  color: var(--green);
  font-weight: 900;
}

.rooted-mark {
  position: relative;
  justify-self: end;
  width: 130px;
  height: 130px;
}

.rooted-mark::before,
.rooted-mark::after {
  position: absolute;
  bottom: 20px;
  width: 5px;
  height: 82px;
  border-radius: 999px;
  background: #536b36;
  content: "";
  transform-origin: bottom center;
}

.rooted-mark::before {
  left: 52px;
  transform: rotate(10deg);
}

.rooted-mark::after {
  right: 46px;
  transform: rotate(-13deg);
}

.rooted-mark span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 105px;
  height: 22px;
  border-radius: 50%;
  background: #d9ca7c;
  color: transparent;
}

.rooted-mark span::before,
.rooted-mark span::after {
  position: absolute;
  top: -76px;
  width: 70px;
  height: 50px;
  border-radius: 90% 10% 90% 10%;
  background: #536b36;
  content: "";
}

.rooted-mark span::before {
  left: -35px;
  transform: rotate(-24deg);
}

.rooted-mark span::after {
  right: -18px;
  transform: rotate(34deg);
}

.rooted-illustration {
  justify-self: end;
  width: min(130px, 100%);
  height: auto;
}

@media (max-width: 1080px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
  }

  .home-hero {
    min-height: 650px;
    background:
      linear-gradient(90deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.9) 52%, rgba(255, 253, 247, 0.2) 100%),
      linear-gradient(180deg, rgba(255, 253, 247, 0) 60%, rgba(255, 253, 247, 0.92) 100%),
      url("/assets/miyazaki-coast-hero.png");
    background-position: center, center, center right;
    background-size: auto, auto, auto 100%;
  }

  .home-hero-grid {
    min-height: 650px;
  }

  .hero-quote {
    margin-top: 110px;
  }

  .sample-price-grid,
  .flow-faq-grid,
  .consult-grid,
  .rooted-grid {
    grid-template-columns: 1fr;
  }

  .sample-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consult-grid {
    padding: 24px 0;
  }

  .consult-grid img {
    aspect-ratio: 16 / 6;
  }

  .operation-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-top: 24px;
    padding-left: 0;
  }

  .rooted-mark {
    justify-self: center;
  }

  .rooted-illustration {
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 19px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .home-hero {
    min-height: 0;
    padding: 34px 0 24px;
    background:
      linear-gradient(180deg, rgba(255, 253, 247, 0.98) 0%, rgba(255, 253, 247, 0.92) 55%, rgba(255, 253, 247, 0.65) 100%),
      url("/assets/miyazaki-coast-hero.png");
    background-position: center, center bottom;
    background-size: auto, auto 58%;
  }

  .hero-map-mark {
    display: none;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 20px;
  }

  .hero-side {
    min-height: 0;
  }

  .home-hero-copy {
    padding-bottom: 172px;
  }

  .home-hero h1 {
    font-size: clamp(38px, 13vw, 52px);
  }

  .home-lead {
    font-size: 16px;
  }

  .hero-proof-row,
  .sample-card-grid,
  .home-flow,
  .rooted-items {
    grid-template-columns: 1fr;
  }

  .hero-proof-row article {
    border-right: 0;
    border-bottom: 1px solid rgba(35, 77, 37, 0.16);
    padding-right: 0;
    padding-bottom: 12px;
  }

  .hero-proof-row article:last-child {
    border-bottom: 0;
  }

  .hero-cta-row,
  .hero-cta-row .button {
    width: 100%;
  }

  .hero-quote {
    position: absolute;
    left: 0;
    bottom: 34px;
    margin-top: 0;
    max-width: 260px;
    font-size: 17px;
    text-align: left;
    transform: rotate(-4deg);
  }

  .hero-area-badge {
    position: absolute;
    right: 0;
    bottom: 22px;
    width: 132px;
    height: 132px;
    margin-top: 0;
  }

  .hero-area-badge strong {
    font-size: 18px;
  }

  .hero-area-badge span {
    font-size: 10px;
  }

  .home-samples .section-title-row {
    display: grid;
    gap: 6px;
  }

  .home-price-panel li {
    flex-direction: row;
  }

  .flow-faq-section .eyebrow,
  .home-faq > .eyebrow {
    font-size: 17px;
  }

  .consult-grid {
    gap: 18px;
  }

  .consult-grid h2 {
    font-size: 24px;
  }

  .rooted-section {
    padding-top: 24px;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    font-size: 10px;
  }

  .home-hero-copy {
    padding-bottom: 154px;
  }

  .hero-quote {
    max-width: 225px;
    font-size: 15px;
    bottom: 32px;
  }

  .hero-area-badge {
    right: 0;
    bottom: 20px;
    width: 112px;
    height: 112px;
  }

  .hero-area-badge strong {
    font-size: 15px;
  }

  .hero-area-badge span {
    margin-top: 6px;
    font-size: 9px;
  }

  .home-price-panel li {
    align-items: flex-start;
    flex-direction: column;
  }
}

.trace-lp {
  min-height: 100vh;
  background: #f6f2e8;
}

.trace-frame {
  position: relative;
  width: min(100vw, 1183px);
  margin: 0 auto;
  background: #fbfaf3;
}

.trace-frame > img {
  display: block;
  width: 100%;
  height: auto;
}

.trace-hotspot {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 4px;
}

.trace-hotspot:focus-visible {
  outline: 3px solid #c75a1d;
  outline-offset: 3px;
}

.trace-contact-header {
  left: 85.96%;
  top: 1.35%;
  width: 12.26%;
  height: 3.01%;
}

.trace-services-nav {
  left: 32.12%;
  top: 2.26%;
  width: 7.27%;
  height: 1.96%;
}

.trace-price-nav {
  left: 42.18%;
  top: 2.26%;
  width: 6.59%;
  height: 1.96%;
}

.trace-sample-nav {
  left: 49.96%;
  top: 2.26%;
  width: 10.48%;
  height: 1.96%;
}

.trace-flow-nav {
  left: 62.13%;
  top: 2.26%;
  width: 9.21%;
  height: 1.96%;
}

.trace-faq-nav {
  left: 77.52%;
  top: 2.26%;
  width: 3.89%;
  height: 1.96%;
}

.trace-company-nav {
  left: 80.9%;
  top: 2.26%;
  width: 8.54%;
  height: 1.96%;
}

.trace-contact-hero {
  left: 4.31%;
  top: 35.06%;
  width: 21.3%;
  height: 3.31%;
}

.trace-services-hero {
  left: 27.39%;
  top: 36.49%;
  width: 11.75%;
  height: 2.03%;
}

.trace-sample-link {
  left: 31.87%;
  top: 43.04%;
  width: 10.73%;
  height: 1.96%;
}

.trace-price-link {
  left: 74.05%;
  top: 81.34%;
  width: 9.04%;
  height: 2.18%;
}

.trace-faq-link {
  left: 73.12%;
  top: 95.18%;
  width: 12.6%;
  height: 2.03%;
}

.trace-contact-band {
  left: 67.46%;
  top: 79.08%;
  width: 25.36%;
  height: 3.54%;
}

.trace-text-data {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Corrective trace: keep semantic sections, but use provided reference crops for weak visual areas. */
body {
  background: #fbfaf3;
}

.container {
  width: min(1082px, calc(100% - 52px));
}

.site-header {
  position: static;
  z-index: 20;
  border-bottom: 1px solid rgba(35, 77, 37, 0.14);
  background: #fffefb;
  box-shadow: none;
}

.header-inner {
  min-height: 74px;
  padding: 0;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 268px;
  min-width: 268px;
}

.brand-logo {
  width: 268px;
  height: auto;
}

.nav {
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nav a {
  border-radius: 0;
  padding: 0;
  color: #111b12;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.nav a.active,
.nav a:hover {
  background: transparent;
  color: #173818;
}

.nav a.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 5px;
  background: #173818;
  padding: 0 18px;
  color: #fffdf7;
  box-shadow: 0 6px 16px rgba(23, 56, 24, 0.18);
}

.nav a.nav-contact::before {
  content: "□";
  color: transparent;
  width: 19px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 2px;
  box-shadow: inset 0 0 0 999px transparent;
}

.home-hero-reference {
  min-height: 0;
  padding: 0;
  border-bottom: 1px solid rgba(35, 77, 37, 0.14);
  background: #f8f7f0;
  overflow: visible;
}

.home-reference-frame {
  position: relative;
  width: min(100%, 1183px);
  margin: 0 auto;
  background: #f8f7f0;
}

.hero-reference-image {
  width: 100%;
  height: auto;
}

.hero-image-hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  border-radius: 5px;
}

.hero-image-hotspot:focus-visible {
  outline: 3px solid #c75a1d;
  outline-offset: 3px;
}

.hero-contact-hotspot {
  left: 4.31%;
  top: 66.25%;
  width: 21.3%;
  height: 9.17%;
}

.hero-services-hotspot {
  left: 27.39%;
  top: 70.21%;
  width: 11.75%;
  height: 5.63%;
}

.visually-hidden-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.section {
  padding: 22px 0;
}

.home-samples {
  padding-top: 16px;
  background: #fbfaf3;
}

.section-title-row {
  margin-bottom: 14px;
}

.home-samples .section-title-row .eyebrow,
.flow-faq-section .eyebrow,
.home-faq > .eyebrow {
  color: #173818;
  font-size: 18px;
  font-weight: 900;
}

.sample-price-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 372px);
  gap: 24px;
}

.sample-card-grid {
  gap: 12px;
}

.sample-card,
.home-price-panel,
.home-faq details {
  border-color: #d9d2c1;
  border-radius: 5px;
  background: #fffdf8;
  box-shadow: none;
}

.sample-card {
  padding: 10px;
}

.sample-card img {
  aspect-ratio: 146 / 101;
  border-radius: 3px;
}

.sample-card h3 {
  margin-top: 12px;
  color: #172414;
  font-size: 14px;
}

.sample-card p,
.home-flow p,
.rooted-items p {
  color: #303b2c;
  font-size: 12px;
  font-weight: 700;
}

.home-price-panel {
  padding: 20px 22px;
}

.home-price-panel h2 {
  color: #172414;
  font-size: 17px;
}

.home-price-panel li {
  padding: 10px 0;
}

.flow-faq-section {
  padding-top: 0;
}

.flow-faq-grid {
  gap: 32px;
}

.home-flow {
  gap: 16px;
}

.home-flow article {
  gap: 7px;
}

.home-flow span {
  width: 54px;
  height: 54px;
  color: #4d6333;
}

.home-flow h3 {
  color: #172414;
  font-size: 13px;
}

.home-faq summary {
  padding: 10px 14px;
  color: #172414;
  font-size: 13px;
}

.consult-band {
  margin-top: 8px;
  background: linear-gradient(90deg, #173818 0%, #214821 58%, #173818 100%);
}

.consult-grid {
  grid-template-columns: minmax(220px, 263px) minmax(0, 1fr) minmax(260px, 310px);
  gap: 28px;
  min-height: 112px;
  padding: 14px 0;
}

.consult-grid img {
  aspect-ratio: 263 / 92;
  border-radius: 4px;
}

.consult-grid h2 {
  color: #fff6cc;
  font-size: 26px;
  line-height: 1.35;
}

.consult-grid p {
  font-size: 13px;
  line-height: 1.7;
}

.consult-actions .button {
  min-height: 48px;
  border-radius: 5px;
  background: #fffdf7;
  color: #173818;
}

.consult-note {
  font-size: 12px;
}

.rooted-section {
  padding-top: 22px;
  padding-bottom: 20px;
}

.rooted-grid {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 1fr) 130px;
  gap: 26px;
}

.rooted-copy h2,
.operation-panel h2 {
  color: #173818;
  font-size: 23px;
}

.rooted-copy > p,
.operation-panel p {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.operation-panel {
  border-left-color: #d9d2c1;
}

.rooted-illustration {
  width: 116px;
}

@media (max-width: 1120px) {
  .container {
    width: min(100% - 36px, 1082px);
  }

  .header-inner {
    gap: 16px;
  }

  .brand {
    flex-basis: 230px;
    min-width: 230px;
  }

  .brand-logo {
    width: 230px;
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 13px;
  }

  .nav a.nav-contact {
    padding: 0 14px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .brand,
  .brand-logo {
    width: 268px;
    min-width: 0;
  }

  .nav {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1082px);
  }

  .sample-price-grid,
  .flow-faq-grid,
  .consult-grid,
  .rooted-grid {
    grid-template-columns: 1fr;
  }

  .sample-card-grid,
  .home-flow,
  .rooted-items {
    grid-template-columns: 1fr;
  }

  .home-flow article + article::before {
    display: none;
  }

  .consult-grid {
    padding: 22px 0;
  }

  .operation-panel {
    border-top: 1px solid #d9d2c1;
    border-left: 0;
    padding-top: 20px;
    padding-left: 0;
  }
}

/* 2026-06-30 lower-page correction: compact typography, active buttons, and exact hero hotspots. */
.nav a.nav-contact {
  justify-content: center;
  min-width: 146px;
  border: 1px solid #173818;
  text-align: center;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 120ms ease,
    box-shadow 160ms ease;
}

.nav a.nav-contact::before {
  content: "";
  flex: 0 0 19px;
  width: 19px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 2px;
  background:
    linear-gradient(34deg, transparent 46%, currentColor 48%, currentColor 53%, transparent 55%),
    linear-gradient(-34deg, transparent 46%, currentColor 48%, currentColor 53%, transparent 55%);
  color: inherit;
}

.nav a.nav-contact:hover,
.nav a.nav-contact.active {
  border-color: #173818;
  background: #fffdf7;
  color: #173818;
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px #173818, 0 6px 14px rgba(23, 56, 24, 0.14);
}

.nav a.nav-contact:active {
  transform: translateY(1px);
  box-shadow: inset 0 0 0 1px #173818;
}

.hero-contact-hotspot {
  left: 4.15%;
  top: 81.4%;
  width: 21.55%;
  height: 9.8%;
}

.hero-services-hotspot {
  left: 27.35%;
  top: 84.1%;
  width: 12.4%;
  height: 6.4%;
}

.button {
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 120ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.button.primary {
  border-color: var(--green);
}

.button.primary:hover {
  background: #fffdf7;
  color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green), 0 8px 18px rgba(23, 56, 24, 0.14);
  transform: translateY(-1px);
}

.button.secondary:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fffdf7;
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px);
  filter: brightness(0.96);
}

.text-link {
  transition:
    color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.text-link:hover {
  color: #c75a1d;
  box-shadow: inset 0 -0.12em 0 rgba(199, 90, 29, 0.18);
}

.page-hero {
  padding: 30px 0 12px;
}

.page-hero .eyebrow {
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.35;
}

.page-hero h1 {
  margin-bottom: 8px;
  color: #173818;
  font-family: inherit;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.35;
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: #34412e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.image-band {
  display: none;
}

.content-layout {
  max-width: 960px;
  padding-top: 14px;
  padding-bottom: 38px;
  gap: 12px;
}

.content-block,
.faq-item,
.step {
  border-radius: 6px;
  padding: 18px 20px;
}

.content-block h2,
.faq-item h2,
.step h2,
.section-head.compact h2 {
  margin-bottom: 8px;
  color: #173818;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.45;
}

.content-block p,
.faq-item p,
.step p,
.price-card p,
.simulation-grid,
.simulation-result {
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.price-intro,
.price-simulator {
  gap: 12px;
}

.price-catalog-grid {
  gap: 14px;
}

.price-catalog-section {
  gap: 10px;
}

.price-card-grid {
  gap: 12px;
}

.price-card {
  gap: 8px;
  border-radius: 6px;
  padding: 16px;
}

.price-card h2 {
  font-size: 17px;
  line-height: 1.45;
}

.price-value {
  font-size: 20px;
}

.simulation-grid {
  gap: 12px;
}

.simulation-grid fieldset {
  border-radius: 6px;
  padding: 13px;
}

.simulation-choice {
  border-radius: 6px;
  padding: 9px 10px;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 120ms ease;
}

.simulation-choice:hover {
  border-color: rgba(35, 77, 37, 0.52);
  background: #f7fbf2;
  transform: translateY(-1px);
}

.step-list,
.faq-list {
  gap: 10px;
}

.step {
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
}

.step span {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #173818;
  font-size: 14px;
}

.contact-summary-item {
  border-radius: 6px;
  padding: 14px;
}

.contact-form {
  gap: 13px;
}

.contact-form label {
  font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 5px;
  padding: 10px 11px;
  font-size: 14px;
}

.operator-info-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
  padding: 18px 20px;
}

.operator-info-panel h2 {
  margin-bottom: 8px;
  color: #173818;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.45;
}

.operator-info-panel > p {
  max-width: 760px;
  margin-bottom: 14px;
  color: #34412e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.operator-info-panel dl {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.operator-info-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.operator-info-row dt {
  color: #173818;
  font-size: 13px;
  font-weight: 900;
}

.operator-info-row dd {
  margin: 0;
  min-width: 0;
  color: #34412e;
  font-size: 14px;
  line-height: 1.75;
}

.operator-info-row dd p {
  margin: 0;
}

.operator-info-row a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.operator-info-row a[href^="tel:"],
.contact-summary-item a[href^="tel:"] {
  color: #34412e;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .content-layout {
    max-width: none;
  }
}

@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body,
  main,
  .site-header,
  .site-footer,
  .container,
  .content-layout,
  .content-block,
  .operator-info-panel,
  .footer-grid {
    min-width: 0;
    max-width: 100%;
  }

  .container {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    padding: 0;
  }

  .header-inner {
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 0;
    padding: 12px 0 14px;
    gap: 10px;
  }

  .brand,
  .brand-logo {
    flex-basis: auto;
    width: 250px;
    min-width: 0;
  }

  .brand {
    margin: 0;
  }

  .nav {
    gap: 8px 10px;
  }

  .nav a {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .nav a.nav-contact {
    min-width: 0;
  }

  .page-hero {
    padding: 24px 0 10px;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  .content-block,
  .faq-item,
  .step {
    padding: 16px;
    overflow: hidden;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .step > *,
  .step p,
  .step h2,
  .page-hero p,
  .page-hero h1,
  .content-block p,
  .content-block h2,
  .faq-item p,
  .faq-item h2,
  .operator-info-row dd,
  .operator-info-row dd p,
  .footer-grid p,
  .footer-grid a {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .content-block h2,
  .faq-item h2,
  .step h2,
  .section-head.compact h2,
  .operator-info-panel h2 {
    font-size: 17px;
  }

  .operator-info-panel {
    padding: 16px;
  }

  .operator-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 11px 0;
  }

  .price-note-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* 2026-07-02 mobile containment fix for long Japanese copy and operator address rows. */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body,
  main,
  .site-header,
  .site-footer {
    min-width: 0;
    max-width: 100vw;
  }

  .container,
  .site-header .container,
  .page-hero.container,
  .section.container,
  .content-layout.container,
  .site-footer .container {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-right: auto;
    margin-left: auto;
    min-width: 0;
  }

  .header-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0 14px;
  }

  .brand,
  .brand-logo {
    width: min(250px, 100%);
    max-width: 100%;
    min-width: 0;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    min-height: 30px;
    padding: 2px;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .nav a.nav-contact {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
  }

  .content-layout {
    gap: 12px;
  }

  .content-block,
  .faq-item,
  .step,
  .operator-info-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 16px;
    overflow: visible;
  }

  .page-hero h1,
  .page-hero p,
  .content-block h2,
  .content-block p,
  .price-catalog-grid,
  .price-catalog-section,
  .price-card-grid,
  .price-card,
  .price-card h2,
  .price-card p,
  .price-category,
  .price-value,
  .price-status,
  .price-note-list,
  .price-note-list dt,
  .price-note-list dd,
  .simulation-grid,
  .simulation-grid fieldset,
  .simulation-choice,
  .simulation-choice span,
  .simulation-choice strong,
  .simulation-choice small,
  .simulation-muted,
  .simulation-note,
  .simulation-result,
  .faq-item h2,
  .faq-item p,
  .step h2,
  .step p,
  .operator-info-panel h2,
  .operator-info-panel p,
  .operator-info-row,
  .operator-info-row dt,
  .operator-info-row dd,
  .operator-info-row dd p,
  .site-footer strong,
  .site-footer p,
  .footer-links,
  .footer-links a {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .price-card-grid,
  .simulation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-card {
    width: 100%;
    overflow: hidden;
  }

  .operator-info-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-note-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .site-footer {
    overflow: hidden;
  }

  .footer-grid {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-width: 0;
  }

  .footer-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
  }
}
