:root {
  --navy: #173653;
  --teal: #18767c;
  --red: #c94137;
  --ink: #1f2a30;
  --muted: #596a70;
  --mist: #e7eeee;
  --line: #c7d2d3;
  --paper: #f4f6f3;
  --white: #fff;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.site-head {
  padding: 0;
  border-top: 6px solid var(--navy);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.head-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 92px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 238px;
  height: auto;
}

.brand strong {
  color: var(--navy);
  font: 700 1.7rem/1 Georgia, "Times New Roman", serif;
}

.head-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: .82rem;
  font-weight: 700;
}

.head-nav a {
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.head-nav a:hover,
.head-nav a:focus-visible {
  border-color: var(--red);
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto 4rem;
  padding: 0;
}

.soken-lead {
  min-height: 470px;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
}

.hero-copy {
  padding: 4.5rem 4rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy .issue {
  margin-bottom: 1.2rem;
  color: var(--red);
  font-size: .74rem;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 4.8rem;
  font-weight: 500;
  line-height: 1.13;
}

.hero-copy p {
  max-width: 43rem;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.lab-board {
  position: relative;
  overflow: hidden;
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy);
  color: var(--white);
}

.lab-board::before,
.lab-board::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}

.lab-board::before {
  width: 330px;
  height: 330px;
  top: -80px;
  right: -90px;
}

.lab-board::after {
  width: 210px;
  height: 210px;
  top: 55px;
  right: 42px;
}

.board-code {
  position: absolute;
  top: 2rem;
  left: 2.2rem;
  color: #a9d5d4;
  font: 700 .74rem/1.5 Consolas, "Courier New", monospace;
}

.board-mark {
  position: absolute;
  top: .6rem;
  right: 1.5rem;
  color: rgba(255, 255, 255, .08);
  font: 700 8.5rem/1 Georgia, serif;
}

.research-axis {
  position: relative;
  z-index: 1;
  height: 180px;
  padding: 0 .4rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: .55rem;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.research-axis i {
  display: block;
  border-top: 5px solid #f2b43f;
  background: var(--teal);
}

.research-axis i:nth-child(1) { height: 42%; }
.research-axis i:nth-child(2) { height: 68%; }
.research-axis i:nth-child(3) { height: 55%; }
.research-axis i:nth-child(4) { height: 86%; }
.research-axis i:nth-child(5) { height: 73%; }

.board-caption {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  color: #d4e2e4;
  font-size: .78rem;
}

.soken-research-notes {
  margin-top: 2rem;
  border-top: 5px solid var(--teal);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(25, 48, 58, .06);
}

.soken-register-label {
  padding: 1.6rem 2rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.soken-register-label h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.8rem;
  font-weight: 600;
}

.soken-register-label h2 small {
  display: block;
  margin-bottom: .2rem;
  color: var(--red);
  font: 800 .68rem/1.2 "Yu Gothic", Meiryo, sans-serif;
}

.soken-register-label p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.research-register {
  max-height: 650px;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none !important;
  counter-reset: memo;
  scrollbar-color: var(--teal) var(--mist);
  scrollbar-width: thin;
}

.research-register > li {
  position: relative;
  min-width: 0;
  min-height: 128px;
  margin: 0 !important;
  padding: 1.35rem 1.65rem 1.25rem 4.7rem !important;
  border-bottom: 1px solid var(--line);
  counter-increment: memo;
}

.research-register > li:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.research-register > li::before {
  position: absolute;
  top: 1.45rem;
  left: 1.6rem;
  content: counter(memo, decimal-leading-zero);
  color: var(--teal);
  font: 700 .72rem/1 Consolas, "Courier New", monospace;
}

.research-register > li > a {
  display: block;
  color: var(--ink) !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.5;
  text-decoration: none;
}

.research-register > li > a:hover,
.research-register > li > a:focus-visible {
  color: var(--red) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.research-register > li > p {
  margin: .5rem 0 0 !important;
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted) !important;
  font-size: .75rem !important;
  line-height: 1.55 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.research-fields {
  margin-top: 2.8rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
}

.fields-intro,
.field {
  padding: 2rem;
}

.fields-intro {
  background: var(--navy);
  color: var(--white);
}

.fields-intro span {
  color: #9ed1cf;
  font-size: .7rem;
  font-weight: 800;
}

.fields-intro h2 {
  margin: .5rem 0 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.field {
  border-left: 1px solid var(--line);
  background: var(--white);
}

.field b {
  display: block;
  color: var(--teal);
  font-size: .72rem;
}

.field h3 {
  margin: .45rem 0 .5rem;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.15rem;
}

.field p {
  margin: 0;
  color: var(--muted);
  font-size: .82rem;
}

.company-strip {
  padding-top: 2.6rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2.5rem;
}

.company-strip img {
  width: 238px;
  max-width: 100%;
  height: auto;
}

.company-strip h2 {
  margin: 0;
  color: var(--navy);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.45rem;
}

.company-strip p {
  margin: .7rem 0 0;
  color: var(--muted);
  font-size: .84rem;
}

#partner-links {
  margin-top: 2.5rem !important;
  padding: 1rem 0 !important;
  border-top: 1px solid var(--line) !important;
  font-size: .78rem;
}

#partner-links p {
  color: var(--navy);
  font-weight: 800;
}

#partner-links:has(ul:empty) {
  display: none;
}

#partner-links:not(:has(a)) {
  display: none;
}

.site-foot {
  margin-top: 3rem;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--navy);
  color: var(--muted);
  font-size: .73rem;
}

@media (max-width: 850px) {
  .head-nav { display: none; }
  .soken-lead { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.2rem 2rem; }
  .hero-copy h1 { font-size: 3.8rem; }
  .lab-board { min-height: 300px; }
  .research-fields { grid-template-columns: 1fr 1fr; }
  .fields-intro { grid-column: 1 / -1; }
  .company-strip { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .head-inner,
  .page-shell { width: min(100% - 24px, 1180px); }
  .head-inner { min-height: 78px; }
  .brand img { width: 190px; }
  .brand strong { display: none; }
  .soken-lead { min-height: 0; margin-top: 1rem; }
  .hero-copy { padding: 2.6rem 1.35rem; }
  .hero-copy h1 { font-size: 2.85rem; }
  .lab-board { min-height: 260px; padding: 1.5rem; }
  .research-axis { height: 140px; }
  .soken-register-label { grid-template-columns: 1fr; gap: .35rem; padding: 1.3rem 1.15rem; }
  .research-register { grid-template-columns: 1fr; max-height: 690px; }
  .research-register > li { min-height: 0; padding: 1.05rem 1rem 1rem 3.65rem !important; }
  .research-register > li:nth-child(odd) { border-right: 0; }
  .research-register > li::before { top: 1.2rem; left: 1rem; }
  .research-register > li > p { display: none; }
  .research-fields { grid-template-columns: 1fr; }
  .field { border-top: 1px solid var(--line); border-left: 0; }
  .fields-intro,
  .field { padding: 1.4rem; }
  .site-foot { display: block; }
  .site-foot span { display: block; margin-top: .4rem; }
}
