@charset "UTF-8";

:root {
  --text: #222;
  --muted: #666;
  --link: #0645ad;
  --visited: #5a3696;
  --line: #d7d7d7;
  --soft: #f5f5f5;
  --width: 760px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  max-width: var(--width);
  margin: 0 auto;
  padding: 28px 22px 48px;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
}

a { color: var(--link); text-underline-offset: 2px; }
a:visited { color: var(--visited); }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.35; }
h1 { margin: 0 0 8px; font-size: 28px; }
h2 { margin: 0 0 14px; font-size: 21px; }
h3 { margin: 22px 0 8px; font-size: 17px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.5em; }
li { margin: .25em 0; }
img { max-width: 100%; height: auto; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-size: 13px;
  line-height: 1.55;
  white-space: pre;
}

.site-header { margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-bottom: 13px; }
.logo { color: var(--text); font-weight: 700; text-decoration: none; white-space: nowrap; }
.logo:visited { color: var(--text); }
.logo .en { margin-left: 8px; color: var(--muted); font-size: 12px; font-weight: 400; }
.gnav ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.gnav li { margin: 0; }
.gnav a { color: var(--link); font-size: 14px; }
.gnav a[aria-current="page"] { color: var(--text); font-weight: 700; text-decoration: none; }

.hero, .page-head { margin-bottom: 42px; }
.hero h1 { font-size: 32px; }
.hero .en { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: .08em; }
.eyebrow, .section-head .en, .page-head .en { display: none; }
.role, .intro, .page-head p { color: var(--muted); }
.statement { margin-top: 22px; font-size: 18px; }
.hero-actions { margin-top: 18px; }
.hero-actions a + a::before { content: " · "; color: var(--muted); }

.breadcrumb { margin: -28px 0 36px; color: var(--muted); font-size: 13px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 7px; }

.section { margin: 0 0 46px; padding: 0 0 38px; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
.section-head { margin-bottom: 16px; }
.section-head p { margin-top: -6px; color: var(--muted); }
.lead { font-size: 17px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-width: 0; }
.card h3 { margin-top: 0; }
.card p { color: #444; }
.kicker { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; }
.card-link { font-size: 14px; }

.def { margin: 0; }
.def > div { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 16px; padding: 8px 0; border-top: 1px solid #e8e8e8; }
.def > div:last-child { border-bottom: 1px solid #e8e8e8; }
.def dt { color: var(--muted); font-weight: 600; }
.def dd { min-width: 0; margin: 0; }
.def small { display: block; color: var(--muted); }

.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { margin: 0 0 15px; }
.timeline .yr { display: block; color: var(--muted); font-size: 13px; }
.timeline strong, .timeline small { display: block; }
.timeline small { color: var(--muted); }

.linklist { margin: 0; padding: 0; list-style: none; }
.linklist li { margin: 6px 0; }
.linklist small { color: var(--muted); }
.tags { color: var(--muted); font-size: 14px; }
.tags span + span::before { content: " / "; }
.callout { padding: 14px 16px; border-left: 3px solid #999; background: var(--soft); }
.callout h3 { margin-top: 0; }
.note { color: var(--muted); font-size: 13px; }
.date { color: var(--muted); font-size: 13px; }
.article-list { margin: 0; padding-left: 1.3em; }
.article-list li { margin-bottom: 8px; }
.record { margin-bottom: 28px; }
.record h3 { margin-bottom: 4px; }
.record p { margin-bottom: 0; }
.recommend-list h3 { margin-top: 30px; }
.recommend-list h4 { margin: 20px 0 4px; font-size: 16px; }

.site-footer { margin-top: 54px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; }
.site-footer .logo { display: none; }
.footer-note { margin: 0; }
.footer-nav h4 { display: none; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.footer-nav li { margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; font-size: 12px; }

.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 36px; }
.text-center { text-align: center; }

@media (max-width: 640px) {
  body { padding: 20px 17px 38px; font-size: 16px; }
  .site-header { margin-bottom: 34px; }
  .header-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero, .page-head { margin-bottom: 34px; }
  .hero h1 { font-size: 28px; }
  .section { margin-bottom: 36px; padding-bottom: 30px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 18px; }
  .def > div { grid-template-columns: 1fr; gap: 1px; }
  .footer-top, .footer-bottom { flex-direction: column; gap: 10px; }
}

@media print {
  body { max-width: none; padding: 0; font-size: 11pt; }
  .gnav, .breadcrumb, .site-footer { display: none; }
  a { color: inherit; }
}
