:root {
  --blue: #21318b;
  --cyan: #239bd2;
  --ink: #1c2430;
  --muted: #5f6b7a;
  --line: #dce6ef;
  --soft: #eef7fc;
  --white: #ffffff;
  --max: 1120px;
}

* {
  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.8;
  background: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(220, 230, 239, .82);
  backdrop-filter: blur(16px);
}

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

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

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: #394555;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav a {
  transition: color .2s ease;
}

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

.nav-contact {
  padding: 9px 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 4px;
}

.nav .nav-contact:hover {
  color: var(--white);
  background: #2b3ba1;
}

.hero {
  position: relative;
  min-height: calc(100vh - 140px);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(246, 251, 255, .96) 0%, rgba(246, 251, 255, .8) 42%, rgba(255, 255, 255, .2) 62%),
    #f6fbff;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px 72px;
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 36px;
  color: #3c4654;
  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: 48px;
  padding: 12px 22px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.3;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

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

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

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

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

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.panel {
  position: absolute;
  display: block;
  transform: skewX(-12deg);
}

.panel-a {
  right: -120px;
  top: 0;
  width: 48vw;
  min-width: 560px;
  height: 100%;
  background: var(--blue);
}

.panel-b {
  right: 8vw;
  top: 150px;
  width: 260px;
  height: 360px;
  background: rgba(255, 255, 255, .14);
}

.panel-c {
  right: 26vw;
  bottom: -60px;
  width: 180px;
  height: 360px;
  background: rgba(35, 155, 210, .18);
}

.signal {
  position: absolute;
  display: block;
  width: 70px;
  height: 70px;
  background: var(--cyan);
  transform: skewX(-12deg);
}

.signal-a {
  right: 33vw;
  top: 88px;
}

.signal-b {
  right: 27vw;
  top: 34px;
}

.signal-c {
  right: 20vw;
  top: 104px;
  background: var(--blue);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
}

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

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

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

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

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  min-height: 260px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.service-item:last-child {
  border-right: 0;
}

.service-number {
  display: block;
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
}

.service-item p,
.philosophy-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.philosophy {
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background: var(--soft);
}

.philosophy-list {
  display: grid;
  gap: 18px;
}

.philosophy-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 260px) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid #cbdce8;
}

.philosophy-list article:last-child {
  border-bottom: 1px solid #cbdce8;
}

.philosophy-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-weight: 900;
  background: var(--cyan);
}

.company {
  padding-bottom: 112px;
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

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

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

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

.contact {
  padding: 88px 24px;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(33, 49, 139, .96) 0%, rgba(33, 49, 139, .9) 58%, rgba(35, 155, 210, .86) 100%),
    var(--blue);
}

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

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

.contact h2 {
  max-width: 760px;
  margin-bottom: 20px;
}

.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;
}

.footer p {
  margin: 0;
}

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

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

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 76px;
    padding-bottom: 78px;
  }

  .panel-a {
    right: -220px;
    width: 55vw;
    min-width: 400px;
    opacity: .16;
  }

  .panel-b,
  .panel-c,
  .signal {
    opacity: .22;
  }

  .section-grid,
  .service-list,
  .philosophy-list article {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-list {
    border-bottom: 0;
  }

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

  .philosophy-list article {
    gap: 12px;
  }
}

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

  .brand img {
    width: 148px;
  }

  .nav {
    gap: 12px;
    font-size: 13px;
  }

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

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

  .hero-copy,
  .lead {
    font-size: 16px;
  }

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

  .button {
    width: 100%;
  }

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

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

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