:root {
  --ink: #152842;
  --muted: #586f8a;
  --paper: #edfaff;
  --surface: #ffffff;
  --teal: #0796d8;
  --teal-dark: #075da8;
  --copper: #d06f4b;
  --sky: #d7f2ff;
  --sky-soft: #f6fcff;
  --line: #bfe6fb;
  --shadow: 0 18px 48px rgba(7, 93, 168, 0.13);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  text-size-adjust: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 48px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(237, 250, 255, 0.95);
  box-shadow: 0 10px 32px rgba(7, 93, 168, 0.11);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
}

.brand-name,
.brand-sub {
  display: block;
}

.brand-name {
  font-weight: 800;
  line-height: 1.25;
}

.brand-sub {
  font-size: 0.78rem;
  opacity: 0.76;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
}

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

.nav-link-strong {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 5px 12px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  filter: saturate(1.04) brightness(1.05);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 27, 58, 0.88), rgba(7, 93, 168, 0.58) 40%, rgba(28, 157, 218, 0.2) 72%),
    linear-gradient(0deg, rgba(5, 27, 58, 0.2), rgba(28, 157, 218, 0.08));
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding-top: 82px;
  padding-bottom: 54px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 12px;
  color: #c2f1ff;
  font-size: 0.78rem;
}

