@import url("https://fonts.googleapis.com/css2?family=Allura&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(32, 60, 120, 0.35), transparent 48%),
    radial-gradient(circle at 75% 18%, rgba(24, 46, 96, 0.32), transparent 45%),
    radial-gradient(circle at 48% 80%, rgba(18, 34, 72, 0.38), transparent 50%),
    #0a1428;
  color: #e6ecff;
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.6;
}

:root {
  --header-height: 76px;
}

#page {
  width: 100%;
  margin: 0;
  padding: 0 clamp(24px, 4vw, 60px);
  box-sizing: border-box;
}

#pageBody {
  margin-top: 0;
  padding-top: var(--header-height);
}

#pageBody.member-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 48px);
  align-items: start;
}

a {
  color: #8fc9ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: #f1f6ff;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 5px;
  background:  rgba(15, 27, 52, 1);
  gap: 32px;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;

  pointer-events: none;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  padding-left: clamp(16px, 3vw, 48px);
}

.site-header__logo {
  width: 45px;
  height: auto;
  filter: brightness(1.1);
}

.site-header__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  line-height: 1.2;
}

.site-header__lab {
  font-size: 32px;
  font-weight: 550;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.site-header__affiliation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-header__affiliation-line {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: none;
  white-space: nowrap;
}

.site-header__affiliation-line--department {
  font-size: 14px;
  letter-spacing: 0.1em;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 30px;
}

.site-header__nav-list {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__nav-link {
  position: relative;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: inherit;
  font-weight: 600;
  padding-bottom: 6px;
}

.site-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #74b5ff 0%, #9b7bff 100%);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.2s ease;
}

.site-header__nav-link:hover::after,
.site-header__nav-link:focus::after {
  transform: scaleX(1);
}

.site-header__locale {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.site-header__locale-link {
  color: inherit;
  padding: 2px 4px;
}

.site-header__locale-link.is-active {
  font-weight: bold;
  border-bottom: 2px solid #8bc9ff;
}

.site-header__locale-separator {
  color: rgba(161, 191, 255, 0.75);
}

.hero {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 17 / 9.8;
  min-height: auto;
  padding-top: 0;
  border-radius: 0;
  overflow: hidden;
  background: #05080f;
  box-shadow: 0 24px 60px rgba(7, 12, 26, 0.55);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero__track {
  display: block;
  width: 100%;
  height: 100%;
}


.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: none;
  animation: none;
  transition: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(80px, 12vw, 180px) clamp(24px, 6vw, 80px);
  background: linear-gradient(115deg, rgba(5, 12, 28, 0.045) 0%, rgba(5, 12, 28, 0.045) 60%, rgba(5, 12, 28, 0.045) 100%);
  pointer-events: none;
}

.hero__title {
  display: block;
  text-align: center;
  margin: 0 auto;
  font-family: "Allura", cursive;   
  font-weight: 400;
  letter-spacing: -0.11em;          
  line-height: 1.2;                
  font-size: clamp(90px, 10vw, 200px);
  gap: 0;
  text-shadow:
    0 0 10px rgba(18, 35, 80, 0.28),
    0 10px 22px rgba(0, 0, 0, 0.38);
  animation: hero-write 2s ease forwards;
  position: relative;
  top: -75px;
  padding-right: 0.25em;
}

.hero__letter {
  display: inline-block;                
  opacity: 0;                           
  transform-origin: left bottom;
  animation: hero-letter 1.2s ease-out forwards;  
  animation-delay: calc(var(--char-index) * 0.18s);
  transform: translateY(14px) scale(0.98) skewX(-4deg);
}

.hero__letter--gap{
  margin-left: 0.25em;
}

.hero__title br {
  flex-basis: 100%;
  height: 0;
}

@keyframes hero-write {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  20% {
    clip-path: inset(0 80% 0 0);
    opacity: 1;
  }
  80% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

.hero__letter--space {
  width: 0.25em;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    animation: none;
    opacity: 1;
    transform: scale(1.02);
  }
}

.hero__subtitle {
  position: absolute;
  bottom: clamp(48px, 9vw, 120px);
  right: clamp(48px, 12vw, 180px);
  margin: 0;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: 0.18em;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-weight: 600;
  color: transparent;
  background-image: linear-gradient(90deg, #f6f0ff 0%, #a7c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 12px rgba(15, 26, 58, 0.55);
  text-align: right;
}

.hero__controls {
  position: absolute;
  bottom: clamp(24px, 6vw, 70px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  pointer-events: auto;
}

.hero__control {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(230, 239, 255, 0.6);
  background: rgba(230, 239, 255, 0.25);
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero__control.is-active {
  background: rgba(230, 239, 255, 0.85);
  transform: scale(1.15);
}

.hero__control:focus-visible {
  outline: 2px solid rgba(168, 204, 255, 0.85);
  outline-offset: 2px;
}

@keyframes hero-slide {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }

  8% {
    opacity: 1;
    transform: scale(1.04);
  }

  30% {
    opacity: 1;
    transform: scale(1.0);
  }

  38% {
    opacity: 0;
    transform: scale(1.06);
  }

  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes hero-letter {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(0.9) skewX(-10deg);
    filter: blur(3px);
  }

  55% {
    opacity: 1;
    transform: translateY(0) scale(1.05);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes hero-zoom {
  0% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1.15);
  }
}


.page-title {
  position: relative;
  padding: 0em 0.1em;
  margin-bottom: 50px;
  margin-top: -40px;
}

.page-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: '';
  border-radius: 2px;
  background: linear-gradient(90deg, #82bbfc 0%, #9b7bff 100%);
}


.section-title {
  margin: 0 0 28px;
  font-size: 25px;
  letter-spacing: 0.12em;
  color: #f4f8ff;
  display: inline-block;
  padding-bottom: 1px;
  border-bottom: 20px solid rgba(78, 222, 250, 0.9);
}

.about,
.news,
.message,
.contact-access {
  margin: 0;
  width: 100%;
}

.section-card,
.about__inner,
.news__inner {
  background: rgba(9, 21, 44, 0.55);
  border-radius: 0;
  padding: clamp(40px, 8vw, 80px) clamp(20px, 60vw, 60px);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px rgba(4, 9, 20, 0.4);
}

.section-card p,
.about__inner p {
  margin: 0;
  font-size: 27px;
  line-height: 1.9;
  color: rgba(230, 236, 255, 0.88);
}

.publication-heading-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 18px;
  margin: 0 auto 28px;
  background: rgba(18, 36, 68, 0.75);
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.publication-heading {
  margin: 0;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: 0.12em;
  color: #f7fbff;
}

.publication-card {
  text-align: left;
}

.research-visuals {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: stretch;
}

.research-visuals__image {
  width: min(1400px, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  margin: 0 auto;
}

.research-visuals__caption {
  text-align: center;
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: 0.08em;
  color: rgba(230, 236, 255, 0.9);
  margin: clamp(8px, 1.5vw, 14px) auto;
}

.research-list {
  margin: 8px 0 0;
  padding-left: 1.4em;
  display: grid;
  gap: 2px;
  list-style: disc outside;
}

.research-list li {
  font-size: 24px;
  line-height: 1.8;
  color: rgba(230, 236, 255, 0.9);
}

.research-list li::marker {
  color: #111;
}

.pub-listing {
  color: rgba(230, 236, 255, 0.92);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.pub-listing h1,
.pub-listing h2 {
  color: #f7fbff;
  margin: clamp(18px, 2.5vw, 28px) 0 clamp(10px, 1.8vw, 18px);
}

.pub-listing ul {
  margin: 0 0 clamp(18px, 3vw, 26px);
  padding-left: 1.4em;
  color: inherit;
}

.pub-listing li {
  margin-bottom: clamp(8px, 1.5vw, 14px);
}

.pub-listing a {
  color: #bcd6ff;
}

.pub-listing a:hover,
.pub-listing a:focus {
  color: #dce9ff;
}

.about__inner .about__lead {
  font-size: var(--about-lead-size, 45px);
  line-height: var(--about-lead-line-height, 1.3);
  font-weight: 590;
}

.about__lead-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  column-gap: 24px;
}

.about__cta {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--about-cta-offset, 60px);
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: #f4f8ff;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(120deg, rgba(90, 166, 255, 0.18), rgba(80, 120, 200, 0.08));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.about__cta:hover,
.about__cta:focus {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  background: linear-gradient(120deg, rgba(110, 190, 255, 0.25), rgba(90, 140, 230, 0.18));
}


.section-card a,
.about__inner a {
  color: #a6ccff;
}

.about__topics {
  margin: 80px auto 100px;
  text-align: center;
}

.about__topics img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
  height: auto;
  border-radius: 6px;
}

.about__youtube {
  margin: 80px auto 1px;
  max-width: 900px; 
  width: 100%;
}

.about__youtube iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(4, 9, 20, 0.45);
}

.section-card a:hover,
.section-card a:focus,
.about__inner a:hover,
.about__inner a:focus {
  color: #f3f3f3;
}


.member-card {
  display: grid;
  grid-template-columns: clamp(180px, 24vw, 260px) 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
  padding: 30px;
}

.member-card__photo {
  display: flex;
  align-items: center;
}

.member-card__photo img {
  width: 100%;
  height: auto;
  max-height: 280px;        
  aspect-ratio: 3.1 / 4;
  object-fit: cover;
}

.member-card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.member-card__name {
  margin: 0 0 2px;
  font-size: 24px;
  letter-spacing: 0.14em;
  color: rgba(240, 246, 255, 0.95);
  padding-bottom: 5px;
  border-bottom: 2px solid rgba(230, 236, 255, 0.35);
}

.member-card__label {
  font-size: clamp(17px, 2.2vw, 20px);
  letter-spacing: 0.1em;
  color: #ffffff;
  min-width: 140px;
}

.member-card__meta {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.8;
  color: rgba(230, 236, 255, 0.92);
}

.member-card__meta a {
  color: #a6ccff;
}

.member-card__meta a:hover,
.member-card__meta a:focus {
  color: #dce9ff;
}

.member-card__links {
  margin: 6px 0 0;
  padding-left: 1.1em;
  list-style: disc outside;
  display: grid;
  gap: 6px;
}

.member-card__career {
  font-size: 240px;
  margin-top: 10px;
  padding-top: 10px;
  margin-bottom: 0;
  grid-column: 1 / -1;
}

.member-card__career-title {
  margin: 0 0 8px;
  font-size: 25px;
  letter-spacing: 0.08em;
  color: rgba(240, 246, 255, 0.9);
}



.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.student-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: transparent;
  border-radius: 0;
  padding: 15px 0;
}

.student-card__photo img {
  width: 130px;
  aspect-ratio: 3.3 / 4;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 1px;
}

.student-card__body {
  padding: 4px 12px 4px 1px;
  display: grid;
  gap: 6px;
}

.student-card__name {
  margin: 0;
  margin-bottom: 2px;
  font-size: 14px;
  letter-spacing: 0.01em;
  color: rgba(240, 246, 255, 0.94);
  padding-bottom: 3px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
}

.student-card__information {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(240, 246, 255, 0.94);
}


@media (max-width: 640px) {
  .student-card {
    flex-direction: column;
    align-items: stretch;
  }

  .student-card__photo img {
    width: 100%;
  }
}

.almuni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.almuni-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: transparent;
  border-radius: 0;
  padding: 15px 0;
}

.almuni-card__body {
  padding: 4px 12px 4px 1px;
  display: grid;
  gap: 6px;
}

.almuni-card__name {
  margin: 0;
  margin-bottom: 2px;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: rgba(240, 246, 255, 0.94);
  padding-bottom: 3px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
}

.almuni-card__information {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: rgba(240, 246, 255, 0.94);
}


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

  .member-card__photo img {
    max-height: 320px;
  }

  .member-card__label {
    min-width: 0;
    display: block;
    margin-bottom: 2px;
  }
}


