:root {
  --ink: #17313b;
  --muted: #5a6f77;
  --navy: #0d3444;
  --teal: #087f8c;
  --teal-dark: #076470;
  --aqua: #dff4f5;
  --aqua-soft: #f2fafb;
  --line: #d6e4e7;
  --warm: #e8793d;
  --white: #ffffff;
  --shadow: 0 16px 44px rgba(13, 52, 68, 0.09);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fafb;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--warm);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  color: var(--white);
  background: linear-gradient(115deg, #0a2a38 0%, #0d4b59 68%, #087f8c 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 118px;
  padding-block: 1.35rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--white);
  text-decoration: none;
  line-height: 1.35;
}

.brand:hover {
  color: var(--white);
}

.brand-ja {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 760;
  letter-spacing: 0.04em;
}

.brand-en {
  margin-top: 0.25rem;
  color: #bfecef;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.96rem;
  letter-spacing: 0.08em;
}

.affiliation {
  max-width: 360px;
  color: #e1f5f6;
  font-size: 0.9rem;
  line-height: 1.65;
  text-align: right;
}

.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(13, 52, 68, 0.05);
}

.site-nav ul {
  display: flex;
  overflow-x: auto;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  min-width: 128px;
  padding: 0.9rem 1.15rem 0.8rem;
  color: var(--ink);
  border-bottom: 3px solid transparent;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal-dark);
  background: var(--aqua-soft);
  border-bottom-color: var(--teal);
}

main {
  min-height: 55vh;
}

