:root {
  color-scheme: light;
  --ink: #202a30;
  --muted: #56636a;
  --line: #dce3e3;
  --paper: #ffffff;
  --wash: #f4f7f6;
  --accent: #25584c;
  --accent-dark: #194236;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { background: var(--paper); scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 1rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

a { color: var(--accent-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid #4b8173; outline-offset: 3px; }

.container { width: min(68rem, calc(100% - 2.5rem)); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.5rem 0.75rem;
  color: #fff;
  background: var(--accent-dark);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 0.75rem;
}
.brand { display: inline-flex; flex-direction: column; color: var(--ink); text-decoration: none; line-height: 1.25; }
.brand-name { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.03em; }
.brand-ja { margin-top: 0.2rem; color: var(--muted); font-size: 0.78rem; }
.header-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem 1.25rem; }
.header-nav a { color: var(--muted); font-size: 0.9rem; }
.header-nav a[aria-current="page"] { color: var(--accent-dark); font-weight: 700; }

.page-intro { max-width: 52rem; padding-block: clamp(3rem, 8vw, 6.5rem) 2.75rem; }
.eyebrow { margin: 0 0 0.65rem; color: var(--accent); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1rem; font-size: clamp(2rem, 5vw, 3.15rem); line-height: 1.35; letter-spacing: 0.015em; }
.heading-ja { color: var(--muted); font-size: 0.68em; font-weight: 500; }
.lead { max-width: 48rem; margin-bottom: 0; color: #344249; font-size: clamp(1.08rem, 2.4vw, 1.3rem); line-height: 1.8; }
.effective-date { margin: 1.15rem 0 0; color: var(--muted); font-size: 0.9rem; }

.content-section { max-width: 54rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.content-section h2 { margin-bottom: 1rem; font-size: 1.25rem; line-height: 1.5; }
.content-section h3 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.content-section p:last-child, .content-section ul:last-child { margin-bottom: 0; }
.content-section ul { padding-left: 1.35rem; }
.content-section li + li { margin-top: 0.35rem; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.service-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 0.5rem; background: var(--wash); }
.service-card .eyebrow { margin-bottom: 0.55rem; }
.service-card p:last-child { margin-bottom: 0; }
.note { margin: 1.25rem 0 0; color: var(--muted); font-size: 0.94rem; }
.details { margin: 0; border-top: 1px solid var(--line); }
.details > div { display: grid; grid-template-columns: minmax(8rem, 0.3fr) 1fr; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); }
.details dd { margin: 0; }
.contact-section { margin-bottom: 3rem; }
.contact-link { display: inline-block; margin-top: 0.15rem; font-weight: 700; }
.document { padding-bottom: 2rem; }
.document .page-intro { padding-bottom: 2.25rem; }

.site-footer { margin-top: 1rem; padding-block: 2rem 1rem; border-top: 1px solid var(--line); background: var(--wash); }
.footer-inner { display: grid; grid-template-columns: 1fr minmax(15rem, 1fr); gap: 1.5rem 3rem; align-items: start; }
.footer-brand { color: var(--ink); font-weight: 700; text-decoration: none; }
.footer-contact { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.9rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-bottom { margin-top: 1.5rem; padding-top: 0.75rem; border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 42rem) {
  .container { width: min(100% - 2rem, 68rem); }
  .header-inner { align-items: flex-start; flex-direction: column; }
  .header-nav { justify-content: flex-start; }
  .page-intro { padding-top: 3rem; }
  .service-grid, .footer-inner { grid-template-columns: 1fr; }
  .service-card { padding: 1.25rem; }
  .details > div { grid-template-columns: 1fr; gap: 0.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
