:root {
  --navy: #003466;
  --ink: #1d2733;
  --muted: #5b6676;
  --line: #dfe4ea;
  --soft: #f4f6f9;
  --bg: #ffffff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}
html[lang="ja"] body { line-height: 1.9; }
a { color: var(--navy); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* header */
header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; letter-spacing: .04em; font-size: 19px; }
.brand img { width: 40px; height: 40px; }
nav.main { display: flex; gap: 4px 18px; flex-wrap: wrap; margin-left: auto; font-size: 15px; }
nav.main a { text-decoration: none; color: var(--muted); padding: 2px 0; border-bottom: 2px solid transparent; }
nav.main a:hover { color: var(--navy); }
nav.main a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
nav.main a.lang { color: var(--navy); border: 1px solid var(--line); border-radius: 4px; padding: 0 8px; }

/* content */
main { padding: 40px 0 56px; }
h1 { font-size: 30px; line-height: 1.35; color: var(--navy); margin: 0 0 24px; }
h2 { font-size: 21px; line-height: 1.4; color: var(--navy); margin: 44px 0 12px; padding-top: 4px; }
h3 { font-size: 17px; margin: 28px 0 4px; }
h3 + p { margin-top: 0; }
p { margin: 0 0 16px; }
.lead { font-size: 19px; }
.note { color: var(--muted); font-size: 15px; }

table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { width: 30%; color: var(--muted); font-weight: 600; white-space: nowrap; }
table.timeline th { width: 6.5em; white-space: nowrap; font-variant-numeric: tabular-nums; }
html[lang="ja"] table.timeline th { width: 7.5em; }

.facts { background: var(--soft); border-radius: 8px; padding: 4px 16px; }
.facts table { margin: 0; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }

.services h3 { color: var(--navy); }

/* footer */
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer.site .wrap { padding-top: 20px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
footer.site a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 25px; }
  nav.main { margin-left: 0; width: 100%; }
  th { white-space: normal; width: 34%; }
  table.timeline th { width: auto; white-space: nowrap; padding-right: 6px; }
}