.news__heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.news__scroll-list {
  display: grid;
  gap: 18px;
  max-height: 430px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
}

.news-item {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 8px 12px;
  height: 230px;
  background: rgba(20, 38, 72, 0.78);
  border: 1.5px solid rgba(30, 69, 161, 0.35);
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(3, 10, 24, 0.28);
  overflow: hidden;
  overflow-x: hidden;
}

.news-item__body-en {
  margin-top: 6px;
  color: #666;
  font-size: 0.92em;
  line-height: 1.6;
}

.news-item__thumb {
  width: 200px;
  height: 200px;
  aspect-ratio: 1 / 1;
  align-self: center;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
}

.news-item__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.news-item__body {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
}

.news-item__body time {
  display: block;
  margin-left: -30px;
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.news-item__body p {
  margin: 0;
  margin-left: -30px;
  width: auto;
  max-width: 100%;
  font-size: 20px !important;
  line-height: 1.6;
  color: rgba(238, 243, 255, 0.92);
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  overflow: visible;
  border: none !important;
  outline: none !important;
}

.news-item__body a {
  color: #a6ccff;
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 3px;
}

.news-item:hover {
  transform: translateY(-2px);
  background: rgba(28, 52, 96, 0.84);
  box-shadow: 0 18px 34px rgba(3, 10, 24, 0.38);
}

.news-item:hover .news-item__thumb img {
  transform: scale(1.03);
}



.publication-list {
  margin: 3px 0 60px;
  padding-left: 1.6em;
  gap: 1px;
  list-style: disc outside; 
}

#pageBody .publication-list {
  list-style: disc outside;
}

