:root {
  --fg: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --link: #1d4ed8;
  --accent: #0f766e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
}

.container {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.site-title {
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--fg);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--link); }

.page-content { padding: 40px 0 64px; }

.hero {
  padding: 56px 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f0fdfa, #eff6ff);
  margin-bottom: 40px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero p {
  max-width: 760px;
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 24px;
}

.button {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  background: var(--bg);
}

.card h3 { margin-top: 0; }

h1, h2, h3 { line-height: 1.35; }
h2 { margin-top: 40px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
a { color: var(--link); }

.news-list, .publication-list, .member-list {
  list-style: none;
  padding: 0;
}

.news-list li, .publication-list li, .member-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  margin-right: 6px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

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

@media (max-width: 720px) {
  .header-inner { align-items: flex-start; flex-direction: column; }
  .site-nav { justify-content: flex-start; }
  .hero { padding: 36px 22px; }
}

.member-table {
  border-collapse: collapse;
}

.member-table th,
.member-table td {
  padding: 0.4rem 1.2rem 0.4rem 0;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.member-table th:last-child,
.member-table td:last-child {
  padding-right: 0;
}
