:root {
  --ink: #172033;
  --muted: #5e6a7d;
  --line: #dbe3ee;
  --panel: #f5f8fc;
  --panel-strong: #e8f0f8;
  --blue: #1e5b96;
  --blue-dark: #123d67;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 45, 78, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
  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: 24px;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0;
  background: var(--blue-dark);
  border-radius: 8px;
}

.brand-name {
  font-size: 16px;
}

.site-nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 96px clamp(20px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(10, 35, 64, 0.94) 0%, rgba(18, 61, 103, 0.9) 48%, rgba(30, 91, 150, 0.62) 100%),
    url("https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-inner {
  width: min(820px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: #7fb2de;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-title {
  max-width: none;
  font-size: clamp(30px, 5.2vw, 62px);
  white-space: nowrap;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.45;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

.hero-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 transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

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

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

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

.section {
  padding: 88px clamp(20px, 5vw, 64px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: start;
}

.intro p,
.contact-layout p,
.privacy p {
  color: var(--muted);
}

.muted {
  background: var(--panel);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.service-card {
  min-height: 300px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
}

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

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

.company-list dt {
  color: var(--muted);
  font-weight: 700;
}

.company-list dd {
  margin: 0;
}

.business-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1.2em;
}

.contact-section {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-strong) 100%);
}

.contact-box {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-box p {
  margin: 0;
  color: var(--muted);
}

.contact-box .button {
  width: fit-content;
}

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

.privacy .section-inner {
  max-width: 860px;
}

.site-footer {
  padding: 28px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--blue-dark);
}

.site-footer p {
  width: min(1120px, 100%);
  margin: 0 auto;
  font-size: 13px;
}

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

  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 92px;
  }

  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-title {
    font-size: clamp(26px, 8.2vw, 36px);
  }

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

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

  .service-card {
    min-height: auto;
  }

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

  .contact-box {
    padding: 22px;
  }

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