.publication-list li {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(230, 236, 255, 0.9);
  list-style: inherit;
}

.publication-list li {
  color: #ffffff;
}

.publication-list li::marker {
  color: #fff;
}

.activitiy-list {
  margin: 80px 0 0;
  padding-left: 1.4em;
  display: grid;
  gap: 2px;
  list-style: disc outside;
}


#pageBody .activity-list {
  list-style: disc outside;
}

.activity-list li {
  font-size: 24px;
  line-height: 1.5;
  color: rgba(230, 236, 255, 0.9);
  list-style: inherit;
  font-weight: bold;
}

.activity-list li {
  color: #ffffff;
}

.activity-list li::marker {
  color: #fff;
}




.section-card .activity_content {
  margin: 6px 0 3px;
  font-size: 22px;
  line-height: 1.8;
  color: rgba(250, 251, 253, 0.9);
}


.contact-access__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 3vw, 32px);
  margin: 0 auto;
  max-width: clamp(560px, 80vw, 1080px);
}

.contact-access__item {
  background: rgba(7, 43, 109, 0.569);
  border: 3px solid rgba(190, 210, 255, 0.25);
  border-radius: 16px;
  padding: clamp(28px, 4.5vw, 42px);
  box-shadow: 0 16px 30px rgba(4, 9, 20, 0.35);
  width: 100%;
  max-width: 700px;
  margin: 0;
  text-align: center;
}


