:root {
  color-scheme: light;
  --ink: #23372e;
  --muted: #4d6358;
  --green: #176044;
  --deep: #174c3b;
  --tint: #f0f6f0;
  --line: #d0ddd3;
  --orange: #a94b15;
  --white: #fff;
  font-family: system-ui, "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px)); }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3, h4 {
  line-height: 1.4;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}
h2 { color: var(--deep); font-size: clamp(1.55rem, 4vw, 2.4rem); text-align: center; text-wrap: balance; }
h3 { font-size: 1.14rem; }
p {
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}
.keep-phrase { white-space: nowrap; }
a { color: inherit; }
:focus-visible { outline: 3px solid #135ca0; outline-offset: 3px; }
[id] { scroll-margin-top: 1rem; }
.visually-hidden, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 10; top: .5rem; left: .5rem; background: white; padding: .5rem; }
.wrap { width: min(calc(100% - 2rem), 68rem); margin-inline: auto; }
.draft { padding: .25rem .75rem; background: #f9edcd; color: #5a3b16; text-align: center; font-size: .875rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-block: .65rem; }
.brand { display: block; width: min(25rem, 62vw); color: var(--deep); text-decoration: none; line-height: 1.35; }
.brand img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.brand small { display: block; font-size: .875rem; font-weight: 500; }
.header-actions, .actions { display: flex; gap: .5rem; }
.header-actions .button { font-size: .875rem; padding-inline: .5rem; }
.nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: .45rem; text-align: center; }
.nav a { display: grid; place-items: center; min-height: 2.75rem; font-size: .875rem; text-underline-offset: .2em; }
.button {
  border: 1px solid transparent; border-radius: .45rem; color: var(--white);
  display: inline-grid; place-items: center; min-height: 2.75rem; padding: .55rem .75rem;
  font: inherit; font-weight: 750; line-height: 1.35; text-align: center; text-decoration: none;
}
.button:hover:not(:disabled) { filter: brightness(.88); }
.cta-phone { background: var(--orange); }
.cta-line { background: var(--green); }
.button:disabled { color: var(--ink); border-color: var(--line); background: #e7eee8; }
.hero { background: #eaf3e9; padding-block: 1.25rem 1rem; }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; align-items: end; }
.hero-copy { grid-column: 1 / -1; grid-row: 1; text-align: center; }
.region { color: var(--deep); font-size: .875rem; font-weight: 750; }
h1 { margin-block: .35rem .6rem; font-size: clamp(1.38rem, 5.6vw, 2.55rem); }
h1 span { color: var(--green); font-size: 1.4em; }
.hero-copy > p:not(.region):not(.note):not(.hero-audience) { max-width: 30em; margin-inline: auto; }
.hero-points {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem;
  padding: 0; margin-block: .8rem .4rem; list-style: none;
}
.hero-points li { display: grid; place-items: center; padding: .38rem .2rem; border-radius: .35rem; background: #f8e7a6; font-size: .875rem; font-weight: 750; line-height: 1.4; }
.placeholder {
  display: grid; place-content: center; aspect-ratio: 16 / 9; padding: .4rem; text-align: center;
  border: 1px dashed #8ba394; border-radius: .5rem; background: #edf2ee;
  color: var(--muted); font-size: .875rem; line-height: 1.45;
}
.hero-photo { aspect-ratio: 2 / 1; }
.band { background: var(--deep); color: var(--white); padding-block: 1rem; }
.band-inner { display: grid; gap: .65rem; }
.band strong { font-size: 1.2rem; }
.band p { font-size: .9rem; }
.band .actions > * { flex: 1; }
.band .button { border-color: #ffffff60; }
.section { padding-block: clamp(2.4rem, 6vw, 4.8rem); }
.section h2 { margin-bottom: 1.2rem; }
.section-note { text-align: center; color: var(--muted); margin: -.45rem auto 1.25rem; max-width: 46rem; }
.note { color: var(--muted); font-size: .875rem; }
.prices + .note { margin-top: .75rem; }
.tint { background: var(--tint); }
.stack, .concerns, .policy, .voice-grid, .payment-grid, .contact-grid { display: grid; gap: .85rem; }
.checklist { padding: 0 0 0 1.5rem; }
.checklist li { padding: .35rem .15rem; }
.checklist li::marker { color: var(--green); }
.callout { margin-top: 1.2rem; padding: .85rem; text-align: center; background: #f8ebbd; border-radius: .5rem; font-weight: 750; }
.card, .feature, .example, .steps li { border: 1px solid var(--line); border-radius: .65rem; background: var(--white); }
.card, .feature, .steps li { padding: clamp(.85rem, 2vw, 1.4rem); }
.card p, .feature p, .steps p, .example p { margin-top: .3rem; }
.feature { display: grid; gap: .75rem; align-items: center; }
.example { overflow: hidden; }
.example h3 { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: .7rem .85rem; background: var(--deep); color: var(--white); }
.example h3 span { font-size: .875rem; background: var(--white); color: var(--deep); padding: .18rem .48rem; border-radius: .25rem; }
.example-body { padding: clamp(.75rem, 2vw, 1.4rem); }
.case-reference-image { margin-bottom: .8rem; text-align: center; }
.case-reference-image img { display: block; width: 100%; max-width: 860px; height: auto; margin-inline: auto; border: 2px solid var(--green); }
.case-zero-photos { margin-bottom: .8rem; }
.case-zero-photo { aspect-ratio: 455 / 379; background-image: url('./images/reference-case-0-summary.png'); background-size: 492.31% 369.39%; background-repeat: no-repeat; overflow: hidden; }
.case-zero-before { background-position: 51.43% 68.17%; }
.case-zero-after { background-position: 78.94% 68.17%; }
.case-price-breakdown { margin-block: .7rem; padding: .8rem; border: 2px solid var(--orange); background: #fff6db; }
.case-price-breakdown > div { display: flex; justify-content: space-between; gap: .5rem; padding: .25rem 0; }
.case-price-breakdown .case-price-total { margin-top: .35rem; padding-top: .55rem; border-top: 1px solid var(--orange); font-weight: 700; }
.case-price-total strong { color: var(--orange); font-size: 1.4rem; }
.case-price-breakdown p { font-size: .85rem; color: var(--muted); }
.before-after, .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.example p.case-price { margin-block: .7rem; font-weight: 700; color: var(--orange); }
.facts { margin-bottom: 1rem; }
.facts div { padding: .5rem; background: var(--tint); border-radius: .3rem; }
.facts dt { color: var(--muted); font-size: .875rem; }
.example h4 { margin-top: .75rem; }
.voice { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: .7rem; align-items: center; }
.voice .placeholder { aspect-ratio: 1; }
.prices { width: 100%; border-collapse: collapse; text-align: center; }
.prices th, .prices td { border: 1px solid var(--line); padding: .6rem .3rem; }
.prices thead { background: var(--deep); color: var(--white); }
.prices tbody tr:nth-child(even) { background: var(--tint); }
.price-notes { margin-top: .8rem; font-size: .9rem; line-height: 1.65; }
.price-notes p + p { margin-top: .15rem; }
.card-logos { aspect-ratio: auto; min-height: 3.5rem; margin-top: .65rem; }
.steps { display: grid; gap: .75rem; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .65rem; align-items: start; }
.step-number { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 750; }
.faq h3 { color: var(--green); }
.contact { background: #e4efe5; }
.contact .button { width: 100%; margin-top: .7rem; }
.contact article:target { outline: 3px solid var(--green); outline-offset: 2px; }
.site-footer { background: var(--deep); color: var(--white); padding-block: 1.35rem; text-align: center; }
.mobile-bar {
  position: fixed; z-index: 2; inset: auto 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem;
  padding: .5rem 1rem calc(.5rem + env(safe-area-inset-bottom, 0px)); background: var(--white); border-top: 1px solid var(--line);
}
@media (min-width: 44rem) {
  body { padding-bottom: 0; }
  .mobile-bar, .small-only { display: none; }
  .nav { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .header-actions .button { padding-inline: 1.25rem; }
  .hero { padding-block: 2.35rem; }
  .hero-grid { width: min(calc(100% - 2rem), 85rem); grid-template-columns: minmax(0, 1fr) minmax(24rem, 2.4fr) minmax(0, 1fr); }
  .hero-copy { grid-area: 1 / 2; }
  .hero-photo { aspect-ratio: 3 / 4; }
  .hero-left { grid-area: 1 / 1; }
  .hero-right { grid-area: 1 / 3; }
  .band-inner { grid-template-columns: minmax(0, 1fr) minmax(18rem, 40%); align-items: center; }
  .concerns, .policy { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.35rem; }
  .feature:nth-child(even) { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .feature:nth-child(even) .placeholder { grid-column: 2; grid-row: 1; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .voice-grid, .payment-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
