:root {
  --ink: #17212b;
  --muted: #5f6b76;
  --blue: #1769aa;
  --blue-dark: #0e4f85;
  --line: #dce3e9;
  --soft: #f4f7f9;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

.wrap {
  width: calc(100% - 40px);
  max-width: 1040px;
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
}

.site-header .wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  font-size: .94rem;
}

.nav a { text-decoration: none; }

.hero {
  padding: 64px 0 52px;
  background: linear-gradient(145deg, #f7fafc, #eef4f8);
}

.profile {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 34px;
}

.profile img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

h1, h2, h3 { line-height: 1.3; }
h1 { margin: 0 0 10px; font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { margin: 0 0 24px; font-size: clamp(1.55rem, 3vw, 2rem); }
h3 { margin: 0 0 8px; font-size: 1.18rem; }

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 20px;
}

section { padding: 54px 0; }
section + section { border-top: 1px solid var(--line); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid.four { grid-template-columns: repeat(2, 1fr); }

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid #bad1e3;
  border-radius: 10px;
  background: #eef6fb;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.card p { margin: 0 0 18px; color: var(--muted); }
.card .more { margin-top: auto; font-weight: 650; }

.compact-list { margin: 0; padding-left: 1.25rem; }
.compact-list li + li { margin-top: 8px; }

.page-hero { padding: 52px 0 38px; background: var(--soft); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }

.content { max-width: 800px; }
.content h2 { margin-top: 44px; }
.content h2:first-child { margin-top: 0; }

.callout {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--blue);
  background: var(--soft);
}

.figure {
  margin: 28px 0;
  text-align: center;
}

.figure img { max-width: 100%; height: auto; }
.figure figcaption { color: var(--muted); font-size: .9rem; text-align: left; }

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 760px) {
  .site-header .wrap, .site-footer .wrap { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav { justify-content: flex-start; }
  .hero { padding: 44px 0; }
  .profile { grid-template-columns: 1fr; gap: 20px; }
  .profile img { width: 96px; height: 96px; }
  .grid { grid-template-columns: 1fr; }
  .grid.four { grid-template-columns: 1fr; }
  section { padding: 42px 0; }
}
