:root {
  --deep: #050b14;
  --deep-2: #071421;
  --navy: #0b1e34;
  --navy-2: #102943;
  --ink: #0c1522;
  --paper: #f7f9fc;
  --paper-2: #eef3f8;
  --white: #ffffff;
  --muted: #66758a;
  --line: #d8e0ea;
  --cyan: #1fc7dc;
  --blue: #2474ff;
  --gold: #d8a84f;
  --gold-2: #f0c15b;
  --red: #b80f1a;
  --shadow: 0 24px 70px rgba(5, 11, 20, 0.22);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", "Hiragino Sans", "Yu Gothic", "YuGothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-strip {
  background: #02060d;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 11, 20, 0.92);
  color: var(--white);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 21px 24px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.brand-main {
  display: block;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.brand-sub {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-links a:hover {
  color: var(--gold-2);
}

.hero {
  position: relative;
  background:
  radial-gradient(circle at 82% 20%, rgba(216, 168, 79, 0.16), transparent 26%),
  radial-gradient(circle at 10% 0%, rgba(36, 116, 255, 0.12), transparent 28%),
  linear-gradient(135deg, #02060d 0%, #071421 48%, #02060d 100%);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
  linear-gradient(100deg, transparent 0%, transparent 52%, rgba(216, 168, 79, 0.05) 68%, transparent 100%),
  radial-gradient(ellipse at 86% 18%, rgba(255, 225, 162, 0.20), transparent 30%);
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 24px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(380px, 0.84fr);
  gap: 42px;
  align-items: center;
}

.visual-card {
  min-height: 520px;
  background: #02060d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #02060d;
  z-index: 1;
}

.visual-block {
  display: grid;
  gap: 10px;
}

.video-caption-outside {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.65;
}

.video-caption-title {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.video-caption-text {
  display: block;
}

.video-caption-outside a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-copy {
  padding: 26px 0 28px;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(30px, 3.2vw, 47px);
  line-height: 1.55;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.gold-line {
  width: 64px;
  height: 2px;
  margin: 26px 0 28px;
  background: linear-gradient(90deg, var(--gold-2), transparent);
  box-shadow: 0 0 18px rgba(216, 168, 79, 0.8);
}

.hero-copy p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 2.0;
}

.feature-row {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mini-feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: start;
}

.mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 168, 79, 0.56);
  color: var(--gold-2);
  font-size: 20px;
}

.mini-feature h3 {
  margin: 1px 0 4px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
}

.mini-feature p {
  margin: 0;
  color: rgba(255, 255, 255, 0.60);
  font-size: 11px;
  line-height: 1.7;
}

section {
  padding: 64px 24px;
}

.dark-section {
  background: linear-gradient(180deg, #0b1e34, #071421);
  color: var(--white);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-head span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--gold-2);
  letter-spacing: 0.08em;
}

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

.framework-card {
  border: 1px solid rgba(216, 168, 79, 0.38);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.20);
}

.framework-visual {
  height: 148px;
  position: relative;
  background: linear-gradient(135deg, rgba(31,199,220,0.14), rgba(216,168,79,0.12)), #0a1625;
  overflow: hidden;
}

.framework-visual.stage {
  background:
  radial-gradient(ellipse at center bottom, rgba(216, 168, 79, 0.44), transparent 48%),
  linear-gradient(135deg, #0b1421, #2b1b11 60%, #050b14);
}

.framework-visual.cognition {
  background:
  radial-gradient(circle at 34% 48%, rgba(31,199,220,0.34), transparent 24%),
  linear-gradient(135deg, #071421, #0b2b47);
}

.framework-visual.model {
  background:
  radial-gradient(circle at 60% 42%, rgba(36,116,255,0.35), transparent 22%),
  linear-gradient(135deg, #071421, #102943);
}

.framework-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
  linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
  linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 34px 34px;
}

.framework-body {
  padding: 22px 24px 25px;
}

.framework-icon {
  width: 54px;
  height: 54px;
  margin-top: -50px;
  margin-bottom: 14px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 168, 79, 0.76);
  background: rgba(7, 20, 33, 0.96);
  color: var(--gold-2);
  font-size: 24px;
}

.framework-body h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.05em;
}

.framework-body p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.light-section {
  background: linear-gradient(180deg, #fbfcfe, #edf2f8);
}

.projects-head {
  text-align: center;
  margin-bottom: 24px;
}

.projects-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif;
  font-size: 26px;
  letter-spacing: 0.03em;
}

.projects-head span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

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

.project-card {
  min-height: 188px;
  display: grid;
  grid-template-columns: 43% 57%;
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 8px 20px rgba(12, 21, 34, 0.05);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(12, 21, 34, 0.11);
}

.project-image {
  min-height: 188px;
  background: linear-gradient(135deg, #152235, #577089);
  position: relative;
  overflow: hidden;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
  radial-gradient(circle at 35% 30%, rgba(255,255,255,0.36), transparent 26%),
  linear-gradient(180deg, transparent, rgba(0,0,0,0.40));
}

.project-image.p1 { background: linear-gradient(135deg, #2b1a10, #b56a28 48%, #09111f); }
.project-image.p2 { background: linear-gradient(135deg, #102943, #2474ff 45%, #050b14); }
.project-image.p3 { background: linear-gradient(135deg, #1b1010, #7c4a31 52%, #050b14); }
.project-image.p4 { background: linear-gradient(135deg, #071421, #1fc7dc 42%, #102943); }
.project-image.p5 { background: linear-gradient(135deg, #26150b, #d8a84f 52%, #07090c); }
.project-image.p6 { background: linear-gradient(135deg, #111827, #8aa0b8 50%, #06070a); }

.project-body {
  padding: 18px 18px 15px;
  display: flex;
  flex-direction: column;
}

.project-num {
  display: block;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.project-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: -0.04em;
}

.project-body p {
  margin: 0;
  color: #526174;
  font-size: 12px;
  line-height: 1.75;
}

.arrow {
  margin-top: auto;
  align-self: end;
  color: var(--navy-2);
  font-size: 22px;
  line-height: 1;
}

.join-note {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 78px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px 34px;
  border: 1px solid #c9d8ec;
  background: #eef6ff;
  color: #143152;
}

.join-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #145da0;
  font-size: 38px;
}

.join-note h3 {
  margin: 0 0 5px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.join-note p {
  margin: 0;
  color: #41566f;
  font-size: 14px;
}

.outline-button {
  min-width: 146px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #224a78;
  color: #17385e;
  background: rgba(255, 255, 255, 0.46);
  font-weight: 800;
  font-size: 14px;
}

.lower-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 0;
  border: 1px solid #ccd7e5;
  background: rgba(255, 255, 255, 0.72);
}

.news,
.highlights {
  padding: 28px 32px;
}

.news {
  border-right: 1px solid #ccd7e5;
}

.lower-title {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.lower-title span {
  display: block;
  margin-top: 3px;
  font-family: inherit;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.news-list {
  display: grid;
  gap: 9px;
  font-size: 13px;
}

.news-item {
  display: grid;
  grid-template-columns: 86px 64px 1fr;
  gap: 10px;
  align-items: start;
  color: #243246;
}

.tag {
  display: inline-grid;
  place-items: center;
  padding: 3px 7px;
  background: #e6edf5;
  color: #33465f;
  font-size: 11px;
}

.more-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: end;
  width: 100%;
  margin-top: 18px;
  color: #17385e;
  font-weight: 800;
  font-size: 13px;
}

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

.highlight-card h3 {
  margin: 0 0 10px;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 17px;
}

.highlight-thumb {
  height: 86px;
  background: linear-gradient(135deg, #e5e9ef, #9aa8b8);
  border: 1px solid #c8d2df;
  position: relative;
  overflow: hidden;
}

.highlight-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
  radial-gradient(circle at 30% 40%, rgba(255,255,255,0.65), transparent 26%),
  linear-gradient(135deg, transparent, rgba(5,11,20,0.22));
}

.site-footer {
  background: #06111e;
  color: rgba(255, 255, 255, 0.78);
  padding: 46px 24px 18px;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.7fr 0.7fr 0.7fr;
  gap: 34px;
  align-items: start;
}

.footer-brand {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: #fff;
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 8px;
  letter-spacing: -0.06em;
}

.footer-grid h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
}

.waseda-mark {
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(255,255,255,0.18);
  min-height: 112px;
  text-align: center;
  font-family: Georgia, serif;
  color: #fff;
  letter-spacing: 0.04em;
}

@media (max-width: 1080px) {
  .nav {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .nav-links {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .feature-row,
  .framework-grid,
  .projects-grid,
  .highlight-cols {
    grid-template-columns: 1fr 1fr;
  }

  .lower-grid {
    grid-template-columns: 1fr;
  }

  .news {
    border-right: none;
    border-bottom: 1px solid #ccd7e5;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .top-strip-inner {
    display: block;
  }

  .brand-main {
    font-size: clamp(32px, 11vw, 48px);
  }

  .visual-card {
    min-height: 420px;
  }

  .hero-copy h1 {
    font-size: 29px;
  }

  .feature-row,
  .framework-grid,
  .projects-grid,
  .highlight-cols,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-columns: 1fr;
  }

  .join-note {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.subpage-hero {
  background:
  radial-gradient(circle at 82% 20%, rgba(216, 168, 79, 0.14), transparent 26%),
  linear-gradient(135deg, #02060d 0%, #071421 52%, #02060d 100%);
  color: var(--white);
  padding: 72px 24px 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.subpage-kicker {
  margin: 0 0 10px;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.subpage-hero h1 {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.08em;
}

.subpage-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 2;
}

.members-section {
  background: linear-gradient(180deg, #fbfcfe, #edf2f8);
  padding: 64px 24px 78px;
}

.members-block {
  margin-bottom: 34px;
}

.members-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--deep);
}

.members-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.members-heading span {
  color: var(--muted);
  font-size: 13px;
}

.pi-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 28px;
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 14px 36px rgba(12, 21, 34, 0.08);
}

.pi-photo {
  min-height: 220px;
  display: grid;
  place-items: center;
  background:
  radial-gradient(circle at 34% 28%, rgba(216, 168, 79, 0.30), transparent 28%),
  linear-gradient(135deg, #071421, #102943);
  color: rgba(255,255,255,0.86);
  font-family: Georgia, serif;
  font-size: 46px;
  letter-spacing: 0.08em;
}

.pi-body .member-role {
  margin: 0 0 4px;
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
}

.pi-body h3 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.05em;
}

.pi-body h3 span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.pi-body p {
  margin: 0;
  color: #44546a;
  font-size: 14px;
  line-height: 1.9;
}

.pi-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pi-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #ccd7e5;
  background: #f7f9fc;
  color: #17385e;
  font-size: 13px;
  font-weight: 800;
}

.staff-list {
  display: grid;
  gap: 10px;
}

.staff-item {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid #cad5e3;
}

.member-name {
  font-size: 17px;
  font-weight: 800;
}

.member-role {
  color: var(--muted);
  font-size: 13px;
}

.member-en {
  color: var(--muted);
  font-size: 13px;
}

.student-subhead {
  margin: 22px 0 10px;
  color: var(--navy-2);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.student-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid #cad5e3;
}

.student-grade {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  background: #eef3f8;
  color: #17385e;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.student-name {
  font-size: 14px;
  font-weight: 700;
}

.member-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .pi-card {
    grid-template-columns: 1fr;
  }

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

  .staff-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  .members-heading {
    display: block;
  }

  .student-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
Publications page
========================================================= */

.publications-section {
  background: linear-gradient(180deg, #fbfcfe, #edf2f8);
  padding: 64px 24px 78px;
}

.publication-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}

.publication-overview-card {
  display: block;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 8px 20px rgba(12, 21, 34, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.publication-overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(12, 21, 34, 0.10);
}

.publication-overview-card span {
  display: block;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.publication-overview-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -0.03em;
}

.publication-block {
  margin-bottom: 44px;
}

/* Selected Publications はカード型を維持 */
.selected-pub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.selected-pub-card {
  padding: 22px 22px 20px;
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 10px 26px rgba(12, 21, 34, 0.06);
}

.pub-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 12px;
  background: #eef3f8;
  color: #17385e;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.selected-pub-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.selected-pub-card p {
  margin: 0;
  color: #526174;
  font-size: 13px;
  line-height: 1.8;
}

.selected-pub-card a {
  display: inline-flex;
  margin-top: 14px;
  color: #17385e;
  font-weight: 800;
  font-size: 13px;
}

/* 通常業績リスト：数字なし・枠なし・テキストベース */
.publication-year-group {
  margin-bottom: 30px;
}

.publication-year-heading {
  margin: 0 0 10px;
  padding: 0 0 6px;
  background: transparent;
  border-bottom: 1px solid #c8d3e0;
  color: var(--navy-2);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.publication-list {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
  border: none;
  background: transparent;
}

.publication-list li {
  display: block;
  margin: 0 0 11px;
  padding: 0;
  border: none;
  color: #29384c;
  font-size: 13.5px;
  line-height: 1.85;
}

.publication-list li:last-child {
  margin-bottom: 0;
}

.publication-list a {
  color: #17385e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .publication-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selected-pub-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .publication-overview {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
Access page
========================================================= */

.access-section {
  background: linear-gradient(180deg, #fbfcfe, #edf2f8);
  padding: 64px 24px 78px;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.access-card {
  padding: 28px 30px;
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 10px 26px rgba(12, 21, 34, 0.06);
}

.access-card-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.access-card h2,
.access-map-body h2,
.access-visit-note h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.35;
  letter-spacing: -0.05em;
}

.access-info-list {
  display: grid;
  gap: 14px;
}

.access-info-row {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e0e7f0;
}

.access-info-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.access-info-key {
  color: #17385e;
  font-size: 13px;
  font-weight: 800;
}

.access-info-value {
  color: #29384c;
  font-size: 14px;
  line-height: 1.85;
}

.access-address {
  margin: 0 0 14px;
  color: #29384c;
  font-size: 15px;
  line-height: 1.9;
}

.access-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.access-map-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 300px;
  margin-top: 18px;
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 10px 26px rgba(12, 21, 34, 0.06);
  overflow: hidden;
}

.access-map-visual {
  position: relative;
  min-height: 300px;
  background:
  radial-gradient(circle at 45% 46%, rgba(216, 168, 79, 0.26), transparent 26%),
  linear-gradient(135deg, #071421, #102943);
  overflow: hidden;
}

.access-map-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
  linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px),
  linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 38px 38px;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold-2);
  box-shadow: 0 0 28px rgba(240, 193, 91, 0.72);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #071421;
}

.map-line {
  position: absolute;
  height: 2px;
  background: rgba(31, 199, 220, 0.46);
  transform-origin: left center;
}

.map-line-1 {
  left: 18%;
  top: 32%;
  width: 72%;
  transform: rotate(11deg);
}

.map-line-2 {
  left: 8%;
  top: 62%;
  width: 88%;
  transform: rotate(-18deg);
}

.map-line-3 {
  left: 28%;
  top: 78%;
  width: 56%;
  transform: rotate(5deg);
}

.access-map-body {
  padding: 34px 36px;
  align-self: center;
}

.access-map-body p {
  margin: 0 0 20px;
  color: #44546a;
  font-size: 14px;
  line-height: 1.9;
}

.access-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #224a78;
  background: #f7f9fc;
  color: #17385e;
  font-size: 14px;
  font-weight: 800;
}

.access-visit-note {
  margin-top: 18px;
  padding: 26px 30px;
  background: #eef6ff;
  border: 1px solid #c9d8ec;
  color: #143152;
}

.access-visit-note p {
  margin: 0;
  color: #41566f;
  font-size: 14px;
  line-height: 1.9;
}

@media (max-width: 900px) {
  .access-grid,
  .access-map-block {
    grid-template-columns: 1fr;
  }

  .access-map-visual {
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .access-card,
  .access-map-body,
  .access-visit-note {
    padding: 22px 20px;
  }

  .access-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* =========================================================
Selected Highlights on index: vertical image version
Replace the previous selected_highlights_v2.css block with this.
========================================================= */

.highlight-showcase-v2 {
  display: grid;
  gap: 16px;
}

.highlight-panel-v2 {
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 10px 26px rgba(12, 21, 34, 0.06);
  padding: 20px;
}

.highlight-panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--deep);
}

.highlight-section-label {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.highlight-section-link {
  flex: 0 0 auto;
  color: #17385e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.highlight-item-list {
  display: grid;
  gap: 12px;
}

.highlight-item-v2 {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: stretch;
  min-height: 142px;
  padding: 12px;
  background: #f7f9fc;
  border: 1px solid #d9e2ee;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.highlight-item-v2:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(12, 21, 34, 0.08);
}

.highlight-image-slot {
  display: grid;
  place-items: center;
  width: 96px;
  min-height: 118px;
  aspect-ratio: 3 / 4;
  color: rgba(255, 255, 255, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  letter-spacing: 0.04em;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  align-self: start;
}

.highlight-image-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
  radial-gradient(circle at 32% 36%, rgba(255,255,255,0.34), transparent 28%),
  linear-gradient(135deg, transparent, rgba(5,11,20,0.30));
}

.highlight-image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* PDF abstracts and book covers fit better as vertical images. */
.journal-slot {
  background:
  radial-gradient(circle at 68% 46%, rgba(31,199,220,0.24), transparent 24%),
  linear-gradient(135deg, #071421, #123c5d 58%, #050b14);
}

.book-slot {
  background:
  radial-gradient(circle at 38% 42%, rgba(216,168,79,0.34), transparent 26%),
  linear-gradient(135deg, #2b1a10, #8f5b2a 58%, #050b14);
}

.grant-slot {
  background:
  radial-gradient(circle at 62% 42%, rgba(36,116,255,0.30), transparent 24%),
  linear-gradient(135deg, #071421, #102943 56%, #050b14);
}

.highlight-item-text {
  align-self: center;
}

.highlight-item-text strong {
  display: block;
  color: #29384c;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 800;
}

.highlight-item-text span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.4;
}

@media (max-width: 1080px) {
  .highlight-section-label {
    font-size: 34px;
  }
}

@media (max-width: 700px) {
  .highlight-panel-head {
    display: block;
  }

  .highlight-section-link {
    display: inline-flex;
    margin-top: 8px;
  }

  .highlight-item-v2 {
    grid-template-columns: 86px 1fr;
    min-height: 128px;
  }

  .highlight-image-slot {
    width: 86px;
    min-height: 112px;
  }
}

/* =========================================================
For Candidates page
========================================================= */

.candidates-page-section {
  background: linear-gradient(180deg, #fbfcfe, #edf2f8);
  padding: 64px 24px 78px;
}

.candidate-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 38px;
}

.candidate-intro-card {
  padding: 24px 22px 22px;
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 10px 26px rgba(12, 21, 34, 0.06);
}

.candidate-intro-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 12px;
  background: #eef3f8;
  color: #17385e;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
}

.candidate-intro-card h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.05em;
}

.candidate-intro-card p {
  margin: 0;
  color: #44546a;
  font-size: 13px;
  line-height: 1.85;
}

.candidate-block {
  margin-bottom: 42px;
}

.candidate-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.candidate-detail-card {
  padding: 24px 24px 22px;
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 8px 20px rgba(12, 21, 34, 0.05);
}

.candidate-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.candidate-detail-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.05em;
}

.candidate-detail-card ul,
.resource-card ul,
.thesis-list {
  margin: 0;
  padding-left: 1.1em;
  color: #29384c;
  font-size: 13px;
  line-height: 1.9;
}

.candidate-detail-card li,
.resource-card li,
.thesis-list li {
  margin-bottom: 6px;
}

.thesis-year-block {
  margin-bottom: 24px;
}

.thesis-year-block h3 {
  margin: 0 0 10px;
  padding: 0 0 6px;
  border-bottom: 1px solid #c8d3e0;
  color: var(--navy-2);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.thesis-type {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.thesis-more {
  margin-top: 10px;
}

.thesis-more summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #224a78;
  background: #f7f9fc;
  color: #17385e;
  font-size: 13px;
  font-weight: 800;
}

.thesis-more[open] summary {
  margin-bottom: 22px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.resource-card {
  padding: 24px 24px 22px;
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 8px 20px rgba(12, 21, 34, 0.05);
}

.resource-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.candidate-contact-band {
  margin-top: 20px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: #eef6ff;
  border: 1px solid #c9d8ec;
  color: #143152;
}

.candidate-contact-band h2 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.candidate-contact-band p {
  margin: 0;
  color: #41566f;
  font-size: 14px;
  line-height: 1.85;
}

@media (max-width: 900px) {
  .candidate-intro-grid {
    grid-template-columns: 1fr;
  }

  .candidate-two-col,
  .resource-grid,
  .candidate-contact-band {
    grid-template-columns: 1fr;
  }
}

.candidate-contact-band .outline-button {
  min-width: 190px;
  padding: 0 18px;
  white-space: nowrap;
}

/* =========================================================
Previous Thesis Themes: 2025 block with word cloud
========================================================= */

.thesis-feature-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  margin-bottom: 24px;
}

.thesis-feature-main {
  min-width: 0;
}

.thesis-feature-main .thesis-year-block {
  margin-bottom: 0;
}

.thesis-wordcloud-label {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.thesis-feature-wordcloud h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.thesis-feature-wordcloud {
  padding: 0;
}

.thesis-wordcloud-note {
  margin: 0 0 14px;
  color: #526174;
  font-size: 12.5px;
  line-height: 1.75;
}

.thesis-wordcloud-image {
  background: #ffffff;
  border: 1px solid #e0e7f0;
  padding: 6px;
}

.thesis-wordcloud-image {
  background: #ffffff;
  border: 1px solid #e0e7f0;
  padding: 12px;
}

.thesis-wordcloud-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1080px) {
  .thesis-feature-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
Activities page
========================================================= */

.activities-section {
  background: linear-gradient(180deg, #fbfcfe, #edf2f8);
  padding: 64px 24px 78px;
}

.activity-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}

.activity-overview-card {
  display: block;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 8px 20px rgba(12, 21, 34, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.activity-overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(12, 21, 34, 0.10);
}

.activity-overview-card span {
  display: block;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.activity-overview-card strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
  letter-spacing: -0.03em;
}

.activity-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 42px;
}

.activity-feature-card {
  padding: 28px 30px;
  background:
  radial-gradient(circle at 92% 20%, rgba(216, 168, 79, 0.12), transparent 30%),
  linear-gradient(135deg, #071421, #102943);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 36px rgba(12, 21, 34, 0.12);
}

.activity-label {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.activity-feature-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.05em;
}

.activity-feature-card p:last-child {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.9;
}

.activity-block {
  margin-bottom: 42px;
}

.activity-subblock {
  margin-bottom: 26px;
}

.activity-subblock:last-child {
  margin-bottom: 0;
}

.activity-subblock h3 {
  margin: 0 0 10px;
  padding: 0 0 6px;
  border-bottom: 1px solid #c8d3e0;
  color: var(--navy-2);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.activity-list li {
  margin: 0 0 10px;
  color: #29384c;
  font-size: 13.5px;
  line-height: 1.85;
}

.activity-list li:last-child {
  margin-bottom: 0;
}

.blog-band {
  margin-top: 10px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: #eef6ff;
  border: 1px solid #c9d8ec;
  color: #143152;
}

.blog-band h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.05em;
}

.blog-band p:last-child {
  margin: 0;
  color: #41566f;
  font-size: 14px;
  line-height: 1.85;
}

.blog-button {
  min-width: 160px;
  padding: 0 18px;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .activity-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-feature-grid,
  .blog-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .activity-overview {
    grid-template-columns: 1fr;
  }
}

/* News external link */
.news-external-link {
  margin-top: 16px;
  padding: 12px 14px;
  background: #f7f9fc;
  border: 1px solid #d9e2ee;
}

.news-external-link span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.news-external-link a {
  color: #17385e;
  font-size: 13px;
  font-weight: 800;
}

/* =========================================================
   Access page: map and visit cards
   ========================================================= */

.access-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.access-map-card p,
.access-visit-note p {
  margin: 0 0 20px;
  color: #44546a;
  font-size: 14px;
  line-height: 1.9;
}

.access-visit-note {
  margin-top: 0;
  background: var(--white);
  color: var(--ink);
}

.access-visit-note p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .access-info-grid {
    grid-template-columns: 1fr;
  }
}

.news-item > span:first-child,
.news-item .tag {
  align-self: start;
  justify-self: start;
}

/* =========================================================
   Research project pages
   ========================================================= */
.project-hero {
  min-height: 520px;
  padding: 0;
  position: relative;
  color: var(--white);
  background: radial-gradient(circle at 72% 28%, rgba(216, 168, 79, 0.26), transparent 26%), linear-gradient(135deg, #071421, #102943 56%, #02060d);
  overflow: hidden;
}

.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.42;
}

.project-hero-field {
  background: radial-gradient(circle at 72% 30%, rgba(31, 199, 220, 0.20), transparent 24%), radial-gradient(circle at 82% 18%, rgba(216, 168, 79, 0.18), transparent 26%), linear-gradient(135deg, #02060d 0%, #102943 54%, #071421 100%);
}

.project-hero-overlay {
  position: relative;
  z-index: 1;
  min-height: 520px;
  display: flex;
  align-items: end;
  padding: 72px 24px;
  background: linear-gradient(90deg, rgba(2, 6, 13, 0.76), rgba(2, 6, 13, 0.24));
}

.project-kicker {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.08;
  letter-spacing: -0.08em;
}

.project-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  line-height: 2;
}

.project-page-section {
  background: linear-gradient(180deg, #fbfcfe, #edf2f8);
  padding: 54px 24px 78px;
}

.project-page-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 42px;
}

.project-page-nav a {
  display: block;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid #cad5e3;
  color: #17385e;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 20px rgba(12, 21, 34, 0.05);
}

.project-content-block {
  margin-bottom: 56px;
}

.project-section-heading {
  display: flex;
  align-items: end;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--deep);
}

.project-section-heading span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.project-section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.05em;
}

.project-text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.project-text-grid p {
  margin: 0 0 16px;
  color: #29384c;
  font-size: 14px;
  line-height: 2;
}

.project-text-grid p:last-child {
  margin-bottom: 0;
}

.project-figure-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 12px 30px rgba(12, 21, 34, 0.07);
}

.project-figure-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 42% 36%, rgba(31,199,220,0.22), transparent 24%), linear-gradient(135deg, #071421, #102943);
  color: rgba(255,255,255,0.86);
  text-align: center;
  padding: 28px;
}

.project-figure-placeholder span {
  display: block;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-figure-placeholder p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

.project-figure-caption {
  padding: 30px;
  align-self: center;
}

.project-figure-caption h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.04em;
}

.project-figure-caption p {
  margin: 0;
  color: #44546a;
  font-size: 14px;
  line-height: 1.9;
}

.project-implication-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-implication-grid article {
  padding: 24px 22px 22px;
  background: var(--white);
  border: 1px solid #cad5e3;
  box-shadow: 0 8px 20px rgba(12, 21, 34, 0.05);
}

.project-implication-grid h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.04em;
}

.project-implication-grid p {
  margin: 0;
  color: #44546a;
  font-size: 13px;
  line-height: 1.85;
}

.project-reference-list {
  display: grid;
  gap: 12px;
}

.project-reference-list p {
  margin: 0;
  color: #29384c;
  font-size: 13.5px;
  line-height: 1.85;
}

.project-reference-list a {
  color: #17385e;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .project-page-nav,
  .project-text-grid,
  .project-figure-card,
  .project-implication-grid {
    grid-template-columns: 1fr;
  }

  .project-hero,
  .project-hero-overlay {
    min-height: 440px;
  }
}

/* Project page: top research image placeholder */
.project-hero-image-placeholder {
  max-width: 760px;
  min-height: 190px;
  margin-top: 30px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 68% 36%, rgba(31, 199, 220, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.20);
  text-align: center;
}

.project-hero-image-placeholder span {
  display: block;
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.project-hero-image-placeholder p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.8;
}

/* Project page: section labels instead of ordinal numbers */
.project-section-heading span {
  min-width: 120px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .project-hero-image-placeholder {
    min-height: 150px;
  }

  .project-section-heading {
    display: block;
  }

  .project-section-heading span {
    display: block;
    margin-bottom: 6px;
  }
}

/* =========================================================
   Floating contact CTA
   ========================================================= */

.floating-contact {
  position: fixed;
  right: 18px;
  top: 52%;
  z-index: 60;
  transform: translateY(-50%);
  display: grid;
  gap: 2px;
  min-width: 112px;
  padding: 14px 12px;
  background: rgba(7, 20, 33, 0.94);
  color: var(--white);
  border: 1px solid rgba(216, 168, 79, 0.58);
  box-shadow: 0 14px 34px rgba(5, 11, 20, 0.28);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.floating-contact::after {
  content: "→";
  margin-top: 3px;
  color: var(--gold-2);
  font-size: 16px;
  line-height: 1;
}

.floating-contact:hover {
  transform: translateY(-50%) translateX(-2px);
  background: rgba(16, 41, 67, 0.98);
  border-color: var(--gold-2);
}

@media (max-width: 900px) {
  .floating-contact {
    right: 14px;
    bottom: 14px;
    top: auto;
    transform: none;
    min-width: auto;
    padding: 10px 12px;
    grid-auto-flow: column;
    align-items: center;
  }

  .floating-contact:hover {
    transform: translateY(-2px);
  }

  .floating-contact::after {
    margin-top: 0;
    margin-left: 4px;
  }
}

/* Floating contact CTA: rounded variation */
.floating-contact {
  border-radius: 18px;
  min-width: 124px;
}

@media (max-width: 900px) {
  .floating-contact {
    border-radius: 16px;
  }
}

/* Floating contact CTA: larger contact wording */
.floating-contact {
  min-width: 142px;
  padding: 18px 14px;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.floating-contact::after {
  font-size: 22px;
}

@media (max-width: 900px) {
  .floating-contact {
    font-size: 18px;
    padding: 12px 14px;
  }
}

/* Floating contact CTA: medium size with inline arrow */
.floating-contact {
  min-width: 132px;
  padding: 16px 14px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.floating-contact::after {
  content: none;
}

@media (max-width: 900px) {
  .floating-contact {
    font-size: 16px;
    padding: 11px 13px;
  }
}

.project-hero-music {
  background:
    radial-gradient(circle at 72% 30%, rgba(216, 168, 79, 0.22), transparent 25%),
    radial-gradient(circle at 22% 18%, rgba(36, 116, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #02060d 0%, #123c5d 52%, #071421 100%);
}

.project-hero-common-input {
  background:
    radial-gradient(circle at 76% 30%, rgba(31, 199, 220, 0.20), transparent 24%),
    radial-gradient(circle at 20% 18%, rgba(216, 168, 79, 0.16), transparent 26%),
    linear-gradient(135deg, #02060d 0%, #102943 50%, #071421 100%);
}

.project-hero-gaze {
  background:
    radial-gradient(circle at 70% 30%, rgba(31, 199, 220, 0.20), transparent 24%),
    radial-gradient(circle at 18% 16%, rgba(216, 168, 79, 0.16), transparent 26%),
    linear-gradient(135deg, #02060d 0%, #0b2b47 52%, #071421 100%);
}

.project-hero-performance {
  background:
    radial-gradient(circle at 72% 30%, rgba(216, 168, 79, 0.24), transparent 26%),
    radial-gradient(circle at 22% 16%, rgba(184, 15, 26, 0.14), transparent 28%),
    linear-gradient(135deg, #02060d 0%, #2b1a10 52%, #071421 100%);
}

.project-hero-laughter-health {
  background:
    radial-gradient(circle at 70% 30%, rgba(216, 168, 79, 0.24), transparent 26%),
    radial-gradient(circle at 22% 18%, rgba(31, 199, 220, 0.16), transparent 28%),
    linear-gradient(135deg, #02060d 0%, #102943 50%, #2b1a10 100%);
}

/* =========================================================
   Project hero background color accents
   ========================================================= */

/* Keep the label itself simple; color belongs to the whole hero background. */
.project-kicker {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  color: var(--gold-2);
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Shared lighting layer for project hero pages. */
.project-hero {
  background-color: #071421;
}

.project-hero-overlay {
  background:
    radial-gradient(circle at 76% 30%, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(90deg, rgba(2, 6, 13, 0.78), rgba(2, 6, 13, 0.34) 58%, rgba(2, 6, 13, 0.18));
}

/* 01: warm theater / field sensing */
.project-hero-field {
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 210, 122, 0.34), transparent 24%),
    radial-gradient(circle at 26% 20%, rgba(181, 106, 40, 0.26), transparent 26%),
    linear-gradient(135deg, #050b14 0%, #2b1a10 44%, #8f5b2a 74%, #071421 100%);
}

/* 02: blue concert / synchrony */
.project-hero-music {
  background:
    radial-gradient(circle at 78% 28%, rgba(95, 173, 255, 0.34), transparent 24%),
    radial-gradient(circle at 24% 20%, rgba(31, 199, 220, 0.22), transparent 26%),
    linear-gradient(135deg, #02060d 0%, #102943 46%, #2474ff 76%, #071421 100%);
}

/* 03: common input / modeling */
.project-hero-common-input {
  background:
    radial-gradient(circle at 78% 28%, rgba(216, 168, 79, 0.30), transparent 24%),
    radial-gradient(circle at 24% 20%, rgba(124, 74, 49, 0.26), transparent 26%),
    linear-gradient(135deg, #02060d 0%, #1b1010 44%, #7c4a31 74%, #071421 100%);
}

/* 04: gaze / video viewing */
.project-hero-gaze {
  background:
    radial-gradient(circle at 78% 28%, rgba(31, 199, 220, 0.34), transparent 24%),
    radial-gradient(circle at 24% 20%, rgba(90, 213, 230, 0.20), transparent 26%),
    linear-gradient(135deg, #02060d 0%, #0b2b47 46%, #1fc7dc 76%, #071421 100%);
}

/* 05: performance / rakugo */
.project-hero-performance {
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 218, 140, 0.38), transparent 24%),
    radial-gradient(circle at 24% 20%, rgba(184, 15, 26, 0.20), transparent 27%),
    linear-gradient(135deg, #02060d 0%, #2b1a10 44%, #d8a84f 74%, #071421 100%);
}

/* 06: laughter / health */
.project-hero-laughter-health {
  background:
    radial-gradient(circle at 78% 28%, rgba(210, 224, 239, 0.32), transparent 24%),
    radial-gradient(circle at 24% 20%, rgba(31, 199, 220, 0.18), transparent 26%),
    linear-gradient(135deg, #02060d 0%, #172033 44%, #8aa0b8 76%, #071421 100%);
}

/* Project result video */
.project-figure-video {
  min-height: 360px;
  background: #02060d;
  overflow: hidden;
}

.project-result-video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: #02060d;
}

/* Book cover images in Selected Highlights */
.highlight-image-slot.book-slot {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.book-cover-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Project 01: field experiment groups */
.project-field-experiment-group {
  margin-bottom: 24px;
}

.project-field-experiment-group:last-child {
  margin-bottom: 0;
}

.project-field-experiment-group h3 {
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #c8d3e0;
  color: var(--navy-2);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

/* =========================================================
   Random project visual on index
   ========================================================= */

.random-project-visual {
  position: relative;
  overflow: hidden;
  background: #02060d;
}

.random-project-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.random-project-visual img,
.random-project-visual video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.random-project-placeholder {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #02060d, #102943);
}

.random-project-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.34;
}

.random-project-placeholder::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(8px);
}

.random-project-label,
.random-project-placeholder-title,
.random-project-placeholder-note {
  position: relative;
  z-index: 1;
}

.random-project-label {
  color: var(--gold-2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.random-project-placeholder-title {
  max-width: 420px;
  color: var(--white);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(24px, 3.8vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.08em;
}

.random-project-placeholder-note {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

.random-project-music {
  background:
    radial-gradient(circle at 76% 24%, rgba(95, 173, 255, 0.32), transparent 24%),
    radial-gradient(circle at 20% 18%, rgba(31, 199, 220, 0.22), transparent 26%),
    linear-gradient(135deg, #02060d 0%, #102943 50%, #2474ff 100%);
}

.random-project-common-input {
  background:
    radial-gradient(circle at 76% 24%, rgba(216, 168, 79, 0.28), transparent 24%),
    radial-gradient(circle at 20% 18%, rgba(124, 74, 49, 0.28), transparent 26%),
    linear-gradient(135deg, #02060d 0%, #1b1010 50%, #7c4a31 100%);
}

.random-project-gaze {
  background:
    radial-gradient(circle at 76% 24%, rgba(31, 199, 220, 0.34), transparent 24%),
    radial-gradient(circle at 20% 18%, rgba(90, 213, 230, 0.20), transparent 26%),
    linear-gradient(135deg, #02060d 0%, #0b2b47 50%, #1fc7dc 100%);
}

.random-project-performance {
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 218, 140, 0.36), transparent 24%),
    radial-gradient(circle at 20% 18%, rgba(184, 15, 26, 0.20), transparent 26%),
    linear-gradient(135deg, #02060d 0%, #2b1a10 50%, #d8a84f 100%);
}

.random-project-laughter-health {
  background:
    radial-gradient(circle at 76% 24%, rgba(210, 224, 239, 0.30), transparent 24%),
    radial-gradient(circle at 20% 18%, rgba(31, 199, 220, 0.16), transparent 26%),
    linear-gradient(135deg, #02060d 0%, #172033 50%, #8aa0b8 100%);
}

/* =========================================================
   Expandable news list
   ========================================================= */

.news-list-collapsible .news-item:nth-child(n+5) {
  display: none;
}

.news-list-collapsible.is-expanded {
  max-height: 310px;
  overflow-y: auto;
  padding-right: 8px;
  overscroll-behavior: contain;
}

.news-list-collapsible.is-expanded .news-item:nth-child(n+5) {
  display: grid;
}

.news-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.news-toggle.more-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  padding: 0;
  color: var(--navy-2);
  font-weight: 800;
  text-align: left;
}

.news-list-collapsible.is-expanded::-webkit-scrollbar {
  width: 8px;
}

.news-list-collapsible.is-expanded::-webkit-scrollbar-track {
  background: #edf2f8;
}

.news-list-collapsible.is-expanded::-webkit-scrollbar-thumb {
  background: #b8c5d5;
}

/* Journal article thumbnail images in Selected Highlights */
.highlight-image-slot.journal-image-slot {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.journal-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Project result image */
.project-figure-image {
  min-height: 360px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.project-figure-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

.figure-credit {
  margin-top: 12px;
  color: #5f6d7d;
  font-size: 13px;
  line-height: 1.7;
}

/* Random project visual image support */
.random-project-visual img {
  background: #ffffff;
}

.random-project-visual .random-project-link:has(img) {
  background: #ffffff;
}

/* Grant concept images in Selected Highlights */
.highlight-image-slot.grant-concept-slot {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.grant-concept-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ffffff;
}

/* Framework photo covers */
.framework-visual {
  height: 190px;
}

.framework-visual.photo {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.framework-visual.photo::before,
.framework-visual.photo::after {
  display: none;
}

.framework-visual.photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

/* Individual tuning so important parts are not cropped */
.framework-visual.stage.photo img {
  object-fit: cover;
  object-position: center 56%;
}

.framework-visual.cognition.photo img {
  object-fit: cover;
  object-position: center 62%;
}

.framework-visual.model.photo {
  background: #071421;
}

.framework-visual.model.photo img {
  object-fit: contain;
  object-position: center center;
  padding: 10px 12px;
  background: #071421;
}

/* Make framework cards closer to square on the index page */
.framework-grid {
  align-items: start;
}

.framework-card {
  display: flex;
  flex-direction: column;
}

.framework-visual {
  height: auto;
  aspect-ratio: 1 / 1;
}

.framework-visual.photo img {
  width: 100%;
  height: 100%;
}

.framework-visual.stage.photo img {
  object-fit: cover;
  object-position: center 56%;
}

.framework-visual.cognition.photo img {
  object-fit: cover;
  object-position: center 62%;
}

.framework-visual.model.photo {
  background: #071421;
}

.framework-visual.model.photo img {
  object-fit: contain;
  object-position: center center;
  padding: 14px;
  background: #071421;
}
/* Anchor and fixed-header offset */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

[id] {
  scroll-margin-top: 118px;
}

/* Floating back-to-top control */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(216, 168, 79, 0.42);
  background: rgba(7, 20, 33, 0.78);
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.back-to-top:hover {
  transform: translateY(-2px);
  background: rgba(7, 20, 33, 0.94);
}

.lab-icon-mark {
  justify-self: end;
  align-self: end;
  width: 82px;
  height: 82px;
  border-radius: 22px;
  border: 1px solid rgba(216, 168, 79, 0.34);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lab-icon-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 92px;
  }

  [id] {
    scroll-margin-top: 92px;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
    min-width: 82px;
    min-height: 32px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .lab-icon-mark {
    justify-self: start;
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }
}

/* Random project result figures on index */
.random-project-visual {
  background: #ffffff;
}

.random-project-visual img {
  object-fit: contain;
  background: #ffffff;
}

.random-project-visual video {
  object-fit: cover;
}

/* Index hero: wide random project visual with full-width feature row */
.hero-inner {
  grid-template-columns: minmax(360px, 0.72fr) minmax(560px, 1.28fr);
  align-items: start;
}

.hero-copy {
  padding: 18px 0 0;
}

.visual-card.random-project-visual {
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #ffffff;
}

.visual-card.random-project-visual .random-project-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.visual-card.random-project-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.visual-card.random-project-visual video,
.visual-card.random-project-visual .hero-video {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-row {
  grid-column: 1 / -1;
  margin-top: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .visual-card.random-project-visual {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }
}

/* Index hero without mini feature row */
.hero {
  padding-bottom: 34px;
}

.hero-inner {
  padding-bottom: 24px;
}

.hero + section {
  padding-top: 42px;
}

@media (max-width: 700px) {
  .hero {
    padding-bottom: 26px;
  }

  .hero + section {
    padding-top: 34px;
  }
}

/* Simple color-matched panels for Latest Projects on index */
.project-image {
  position: relative;
  overflow: hidden;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.20), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.10));
}

.project-image.p1 {
  background: linear-gradient(180deg, #d39255 0%, #a86431 58%, #6f3a1d 100%);
}

.project-image.p2 {
  background: linear-gradient(180deg, #2f86d8 0%, #155f9c 58%, #0b2f54 100%);
}

.project-image.p3 {
  background: linear-gradient(180deg, #b1765d 0%, #714634 58%, #351f1a 100%);
}

.project-image.p4 {
  background: linear-gradient(180deg, #39b7c9 0%, #167b92 56%, #0b3446 100%);
}

.project-image.p5 {
  background: linear-gradient(180deg, #e0b55e 0%, #b38435 56%, #5a3514 100%);
}

.project-image.p6 {
  background: linear-gradient(180deg, #9aaec3 0%, #607890 56%, #263746 100%);
}

/* News archive: no category tags and full expansion */
.news-item {
  grid-template-columns: 92px 1fr;
}

.news-list.news-list-collapsible.is-expanded {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

/* Footer CST lab icon: static placement in the former WASEDA mark slot */
.footer-grid .lab-icon-mark {
  position: static;
  justify-self: end;
  align-self: end;
  width: 142px;
  height: 142px;
  min-height: 142px;
  display: grid;
  place-items: center;
  padding: 0;
  margin-right: 28px;
  transform: translateY(-6px);
  border: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  overflow: visible;
}

.footer-grid .lab-icon-mark img {
  display: block;
  width: 122px;
  height: 122px;
  object-fit: cover;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 720px) {
  .footer-grid .lab-icon-mark {
    justify-self: start;
    width: 104px;
    height: 104px;
    min-height: 104px;
    padding: 0;
    margin-right: 0;
    transform: translateY(-4px);
    border: 0;
  }

  .footer-grid .lab-icon-mark img {
    width: 88px;
    height: 88px;
  }
}


/* Members page: PI photo in a 3:4 portrait frame */
.pi-photo {
  width: 180px;
  height: 240px;
  min-height: 240px;
  overflow: hidden;
  display: block;
  margin: 0 auto;
  background: #eef3f8;
  border-radius: 14px;
}

.pi-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(0.92);
  transform-origin: center 18%;
}


/* Small note on AI-assisted image creation */
.ai-image-note {
  max-width: 1240px;
  margin: 16px auto 0;
  padding: 0 24px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  line-height: 1.6;
  text-align: right;
}

/* Strong mobile fixes: navigation and fixed buttons */
@media (max-width: 1080px) {
  .site-header .nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 12px !important;
    padding: 16px 18px 13px !important;
  }

  .site-header .nav-links {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 7px 11px !important;
    white-space: normal !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    max-width: 100% !important;
  }

  .site-header .nav-links a {
    display: inline-flex !important;
    padding: 2px 0 !important;
  }
}

@media (max-width: 700px) {
  .top-strip {
    display: none !important;
  }

  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 5000 !important;
  }

  .site-header .nav {
    padding: 12px 14px 10px !important;
    gap: 9px !important;
  }

  .brand-main {
    font-size: clamp(28px, 8.8vw, 40px) !important;
    line-height: 1.0 !important;
  }

  .brand-sub {
    margin-top: 5px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  .site-header .nav-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px 9px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
  }

  .site-header .nav-links a {
    display: inline-flex !important;
    color: rgba(255,255,255,0.84) !important;
  }

  .floating-contact {
    position: fixed !important;
    left: 12px !important;
    right: auto !important;
    bottom: 58px !important;
    top: auto !important;
    transform: none !important;
    z-index: 1900 !important;
    min-width: auto !important;
    padding: 7px 10px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.01em !important;
    grid-auto-flow: column !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .floating-contact:hover {
    transform: none !important;
  }

  .floating-contact::after {
    content: none !important;
  }

  .back-to-top {
    position: fixed !important;
    right: 12px !important;
    left: auto !important;
    bottom: 12px !important;
    z-index: 2000 !important;
    min-width: 78px !important;
    min-height: 32px !important;
    padding: 7px 10px !important;
    font-size: 11px !important;
  }
}

/* Mobile fixed buttons: align contact and top buttons at bottom */
@media (max-width: 700px) {
  .floating-contact {
    left: 12px !important;
    right: auto !important;
    bottom: 12px !important;
    top: auto !important;
    transform: none !important;
    z-index: 2000 !important;
    min-width: 112px !important;
    min-height: 32px !important;
    padding: 7px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.01em !important;
    grid-auto-flow: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }

  .floating-contact:hover {
    transform: none !important;
  }

  .floating-contact::after {
    content: none !important;
  }

  .back-to-top {
    right: 12px !important;
    left: auto !important;
    bottom: 12px !important;
    z-index: 2000 !important;
    min-width: 88px !important;
    min-height: 32px !important;
    padding: 7px 10px !important;
    font-size: 11px !important;
  }
}

/* Top strip search */
.site-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.site-search-input {
  width: 156px;
  height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  outline: none;
}

.site-search-input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.site-search-input:focus {
  border-color: rgba(240, 193, 91, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.site-search-button {
  height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(240, 193, 91, 0.50);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.site-search-button:hover {
  color: var(--gold-2);
  border-color: var(--gold-2);
}

@media (max-width: 700px) {
  .top-strip {
    display: block !important;
  }

  .top-strip-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 14px;
  }

  .top-strip-inner > span:first-child {
    display: none;
  }

  .site-search {
    width: 100%;
    justify-content: flex-end;
  }

  .site-search-input {
    width: min(62vw, 190px);
    height: 25px;
  }

  .site-search-button {
    height: 25px;
    padding: 0 9px;
  }
}
