:root {
  color-scheme: light;
  --ink: #273339;
  --muted: #4d5c5e;
  --navy: #19364b;
  --navy-deep: #112a3d;
  --accent: #325f63;
  --paper: #f7f7f1;
  --sand: #eeeee5;
  --wash: #eaf0ed;
  --rule: #d5dbd3;
  --white: #fff;
  --shell: 1152px;
  --gutter: clamp(20px, 5vw, 64px);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 100%;
  line-height: 1.82;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--white); }
a { color: var(--navy); text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
main:focus { outline: none; }
[id] { scroll-margin-top: 1.5rem; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.35; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.55rem); letter-spacing: .025em; }
h3 { font-size: 1.15rem; }
.shell { width: min(calc(100% - 2 * var(--gutter)), var(--shell)); margin-inline: auto; }
.skip {
  position: absolute; z-index: 5; top: .5rem; left: 1rem; padding: .55rem 1rem;
  background: var(--white); transform: translateY(-165%);
}
.skip:focus { transform: none; }

.header { background: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.wordmark {
  font: 750 1.2rem/1.25 "Segoe UI", sans-serif; letter-spacing: .065em;
  color: var(--navy); text-decoration: none; white-space: nowrap;
}
.wordmark span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: clamp(.85rem, 2.5vw, 2rem); }
.nav a { font-size: .875rem; font-weight: 700; text-decoration: none; padding-block: .6rem; white-space: nowrap; }
.nav a:hover { text-decoration: underline; }
.nav .nav-contact { border: 1px solid #a5b5aa; padding: .48rem .95rem; border-radius: 5px; }
.menu-toggle { display: none; }
.review-bar { padding-block: .22rem; background: var(--sand); color: var(--muted); font-size: .875rem; }

.hero-frame { background: var(--paper); }
.hero { padding-block: clamp(42px, 5.1vw, 72px) clamp(42px, 5.4vw, 77px); }
.hero-with-photo { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(26px, 4.2vw, 54px); }
.hero-copy { min-width: 0; }
.hero-location {
  display: flex; align-items: center; gap: .65em;
  color: var(--accent); font-size: .9375rem; font-weight: 700;
}
.hero-location::before { content: ""; flex: 0 0 1.4rem; border-top: 1px solid var(--accent); }
.hero h1 {
  margin-block: .9rem .95rem;
  font-size: clamp(2.05rem, 4.35vw, 3.75rem); letter-spacing: .008em; line-height: 1.28;
}
.hero-subtitle { color: var(--navy); font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 700; }
.hero-lead { max-width: 27rem; margin-top: .65rem; }
.opening { margin-top: 1.15rem; color: var(--accent); font-size: .9375rem; font-weight: 700; }
.button {
  display: inline-flex; align-items: center; min-height: 46px; padding: .53rem 1.28rem;
  border-radius: 5px; border: 1px solid var(--navy); background: var(--navy); color: var(--white);
  font-family: inherit; font-size: .9375rem; font-weight: 700; line-height: 1.5;
  text-decoration: none; cursor: pointer;
}
.button[hidden] { display: none; }
.button:hover { background: var(--navy-deep); text-decoration: underline; }
.hero-cta { margin-top: .8rem; }
.button-secondary { color: var(--navy); background: transparent; border-color: #a5b5aa; }
.button-secondary:hover { background: var(--white); }
.scenery { min-width: 0; }
.scenery img { width: 100%; height: auto; display: block; border-radius: 7px; }
.scenery figcaption { color: var(--muted); margin-top: .48rem; font-size: .875rem; }
.hero-photo figcaption { text-align: right; }
.hero-photo img { aspect-ratio: 868 / 576; }
.strength-photo img { aspect-ratio: 868 / 496; }

.section { padding-block: clamp(45px, 6.25vw, 84px); }
.band, .strength-section { background: var(--paper); }
.split { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(28px, 7vw, 92px); }
.split > div:first-child > p:last-of-type:not(.section-label) { margin-top: 1rem; }
.section-label { color: var(--accent); font-size: .875rem; font-weight: 700; letter-spacing: .055em; margin-bottom: .52rem; }
.concerns-section { background: var(--wash); }
.concerns { padding: .15rem 0 0 1.3em; }
.concerns li { padding-left: .27em; }
.concerns li + li { margin-top: .6rem; }
.concerns li::marker { color: var(--accent); }

.service-list { margin-top: 1.7rem; }
.service-row {
  display: grid; grid-template-columns: minmax(12rem, .64fr) minmax(0, 1.36fr);
  gap: clamp(16px, 4vw, 54px); padding-block: 1.55rem; border-top: 1px solid var(--rule);
}
.service-row:last-child { padding-bottom: 0; }
.service-row h3 { font-size: 1.25rem; }
.service-row p { max-width: 43rem; }
.stages { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: .85rem; }
.stages li { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .35em; }
.stages strong { color: var(--accent); }
.stages span { color: var(--muted); font-size: .875rem; }

.strength-inner { max-width: 760px; }
.strength-with-photo {
  max-width: var(--shell); display: grid; align-items: center;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: clamp(24px, 6vw, 72px);
}
.strength h2 + p { margin-top: 1.15rem; }
.strength p + p { margin-top: .75rem; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.35rem; padding: 0; list-style: none; counter-reset: steps; margin-top: 1.7rem; }
.flow li { counter-increment: steps; border-top: 1px solid var(--rule); padding-top: .85rem; }
.flow li::before { content: counter(steps, decimal-leading-zero); display: block; color: var(--accent); font: 650 .875rem/1.4 "Segoe UI", sans-serif; margin-bottom: .48rem; }
.flow p { margin-top: .36rem; }
.facts > div { display: grid; grid-template-columns: minmax(6rem, .35fr) 1fr; gap: .6rem; border-bottom: 1px solid var(--rule); padding-block: .53rem; }
.facts > div:first-child { padding-top: 0; }
.facts > .print-only { display: none; }
.facts dt { font-weight: 700; color: var(--navy); }
.facts dd { min-width: 0; overflow-wrap: anywhere; }
.fact-era { display: inline-block; }
.overview-print-button { margin-top: 1.2rem; }
.faq { margin-top: 1.5rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; list-style: none; padding: .85rem 2rem .85rem .1rem; font-weight: 700; cursor: pointer; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .35rem; font-size: 1.15rem; line-height: 1.5; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.8rem .95rem .1rem; }
.contact { background: var(--wash); }
.contact-list { display: grid; align-content: center; gap: .8rem; }
.contact-list > div { border-bottom: 1px solid #b9c7bf; padding-bottom: .6rem; }
.contact-list dt, .contact-note { font-size: .875rem; color: var(--muted); }
.contact-list dt { font-weight: 700; }
.contact-list dd a {
  display: inline-flex; align-items: center; min-height: 44px; padding-block: .2rem;
  font: 650 clamp(1.03rem, 2.25vw, 1.55rem)/1.3 "Segoe UI", sans-serif; overflow-wrap: anywhere;
}

.footer { background: var(--paper); padding-block: 1.45rem; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; }
.footer .wordmark { font-size: .98rem; }
.footer-text { color: var(--muted); font-size: .875rem; }
.article { max-width: 810px; padding-block: clamp(44px, 7vw, 92px); }
.article h1 { font-size: clamp(2rem, 4.65vw, 3.5rem); margin-bottom: 1rem; }
.article-lead { margin-bottom: 2rem; }
.policy { line-height: 1.85; }
.policy h1 span { display: inline-block; }
.policy h2, .error-page h1 { text-wrap: balance; }
@media (max-width: 719px) {
  .article.policy h1 { font-size: clamp(1.6rem, 7vw, 2rem); }
}
.policy-status { color: var(--muted); font-size: .875rem; margin-bottom: 1rem; }
.policy section p + p, .policy section ul + p { margin-top: .75rem; }
.policy ul { padding-inline-start: 1.45em; margin-block: .55rem; }
.policy li + li { margin-top: .25rem; }
.policy a { overflow-wrap: anywhere; }
.article section { border-top: 1px solid var(--rule); padding-block: 1.35rem; }
.article h2 { font: 700 1.3rem/1.45 "Yu Gothic", Meiryo, sans-serif; margin-bottom: .55rem; }
.error-page { min-height: 48vh; }
.error-page .button { margin-top: 1.3rem; }
.print-only { display: none; }

@media screen and (max-width: 879px) {
  .header-inner { min-height: 65px; flex-wrap: wrap; gap: 0; }
  .wordmark { font-size: 1.06rem; }
  .menu-toggle:not([hidden]) {
    display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .35rem .6rem;
    border: 1px solid #a5b5aa; border-radius: 5px; background: transparent; color: var(--navy);
    font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer;
  }
  .menu-toggle span { position: relative; width: 14px; height: 10px; border-block: 1px solid currentColor; }
  .menu-toggle span::before { position: absolute; content: ""; inset: 3.5px 0 auto; border-top: 1px solid currentColor; }
  .nav { width: 100%; display: flex; align-items: stretch; flex-direction: column; gap: 0; padding-block: .28rem .65rem; }
  .nav[hidden] { display: none; }
  .nav a { min-height: 44px; border-top: 1px solid var(--rule); padding-inline: .3rem; }
  .nav .nav-contact { border: none; border-top: 1px solid var(--rule); padding: .6rem .3rem; }
}
@media screen and (max-width: 719px) {
  .hero, .split, .service-row, .strength-with-photo { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 28px 30px; gap: 24px; }
  .hero h1 { margin-block: .78rem .8rem; font-size: clamp(2.05rem, 8.25vw, 3rem); }
  .hero-location { font-size: .875rem; }
  .hero-location::before { flex-basis: .9rem; }
  .hero-lead { margin-top: .48rem; }
  .opening { margin-top: .98rem; }
  .scenery figcaption { margin-top: .4rem; }
  .screen-break { display: none; }
  .section { padding-block: 44px; }
  .split { gap: 1.15rem; }
  .service-row { gap: .45rem; padding-block: 1.15rem; }
  .stages { column-gap: .95rem; }
  .strength-with-photo .strength { grid-row: 1; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.05rem; }
  .facts > div { grid-template-columns: minmax(5.5rem, .4fr) 1fr; }
}
@media screen and (min-width: 880px) {
  .nav[hidden] { display: flex; }
}
@media (forced-colors: active) {
  .button, .menu-toggle, .contact a { border: 1px solid ButtonText; }
  :focus-visible { outline-color: Highlight; }
}
