:root {
  --bg: #08090b;
  --panel: #101216;
  --panel-strong: #15191f;
  --ink: #f4f1eb;
  --muted: #b8b2a8;
  --line: rgba(244, 241, 235, 0.16);
  --accent: #b89b5e;
  --accent-soft: rgba(184, 155, 94, 0.16);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.85;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 82px;
  padding: 16px clamp(20px, 4vw, 64px);
  background: rgba(8, 9, 11, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  width: 154px;
  padding: 6px 0;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 42px);
  flex: 1;
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.global-nav a {
  position: relative;
  color: rgba(244, 241, 235, 0.78);
  transition: color 180ms ease;
}

.global-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.global-nav a:hover,
.global-nav a.current {
  color: var(--white);
}

.global-nav a:hover::after,
.global-nav a.current::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: clamp(12px, 1.6vw, 22px);
  color: rgba(244, 241, 235, 0.52);
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.language-switch a {
  color: rgba(244, 241, 235, 0.62);
}

.language-switch a.current {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--line);
}

.nav-toggle span {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

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

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: 94vh;
  padding: 138px clamp(20px, 5vw, 80px) 64px;
  overflow: hidden;
  place-items: end start;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.74) 44%, rgba(8, 9, 11, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.1) 48%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media picture {
  display: block;
}

.hero-media img {
  object-fit: cover;
  filter: saturate(0.72) contrast(1.12) brightness(0.82);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.hero .eyebrow {
  font-size: clamp(1.08rem, 1.65vw, 1.38rem);
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 5.1vw, 5.1rem);
  font-weight: 700;
  line-height: 1.08;
}

.hero h1.nowrap-title {
  white-space: nowrap;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: rgba(244, 241, 235, 0.72);
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.8rem);
  font-weight: 500;
}

.hero-copy {
  max-width: 680px;
  margin: 34px 0 0;
  color: rgba(244, 241, 235, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 22px;
  color: var(--ink);
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;
  font-weight: 700;
  background: var(--accent-soft);
  border: 1px solid rgba(184, 155, 94, 0.58);
  transition: background 180ms ease, transform 180ms ease;
}

.hero-link:hover {
  background: rgba(184, 155, 94, 0.28);
  transform: translateY(-2px);
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 80px);
}

.section-dark {
  background: linear-gradient(180deg, #08090b, #11151a);
}

.section-light {
  color: #1c1b19;
  background: #ece8df;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.news-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.news-item dt {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;
  font-weight: 700;
}

.news-item dt span {
  padding: 2px 10px;
  color: var(--accent);
  font-size: 0.78rem;
  border: 1px solid rgba(184, 155, 94, 0.38);
}

.news-item dd {
  margin: 0;
}

.news-item a {
  color: var(--accent);
  border-bottom: 1px solid rgba(184, 155, 94, 0.42);
}

.access-layout .section-label {
  color: #746037;
}

.access-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.map-frame {
  min-height: 360px;
  overflow: hidden;
  background: #d8d0c2;
  border: 1px solid rgba(28, 27, 25, 0.18);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
}

.access-text {
  display: grid;
  align-content: center;
  padding: clamp(24px, 4vw, 44px);
  background: #11151a;
  color: var(--ink);
}

.access-text p {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.access-text p:first-child {
  border-top: 1px solid var(--line);
}

.site-footer {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 42px 20px;
  color: rgba(244, 241, 235, 0.62);
  background: #050607;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer a {
  color: var(--ink);
}

.credit a {
  color: rgba(244, 241, 235, 0.46);
  font-size: 0.82rem;
}

.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: rgba(8, 9, 11, 0.72);
  border: 1px solid var(--line);
  place-items: center;
}

.page-hero {
  padding: 148px clamp(20px, 5vw, 80px) 72px;
  background:
    linear-gradient(135deg, rgba(184, 155, 94, 0.16), rgba(8, 9, 11, 0) 44%),
    linear-gradient(180deg, #101216, #08090b);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;
  font-size: clamp(2.25rem, 5.4vw, 5.1rem);
  line-height: 1;
}

.page-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(244, 241, 235, 0.76);
}

.page-hero .eyebrow {
  font-size: clamp(1.18rem, 1.9vw, 1.58rem);
}

.content-section {
  padding: clamp(64px, 8vw, 110px) clamp(20px, 5vw, 80px);
  background: var(--bg);
}

.content-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

.news-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 180ms ease, transform 180ms ease;
}

