:root {
  --blue: #0878e7;
  --navy: #10263f;
  --ink: #1f2933;
  --muted: #66727f;
  --line: #dfe7ef;
  --soft: #f5f8fb;
  --teal: #18a999;
  --green: #82b440;
  --gold: #c99a2e;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(223, 231, 239, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 15px;
  color: #3e4a55;
}

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

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 13px;
  white-space: nowrap;
}

.language-switch a {
  padding: 6px 9px;
  border-radius: 6px;
  color: #53606d;
  font-weight: 700;
}

.language-switch a.active,
.language-switch a:hover {
  color: var(--white);
  background: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) 56px;
  gap: clamp(28px, 5vw, 74px);
  overflow: hidden;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 740;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(42px, 5.8vw, 82px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.lead {
  margin-bottom: 32px;
  color: #52616f;
  font-size: clamp(17px, 1.7vw, 21px);
}

.hero-actions,
.contact-box {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 760;
  line-height: 1.2;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(8, 120, 231, 0.24);
}

.button.secondary {
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
}

.hero-media {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(16, 38, 63, 0.14);
}

.hero-media picture,
.hero-media img {
  width: 100%;
}

.hero-media img {
  height: min(64vh, 700px);
  object-fit: cover;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  background: var(--line);
  border: 1px solid var(--line);
}

.metrics div {
  min-height: 128px;
  padding: 24px;
  background: var(--white);
}

.metrics strong {
  display: block;
  color: var(--blue);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.metrics span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.section-label {
  color: var(--gold);
  font-weight: 800;
}

.intro p,
.section > div:last-child > p {
  max-width: 920px;
  color: #53606d;
  font-size: 18px;
}

.service-grid,
.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article,
.future-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid article:nth-child(2),
.future-grid article:nth-child(2) {
  border-top: 4px solid var(--teal);
}

.service-grid article:nth-child(3),
.future-grid article:nth-child(3) {
  border-top: 4px solid var(--green);
}

.service-grid article:nth-child(4),
.future-grid article:nth-child(4) {
  border-top: 4px solid var(--gold);
}

.service-grid p,
.future-grid p,
.timeline p,
.plain-list {
  color: #53606d;
}

.proof,
.attention {
  background: var(--soft);
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
}

.timeline li {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.timeline span {
  color: var(--blue);
  font-weight: 800;
}

.timeline p {
  margin-bottom: 0;
}

.highlight {
  color: var(--white);
  background: var(--navy) !important;
  border-color: var(--navy) !important;
}

.highlight h3,
.highlight p {
  color: var(--white);
}

.plain-list {
  margin: 0;
  padding-left: 22px;
  font-size: 17px;
}

.plain-list li {
  margin-bottom: 12px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}

.contact h2,
.contact p {
  color: var(--white);
}

.contact .eyebrow {
  color: #8ce2d8;
}

.contact-box {
  flex-direction: column;
  align-items: stretch;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-box p {
  margin-bottom: 10px;
}

.contact-box .button {
  width: 100%;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #6f7b86;
  background: #f1f4f7;
}

.footer a {
  color: var(--blue);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .language-switch {
    max-width: 100%;
    overflow-x: auto;
  }

  .hero,
  .section,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .metrics,
  .service-grid,
  .future-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-label {
    margin-bottom: -8px;
  }
}

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

  .hero,
  .section,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .metrics {
    grid-template-columns: 1fr;
    margin: 0 18px;
  }

  .service-grid,
  .future-grid,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .future-grid article {
    min-height: 0;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
