:root {
  --blue: #21318b;
  --blue-2: #2d45b8;
  --cyan: #239bd2;
  --cyan-2: #5dbfe4;
  --green: #38a94b;
  --ink: #101a2f;
  --ink-2: #263247;
  --muted: #667388;
  --line: #dde6f1;
  --line-2: #edf3f8;
  --soft: #f5f9fd;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  min-height: 72px;
  padding: 12px clamp(20px, 4.4vw, 64px);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(221, 230, 241, .92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img,
.footer img {
  display: block;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  color: #15213a;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.nav a {
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.nav a:hover {
  color: var(--cyan);
}

.nav-contact {
  padding: 10px 22px;
  color: var(--white);
  background: var(--blue);
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(33, 49, 139, .18);
}

.nav .nav-contact:hover {
  color: var(--white);
  background: var(--blue-2);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background: #f7fbff;
  border-bottom: 1px solid var(--line);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .98) 23%, rgba(255, 255, 255, .82) 43%, rgba(255, 255, 255, .2) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .08) 42%, rgba(255, 255, 255, .9) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(280px, 1fr);
  gap: clamp(28px, 4vw, 80px);
  align-items: center;
  width: min(100%, var(--max));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 66px 24px 58px;
}

.hero-copy-block {
  max-width: 620px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  color: #071330;
  font-size: clamp(42px, 5.3vw, 76px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.34;
  font-weight: 900;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1.42;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 34px;
  color: #354258;
  font-size: 18px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 26px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.3;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 32px rgba(33, 49, 139, .18);
}

.primary:hover {
  background: var(--blue-2);
}

.secondary {
  color: var(--blue);
  background: var(--white);
}

.secondary:hover {
  background: #f3f8fd;
}

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

.secondary.light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, .76);
}

.hero-panel {
  justify-self: end;
  width: min(100%, 360px);
  margin-top: 220px;
  padding: 20px;
  color: rgba(255, 255, 255, .94);
  background: rgba(7, 22, 46, .36);
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(6, 22, 48, .18);
  backdrop-filter: blur(12px);
}

.hero-panel p {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-panel ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  position: relative;
  padding-left: 28px;
  font-weight: 900;
}

.hero-panel li::before {
  position: absolute;
  top: .42em;
  left: 0;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--cyan-2);
  border: 3px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 92px 24px;
}

.section-head {
  margin-bottom: 42px;
}

.section-head.centered {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head.centered p:last-child {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 17px;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.lead {
  color: #3d4859;
  font-size: 17px;
}

.lead p:last-child {
  margin-bottom: 0;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 24px 56px rgba(20, 43, 84, .08);
}

.service-item {
  display: flex;
  min-height: 284px;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: var(--white);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(33, 49, 139, .18);
}

.service-icon.accent {
  background: var(--cyan);
}

.service-icon.green {
  background: var(--green);
}

.service-item p {
  margin-bottom: 22px;
  color: var(--muted);
}

.service-item a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.service-item a::after {
  content: "  >";
  color: var(--cyan);
}

.capability {
  padding: 92px max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background:
    linear-gradient(180deg, #fbfdff 0%, #f1f7fc 100%);
  border-block: 1px solid var(--line-2);
}

.capability-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, var(--max));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 54px rgba(27, 57, 101, .08);
}

.capability-track article {
  position: relative;
  min-height: 164px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

.capability-track article:last-child {
  border-right: 0;
}

.capability-track article::after {
  position: absolute;
  top: 50%;
  right: -9px;
  z-index: 2;
  width: 18px;
  height: 18px;
  content: "";
  background: var(--white);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
}

.capability-track article:last-child::after {
  display: none;
}

.capability-track span {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.capability-track h3 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 18px;
}

.capability-track p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.philosophy {
  padding-bottom: 74px;
}

.name-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.name-grid article {
  min-height: 250px;
  padding: 34px 26px;
  background: var(--white);
}

.name-grid h3 {
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 30px;
  font-style: italic;
}

.name-grid h3 span {
  color: var(--cyan);
}

.name-grid article:nth-child(3) h3 span {
  color: var(--green);
}

.tagline {
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

.name-grid article p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.philosophy-statement {
  margin: 30px auto 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}

.promise {
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background: #f7fbff;
  border-block: 1px solid var(--line-2);
}

.company {
  padding-bottom: 112px;
}

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

.company-table div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt {
  color: var(--blue);
  font-weight: 900;
}

.company-table dd {
  margin: 0;
  color: #364250;
}

.company-table a {
  color: var(--blue);
  font-weight: 900;
}

.contact {
  padding: 88px 24px;
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(33, 49, 139, .97) 0%, rgba(31, 65, 155, .94) 54%, rgba(28, 133, 176, .9) 100%),
    var(--blue);
}

.contact-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.contact .section-label {
  color: #c5ebfb;
}

.contact h2 {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--white);
}

.contact p {
  max-width: 720px;
  color: rgba(255, 255, 255, .86);
}

.contact-actions {
  margin-top: 32px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 4vw, 56px);
  color: #647080;
  font-size: 13px;
  background: var(--white);
}

.footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 58px;
    padding-bottom: 54px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .92) 48%, rgba(255, 255, 255, .44) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .5) 100%);
  }

  .hero-panel {
    justify-self: start;
    margin-top: 24px;
    color: var(--ink);
    background: rgba(255, 255, 255, .78);
    border-color: rgba(193, 214, 232, .88);
  }

  .hero-panel p {
    color: var(--blue);
  }

  .section-grid,
  .service-list,
  .name-grid {
    grid-template-columns: 1fr 1fr;
  }

  .capability-track {
    grid-template-columns: 1fr;
  }

  .capability-track article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-track article:last-child {
    border-bottom: 0;
  }

  .capability-track article::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px 18px;
  }

  .brand img {
    width: 148px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px;
    overflow: visible;
    font-size: 13px;
    white-space: normal;
  }

  .nav-contact {
    padding-inline: 12px;
  }

  .hero-visual img {
    object-position: 66% center;
    opacity: .28;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .9) 100%);
  }

  .hero-inner,
  .section,
  .capability,
  .promise {
    padding-inline: 18px;
  }

  .hero-inner {
    padding-top: 46px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  h2 {
    font-size: 29px;
  }

  .hero-copy,
  .lead,
  .section-head.centered p:last-child {
    font-size: 16px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    width: 100%;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-grid,
  .service-list,
  .name-grid {
    grid-template-columns: 1fr;
  }

  .service-item,
  .name-grid article {
    min-height: auto;
    padding: 26px 22px;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .philosophy-statement {
    font-size: 18px;
    text-align: left;
  }

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