.news-card:hover {
  border-color: rgba(184, 155, 94, 0.55);
  transform: translateY(-4px);
}

.news-card figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--panel-strong);
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
  transition: transform 240ms ease;
}

.news-card:hover img {
  transform: scale(1.04);
}

.news-card-title {
  display: block;
  padding: 20px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.65;
}

.news-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  background: var(--panel-strong);
}

.article-figure.news-placeholder {
  min-height: clamp(200px, 28vw, 360px);
  border: 1px solid var(--line);
}

.data-table {
  width: 100%;
  margin: 0 0 34px;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--line);
}

.data-table caption {
  padding: 18px 22px;
  color: var(--accent);
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  text-align: left;
  background: var(--panel-strong);
  border-bottom: 1px solid var(--line);
}

.data-table th,
.data-table td {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table th {
  width: 28%;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
}

.data-table td {
  color: rgba(244, 241, 235, 0.82);
}

.data-table a,
.article-body a,
.doi-list a {
  color: var(--accent);
  border-bottom: 1px solid rgba(184, 155, 94, 0.42);
}

.research-intro {
  margin: 0 0 54px;
  padding-bottom: 34px;
  color: rgba(244, 241, 235, 0.82);
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}

.research-topic {
  margin-bottom: 58px;
  padding-bottom: 58px;
  border-bottom: 1px solid var(--line);
}

.research-topic h2 {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.72rem);
  line-height: 1.55;
  background: transparent;
  border: 0;
}

.research-body {
  padding: 18px 0 0;
}

.research-body p {
  margin: 0;
  color: rgba(244, 241, 235, 0.82);
}

.doi-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 16px 0 0;
  font-size: 0.92rem;
}

.research-figure {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 4px;
  margin: 26px 0 0;
  text-align: center;
}

.research-figure img:only-of-type {
  grid-column: 1 / -1;
}

.research-figure img {
  width: 100%;
  height: 320px;
  padding: clamp(12px, 2vw, 22px);
  object-fit: contain;
  background: transparent;
  border: 0;
}

.research-figure.compact-figure {
  column-gap: 0;
}

.research-figure.compact-figure img {
  padding-inline: 2px;
}

.research-figure figcaption {
  grid-column: 1 / -1;
  margin-top: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-layout {
  width: min(880px, 100%);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-family: "Roboto Condensed", "Noto Sans JP", sans-serif;
  font-weight: 700;
}

.article-meta span {
  padding: 2px 10px;
  color: var(--accent);
  border: 1px solid rgba(184, 155, 94, 0.38);
}

.article-figure {
  margin: 0;
}

.article-figure img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.article-figure-full {
  max-width: 800px;
  margin-inline: auto;
}

.article-figure-full img {
  display: block;
  height: auto;
  max-height: none;
  border: 1px solid var(--line);
}

.article-figure-full figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.article-body {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-body p {
  margin: 0;
  color: rgba(244, 241, 235, 0.84);
  font-size: 1.05rem;
}

.article-back {
  margin: 42px 0 0;
}

.article-back a {
  color: var(--accent);
  border-bottom: 1px solid rgba(184, 155, 94, 0.42);
}


@media (max-width: 840px) {
  .site-header {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
    order: 3;
    margin-left: 10px;
  }

  .global-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    padding: 20px;
    background: rgba(8, 9, 11, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .global-nav.is-open {
    display: grid;
    gap: 18px;
  }

  .language-switch {
    order: 2;
    margin-left: 0;
  }

  .hero {
    min-height: 88vh;
    padding: 112px 24px 64px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(8, 9, 11, 0.74), rgba(8, 9, 11, 0.4)),
      linear-gradient(0deg, rgba(8, 9, 11, 0.76), rgba(8, 9, 11, 0.04));
  }

  .hero-media img {
    object-position: 82% center;
    filter: saturate(0.92) contrast(1.04) brightness(1.06);
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  .hero h1.nowrap-title {
    font-size: clamp(1.35rem, 7.1vw, 1.95rem);
  }

  .section-heading,
  .news-item,
  .access-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .data-table,
  .data-table tbody,
  .data-table caption,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table caption {
    caption-side: top;
    white-space: normal;
  }

  .data-table th {
    border-bottom: 0;
  }

  .research-figure img {
    height: 260px;
  }

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

  .news-link-item dt {
    display: none;
  }
}

@media (max-width: 520px) {
  .brand {
    width: 128px;
  }

  .hero h1 {
    font-size: clamp(1.35rem, 7.1vw, 1.95rem);
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 300px;
  }
}
