@charset "UTF-8";

:root {
  --navy: #0c2d57;
  --blue: #1f609d;
  --blue-2: #367fb9;
  --sky: #eaf3fb;
  --sky-2: #f4f8fc;
  --ink: #172538;
  --text: #24364a;
  --muted: #4e6277;
  --line: #d7e1eb;
  --white: #ffffff;
  --shadow: 0 14px 38px rgba(16, 48, 83, 0.10);
  --shadow-small: 0 7px 22px rgba(16, 48, 83, 0.08);
  --radius: 18px;
  --max-width: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #f3f7fb;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic",
    "YuGothic", "Meiryo", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: auto;
}
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 999;
  padding: 8px 14px; border-radius: 8px; background: var(--navy); color: #fff;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-top: 4px solid var(--blue-2);
  border-bottom: 1px solid rgba(12, 45, 87, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 82px; margin: 0 auto;
}
.brand { min-width: 0; color: inherit; text-decoration: none; }
.brand-title {
  display: block; color: var(--navy); font-size: 1.34rem; font-weight: 750;
  line-height: 1.25; letter-spacing: 0.035em;
}
.brand-subtitle {
  display: block; margin-top: 5px; color: var(--muted); font-size: 0.83rem;
  line-height: 1.4; letter-spacing: 0.04em;
}
.site-nav ul {
  display: flex; align-items: center; gap: 7px; margin: 0; padding: 0; list-style: none;
}
.site-nav a {
  display: block; padding: 10px 15px; border-radius: 999px;
  color: var(--ink); font-size: 0.96rem; font-weight: 650; text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.site-nav a:hover { background: var(--sky); color: var(--navy); }
.site-nav a[aria-current="page"] { background: var(--navy); color: #fff; }

.site-main {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto; padding: 44px 0 72px;
}

.home-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
  gap: 36px; align-items: center;
  padding: 46px; border-radius: 26px;
  background:
    radial-gradient(circle at 10% 120%, rgba(92, 167, 220, .24), transparent 36%),
    linear-gradient(135deg, #09294f 0%, #124f86 64%, #1d6fa5 100%);
  color: #fff; box-shadow: 0 20px 52px rgba(12, 45, 87, .20);
}
.home-hero::before {
  content: ""; position: absolute; right: -130px; top: -150px;
  width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 86px rgba(255,255,255,.025);
}
.hero-copy, .lab-gallery { position: relative; z-index: 1; }
.eyebrow {
  margin: 0 0 13px; color: #bfe3fb; font-size: .76rem; font-weight: 750;
  letter-spacing: .18em; text-transform: uppercase;
}
.home-hero h1 {
  max-width: 650px; margin: 0; color: #fff; font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.38; letter-spacing: .03em;
}
.hero-lead {
  max-width: 670px; margin: 20px 0 0; color: #eef7ff; font-size: 1.06rem; line-height: 1.95;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 19px; border: 1px solid transparent; border-radius: 999px;
  font-size: .96rem; font-weight: 700; text-decoration: none;
}
.button-primary { background: #fff; color: var(--navy); }
.button-primary:hover { background: #eef7ff; color: var(--navy); }
.button-ghost { border-color: rgba(255,255,255,.44); color: #fff; background: rgba(255,255,255,.07); }
.button-ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.button-blue { background: var(--navy); color: #fff; }
.button-blue:hover { background: var(--blue); color: #fff; }

.lab-gallery {
  display: grid; grid-template-columns: 1.35fr .85fr; grid-template-rows: 1fr 1fr;
  gap: 10px; min-height: 300px; padding: 10px;
  border: 1px solid rgba(255,255,255,.20); border-radius: 20px;
  background: rgba(255,255,255,.10); box-shadow: 0 16px 35px rgba(0,0,0,.18);
}
.lab-gallery figure { position: relative; overflow: hidden; margin: 0; border-radius: 12px; background: #dce8f1; }
.lab-gallery figure:first-child { grid-row: 1 / 3; }
.lab-gallery img { width: 100%; height: 100%; object-fit: cover; }
.lab-gallery figcaption {
  position: absolute; left: 10px; bottom: 8px; padding: 3px 8px; border-radius: 999px;
  background: rgba(8, 31, 57, .72); color: #fff; font-size: .67rem; backdrop-filter: blur(4px);
}

.page-hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(260px, .66fr);
  gap: 42px; align-items: center;
  min-height: 300px; margin-bottom: 34px; padding: 44px 46px;
  border: 0; border-radius: 26px;
  background:
    radial-gradient(circle at 8% 125%, rgba(92, 167, 220, .24), transparent 36%),
    linear-gradient(135deg, #09294f 0%, #124f86 64%, #1d6fa5 100%);
  color: #fff; box-shadow: 0 20px 52px rgba(12, 45, 87, .20);
}
.page-hero::before {
  content: ""; position: absolute; right: -130px; top: -150px;
  width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.035), 0 0 0 86px rgba(255,255,255,.025);
}
.page-hero::after {
  content: ""; position: absolute; left: 48%; bottom: -160px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(104,180,225,.12), transparent 66%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #bfe3fb; }
.page-hero h1 {
  max-width: 700px; margin: 0; color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.38; letter-spacing: .03em;
}
.page-hero p {
  max-width: 760px; margin: 17px 0 0; color: #eef7ff;
  font-size: 1.04rem; line-height: 1.95;
}
.page-hero-index {
  padding: 10px; border: 1px solid rgba(255,255,255,.20); border-radius: 20px;
  background: rgba(255,255,255,.09); box-shadow: 0 16px 35px rgba(0,0,0,.14);
  backdrop-filter: blur(6px);
}
.page-hero-index-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.page-hero-index-item {
  display: flex; flex-direction: column; justify-content: center; min-height: 92px;
  padding: 15px 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 13px;
  background: rgba(255,255,255,.10);
}
.page-hero-index-wide { grid-column: 1 / -1; min-height: 82px; }
.page-hero-index-item span {
  color: #bfe3fb; font-size: .68rem; font-weight: 800; letter-spacing: .15em;
}
.page-hero-index-item strong {
  margin-top: 6px; color: #fff; font-size: 1.03rem; line-height: 1.45;
}

.section { margin-top: 58px; }
.section:first-child { margin-top: 0; }
.section-heading {
  display: flex; align-items: center; gap: 12px; margin: 0 0 13px;
  color: var(--navy); font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.45;
}
.section-heading::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 1.15em; border-radius: 999px;
  background: linear-gradient(180deg, var(--blue-2), var(--navy));
}
.section-lead { max-width: 880px; margin: 0 0 24px; color: var(--muted); font-size: 1rem; line-height: 1.9; }

.feature-grid, .research-grid, .skill-grid, .link-grid, .topic-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
}
.research-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  margin: 0; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-small);
}
.card-kicker { margin: 0 0 9px; color: var(--blue-2); font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
.card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.16rem; line-height: 1.55; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.85; }
.research-card { position: relative; overflow: hidden; padding-top: 30px; }
.research-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--navy), #64b1dd); }
.keyword-list, .tag-list {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0 0; padding: 0; list-style: none;
}
.keyword-list li, .tag-list li {
  margin: 0; padding: 5px 10px; border-radius: 999px; background: var(--sky);
  color: #2b6596; font-size: .8rem; line-height: 1.45;
}

.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.process-card { position: relative; min-height: 176px; }
.process-card:not(:last-child)::after {
  content: "›"; position: absolute; right: -13px; top: 50%; z-index: 2;
  width: 25px; height: 25px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 1.25rem; line-height: 22px; text-align: center; transform: translateY(-50%);
}
.process-number { display: block; margin-bottom: 9px; color: var(--blue-2); font-size: .76rem; font-weight: 800; letter-spacing: .14em; }

.topic-panel {
  padding: 28px; border: 1px solid #cbdced; border-radius: var(--radius);
  background: linear-gradient(135deg, #fbfdff, #eef6fd); box-shadow: var(--shadow-small);
}
.topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.topic-item {
  position: relative; margin: 0; padding: 9px 0 9px 20px; border-bottom: 1px dashed #cbd9e7;
  color: var(--text); font-size: .98rem;
}
.topic-item::before { content: ""; position: absolute; left: 1px; top: 1.35em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-2); }

.cta-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 30px 34px; border-radius: 20px; background: var(--navy); color: #fff;
  box-shadow: 0 15px 36px rgba(12,45,87,.17);
}
.cta-panel h2 { margin: 0 0 6px; color: #fff; font-size: 1.3rem; }
.cta-panel p { margin: 0; color: #dbeaf7; font-size: .97rem; }

/* ページ中段に控えめな色のまとまりをつくる */
.section-surface {
  position: relative; overflow: hidden;
  padding: 34px; border: 1px solid var(--line); border-radius: 24px;
  background: #fff; box-shadow: var(--shadow-small);
}
.section-surface-tint {
  border-color: #c8dbea;
  background:
    radial-gradient(circle at 105% -15%, rgba(74, 145, 199, .13), transparent 34%),
    linear-gradient(135deg, #fafdff 0%, #eaf4fc 100%);
}
.section-surface-dark {
  border: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(104, 180, 225, .20), transparent 34%),
    linear-gradient(135deg, #0a2b52 0%, #124f83 68%, #176394 100%);
  color: #fff; box-shadow: 0 18px 44px rgba(12,45,87,.17);
}
.section-surface-dark::after {
  content: ""; position: absolute; right: -95px; bottom: -120px;
  width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 68px rgba(255,255,255,.018);
}
.section-surface-dark > * { position: relative; z-index: 1; }
.section-surface-dark .section-heading { color: #fff; }
.section-surface-dark .section-heading::before { background: linear-gradient(180deg, #bfe3fb, #6db5df); }
.section-surface-dark .section-lead { color: #dcecf8; }
.section-surface-dark .topic-panel {
  border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.085); box-shadow: none;
}
.section-surface-dark .topic-item { color: #fff; border-bottom-color: rgba(255,255,255,.18); }
.section-surface-dark .topic-item::before { background: #bfe3fb; }
.section-surface-dark .thesis-year { border-color: rgba(255,255,255,.24); box-shadow: 0 12px 30px rgba(2,20,39,.18); }

.page-jump {
  margin: 0 0 38px; padding: 14px 16px; border: 1px solid #cbddeb; border-radius: 16px;
  background: linear-gradient(135deg, #f9fcff, #eaf4fc); box-shadow: 0 6px 18px rgba(16,48,83,.05);
}
.page-jump .section-nav { margin: 0; }

.section-nav {
  display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 34px; padding: 0; list-style: none;
}
.section-nav a {
  display: block; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--navy); font-size: .9rem; font-weight: 650; text-decoration: none;
}
.section-nav a:hover { border-color: #9ebedb; background: var(--sky); }

.table-wrap {
  width: 100%; overflow-x: auto; margin: 17px 0 0; border: 1px solid var(--line);
  border-radius: 14px; background: #fff; box-shadow: var(--shadow-small);
}
table.member-table, table.thesis-table {
  width: 100%; border-collapse: collapse; border-spacing: 0; background: #fff;
}
table.member-table th, table.thesis-table th {
  padding: 13px 14px; border-bottom: 1px solid #b8cde0; background: #e9f2fa;
  color: var(--navy); font-size: .9rem; font-weight: 750; text-align: left;
}
table.member-table td, table.thesis-table td {
  padding: 14px; border-bottom: 1px solid #e2e9f0; color: var(--text); font-size: .98rem;
  vertical-align: top; text-align: left;
}
table.member-table tbody:last-child tr:last-child td,
table.thesis-table tr:last-child td { border-bottom: 0; }
table.member-table tr:hover td, table.thesis-table tr:hover td { background: #f8fbfe; }
table.member-table .group-row th {
  padding: 9px 14px; border-top: 1px solid #c8d9e8; border-bottom: 1px solid #c8d9e8;
  background: #f5f8fb; color: var(--muted); font-size: .84rem; letter-spacing: .08em;
}
.member-position { width: 120px; white-space: nowrap; }
.member-name { width: 150px; white-space: nowrap; }
.member-topic { min-width: 420px; }

.thesis-year { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-small); }
.thesis-year h3 { margin: 0; color: var(--navy); font-size: 1.14rem; }
.thesis-year .table-wrap { box-shadow: none; }

.history-list { display: grid; gap: 12px; margin-top: 20px; }
details.history-year {
  overflow: hidden; border: 1px solid #c8dbea; border-radius: 14px;
  background: #fff; box-shadow: 0 5px 16px rgba(16,48,83,.07);
}
details.history-year summary {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 15px 18px 15px 20px; color: var(--navy); font-size: 1.03rem;
  font-weight: 750; line-height: 1.45; list-style: none;
  background: linear-gradient(90deg, #e6f1fa 0%, #f5f9fd 100%);
  box-shadow: inset 5px 0 0 var(--blue-2);
  transition: background-color .16s ease, background-image .16s ease;
}
details.history-year summary:hover {
  background: linear-gradient(90deg, #dcecf8 0%, #eef6fc 100%);
}
details.history-year[open] summary {
  background: linear-gradient(90deg, #d5e9f8 0%, #eaf4fb 100%);
}
details.history-year summary::-webkit-details-marker { display: none; }
details.history-year summary::marker { content: ""; }
details.history-year summary::after {
  content: "+"; display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 1.75em; height: 1.75em; margin-left: auto; border-radius: 50%;
  background: rgba(31,96,157,.11); color: var(--blue); font-size: 1.05rem; line-height: 1;
}
details.history-year[open] summary::after { content: "−"; background: rgba(12,45,87,.12); }
.history-body { padding: 2px 20px 20px; border-top: 1px solid #c8dbea; background: rgba(255,255,255,.88); }
.history-body h4 { margin: 17px 0 9px; color: var(--navy); font-size: 1rem; }
.history-body ul {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px 18px; margin: 0; padding: 0; list-style: none;
}
.history-body li {
  position: relative; min-width: 0; margin: 0; padding-left: 14px;
  color: var(--text); font-size: .96rem; line-height: 1.65;
}
.history-body li::before {
  content: ""; position: absolute; left: 1px; top: .76em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2);
}

.note-box {
  margin: 20px 0 0; padding: 17px 20px; border-left: 5px solid var(--blue-2);
  border-radius: 0 12px 12px 0; background: var(--sky-2); color: var(--muted); font-size: .98rem;
}

.link-card { position: relative; overflow: hidden; display: block; color: inherit; text-decoration: none; }
.link-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--navy), #64b1dd); }
.link-card:hover { border-color: #adc9df; background: #fbfdff; }
.link-card strong { display: block; color: var(--navy); font-size: 1.04rem; }
.link-card span { display: block; margin-top: 5px; color: var(--muted); font-size: .9rem; }

.site-footer {
  border-top: 4px solid #5fa7d3;
  background: linear-gradient(135deg, #071f3d 0%, #0d3a66 100%); color: #fff;
}
.footer-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end;
  width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; padding: 34px 0;
}
.footer-brand strong { display: block; color: #fff; font-size: .99rem; }
.footer-brand span { display: block; margin-top: 4px; color: #c6d7e5; font-size: .82rem; }
.footer-meta { text-align: right; color: #c6d7e5; font-size: .82rem; }
.footer-meta p { margin: 0; }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 13px; padding: 17px 0 14px; }
  .site-nav { width: 100%; }
  .site-nav ul { justify-content: flex-start; }
  .site-nav a { padding: 8px 13px; }
  .home-hero { grid-template-columns: 1fr; padding: 38px; }
  .page-hero { grid-template-columns: 1fr; min-height: 0; padding: 38px; }
  .page-hero-index { max-width: 610px; }
  .lab-gallery { min-height: 340px; }
  .feature-grid, .skill-grid, .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-body ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-card:not(:last-child)::after { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-header { position: static; }
  .header-inner, .site-main, .footer-inner { width: min(calc(100% - 26px), var(--max-width)); }
  .brand-title { font-size: 1.18rem; }
  .brand-subtitle { font-size: .72rem; }
  .site-nav ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
  .site-nav a { padding: 8px 7px; text-align: center; font-size: .82rem; }
  .site-main { padding: 24px 0 48px; }
  .home-hero { gap: 28px; padding: 29px 23px; border-radius: 20px; }
  .home-hero h1 { font-size: 2rem; }
  .hero-lead { font-size: .98rem; }
  .lab-gallery { min-height: 245px; }
  .page-hero { gap: 25px; margin-bottom: 24px; padding: 29px 23px; border-radius: 20px; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p { font-size: .98rem; }
  .page-hero-index { padding: 8px; border-radius: 16px; }
  .page-hero-index-item { min-height: 76px; padding: 12px 13px; }
  .page-hero-index-wide { min-height: 70px; }
  .section { margin-top: 45px; }
  .section-surface { padding: 24px 19px; border-radius: 19px; }
  .page-jump { margin-bottom: 28px; padding: 12px; }
  .feature-grid, .research-grid, .skill-grid, .link-grid, .topic-grid, .process-grid { grid-template-columns: 1fr; }
  .card { padding: 21px; }
  .cta-panel { align-items: flex-start; flex-direction: column; padding: 25px; }
  .footer-inner { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .footer-meta { text-align: left; }
  .history-body ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 14px; }

  table.member-table thead, table.thesis-table thead { display: none; }
  table.member-table, table.member-table tbody, table.member-table tr, table.member-table td,
  table.thesis-table, table.thesis-table tbody, table.thesis-table tr, table.thesis-table td { display: block; width: 100%; }
  .table-wrap { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  table.member-table .group-row { display: block; margin: 18px 0 7px; }
  table.member-table .group-row th { display: block; border: 0; border-radius: 8px; }
  table.member-table tr:not(.group-row), table.thesis-table tr {
    margin: 0 0 12px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 5px 14px rgba(16,48,83,.06); overflow: hidden;
  }
  table.member-table td, table.thesis-table td {
    display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 10px;
    padding: 10px 13px; border-bottom: 1px solid #e7edf3; font-size: .94rem;
  }
  table.member-table td::before, table.thesis-table td::before {
    content: attr(data-label); color: var(--muted); font-size: .82rem; font-weight: 700;
  }
  .member-position, .member-name, .member-topic { width: auto; min-width: 0; white-space: normal; }
  .thesis-year { padding: 20px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 480px) {
  .history-body ul { grid-template-columns: 1fr; }
}