.hero {
  padding: 3.3rem 0 2.4rem;
  background:
    radial-gradient(circle at 92% 15%, rgba(8, 127, 140, 0.14), transparent 27%),
    linear-gradient(180deg, #ffffff 0%, #eff8f9 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.45;
}

h1 {
  margin: 0 0 1.25rem;
  color: var(--navy);
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  letter-spacing: 0.015em;
}

.hero-lead {
  margin: 0;
  color: #39545e;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.15rem;
  color: var(--white);
  background: var(--teal-dark);
  border: 1px solid var(--teal-dark);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  color: var(--white);
  background: var(--warm);
  border-color: var(--warm);
}

.button-secondary {
  color: var(--teal-dark);
  background: transparent;
}

.button-secondary:hover {
  color: var(--white);
}

.hero-photo {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 9px solid var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-photo figcaption {
  padding: 0.5rem 0.65rem 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

.section {
  padding: 4.2rem 0;
}

.section-white {
  background: var(--white);
}

.section-aqua {
  background: var(--aqua-soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.7rem;
}

.section-heading h2,
.page-heading h1 {
  margin: 0;
  color: var(--navy);
}

.section-heading h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.section-heading p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  padding: 1.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 9px 28px rgba(13, 52, 68, 0.05);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 800;
}

.card h3 {
  margin: 0.9rem 0 0.55rem;
  color: var(--navy);
  font-size: 1.17rem;
}

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

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

.news-list li {
  display: grid;
  grid-template-columns: 9.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}

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

.news-list p {
  margin: 0;
}

.page-hero {
  padding: 3.15rem 0 2.25rem;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 0, rgba(64, 208, 214, 0.25), transparent 30%),
    linear-gradient(115deg, #0d3444, #0b6572);
}

.page-heading {
  max-width: 830px;
}

.page-heading h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.page-heading p {
  margin: 0.7rem 0 0;
  color: #d8f1f2;
  font-size: 1.05rem;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1.2rem;
  margin: 0 0 2.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 9px 28px rgba(13, 52, 68, 0.05);
}

.anchor-nav a {
  padding: 0.45rem 0.8rem;
  background: var(--aqua-soft);
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
}

.research-block {
  scroll-margin-top: 1rem;
  padding: 2rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
}

.research-block:last-child {
  border-bottom: 0;
}

.research-kicker {
  margin: 0 0 0.25rem;
  color: var(--warm);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.research-block h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.research-block > p,
.research-copy p {
  max-width: 880px;
  color: #39545e;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: start;
  gap: 2rem;
  margin-top: 1.6rem;
}

.figure-card {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.figure-card img {
  width: 100%;
  background: #ffffff;
}

.ampd-image-crop {
  overflow: hidden;
  aspect-ratio: 442 / 78;
  background: #ffffff;
}

.ampd-image-crop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.figure-card figcaption {
  padding: 0.7rem 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.55;
}

.species-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.species-grid .figure-card img {
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}

.structure-grid .figure-card img,
.method-grid .figure-card img {
  aspect-ratio: 1.35 / 1;
  object-fit: contain;
  padding: 0.4rem;
}

.structure-library-groups {
  display: grid;
  gap: 2.4rem;
  margin-top: 1.8rem;
}

.structure-library-overview {
  margin: 0 0 2rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.structure-library-overview img {
  display: block;
  width: 100%;
  height: auto;
}

.structure-library-group h3 {
  padding-bottom: 0.45rem;
  margin: 0 0 1rem;
  color: var(--navy);
  border-bottom: 2px solid var(--teal);
  font-size: 1.25rem;
}

.structure-library-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.structure-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(13, 52, 68, 0.06);
}

.structure-card > img {
  display: block;
  width: 100%;
  height: 180px;
  padding: 0.75rem;
  object-fit: contain;
  background: #f7fbfc;
  border-bottom: 1px solid var(--line);
}

.structure-card-body {
  padding: 1rem;
}

.structure-card h4 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.45;
}

.structure-reference-list {
  padding: 0;
  margin: 0.85rem 0 0;
  list-style: none;
}

.structure-reference-list li + li {
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.structure-journal {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.structure-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.structure-links a {
  display: inline-block;
  padding: 0.24rem 0.5rem;
  color: var(--teal-dark);
  background: var(--aqua);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}

.structure-links a:hover,
.structure-links a:focus-visible {
  color: var(--white);
  background: var(--teal-dark);
}

.structure-links .structure-doi {
  color: #36526a;
  background: #e6edf3;
}

.result-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.result-pair img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.result-label {
  padding: 0.35rem;
  color: var(--navy);
  background: var(--aqua-soft);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1.1rem 0 0;
  list-style: none;
}

.tag-list li {
  padding: 0.3rem 0.65rem;
  color: var(--teal-dark);
  background: var(--aqua);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.collaboration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.collaboration-grid article {
  padding: 1.15rem 1.25rem;
  background: var(--aqua-soft);
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
}

.collaboration-grid h3,
.collaboration-grid p {
  margin: 0;
}

.collaboration-grid h3 {
  color: var(--navy);
  font-size: 1.02rem;
}

.collaboration-grid p {
  margin-top: 0.25rem;
  color: var(--muted);
}

.member-section + .member-section {
  margin-top: 2.6rem;
}

.member-section h2 {
  padding-bottom: 0.45rem;
  margin: 0 0 1rem;
  color: var(--navy);
  border-bottom: 2px solid var(--teal);
}

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

.person-card {
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.person-card-profile {
  display: grid;
  grid-template-columns: 133px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
}

.person-photo {
  display: block;
  width: 133px;
  height: 148px;
  max-width: 133px;
  object-fit: cover;
  border-radius: 10px;
}

.person-card h3,
.person-card p {
  margin: 0;
}

.person-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
}

.person-role {
  color: var(--teal-dark);
  font-weight: 750;
}

.person-detail {
  margin-top: 0.5rem !important;
  color: var(--muted);
}

.email {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.atmark {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-inline: 0.08em;
  vertical-align: -0.18em;
}

.publication-year {
  scroll-margin-top: 1rem;
  margin-top: 2.8rem;
}

.publication-year h2 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.45rem;
  margin: 0 0 0.4rem;
  color: var(--navy);
  border-bottom: 2px solid var(--teal);
  font-size: 1.55rem;
}

.year-count {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

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

.publication {
  padding: 1.15rem 0.2rem;
  border-bottom: 1px solid var(--line);
}

.publication-citation {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: 0.97rem;
  line-height: 1.72;
}

.doi-link,
.doi-missing,
.badge {
  display: inline-block;
  padding: 0.16rem 0.52rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 750;
  text-decoration: none;
}

.doi-link {
  color: var(--teal-dark);
  background: var(--aqua);
}

.doi-link:hover,
.doi-link:focus-visible {
  color: var(--white);
  background: var(--teal-dark);
}

.doi-missing {
  color: var(--muted);
  background: #edf1f2;
}

.badge {
  margin-top: 0.55rem;
  margin-left: 0;
  color: #93400f;
  background: #fff0e2;
}

.badge-book {
  color: #42535a;
  background: #edf1f2;
}

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

.link-card {
  display: block;
  padding: 1.25rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
}

.link-card:hover {
  color: var(--teal-dark);
  border-color: #7fc2c8;
  box-shadow: 0 9px 28px rgba(13, 52, 68, 0.07);
}

.link-card strong,
.link-card span {
  display: block;
}

.link-card span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.link-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.link-actions a {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  color: var(--teal-dark);
  background: var(--aqua);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.link-actions a:hover,
.link-actions a:focus-visible {
  color: var(--white);
  background: var(--teal-dark);
}

.contact-section {
  max-width: 760px;
  padding-top: 2rem;
  margin-top: 2.7rem;
  border-top: 1px solid var(--line);
}

.contact-section h2 {
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.contact-section p {
  margin: 0.55rem 0 0;
}

.contact-email {
  font-size: 1.05rem;
  font-weight: 700;
}

.gallery-list {
  display: grid;
  gap: 3.2rem;
}

.gallery-entry {
  padding-bottom: 3.2rem;
  border-bottom: 1px solid var(--line);
}

.gallery-entry:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.gallery-entry time {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--teal-dark);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.gallery-entry h2 {
  margin: 0 0 1.25rem;
  color: var(--navy);
  font-size: clamp(1.25rem, 2.7vw, 1.75rem);
}

.gallery-entry-note {
  margin: -0.65rem 0 1.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.gallery-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid-large {
  grid-template-columns: repeat(2, minmax(0, 480px));
  justify-content: center;
  gap: 1.25rem;
}

.gallery-grid-large .gallery-figure {
  align-self: start;
}

.gallery-grid-large .gallery-figure-narrow {
  width: min(100%, 400px);
  justify-self: center;
}

.gallery-grid-large > .gallery-figure:last-child:nth-child(odd) {
  width: min(100%, 480px);
  grid-column: 1 / -1;
  justify-self: center;
}

.gallery-figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(13, 52, 68, 0.06);
}

.gallery-figure > img,
.gallery-image-pair > img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-figure figcaption {
  padding: 0.8rem 1rem 0.95rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-feature {
  max-width: 660px;
}

.gallery-compact {
  max-width: 520px;
}

.gallery-portrait {
  max-width: 480px;
}

.gallery-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.gallery-rotate-contained {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #f4f8f9;
}

.gallery-rotate-contained img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 75%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
}

.gallery-rotate-fill {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #f4f8f9;
}

.gallery-rotate-fill img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 133.5%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%) rotate(90deg);
  transform-origin: center;
}

.back-to-top {
  margin-top: 2.4rem;
  text-align: right;
}

.site-footer {
  padding: 2.6rem 0;
  color: #d7e9ec;
  background: var(--navy);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #bfecef;
}

.copyright {
  margin-top: 0.55rem !important;
  color: #9fbdc3;
  font-size: 0.8rem;
}

@media (max-width: 840px) {
  .header-inner,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .affiliation {
    text-align: left;
  }

  .site-nav ul {
    overflow-x: auto;
  }

  .site-nav a {
    min-width: max-content;
  }

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

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

  .hero-photo {
    order: -1;
  }

  .cards,
  .species-grid,
  .method-grid,
  .structure-library-grid,
  .gallery-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 104px;
  }

  .hero,
  .section {
    padding-block: 2.6rem;
  }

  .cards,
  .species-grid,
  .method-grid,
  .structure-library-grid,
  .collaboration-grid,
  .people-grid,
  .link-grid,
  .result-pair,
  .gallery-grid,
  .gallery-grid-three,
  .gallery-image-pair {
    grid-template-columns: 1fr;
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .page-hero {
    padding-block: 2.5rem 1.9rem;
  }
}

@media print {
  .site-nav,
  .hero-actions,
  .anchor-nav,
  .back-to-top {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }

  .site-header,
  .page-hero,
  .site-footer {
    color: #000;
    background: #fff;
  }

  .brand,
  .brand-en,
  .page-heading h1,
  .page-heading p {
    color: #000;
  }
}
