﻿/* ========================================
   Seno Laboratory Site v2 Style
   Content-compatible redesign for all pages
======================================== */

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5f7fb;
  --bg-soft: #eef3f9;
  --surface: #ffffff;
  --surface-2: #f8fbff;
  --ink: #0f172a;
  --ink-soft: #334155;
  --line: #dbe5f0;
  --line-strong: #c2d4e8;
  --brand-900: #0f2f4d;
  --brand-700: #1d4c75;
  --brand-500: #2f74aa;
  --accent: #0f766e;
  --shadow-sm: 0 8px 20px rgba(15, 47, 77, 0.08);
  --shadow-md: 0 16px 34px rgba(15, 47, 77, 0.12);
  --shadow-lg: 0 26px 56px rgba(15, 47, 77, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --header-height: 74px;
  --max-width: 1180px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 14px);
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  line-height: 1.8;
  min-height: 100vh;
  background:
    radial-gradient(1400px 800px at 0 -20%, #dce9f7 0%, transparent 60%),
    radial-gradient(1200px 700px at 100% 0, #e5f2ec 0%, transparent 58%),
    linear-gradient(180deg, #f7f9fc 0%, #f1f5fa 100%);
  padding-top: var(--header-height);
}

a {
  color: var(--brand-700);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--brand-500);
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-height);
  z-index: 1200;
  border-bottom: 1px solid rgba(219, 229, 240, 0.6);
  background: rgba(247, 250, 255, 0.86);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo a {
  color: var(--brand-900);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.site-logo .logo-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--brand-700);
  opacity: 0.9;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-list a {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--brand-900);
  background: linear-gradient(180deg, #eff6fe 0%, #e6f0fa 100%);
}

.hamburger {
  display: none;
  border: none;
  background: var(--surface);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  padding: 9px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: var(--brand-900);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  margin: 22px auto 8px;
  max-width: calc(var(--max-width) + 40px);
  border-radius: var(--radius-lg);
  padding: 94px 26px;
  text-align: center;
  color: #f8fbff;
  background: linear-gradient(130deg, #0c2c47 0%, #1b567e 58%, #2a7cab 100%);
  box-shadow: var(--shadow-lg);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
  pointer-events: none;
}

.hero::before {
  width: 280px;
  height: 280px;
  background: rgba(173, 224, 255, 0.24);
  top: -90px;
  right: -70px;
}

.hero::after {
  width: 320px;
  height: 320px;
  background: rgba(139, 248, 199, 0.15);
  bottom: -120px;
  left: -80px;
}

.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.hero .hero-en {
  position: relative;
  z-index: 1;
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  letter-spacing: 0.08em;
  opacity: 0.92;
  margin-bottom: 28px;
}

.hero .hero-catch {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 2;
  opacity: 0.97;
}

.hero .hero-affiliation {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  font-size: 0.86rem;
  opacity: 0.83;
}

/* Common sections */
.section {
  padding: 64px 24px;
}

.section-alt {
  background: transparent;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  display: inline-block;
  margin-bottom: 34px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: var(--shadow-sm);
  color: var(--brand-900);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Research cards */
.research-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.research-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.research-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #b7d1ea;
}

.card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #e8f2fb;
}

.card-body {
  padding: 20px;
}

.research-card h3 {
  color: var(--brand-900);
  font-size: 1.06rem;
  margin-bottom: 8px;
  line-height: 1.45;
}

.research-card p {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* News */
.news-scroll {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  padding: 6px 20px;
}

.news-scroll::-webkit-scrollbar {
  width: 8px;
}

.news-scroll::-webkit-scrollbar-track {
  background: #edf3fa;
  border-radius: 999px;
}

.news-scroll::-webkit-scrollbar-thumb {
  background: #bdd0e3;
  border-radius: 999px;
}

.news-list {
  list-style: none;
}

.news-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #e7eef6;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  min-width: 112px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
}

.news-text {
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.75;
}

/* Access */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.access-info,
.access-map {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.access-info {
  padding: 20px 22px;
}

.access-info dt {
  margin-top: 14px;
  color: var(--brand-900);
  font-weight: 700;
  font-size: 0.91rem;
}

.access-info dt:first-child {
  margin-top: 0;
}

.access-info dd {
  margin-top: 3px;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.8;
}

.access-map {
  overflow: hidden;
  padding: 14px;
}

.access-map img,
.access-map iframe {
  width: 100%;
  border-radius: 12px;
}

/* Research page */
.research-overview {
  margin-bottom: 54px;
}

.research-overview p,
.research-theme-text p,
.research-theme-text ul {
  color: #415166;
  font-size: 0.94rem;
  line-height: 1.9;
}

.research-overview-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0 12px;
}

.research-overview-images figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.research-overview-images figcaption {
  padding: 11px 13px;
  font-size: 0.83rem;
  color: #4f6076;
  line-height: 1.6;
}

.research-overview-note {
  margin-top: 8px;
}

.research-theme {
  margin-bottom: 56px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.research-theme:last-child {
  margin-bottom: 0;
}

.research-theme h2 {
  font-size: 1.3rem;
  color: var(--brand-900);
  margin-bottom: 16px;
  border-left: 5px solid var(--brand-500);
  padding-left: 12px;
}

.research-theme-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.research-theme-content.reverse {
  direction: rtl;
}

.research-theme-content.reverse > * {
  direction: ltr;
}

.research-theme-text ul {
  margin: 10px 0 10px 20px;
}

.research-theme-text li {
  margin-bottom: 4px;
}

.research-images {
  display: grid;
  gap: 10px;
}

.research-images img,
.research-images video {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.research-images .img-caption {
  text-align: center;
  color: #5b6c80;
  font-size: 0.8rem;
  margin-top: -2px;
}

.research-gif-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.research-gif-row img {
  object-fit: contain;
  max-height: 190px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

/* Members */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 44px;
}

.member-card,
.faculty-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.member-card {
  overflow: hidden;
  text-align: center;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.member-photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #edf4fb;
}

.member-body {
  padding: 12px 14px 14px;
}

.member-name {
  color: var(--brand-900);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.member-role {
  color: #475569;
  font-size: 0.82rem;
}

.member-email {
  color: var(--brand-700);
  font-size: 0.75rem;
  margin-top: 5px;
  word-break: break-all;
}

.member-link {
  font-size: 0.78rem;
  margin-top: 6px;
}

.faculty-card {
  display: flex;
  gap: 30px;
  padding: 28px;
  margin-bottom: 22px;
}

.faculty-cards {
  display: grid;
  gap: 20px;
  margin-bottom: 44px;
}

.faculty-photo {
  width: 168px;
  height: 204px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ecf4fa;
}

.faculty-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-info h3 {
  color: var(--brand-900);
  font-size: 1.26rem;
  margin-bottom: 4px;
}

.faculty-title {
  color: var(--brand-700);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.faculty-info p {
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.faculty-info dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  font-size: 0.88rem;
}

.faculty-info dt {
  color: var(--brand-900);
  font-weight: 700;
}

.faculty-info dd {
  color: #475569;
}

.members-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.members-table th,
.members-table td {
  padding: 12px 14px;
  text-align: left;
  font-size: 0.9rem;
}

.members-table th {
  background: linear-gradient(180deg, #1e4f79 0%, #184266 100%);
  color: #f8fbff;
  font-weight: 600;
}

.members-table td {
  border-bottom: 1px solid #e6eef7;
}

.members-table tr:last-child td {
  border-bottom: none;
}

.members-table tr:hover td {
  background: #f4f9ff;
}

/* Publications */
.pub-filter,
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.pub-filter button,
.gallery-filter button {
  border: 1px solid #b9cee3;
  background: #ffffff;
  color: var(--brand-700);
  border-radius: 999px;
  padding: 8px 16px;
  font: 600 0.86rem/1 "Noto Sans JP", sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pub-filter button:hover,
.gallery-filter button:hover,
.pub-filter button.active,
.gallery-filter button.active {
  background: linear-gradient(180deg, #2f74aa 0%, #245f8e 100%);
  color: #ffffff;
  border-color: #2f74aa;
}

.pub-year {
  margin-bottom: 30px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.pub-year-summary {
  list-style: none;
  cursor: pointer;
  color: var(--brand-900);
  font-weight: 700;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pub-year-summary::before {
  content: ">";
  color: var(--brand-700);
  display: inline-block;
  transition: transform 0.2s ease;
}

.pub-year[open] > .pub-year-summary::before {
  transform: rotate(90deg);
}

.pub-year-summary::-webkit-details-marker {
  display: none;
}

.pub-year-content {
  padding-top: 10px;
}

.pub-category {
  margin-bottom: 16px;
}

.pub-category h3 {
  color: var(--brand-700);
  font-size: 0.99rem;
  margin-bottom: 8px;
}

.pub-list {
  list-style: none;
}

.pub-list li {
  border-bottom: 1px solid #e8eff7;
  padding: 10px 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #334155;
}

.pub-list li:last-child {
  border-bottom: none;
}

.pub-authors {
  color: #4f6278;
}

.pub-title {
  color: var(--ink);
  font-weight: 700;
}

.pub-venue {
  color: var(--brand-700);
  font-style: italic;
}

/* Introduction */
.intro-page {
  max-width: 980px;
}

.intro-lead,
.intro-text p,
.intro-block p,
.intro-list,
.intro-career-note {
  color: #3f5065;
}

.intro-lead {
  font-size: 0.95rem;
  line-height: 1.95;
  margin-bottom: 38px;
}

.intro-heading {
  font-size: 1.3rem;
  color: var(--brand-900);
  margin: 46px 0 15px;
  padding-left: 12px;
  border-left: 5px solid var(--brand-500);
}

.intro-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.intro-feature.reverse {
  direction: rtl;
}

.intro-feature.reverse > * {
  direction: ltr;
}

.intro-text h3,
.intro-block h3 {
  color: var(--brand-700);
  font-size: 1.03rem;
  margin-bottom: 8px;
}

.intro-text p,
.intro-block p,
.intro-list {
  font-size: 0.93rem;
  line-height: 1.9;
}

.intro-media img,
.intro-life-image img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.intro-block {
  margin-bottom: 16px;
}

.intro-schedule-list {
  display: grid;
  gap: 9px;
}

.intro-schedule-item {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-left: 5px solid var(--brand-500);
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 9px 11px;
  color: #334155;
  font-size: 0.92rem;
}

.intro-schedule-item span {
  min-width: 42px;
  display: inline-block;
  color: var(--brand-900);
  font-weight: 700;
}

.intro-list {
  margin-left: 18px;
}

.intro-list-columns {
  columns: 2;
  column-gap: 28px;
}

.intro-career-list {
  columns: 3;
  column-gap: 26px;
}

/* Alumni */
.alumni-section .alumni-group {
  margin-bottom: 14px;
}

.alumni-affiliation {
  color: var(--brand-900);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.alumni-list {
  list-style: none;
  padding-left: 14px;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.85;
}

.alumni-details {
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.alumni-summary {
  list-style: none;
  cursor: pointer;
  background: linear-gradient(180deg, #f7fbff 0%, #ecf4fd 100%);
  color: var(--brand-900);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alumni-summary::before {
  content: ">";
  display: inline-block;
  transition: transform 0.2s ease;
}

.alumni-details[open] > .alumni-summary::before {
  transform: rotate(90deg);
}

.alumni-summary::-webkit-details-marker {
  display: none;
}

.alumni-detail-content {
  padding: 12px 18px 16px;
}

.alumni-degree {
  display: inline-block;
  margin: 12px 0 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf2fc;
  color: var(--brand-700);
  font-size: 0.83rem;
  font-weight: 700;
}

.alumni-degree:first-child {
  margin-top: 0;
}

.alumni-link-section {
  margin-top: 44px;
  text-align: center;
}

.alumni-link-section a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2e74a9 0%, #235e8d 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow-sm);
}

/* Gallery */
.gallery-note {
  color: #475569;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.gallery-year {
  display: none;
}

.gallery-year.active {
  display: block;
}

.gallery-year h2 {
  color: var(--brand-900);
  font-size: 1.16rem;
  margin-bottom: 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 198px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.gallery-grid img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-empty {
  color: #5a6b80;
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  margin-top: 26px;
  background: linear-gradient(140deg, #0e2c47 0%, #194c73 100%);
  color: rgba(244, 250, 255, 0.84);
  padding: 44px 24px 28px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-info h3,
.footer-links h3 {
  color: #f7fbff;
  margin-bottom: 11px;
  font-size: 1rem;
}

.footer-info p {
  line-height: 1.75;
  margin-bottom: 4px;
  font-size: 0.86rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 7px;
}

.footer-links a,
.footer-info a {
  color: rgba(234, 246, 255, 0.9);
}

.footer-links a:hover,
.footer-info a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(220, 236, 247, 0.25);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(226, 241, 250, 0.65);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero {
    animation: hero-fade 0.9s ease both;
  }

  .section {
    animation: section-rise 0.45s ease both;
  }

  @keyframes hero-fade {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes section-rise {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Responsive */
@media (max-width: 1020px) {
  .research-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .research-theme-content,
  .research-theme-content.reverse,
  .access-grid,
  .intro-feature,
  .intro-feature.reverse,
  .research-overview-images {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

  .intro-career-list {
    columns: 2;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .section {
    padding: 44px 16px;
  }

  .header-inner {
    padding: 0 14px;
  }

  .hamburger {
    display: inline-block;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 12px;
    right: 12px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list a {
    padding: 11px 12px;
    border-radius: 10px;
  }

  .hero {
    margin: 12px 12px 0;
    border-radius: 18px;
    padding: 64px 16px;
  }

  .research-cards,
  .member-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    flex-direction: column;
    gap: 4px;
  }

  .news-date {
    min-width: 0;
  }

  .faculty-card {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .faculty-photo {
    width: 150px;
    height: 184px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro-list-columns,
  .intro-career-list {
    columns: 1;
  }
}

@media (max-width: 520px) {
  .section-title {
    width: 100%;
    text-align: center;
  }

  .research-theme {
    padding: 16px;
  }

  .gallery-grid img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .members-table th,
  .members-table td {
    padding: 9px 8px;
    font-size: 0.83rem;
  }
}
