:root {
  --ink: #172d3d;
  --navy: #244f79; /* Materials Science & Quantum Physics */
  --muted: #566773;
  --teal: #206a61;
  --line: #d5dddf;
  --paper: #fcfcf9;
  --soft: #f0f3f0;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --width: 1160px;
  --header-offset: 120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.75 var(--sans); text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
h2 { font-size: 34px; }
h3 { font-size: 18px; line-height: 1.5; font-weight: 600; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: #8c9c9f; transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--teal); text-decoration-color: var(--teal); }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; border-radius: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.wrap { width: min(var(--width), calc(100% - 80px)); margin-inline: auto; }
.narrow { max-width: 850px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 10px; }
.eyebrow { font: 600 11px/1.6 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-block: 9px; font-size: 14px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link > span:not(.sr-only) { font-size: 20px; line-height: 1; }

/* Shared identity and navigation. */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(252,252,249,.98); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px 28px; padding-block: 18px; }
.header-identity { display: flex; align-items: center; gap: 28px; min-width: 0; }
.brand { font: 28px/1.25 var(--serif); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.header-profile { font-size: 12px; line-height: 1.6; color: var(--muted); flex-shrink: 0; }
.header-profile a { text-underline-offset: .15em; }
nav#primary-nav { display: flex; align-items: center; gap: 26px; }
nav#primary-nav a { padding-block: 10px; font-size: 14px; line-height: 1.4; font-weight: 500; white-space: nowrap; text-decoration: none; border-bottom: 2px solid transparent; }
nav#primary-nav a:hover, nav#primary-nav a[aria-current] { color: var(--teal); border-bottom-color: var(--teal); }
.menu-toggle { display: none; background: transparent; border: 1px solid #a4b3b5; padding: 7px 12px; color: var(--ink); }

/* Home: compact introduction, strong pillar headings, quiet achievement links. */
.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; padding: 32px 0 30px; }
.hero h1 { color: var(--navy); font-size: clamp(42px,5.2vw,64px); line-height: 1.1; letter-spacing: -.04em; }
.hero h1 > span { color: var(--teal); }
.hero-bio { border-left: 1px solid var(--line); padding-left: 25px; }
.hero-statement { max-width: 44ch; font-size: 15px; line-height: 1.75; }
.hero-scholarly { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 12px; font-size: 14px; color: var(--ink); }
.hero-scholarly a { white-space: nowrap; text-decoration: underline; text-underline-offset: .2em; }
.achievements-heading { color: var(--ink); font-size: 12px; margin-bottom: 16px; }
.two-pillars { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 52px; }
.pillar { min-width: 0; border-top: 3px solid var(--ink); padding-top: 17px; }
.pillar.ai { border-color: var(--teal); }
.pillar h2 { font-size: 28px; line-height: 1.25; margin-bottom: 22px; }
.pillar.ai h2 { color: var(--teal); }
.milestones article { border-top: 1px solid var(--line); padding: 18px 0; }
.milestones article:first-child { border-top: 0; padding-top: 0; }
.milestones h3 { max-width: 39ch; font-size: 16px; line-height: 1.55; font-weight: 500; letter-spacing: 0; }
.pillar > .text-link { margin-top: 2px; }
.section-block { padding: 58px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 135px minmax(0,1fr); gap: 36px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-meta { display: flex; flex-direction: column; align-items: start; gap: 5px; color: var(--muted); font-size: 13px; }
.news-meta time { font-variant-numeric: tabular-nums; }
.news-category { font-size: 12px; }
.news-role { font-size: 12px; line-height: 1.5; font-weight: 600; color: var(--teal); margin-bottom: 5px; }
.news-item h3 { font-size: 17px; line-height: 1.55; font-weight: 600; }
.news-headline-link { text-decoration: none; }
.news-headline-link:hover { text-decoration: underline; }
.news-headline-link::after { content: ' \2197'; color: var(--muted); font-size: .8em; white-space: nowrap; }
.deadline { color: var(--teal); font-size: 13px; margin-top: 7px; }
.deadline.closed { color: var(--muted); }

/* Research overview and continuous detail sections. */
.research-gateways { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 52px; padding-top: 36px; margin-bottom: 48px; }
.research-gateway { border-top: 3px solid var(--ink); padding-top: 19px; min-width: 0; }
.research-gateway.ai { border-color: var(--teal); }
.research-gateway h2 { font-size: 28px; line-height: 1.25; min-height: 2.5em; }
.research-gateway.ai h2 { color: var(--teal); }
.research-gateway .research-figure { margin-top: 22px; height: 215px; display: flex; align-items: center; justify-content: center; }
.research-gateway .research-figure img { width: 100%; max-height: 181px; object-fit: contain; }
.research-gateway figcaption { display: none; }
.research-gateway > p { font-size: 15px; color: var(--muted); margin: 18px 0 5px; line-height: 1.75; }
.research-group { border-top: 2px solid var(--ink); padding-top: 30px; }
.research-group.ai { border-color: var(--teal); }
.research-group > h2 { font-size: 34px; line-height: 1.25; max-width: 950px; margin-bottom: 36px; }
.research-group.ai > h2 { color: var(--teal); }
/* Research detail index: sticky and clickable on larger screens only. */
.research-body-layout {
  display: grid;
  grid-template-columns: 192px minmax(0,1fr);
  gap: 42px;
  align-items: stretch;
}
.research-sidebar { min-width: 0; align-self: stretch; }
.research-sidebar-nav {
  position: sticky;
  top: calc(var(--header-offset) + 14px);
  max-height: calc(100vh - var(--header-offset) - 28px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--soft);
  border-top: 2px solid var(--navy);
  padding: 18px 14px 22px;
  scrollbar-width: thin;
}
.research-nav-heading { margin: 0 4px 20px; }
.research-nav-section + .research-nav-section {
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.research-nav-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 6px 8px;
  border-left: 2px solid transparent;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
  text-decoration: none;
}
.research-nav-section.ai .research-nav-group { color: var(--teal); }
.research-nav-index { font-size: 11px; line-height: 1.3; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.research-nav-list { margin: 5px 0 0; padding: 0; list-style: none; }
.research-nav-list a {
  display: block;
  padding: 7px 8px 7px 14px;
  border-left: 2px solid transparent;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.research-nav-group:hover, .research-nav-list a:hover { background: rgba(255,255,255,.7); }
.research-nav-section.materials a.is-active { color: var(--navy); border-left-color: var(--navy); }
.research-nav-section.ai a.is-active { color: var(--teal); border-left-color: var(--teal); }
.research-sidebar-nav a.is-active { background: rgba(255,255,255,.75); font-weight: 700; }
.research-body-main { min-width: 0; }
@media (min-width: 981px) and (max-width: 1120px) {
  .research-body-layout { grid-template-columns: 174px minmax(0,1fr); gap: 28px; }
  .research-body-layout .detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .research-body-layout #pibo .detail-grid .research-figure { width: 100%; }
}
@media (max-width: 980px) {
  .research-body-layout { display: block; }
  .research-sidebar { display: none; }
}
@media print {
  .research-body-layout { display: block; }
  .research-sidebar { display: none; }
}

/* Quiet section indexes: sans-serif numerals, separate from editorial headings. */
.pillar h2 .section-number,
.research-gateway h2 .section-number,
.research-group > h2 .section-number {
  display: block;
  margin-bottom: 8px;
  font: 600 12px/1.25 var(--sans);
  letter-spacing: .13em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.pillar.ai h2 .section-number,
.research-gateway.ai h2 .section-number,
.research-group.ai > h2 .section-number { color: var(--teal); }
.pillar h2 .section-title,
.research-gateway h2 .section-title,
.research-group > h2 .section-title { display: block; text-wrap: balance; }
/* Consistent deep blue identity for the 01 / materials research pillar. */
.pillar.materials,
.research-gateway.materials,
.research-group.materials { border-top-color: var(--navy); }
.pillar.materials h2,
.research-gateway.materials h2,
.research-group.materials > h2 { color: var(--navy); }
.pillar.materials h2 .section-number,
.research-gateway.materials h2 .section-number,
.research-group.materials > h2 .section-number { color: var(--navy); }


.research-detail { padding-bottom: 42px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.research-detail:last-child { margin-bottom: 44px; border-bottom: 0; padding-bottom: 0; }
.detail-heading { max-width: 970px; }
.research-subheading { font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--teal); margin-bottom: 10px; }
.detail-heading h3 { font: 400 29px/1.28 var(--serif); letter-spacing: -.02em; }
.detail-summary { font-size: 17px; line-height: 1.7; color: var(--teal); max-width: 880px; margin: 18px 0 26px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 44px; align-items: start; }
.prose { min-width: 0; }
.prose p { font-size: 16px; line-height: 1.82; margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: 30px; margin: 34px 0 16px; }
.research-figure { background: #fff; border: 1px solid var(--line); padding: 16px; }
.research-figure img { margin-inline: auto; }
.research-figure figcaption { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px; font-size: 12px; line-height: 1.65; color: var(--muted); }
.research-references { display: grid; grid-template-columns: 128px minmax(0,1fr); gap: 24px; padding-top: 17px; margin-top: 26px; border-top: 1px solid var(--line); }
.research-references h4 { font-size: 11px; line-height: 1.7; font-weight: 600; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; }
.research-references ul { list-style: none; padding: 0; margin: 0; }
.research-references li { font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.research-references li:last-child { margin-bottom: 0; }
.journal-meta { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
#pibo .detail-grid { grid-template-columns: 1fr; gap: 22px; }
#pibo .detail-grid .prose { max-width: 900px; }
#pibo .detail-grid .research-figure { width: 70%; margin-inline: auto; }
#pibo .research-figure img { width: 100%; }
#weyl .detail-grid .research-figure img { width: auto; max-height: var(--figure-image-height,260px); object-fit: contain; }
#ml-mbe .detail-grid .research-figure img { width: auto; max-height: var(--figure-image-height,240px); object-fit: contain; }

/* Bibliography: a single numbered reading column. */
.publication-record { max-width: 1000px; padding: 38px 0 48px; }
.publication-record h1 { font-size: 34px; line-height: 1.3; margin-bottom: 25px; }
.publication-record h1 span { display: inline-block; font: 14px/1.6 var(--sans); color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.publication-record section { margin-top: 44px; }
.publication-record h2 { font-size: 30px; border-top: 1px solid var(--line); padding-top: 25px; margin-bottom: 22px; }
.reference-list { padding-left: 28px; margin: 0; }
.reference-list li { padding-left: 7px; margin-bottom: 23px; font-size: 15px; line-height: 1.65; overflow-wrap: break-word; }
.reference-list li:last-child { margin-bottom: 0; }
.reference-list li::marker { color: var(--muted); font-variant-numeric: tabular-nums; }
.reference-title { font-size: 16px; line-height: 1.65; font-weight: 500; }
.reference-list .authors, .reference-list .venue { font-size: 14px; line-height: 1.7; margin-top: 3px; }
.reference-list .authors { color: var(--muted); }
.authors strong { color: var(--ink); font-weight: 600; }
.reference-note { font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 4px; }
.reference-list li:target { outline: 2px solid var(--line); outline-offset: 7px; }

/* About and figure credits. */
.page-title { padding: 38px 0 30px; }
.page-title h1 { font-size: clamp(36px,4.8vw,56px); max-width: 880px; }
.page-lead { max-width: 780px; font-size: 16px; line-height: 1.75; color: var(--muted); margin-top: 17px; }
/* About: name/intro on the left, photo/contact card aligned with the H1 on the right. */
.about-layout { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: start; gap: 56px; }
.about-intro { min-width: 0; }
.about-layout > .contact-box { margin-top: 67.6px; } /* title padding 38px + eyebrow height 17.6px + margin 12px */
.contact-box { min-width: 0; background: var(--soft); border-top: 2px solid var(--teal); padding: 26px; align-self: start; }
.contact-box .about-photo { margin: 0 0 23px; width: 150px; max-width: 100%; }
.contact-box .about-photo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line); background: #fff; }
.contact-box .eyebrow { color: var(--teal); }
.contact-box p { font-size: 14px; overflow-wrap: anywhere; }
.contact-box address { font-size: 14px; font-style: normal; line-height: 1.75; color: var(--muted); margin: 19px 0; }
.timeline { display: grid; grid-template-columns: 135px minmax(0,1fr); gap: 0 32px; max-width: 980px; margin: 24px 0 0; }
.timeline dt, .timeline dd { border-top: 1px solid var(--line); margin: 0; padding: 17px 0; }
.timeline dt { font-size: 13px; line-height: 1.8; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline dd { font-size: 15px; line-height: 1.75; }
.timeline strong { font-weight: 600; }
.credit-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.credit-item h3 { font-size: 16px; margin-bottom: 6px; }
.credit-item p { font-size: 14px; line-height: 1.75; margin-bottom: 6px; }
.narrow > .prose > h2:first-child { margin-top: 0; }
.about-layout + .section-block { padding-top: 44px; padding-bottom: 30px; }
.section-block + .section-block { padding-top: 16px; }
.narrow > .prose { padding-bottom: 48px; }

.site-footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.1fr .8fr; gap: 30px; font-size: 13px; line-height: 1.75; color: var(--muted); }
.footer-name { font: 20px/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.footer-grid p { margin-top: 8px; }
.footer-small { text-align: right; font-size: 12px; line-height: 1.9; }

@media (max-width: 1080px) and (min-width: 761px) {
  .header-inner { grid-template-columns: 1fr; gap: 8px; padding-block: 13px; }
  nav#primary-nav { justify-content: flex-end; }
  nav#primary-nav a { padding-block: 5px; }
}
@media (max-width: 980px) {
  .wrap { width: calc(100% - 48px); }
  .header-identity { gap: 24px; }
  .two-pillars, .research-gateways { gap: 32px; }
  .pillar h2, .research-gateway h2 { font-size: 26px; }
  .detail-grid { gap: 30px; }
  .about-layout { gap: 32px; }
  .research-references { grid-template-columns: 112px minmax(0,1fr); gap: 20px; }
  .footer-grid { gap: 24px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { position: relative; }
  .header-inner { grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding-block: 13px; }
  .header-identity { grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 15px; }
  .brand { font-size: 24px; white-space: normal; }
  .header-profile { font-size: 11px; line-height: 1.55; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; grid-column: 2; grid-row: 2; justify-self: end; font-size: 12px; }
  nav#primary-nav { display: none; grid-column: 1/-1; grid-row: 3; flex-direction: column; align-items: stretch; gap: 0; }
  nav#primary-nav.is-open, html:not(.js) nav#primary-nav { display: flex; }
  html:not(.js) .menu-toggle { display: none; }
  nav#primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .hero { grid-template-columns: 1fr; gap: 17px; padding: 24px 0; }
  .hero h1 { font-size: clamp(39px,9.5vw,58px); }
  .hero-bio { padding-left: 16px; }
  .hero-statement { max-width: none; font-size: 14px; }
  .hero-scholarly { font-size: 13px; margin-top: 10px; }
  .two-pillars, .research-gateways { grid-template-columns: 1fr; gap: 28px; }
  .pillar h2, .research-gateway h2 { font-size: 25px; min-height: 0; }
  .milestones h3 { max-width: none; font-size: 16px; }
  .milestones article { padding-block: 16px; }
  .section-block { padding: 42px 0; }
  h2, .section-heading h2 { font-size: 30px; }
  .section-heading { align-items: start; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
  .news-item { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .news-meta { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 12px; }
  .news-item h3 { font-size: 16px; }
  .research-gateways { padding-top: 28px; margin-bottom: 36px; }
  .research-gateway .research-figure { height: auto; min-height: 160px; }
  .research-gateway .research-figure img { max-height: 210px; }
  .research-group { padding-top: 25px; }
  .research-group > h2 { font-size: 29px; margin-bottom: 28px; }
  .detail-heading h3 { font-size: 26px; }
  .research-subheading { font-size: 13px; }
  .detail-summary { font-size: 16px; margin: 15px 0 21px; }
  .detail-grid { grid-template-columns: 1fr; gap: 22px; }
  .prose p { font-size: 15px; line-height: 1.8; }
  .research-detail { padding-bottom: 32px; margin-bottom: 32px; }
  .research-references { grid-template-columns: 1fr; gap: 9px; }
  .research-references h4 { font-size: 12px; }
  .research-figure { padding: 12px; }
  #pibo .detail-grid .research-figure { width: 100%; }
  #weyl .detail-grid .research-figure img, #ml-mbe .detail-grid .research-figure img { max-height: none; }
  .publication-record { padding-top: 28px; }
  .publication-record h1 { font-size: 30px; }
  .publication-record h1 span { display: block; margin: 6px 0 0; font-size: 13px; }
  .publication-record h2 { font-size: 27px; }
  .reference-list { padding-left: 24px; }
  .reference-list li { padding-left: 4px; }
  .reference-title { font-size: 15px; }
  .reference-list .authors, .reference-list .venue { font-size: 13px; }
  .page-title { padding: 28px 0 25px; }
  .page-title h1 { font-size: 36px; }
  .page-lead { font-size: 15px; margin-top: 14px; }
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-layout > .contact-box { margin-top: 0; }
  .contact-box { padding: 23px; }
  .contact-box .about-photo { width: 150px; margin-bottom: 20px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline dt { padding: 14px 0 4px; }
  .timeline dd { border-top: 0; padding: 0 0 15px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-small { text-align: left; }
}
@media (max-width: 520px) {
  .header-identity { grid-template-columns: 1fr; gap: 6px; }
  .header-profile { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  body { background: #fff; font-size: 11pt; }
  html { scroll-padding-top: 0; }
  .wrap { width: 100%; max-width: none; }
  .site-header { position: static; }
  .header-inner { display: block; }
  .header-identity { display: flex; }
  .menu-toggle, nav#primary-nav { display: none !important; }
  .hero { padding: 20px 0; }
  .hero h1 { font-size: 36pt; }
  .research-figure, .reference-list li, .news-item { break-inside: avoid; }
  .site-footer { margin-top: 24px; }
  a { text-decoration: none; }
}

/* Bilingual navigation and Japanese typography. */
nav#primary-nav .language-switch{font-size:12px;color:var(--muted);padding-left:16px;border-left:1px solid var(--line)}
/* Japanese typography: one Gothic family for clear mixed-language reading. */
html[lang="ja"] {
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", Meiryo, "Yu Gothic", system-ui, sans-serif;
  --serif: var(--sans);
}
html[lang="ja"] body { line-height: 1.85; line-break: strict; word-break: normal; }
html[lang="ja"] h1, html[lang="ja"] h2 { font-weight: 600; letter-spacing: .01em; }
html[lang="ja"] .brand, html[lang="ja"] .footer-name { font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
html[lang="ja"] body[data-page="about.html"] .page-title h1 { font-family: var(--sans); font-weight: 500; letter-spacing: 0; }
html[lang="ja"] .eyebrow { letter-spacing: .04em; text-transform: none; }
html[lang="ja"] .prose p { line-height: 1.9; }
html[lang="ja"] .hero h1 { font-size: clamp(38px,4.8vw,60px); line-height: 1.3; letter-spacing: 0; }
html[lang="ja"] .hero-statement { line-height: 1.85; }
html[lang="ja"] .pillar h2, html[lang="ja"] .research-gateway h2 { font-size: 27px; line-height: 1.5; }
html[lang="ja"] .research-group > h2 { font-size: 31px; line-height: 1.5; }
html[lang="ja"] .detail-heading h3 { font-family: var(--sans); font-weight: 600; font-size: 27px; line-height: 1.55; letter-spacing: .01em; }
html[lang="ja"] .detail-summary { line-height: 1.85; }
html[lang="ja"] .research-subheading, html[lang="ja"] .research-references h4 { letter-spacing: .02em; }
html[lang="ja"] .research-gateway > p { line-height: 1.85; }
html[lang="ja"] .page-title h1 { line-height: 1.4; }
html[lang="ja"] .reference-list, html[lang="ja"] .reference-title { line-height: 1.8; }
html[lang="ja"] .reference-list .authors, html[lang="ja"] .reference-list .venue { line-height: 1.8; }
@media(max-width:760px){
 nav#primary-nav .language-switch{padding:12px 0;border-left:0;font-size:14px}
 html[lang="ja"] .hero h1{font-size:clamp(36px,8.5vw,50px)}
 html[lang="ja"] .pillar h2,html[lang="ja"] .research-gateway h2{font-size:23px}
 html[lang="ja"] .research-group>h2{font-size:26px}
 html[lang="ja"] .detail-heading h3{font-size:24px}
 html[lang="ja"] .page-title h1{font-size:32px}
}
