:root {
  --ink: #1f2430;
  --sub: #5f6673;
  --line: #d5dae1;
  --bg: #f2f4f7;
  --surface: #ffffff;
  --accent: #2f5fa7;
  --accent-soft: #e8eef8;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

header.site {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

header.site .inner,
main,
footer.site .inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site .inner {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

header.site a.brand {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

header.site .crumb { color: var(--sub); font-size: 14px; }

main { padding-top: 28px; padding-bottom: 48px; }

h1 { font-size: 24px; line-height: 1.4; margin: 0 0 6px; }
h2 { font-size: 18px; line-height: 1.5; margin: 32px 0 8px; }
p, ul, ol, dl { margin: 0 0 14px; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 4px; }

.lead { color: var(--sub); margin-bottom: 24px; }
.meta { color: var(--sub); font-size: 14px; }

a { color: var(--accent); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 0 0 16px;
}

.card h2 { margin-top: 0; }

.contact {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 18px;
  margin: 4px 0 10px;
}

.contact:focus-visible,
a:focus-visible { outline: 3px solid #f0b400; outline-offset: 2px; }

table.facts {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
}

table.facts th,
table.facts td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}

table.facts tr:first-child th,
table.facts tr:first-child td { border-top: 0; }

table.facts th {
  width: 34%;
  background: var(--accent-soft);
  font-weight: 600;
}

footer.site {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--sub);
  font-size: 14px;
}

footer.site .inner { padding-top: 16px; padding-bottom: 24px; }
footer.site a { margin-right: 14px; }

@media (max-width: 520px) {
  table.facts th, table.facts td { display: block; width: 100%; }
  table.facts td { border-top: 0; padding-top: 0; }
  table.facts th { background: transparent; padding-bottom: 2px; color: var(--sub); font-size: 13px; }
}
