:root {
  --bg: #ffffff;
  --fg: #1f2328;
  --muted: #59636e;
  --line: #d8dee4;
  --accent: #1d4e89;
  --soft: #f4f7fb;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111417;
    --fg: #e6e9ec;
    --muted: #9aa4ae;
    --line: #2c333a;
    --accent: #7fb0e8;
    --soft: #181d22;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
header { border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.brand { font-weight: 700; font-size: 1.15rem; color: var(--fg); text-decoration: none; letter-spacing: .02em; }
nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: .95rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--fg); }
.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero .wrap { padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.4; margin: 0 0 12px; }
.hero p { color: var(--muted); margin: 0; font-size: 1.05rem; }
main .wrap { padding-top: 48px; padding-bottom: 64px; }
section + section { margin-top: 56px; }
h2 { font-size: 1.35rem; margin: 0 0 20px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
h3 { font-size: 1.05rem; margin: 28px 0 8px; }
table.profile { width: 100%; border-collapse: collapse; }
table.profile th, table.profile td { text-align: left; vertical-align: top; padding: 14px 8px; border-bottom: 1px solid var(--line); }
table.profile th { width: 30%; color: var(--muted); font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) {
  table.profile th, table.profile td { display: block; width: 100%; padding: 4px 0; border: 0; }
  table.profile tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
}
.contact { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.contact p { margin: 0 0 8px; }
.note { color: var(--muted); font-size: .9rem; }
footer { border-top: 1px solid var(--line); }
footer .wrap { padding-top: 24px; padding-bottom: 32px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
footer a { color: var(--muted); }
.button { display: inline-block; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 600; padding: 10px 20px; border-radius: 6px; margin: 4px 0; }
.button:hover { opacity: .9; }
