:root {
  --bg: #07111f;
  --bg-soft: #0d1b2e;
  --text: #162033;
  --muted: #637086;
  --line: rgba(20, 36, 61, 0.12);
  --white: #ffffff;
  --accent: #1aa7c8;
  --accent-2: #5eead4;
  --card: rgba(255, 255, 255, 0.88);
  --shadow: 0 24px 70px rgba(4, 16, 35, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.75;
  background: #f7fafc;
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04101f;
  font-weight: 800;
}

.site-nav {
  display: flex;
  gap: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--accent-2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 10, 22, 0.95), rgba(3, 10, 22, 0.63), rgba(3, 10, 22, 0.35)),
    url("../img/bioinformatics-bg.svg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(94, 234, 212, 0.20), transparent 34%),
    radial-gradient(circle at 80% 60%, rgba(26, 167, 200, 0.18), transparent 32%);
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 80px;
}

.eyebrow,
.section-label {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

/*.hero h1 {
  margin: 18px 0 24px;
  max-width: 900px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}*/

.lead {
  max-width: 760px;
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  background: var(--accent-2);
  color: #061120;
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.section {
  padding: 96px 0;
}

.section-muted {
  background: linear-gradient(180deg, #eef7fb, #f8fbfd);
}

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

.two-column {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 64px;
}

h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.prose p,
.profile-card p,
.access-box p {
  margin: 0 0 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.card,
.profile-card,
.access-box,
.table-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.card {
  padding: 30px;
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(26, 167, 200, 0.16), rgba(94, 234, 212, 0.28));
  color: #0b6f86;
  font-weight: 900;
  letter-spacing: 0.05em;
}

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

.profile-card,
.access-box {
  padding: 34px;
}

.subtle {
  color: var(--muted);
}

.table-wrap {
  overflow: hidden;
  margin-top: 34px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.78);
}

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

.company-table th {
  width: 190px;
  color: #0c5f76;
  background: rgba(26, 167, 200, 0.08);
  font-weight: 800;
}

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

.site-footer {
  background: #07111f;
  color: rgba(255, 255, 255, 0.76);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner a {
  color: var(--accent-2);
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    padding: 22px;
    border-radius: 22px;
    background: rgba(7, 17, 31, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 680px;
  }

  .two-column,
  .cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section {
    padding: 72px 0;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 8px;
  }

  .company-table td {
    padding-top: 8px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .map-area {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  }

  .seo-only_bak {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

  .seo-only_bak2 {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  header h1 {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.85;
  }

  .hero h2 {
    font-size: 18rem;
    line-height: 1.2;
    font-weight: 700;
  }


/* ===== Final responsive fix ===== */

  .brand-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.03em;
  }

  .hero h2 {
    margin: 18px 0 24px;
    max-width: 900px;
    font-size: clamp(38px, 6vw, 76px);
    line-height: 1.12;
    letter-spacing: -0.04em;
  }

  .access-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 28px;
    align-items: stretch;
  }

  .map-area iframe {
    width: 100%;
    max-width: 100%;
    display: block;
  }

  .table-wrap {
    overflow-x: auto;
  }
}

/* smartphone */
@media (max-width: 768px) {
  .header-inner {
    height: 64px;
    flex-direction: row;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 620px;
    padding-top: 64px;
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
    padding: 40px 0 0;
  }

  .hero h2 {
    font-size: clamp(2rem, 9vw, 3.2rem);
    line-height: 1.25;
    letter-spacing: -0.03em;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .two-column,
  .cards,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

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

  .card,
  .profile-card,
  .access-box {
    padding: 24px;
    border-radius: 22px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 14px 18px;
  }

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

  .company-table td {
    padding-top: 0;
  }

  .company-table tr {
    display: block;
    border-bottom: 1px solid var(--line);
  }

  .map-area iframe {
    height: 300px;
  }

  .footer-inner {
    flex-direction: column;
  }
}


