:root {
  --navy: #0b2447;
  --ink: #233951;
  --muted: #4b6078;
  --line: #cfdae6;
  --pale: #f3f7fb;
  --white: #fff;
  font-family: "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  scroll-padding-top: 1rem;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid #527eac;
  outline-offset: 4px;
}

.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 1rem; z-index: 1; }
.skip:focus { top: 1rem; background: var(--white); padding: .5rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; gap: 1.5rem; }
.header-inner { min-height: 92px; }
.brand {
  display: grid;
  place-items: center;
  width: 110px;
  height: 78px;
  flex: 0 0 auto;
  color: inherit;
  font-weight: 750;
  text-decoration: none;
}
.brand img { display: none; width: 100%; height: auto; }
.brand.has-logo img { display: block; }
.brand.has-logo .brand-text { display: none; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.4rem); margin-left: auto; }
nav a { color: var(--navy); font-size: .9375rem; font-weight: 650; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .3em; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.2rem;
  border: 1px solid var(--navy);
  border-radius: 4px;
  font: inherit;
  font-size: .9375rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.primary { background: var(--navy); color: var(--white); }
.primary:hover { background: #244568; }
.outline { background: transparent; color: var(--navy); }
.outline:hover { background: var(--pale); }

.hero { background: var(--pale); border-bottom: 1px solid var(--line); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 36%);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 8rem);
}
.eyebrow { color: var(--muted); font-weight: 700; font-size: .9375rem; letter-spacing: .06em; }
h1, h2, h3 { color: var(--navy); line-height: 1.4; }
h1 { margin-top: 1.25rem; font-size: clamp(2rem, 4.4vw, 3.8rem); letter-spacing: .015em; }
h1 span { display: block; }
.lead { margin-top: 1.5rem; }
.hero .button { margin-top: 2rem; }
.hero-art { display: block; width: 100%; color: var(--navy); border: 1px solid var(--line); }

.section { padding-block: clamp(3.25rem, 7.5vw, 6.5rem); }
.tinted { background: var(--pale); }
.dark { color: var(--white); background: var(--navy); }
.dark h2, .dark h3 { color: var(--white); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(1.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
h3 { font-size: 1.15rem; }
h3 + p { margin-top: .5rem; }
.ruled { border-top: 1px solid var(--line); }
.ruled > * { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.problems { padding: 0; list-style: none; }
.problems li { display: flex; align-items: baseline; gap: .85rem; }
.problems li::before { content: ""; width: .45rem; height: .45rem; border: 1px solid var(--navy); flex: 0 0 auto; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 1.75rem; border: 1px solid var(--line); background: var(--line); }
.cards article { padding: clamp(1.35rem, 4vw, 2.5rem); background: var(--white); }
.values article { border-top: 1px solid #48617c; padding-block: 1.05rem; }
.values p { color: #d8e4f1; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; padding: 0; margin-top: 1.75rem; counter-reset: step; list-style: none; }
.steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 1rem; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: .6rem; color: var(--muted); font-weight: 700; }
.price-list div { display: flex; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; flex-wrap: wrap; }
.price-list dt { font-weight: 700; }
.price-list strong, .name { font-size: 1.6rem; color: var(--navy); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding-block: 1rem; color: var(--navy); font-weight: 700; }
.faq p { padding-bottom: 1rem; }
#contact h2 + p { margin-top: .85rem; }
#contact .primary { margin-top: 1.2rem; }
.contact-meta { margin-top: .75rem; color: var(--muted); font-size: .9375rem; overflow-wrap: anywhere; }
.form-panel { background: var(--pale); padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); }
.form-panel p { font-size: .9375rem; }
fieldset { display: grid; gap: .9rem; min-width: 0; padding: 0; margin: 1rem 0 0; border: 0; }
label { display: grid; gap: .25rem; font-size: .9375rem; font-weight: 650; }
input, textarea { width: 100%; min-height: 42px; padding: .45rem; border: 1px solid #8a9cb0; border-radius: 4px; background: var(--white); color: var(--ink); font: inherit; }
textarea { resize: vertical; }
fieldset:disabled .button { justify-self: start; color: var(--muted); border-color: #8a9cb0; background: transparent; }
.footer-inner { min-height: 110px; flex-wrap: wrap; }
.footer-inner small { margin-left: auto; color: #d8e4f1; }

@media (max-width: 760px) {
  .wrap { width: min(1120px, calc(100% - 2rem)); }
  .header-inner { flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; padding-block: .25rem .7rem; }
  nav { order: 1; width: 100%; margin: 0; justify-content: center; border-top: 1px solid var(--line); padding-top: .55rem; }
  nav a { padding: .35rem .2rem; }
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-art { max-width: 260px; justify-self: end; }
  .desktop { display: none; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .footer-inner { gap: .5rem 1rem; padding-bottom: 1.25rem; }
  .footer-inner small { width: 100%; margin-left: 0; }
}