.contact-access__title {
  margin: 0 0 12px;
  font-size: 30px;
  text-decoration: underline;
  letter-spacing: 0.12em;
  color: rgba(241, 244, 249, 0.9);
}

.contact-access__item p {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.8;
  color: rgba(234, 239, 249, 0.85);
}

.contact-access__item a {
  color: #a6ccff;
}

.contact-access__item a:hover,
.contact-access__item a:focus {
  color: #d7e7ff;
}

.contact-map {
  margin: clamp(24px, 5vw, 40px) auto 0;
  width: 100%;
  max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(4, 9, 20, 0.35);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 50vw, 520px);
  border: 0;
}

.page-hero {
  position: relative;
  margin: 0;
  padding: clamp(80px, 14vw, 180px) 0 clamp(40px, 10vw, 120px);
}

.page-hero__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(180px, 32vh, 320px);
  background: linear-gradient(135deg, rgba(9, 20, 38, 0.8), rgba(9, 20, 38, 0.4));
  border-radius: 20px;
  box-shadow: 0 28px 60px rgba(4, 9, 20, 0.45);
  overflow: hidden;
  position: relative;
}

.page-hero__inner::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(100, 160, 255, 0.25), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(164, 115, 255, 0.2), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
}

.page-hero__title {
  position: relative;
  font-size: clamp(42px, 10vw, 96px);
  letter-spacing: 0.4em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(240, 246, 255, 0.92);
  text-shadow:
    0 0 30px rgba(90, 140, 255, 0.35),
    0 0 12px rgba(20, 40, 82, 0.6);
  white-space: nowrap;
}

.related-sites {
  margin: 0;
  width: 100%;
}

.related-sites__inner {
  padding: clamp(40px, 8vw, 80px) clamp(20px, 6vw, 60px);
}

.related-sites__grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 82px;
  margin: 0;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.related-sites__card {
  display: flex;
  flex-direction: column;
  background: rgba(35, 46, 65, 0.55);
  border-radius: 5px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(5, 12, 26, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  max-width: 320px;
  width: 100%;
  flex: 0 0 clamp(220px, 26vw, 320px);
  margin: 0;
}

.related-sites__card img {
  display: block;
  width: 100%;
  aspect-ratio: 11/3;
  height: auto;
  object-fit: cover;
}


.related-sites__label {
  padding: clamp(12px, 1.4vw, 14px);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: rgb(241, 241, 241);
  text-align: center;
  white-space: nowrap;
}

.related-sites__card:hover,
.related-sites__card:focus {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(5, 12, 26, 0.55);
}

.related-sites__card:focus {
  outline: 2px solid rgba(168, 204, 255, 0.65);
  outline-offset: 4px;
}

/* =========================
   Album pages
   ========================= */

.album-page .section-card {
  min-height: calc(100vh - var(--header-height));
}

.album-back {
  margin: 0 0 28px;
  font-size: 16px !important;
  line-height: 1.6;
}

.album-back a {
  color: #a6ccff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.album-page .main,
.album-page .thumb {
  margin-top: 24px;
}

.album-page .main img,
.album-page .thumb img {
  max-width: 100%;
  height: auto;
}

.album-page .thumb {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* =========================
  Member message page
   ========================= */

.section-card .member-message__text {
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.section-card .member-message__signature {
  font-size: 24px;
  line-height: 1.8;
  text-align: right;
  margin-top: 40px;
}