:root {
  color-scheme: light;
  --ink: #122033;
  --muted: #667587;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: #d8e3ef;
  --charcoal: #071426;
  --vermilion: #1f5fae;
  --teal: #2f7fce;
  --gold: #b5842f;
  --green: #2d6b73;
  --plum: #2d3e66;
  --mist: #e8f1fb;
  --blue: #1f5fae;
  --blue-bright: #2f7fce;
  --navy: #071426;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.is-jp {
  line-height: 1.72;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 28px;
  color: var(--white);
  background: rgba(7, 20, 38, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.brand-wordmark {
  color: var(--white);
  font-size: 20px;
  font-weight: 950;
  line-height: 1;
}

.brand-section {
  color: #c7d7eb;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  font-size: 13px;
  font-weight: 750;
}

.site-header nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: min(660px, 78svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  opacity: 0.58;
  filter: saturate(0.58) brightness(0.74);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 20, 38, 0.96) 0%, rgba(7, 20, 38, 0.82) 44%, rgba(7, 20, 38, 0.4) 100%),
    linear-gradient(0deg, rgba(7, 20, 38, 0.74) 0%, rgba(7, 20, 38, 0) 48%);
}

.hero-content,
.section-inner {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 108px 0 56px;
}

.kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-bright);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: 84px;
  line-height: 0.95;
}

.lead {
  max-width: 760px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
}

.hero-actions,
.project-actions,
.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.text-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.button {
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.button.primary {
  border-color: var(--blue-bright);
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.text-button {
  min-height: 34px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fbfaf6;
}

.text-button.primary {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.text-button.disabled {
  border-color: #d3deea;
  color: var(--muted);
  background: #eef3f8;
  cursor: default;
}

.section {
  padding: 62px 0;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.intro-grid,
.split-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: 36px;
  line-height: 1.1;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.intro-grid p,
.section-note,
.project-card p,
.lane p,
.route-list dd,
.footer-note,
.small-copy {
  color: var(--muted);
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.section-note {
  max-width: 470px;
  margin-bottom: 0;
  font-size: 15px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  min-height: 430px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
}

.project-visual {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  padding: 12px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 20, 38, 0.96), rgba(31, 95, 174, 0.68)),
    var(--charcoal);
}

.project-card:nth-child(2) .project-visual,
.project-card:nth-child(6) .project-visual {
  background: linear-gradient(135deg, rgba(7, 20, 38, 0.96), rgba(47, 127, 206, 0.68));
}

.project-card:nth-child(3) .project-visual,
.project-card:nth-child(7) .project-visual {
  background: linear-gradient(135deg, rgba(7, 20, 38, 0.96), rgba(31, 95, 174, 0.62));
}

.project-card:nth-child(4) .project-visual {
  background: linear-gradient(135deg, rgba(7, 20, 38, 0.96), rgba(45, 62, 102, 0.72));
}

.project-card:nth-child(5) .project-visual,
.project-card:nth-child(8) .project-visual {
  background: linear-gradient(135deg, rgba(7, 20, 38, 0.96), rgba(45, 107, 115, 0.58));
}

.project-visual img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.project-visual strong {
  max-width: 110px;
  font-size: 12px;
  text-align: right;
  text-transform: uppercase;
}

.project-code {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0 10px;
  color: var(--white);
  background: var(--charcoal);
  font-weight: 900;
}

.project-card:nth-child(2) .project-code,
.project-card:nth-child(6) .project-code {
  background: var(--blue);
}

.project-card:nth-child(3) .project-code,
.project-card:nth-child(7) .project-code {
  background: var(--blue);
}

.project-card:nth-child(4) .project-code {
  background: var(--plum);
}

.project-card:nth-child(5) .project-code,
.project-card:nth-child(8) .project-code {
  background: var(--blue);
}

.project-card.accent-charcoal .project-visual {
  background: linear-gradient(135deg, rgba(7, 20, 38, 0.96), rgba(31, 95, 174, 0.6));
}

.project-card.accent-teal .project-visual {
  background: linear-gradient(135deg, rgba(7, 20, 38, 0.96), rgba(47, 127, 206, 0.66));
}

.project-card.accent-red .project-visual {
  background: linear-gradient(135deg, rgba(7, 20, 38, 0.96), rgba(31, 95, 174, 0.62));
}

.project-card.accent-plum .project-visual {
  background: linear-gradient(135deg, rgba(7, 20, 38, 0.96), rgba(45, 62, 102, 0.72));
}

.project-card.accent-green .project-visual {
  background: linear-gradient(135deg, rgba(7, 20, 38, 0.96), rgba(45, 107, 115, 0.58));
}

.project-card.accent-gold .project-visual {
  background: linear-gradient(135deg, rgba(7, 20, 38, 0.96), rgba(181, 132, 47, 0.58));
}

.project-card.accent-charcoal .project-code {
  background: var(--charcoal);
}

.project-card.accent-teal .project-code {
  background: var(--blue);
}

.project-card.accent-red .project-code {
  background: var(--blue);
}

.project-card.accent-plum .project-code {
  background: var(--plum);
}

.project-card.accent-green .project-code {
  background: var(--blue);
}

.project-card.accent-gold .project-code {
  background: var(--blue);
}

.project-card.is-private {
  background: #f8fafc;
}

.project-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 950;
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.project-domain {
  margin: -3px 0 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.tag-list span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 9px;
  color: var(--muted);
  background: #fbfdff;
  font-size: 12px;
  font-weight: 750;
}

.lane-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.lane {
  min-height: 188px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
}

.lane-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 7px;
  color: var(--white);
  background: var(--charcoal);
  font-size: 13px;
  font-weight: 900;
}

.route-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
}

.route-list {
  display: grid;
  gap: 11px;
  margin: 0;
}

.route-list div {
  display: grid;
  grid-template-columns: minmax(155px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.route-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.route-list dt {
  color: var(--blue);
  font-weight: 900;
}

.route-list dd {
  min-width: 0;
  margin: 0;
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.84);
  background: var(--charcoal);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

@media (max-width: 1020px) {
  .hero h1 {
    font-size: 60px;
  }

  .intro-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .section-title,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-grid,
  .lane-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  .site-header nav {
    justify-content: flex-start;
    gap: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 132px 0 44px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 18px;
  }

  .project-grid,
  .lane-grid {
    grid-template-columns: 1fr;
  }

  .route-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-content,
  .section-inner {
    width: min(100% - 34px, 1140px);
  }
}
