:root {
  --navy: #0e2744;
  --ink: #1a1d21;
  --muted: #5c656e;
  --line: #d8dee5;
  --paper: #f4f6f8;
  --white: #fff;
  --width: 1040px;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--navy);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #1d4e89;
}

a:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

::selection {
  background: var(--navy);
  color: #fff;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.4rem 0.8rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
}

.skip:focus {
  top: 0.5rem;
}

.frame {
  width: min(var(--width), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  text-decoration: none;
}

.logo:hover {
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.35rem 0;
}

.nav a:hover {
  color: var(--navy);
}

.nav a[aria-current="page"] {
  color: var(--navy);
  font-weight: 500;
  box-shadow: inset 0 -2px 0 var(--navy);
}

.kv {
  background: var(--navy);
  color: #fff;
  padding: 5.25rem 0 4.5rem;
}

.kv-label {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.72);
}

.kv h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

.kv-lead {
  max-width: 38rem;
  margin: 1.35rem 0 0;
  font-size: 1.02rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.88);
}

.outline {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.outline-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.outline-inner > div {
  padding: 1.45rem 1.75rem;
  border-left: 1px solid var(--line);
}

.outline-inner > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.outline-inner span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.outline-inner strong {
  display: block;
  margin-top: 0.3rem;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.pagehead {
  background: var(--navy);
  color: #fff;
  padding: 2.6rem 0 2.35rem;
}

.pagehead h1 {
  margin: 0.45rem 0 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.crumb {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.crumb a {
  color: inherit;
  text-decoration: none;
}

.crumb a:hover {
  color: #fff;
}

.crumb span {
  margin: 0 0.45rem;
}

.block {
  padding: 4.75rem 0 5rem;
}

.block-alt {
  background: var(--paper);
}

.block-head {
  margin-bottom: 1.5rem;
}

.block-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.block-label::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--navy);
}

.block-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.block-lead {
  max-width: 40rem;
  margin: 0 0 1.6rem;
  color: var(--muted);
}

.purposes {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy);
}

.purposes li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.purposes li:last-child {
  border-bottom: 0;
}

.purposes .no {
  color: var(--navy);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.purposes p {
  margin: 0;
  line-height: 1.85;
}

.sheet {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--navy);
}

.sheet th,
.sheet td {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
  line-height: 1.8;
}

.sheet th {
  width: 8.5rem;
  padding-right: 1.25rem;
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
}

.inline-purposes {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: purpose;
}

.inline-purposes li {
  counter-increment: purpose;
  padding: 0.28rem 0;
}

.inline-purposes li::before {
  content: "（" counter(purpose) "）";
  display: inline-block;
  min-width: 2.8em;
  color: var(--navy);
  font-weight: 500;
}

.more {
  margin: 1.4rem 0 0;
}

.more a {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
}

.note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 2.4rem 0 1.6rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  align-items: flex-start;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-name {
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0;
}

.footer-address {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  line-height: 1.75;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  padding-top: 0.2rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
}

.copy {
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 760px) {
  .frame {
    width: min(var(--width), calc(100% - 32px));
  }

  .header-inner {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 0 0.7rem;
    gap: 0.35rem;
  }

  .nav {
    gap: 1.15rem;
  }

  .kv {
    padding: 3.25rem 0 2.75rem;
  }

  .outline-inner {
    grid-template-columns: 1fr;
  }

  .outline-inner > div,
  .outline-inner > div:first-child {
    padding: 1rem 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .outline-inner > div:first-child {
    border-top: 0;
  }

  .block {
    padding: 3.25rem 0 3.5rem;
  }

  .purposes li {
    grid-template-columns: 3.4rem minmax(0, 1fr);
    padding: 1rem 0.9rem;
  }

  .sheet th {
    width: 5.5rem;
    letter-spacing: 0.06em;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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

@media print {
  .site-header,
  .skip,
  .footer-nav {
    display: none;
  }

  .kv,
  .pagehead,
  .site-footer {
    background: #fff;
    color: #000;
  }

  .kv-lead,
  .kv-label,
  .crumb,
  .footer-address,
  .copy {
    color: #000;
  }
}

.lead-break {
  display: inline;
}

@media (max-width: 640px) {
  .lead-break {
    display: none;
  }
}
.keep { white-space: nowrap; }
@media (max-width: 640px) { .lead-break { display: inline; } }