.detail-hero .eyebrow {
  font-size: 0.82rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 10em;
  font-size: clamp(3rem, 10vw, 6.9rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-title-main {
  max-width: 11em;
  font-size: clamp(2.8rem, 7.6vw, 5.4rem);
}

.hero-subtitle {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.18rem, 2.55vw, 1.95rem);
  font-weight: 900;
  line-height: 1.35;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.38;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 760px;
  margin: 24px 0 8px;
  font-size: clamp(1.28rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.48;
}

.hero-lead-ja {
  max-width: none;
  width: max-content;
  white-space: nowrap;
  overflow-wrap: normal;
}

.hero-copy {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: #e9f8ff;
  color: var(--teal-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.section-pad {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.intro-copy {
  max-width: 820px;
}

.intro-copy > p {
  margin: 0;
  font-size: 1.12rem;
}

.research,
.members,
.access {
  background: var(--sky-soft);
}

.research {
  padding-bottom: clamp(30px, 4.5vw, 50px);
}

.research-detail {
  padding-top: clamp(24px, 3.6vw, 40px);
}

.research-detail .section-heading {
  margin-bottom: 20px;
}

.research,
.research-detail,
.news,
.members,
.achievements,
.access {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100vw - var(--max)) / 2));
  padding-right: max(18px, calc((100vw - var(--max)) / 2));
}

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

.research-card {
  min-height: 275px;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #ecf9ff);
}

.research-card.accent {
  background: linear-gradient(180deg, #fbfeff, #ddf3ff);
  border-color: #b8e0f5;
}

.card-index {
  display: block;
  margin-bottom: 22px;
  color: var(--copper);
  font-size: 0.86rem;
  font-weight: 900;
}

.research-card p {
  margin: 0;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 5px 10px;
  border-radius: 999px;
  background: #e1f5ff;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.research-detail {
  background: var(--paper);
}

.research-map {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.map-core,
.map-items,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.map-core {
  padding: 22px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: #fff;
}

.map-core span {
  display: block;
  margin-bottom: 12px;
  color: #c2f1ff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.map-core strong {
  display: block;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.map-core p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.map-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff, #effaff);
}

.map-items > strong {
  grid-column: 1 / -1;
  padding: 4px 4px 2px;
  color: var(--copper);
  font-size: 0.92rem;
  font-weight: 900;
}

.map-items span {
  display: grid;
  place-items: center;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(225, 245, 255, 0.72);
  color: var(--teal-dark);
  font-size: 0.95rem;
  font-weight: 900;
  text-align: center;
}

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

.project-card {
  min-height: 250px;
  padding: 20px;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-card > p:not(.role) {
  margin-bottom: 0;
  color: var(--muted);
}

.project-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 900;
}

.card-link::after {
  content: " ->";
  color: var(--copper);
}

.detail-hero {
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 132px max(18px, calc((100vw - var(--max)) / 2)) 64px;
  background:
    linear-gradient(135deg, rgba(5, 27, 58, 0.94), rgba(7, 150, 216, 0.78)),
    radial-gradient(circle at 76% 22%, rgba(194, 241, 255, 0.28), transparent 36%),
    var(--teal-dark);
  color: #fff;
}

.detail-hero-inner {
  max-width: 880px;
}

.detail-hero h1 {
  max-width: none;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
}

.detail-hero p:last-child {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.detail-section {
  background: var(--paper);
}

.detail-visual {
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(7, 93, 168, 0.08);
  overflow: hidden;
}

.detail-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-visual-contain img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

.detail-inline-figure {
  margin: 24px 0 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 93, 168, 0.08);
  overflow: hidden;
}

.detail-inline-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.preop-planning-figure {
  position: relative;
}

.preop-manual-label {
  position: absolute;
  top: 0.8%;
  right: 2.3%;
  color: #000;
  font-size: clamp(0.72rem, 1.9vw, 1.85rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.detail-inline-figure figcaption {
  padding: 12px 16px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.36fr);
  gap: 20px;
  align-items: start;
}

.detail-layout-wide {
  grid-template-columns: 1fr;
}

.detail-main,
.detail-side {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-main {
  padding: clamp(24px, 4vw, 42px);
}

.detail-main h2,
.detail-side h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.detail-main h2.case-heading-spaced {
  margin-top: 30px;
}

.detail-main p {
  color: var(--muted);
}

.detail-side {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 30px 0;
}

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

.process-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #effaff);
}

.process-list span {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin: 10px 0 8px;
}

.process-list p {
  margin: 0;
  font-size: 0.92rem;
}

.detail-list {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.detail-list li + li {
  margin-top: 8px;
}

.topic-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

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

.topic-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #effaff);
}

.topic-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 900;
}

.topic-grid h3 {
  margin-bottom: 10px;
  font-size: 1.04rem;
}

.topic-grid p {
  margin: 0;
  font-size: 0.95rem;
}

.topic-card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--teal-dark);
  font-weight: 900;
  text-decoration: none;
}

.topic-card-link::after {
  content: " ->";
  color: var(--copper);
}

.topic-card-link:hover {
  color: var(--copper);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.pill-list li {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e1f5ff;
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 900;
}

.detail-side p {
  margin-bottom: 0;
  color: var(--muted);
}

.detail-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 2px solid var(--line);
}

.detail-nav::before {
  content: "関連ページを見る";
  grid-column: 1 / -1;
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: 1.12rem;
  font-weight: 900;
}

.detail-nav.research-topic-nav::before {
  content: "他のテーマを見る";
}

html[lang="en"] .detail-nav::before {
  content: "Related Pages";
}

html[lang="en"] .detail-nav.research-topic-nav::before {
  content: "Other Research Topics";
}

.detail-nav a {
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.detail-nav a:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

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

.news-list article {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 22px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.news-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.news-list time {
  color: var(--teal);
  font-weight: 900;
}

.news-list p {
  margin: 0;
}

.news .news-list {
  gap: 0;
}

.news .news-list article {
  gap: 18px;
  padding: 12px 0;
}

.news .news-list p {
  line-height: 1.55;
}

.list-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.list-panel + .list-panel {
  margin-top: 18px;
}

.list-panel h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.page-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-list article:last-child {
  padding-bottom: 0;
}

.member-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: 20px;
  align-items: stretch;
}

.faculty {
  display: grid;
  gap: 12px;
}

.faculty article {
  display: grid;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.faculty-summary {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.faculty p {
  margin: 0;
  color: var(--muted);
}

.faculty-photo {
  width: 112px;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #def5ff);
  overflow: hidden;
}

.faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.faculty-photo.is-hasitha img {
  object-fit: cover;
  object-position: center top;
  transform: scale(1.14);
  transform-origin: center top;
}

.faculty-photo.is-placeholder {
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  font-size: 1.3rem;
  font-weight: 900;
}

.faculty-body {
  min-width: 0;
}

.faculty-profile-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 10px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.faculty-profile-link::after {
  content: " ->";
}

.faculty-profile-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.faculty-bio {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.faculty-bio h4 {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 0.96rem;
}

.faculty-bio ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.member-directory {
  display: grid;
  gap: 18px;
}

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

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

.student-group-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #effaff);
}

.student-group-card h3 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 1.55rem;
}

.student-count {
  margin: 2px 0 14px;
  color: var(--copper);
  font-weight: 900;
}

.student-group-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.role {
  color: var(--copper) !important;
  font-size: 0.84rem;
  font-weight: 900;
}

.students-panel {
  display: grid;
  gap: 12px;
}

.students-panel h3 {
  margin: 0;
  color: var(--teal-dark);
  font-size: 1.05rem;
}

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

.student-groups div {
  display: grid;
  place-items: center;
  min-height: 120px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
}

.student-groups span {
  color: #c9f1ff;
  font-weight: 800;
}

.student-groups strong {
  font-size: 2.35rem;
  line-height: 1;
}

.members .text-link {
  display: inline-block;
  margin-top: 24px;
}

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

.link-grid a {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f0fbff);
  font-weight: 900;
  text-decoration: none;
}

.link-grid a::after,
.text-link::after {
  content: " ->";
  color: var(--copper);
}

.link-grid a:hover {
  border-color: var(--copper);
  box-shadow: var(--shadow);
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

address,
.route {
  min-height: 220px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-style: normal;
}

address a {
  display: inline-block;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 900;
}

.route p {
  margin: 0;
  color: var(--muted);
}

.route-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.text-link {
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

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

.publication-year-group {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f6fcff);
}

.publication-year-group h2 {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.publication-year-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.publication-list-item {
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
}

.publication-list-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.publication-list-item:last-child {
  padding-bottom: 0;
}

.publication-list-item h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
}

.publication-list-item p {
  margin: 0;
  color: var(--muted);
}

.publication-list-item p + p {
  margin-top: 6px;
}

.publication-text {
  color: var(--ink) !important;
}

.publication-meta {
  color: var(--teal) !important;
  font-size: 0.86rem;
  font-weight: 900;
}

.publication-list-item > a,
.empty-state a {
  display: inline-block;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.publication-links a {
  margin-top: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e1f5ff;
  color: var(--teal-dark);
  font-size: 0.86rem;
}

.empty-state {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--sky-soft);
  color: var(--muted);
}

.empty-state p {
  margin: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 26px clamp(18px, 4vw, 48px);
  background: #064f8f;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 16px;
    background: rgba(5, 27, 58, 0.62);
    backdrop-filter: blur(14px);
  }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    font-size: 0.82rem;
  }

  .site-nav a {
    min-height: 34px;
    display: grid;
    place-items: center;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
    white-space: normal;
  }

  .site-header.is-scrolled .site-nav a,
  .site-header.is-open .site-nav a {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.72);
  }

  .hero-content {
    padding-top: 158px;
  }

  .research-grid,
  .research-map,
  .detail-layout,
  .member-layout,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }

  .process-list,
  .topic-grid,
  .detail-nav {
    grid-template-columns: 1fr;
  }

  .member-list,
  .project-grid,
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 74vh;
  }

  .hero-lead-ja {
    width: auto;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .detail-hero {
    min-height: 420px;
    padding-top: 168px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 27, 58, 0.9), rgba(7, 93, 168, 0.68)),
      linear-gradient(0deg, rgba(5, 27, 58, 0.26), rgba(28, 157, 218, 0.08));
  }

  .hero-actions,
  .section-heading.split {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .student-groups,
  .student-directory,
  .member-list,
  .project-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .faculty-summary {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .faculty-photo {
    width: 76px;
  }
}
