:root {
  --navy: #10243b;
  --navy-2: #172d45;
  --ink: #1b2531;
  --muted: #697381;
  --line: #dbe1e8;
  --paper: #fbfaf7;
  --soft: #eef2f5;
  --copper: #b87435;
  --copper-2: #d4863d;
  --white: #fff;
  --shadow: 0 20px 48px rgba(16, 36, 59, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(16, 36, 59, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 245px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #294d71);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.25;
}

.brand small,
.header-contact small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-bottom-color: var(--copper);
}

.header-contact {
  display: grid;
  justify-items: end;
  line-height: 1.2;
}

.phone {
  color: var(--navy);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(40px, 7vw, 96px) clamp(20px, 6vw, 86px);
  background:
    radial-gradient(circle at 0 0, rgba(184, 116, 53, 0.13), transparent 36%),
    linear-gradient(110deg, #f9f7f2 0%, #f1f3f4 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 .hero-line {
  display: block;
  max-width: 100%;
  white-space: nowrap !important;
}

.lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #334154;
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 900;
  line-height: 1.2;
}

.button.primary {
  color: var(--white);
  background: var(--copper);
  box-shadow: 0 14px 32px rgba(184, 116, 53, 0.28);
}

.button.secondary {
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(16, 36, 59, 0.35);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.trust-list li {
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 36, 59, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-image {
  margin: 0;
  border: 1px solid rgba(16, 36, 59, 0.14);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-image figcaption {
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 800;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 clamp(20px, 6vw, 86px);
  transform: translateY(-34px);
  border: 1px solid rgba(16, 36, 59, 0.16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.metrics article {
  min-height: 128px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

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

.metrics span {
  display: block;
  color: var(--copper);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.1;
}

.metrics p {
  margin: 10px 0 0;
  color: var(--navy);
  font-weight: 800;
}

.section,
.reason,
.flow,
.contact {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 6vw, 86px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 0.72fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(16, 36, 59, 0.16);
  padding-bottom: 22px;
}

.section-heading p {
  margin: 0;
  color: var(--copper);
  font-family: Georgia, serif;
  letter-spacing: 0.1em;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.25;
}

.contact-line {
  display: block;
  white-space: nowrap;
}

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

.service-grid article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(16, 36, 59, 0.16);
  box-shadow: 0 12px 32px rgba(16, 36, 59, 0.08);
}

.service-grid img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.service-grid div {
  padding: 24px;
}

h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.35;
}

.service-grid p,
.reason-grid p,
.contact p,
.flow small {
  color: #445064;
  font-weight: 650;
}

.reason {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0d1a28);
}

.reason .section-heading {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.reason h2,
.reason h3 {
  color: var(--white);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.reason-grid article {
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.reason-grid b {
  color: var(--copper-2);
  font-family: Georgia, serif;
  font-size: 36px;
}

.reason-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
  background: #f3f0ea;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.scope-list li {
  padding: 18px 20px;
  color: var(--navy);
  background: var(--white);
  border-left: 4px solid var(--copper);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(16, 36, 59, 0.06);
}

.flow {
  background: var(--white);
}

.flow ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow li {
  min-height: 184px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #f7f8fa;
}

.flow b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-size: 13px;
}

.flow span {
  display: block;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.flow small {
  display: block;
  margin-top: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1fr);
  gap: 42px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 36, 59, 0.96), rgba(23, 45, 69, 0.9)),
    var(--navy);
}

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

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

.contact .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.company {
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.company div {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

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

.company dt,
.company dd {
  margin: 0;
  padding: 16px 18px;
}

.company dt {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.company dd {
  font-weight: 900;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.78);
  background: #0b1724;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav,
  .header-contact {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .site-header.is-open .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

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

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

  .flow ol {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding: 28px 16px 52px;
  }

  h1 {
    font-size: clamp(26px, 8.4vw, 38px);
  }

  .lead {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
  }

  .hero-image img {
    aspect-ratio: 1.1 / 1;
  }

  .metrics {
    grid-template-columns: 1fr;
    margin: 0 16px;
    transform: translateY(-26px);
  }

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

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

  .section,
  .reason,
  .flow,
  .contact {
    padding: 56px 16px;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-bottom: 10px;
  }

  .service-grid,
  .reason-grid,
  .flow ol,
  .scope-list {
    grid-template-columns: 1fr;
  }

  .reason-grid article {
    min-height: auto;
  }

  .flow li {
    min-height: auto;
  }

  .contact {
    gap: 28px;
  }

  .company div {
    grid-template-columns: 1fr;
  }

  .contact-line {
    white-space: normal;
  }

  .company dt {
    padding-bottom: 0;
  }

  .footer {
    display: grid;
  }
}
