:root {
  color-scheme: light;
  --ink: #152021;
  --muted: #5d6a67;
  --line: #d9e2dc;
  --paper: #f8faf7;
  --white: #ffffff;
  --teal: #0d6f68;
  --green: #44a96d;
  --coral: #d8664a;
  --shadow: 0 18px 48px rgba(16, 35, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 18px rgba(18, 39, 35, 0.1);
  backdrop-filter: blur(12px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--green));
  font-weight: 800;
}

.nav {
  gap: clamp(14px, 3vw, 28px);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 116px clamp(20px, 6vw, 76px) 72px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 20, 19, 0.78) 0%, rgba(8, 20, 19, 0.48) 42%, rgba(8, 20, 19, 0.08) 100%),
    linear-gradient(0deg, rgba(248, 250, 247, 0.92) 0%, rgba(248, 250, 247, 0) 24%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6.5vw, 84px);
  line-height: 1.06;
  font-weight: 800;
  word-break: keep-all;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.25;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.lead {
  width: min(650px, 100%);
  margin-bottom: 28px;
  font-size: clamp(18px, 2.4vw, 25px);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 12px 26px rgba(13, 111, 104, 0.28);
}

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

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.intro p:last-child,
.contact-band p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 35, 33, 0.06);
}

.service-number {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--coral);
  font-weight: 800;
}

.service-card p,
.steps p {
  color: var(--muted);
}

.process {
  border-top: 1px solid var(--line);
}

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

.steps li {
  display: grid;
  gap: 10px;
  padding: 2px 0 0;
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

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

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

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

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

.company-list dd {
  margin: 0;
  font-weight: 600;
}

.company-list a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-band {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto clamp(56px, 7vw, 88px);
  padding: clamp(30px, 5vw, 52px);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-band h2 {
  margin-bottom: 10px;
}

.contact-band p {
  margin-bottom: 0;
}

.site-footer {
  padding: 28px 20px 40px;
  color: var(--muted);
  text-align: center;
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 88svh;
    padding-top: 150px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 20, 19, 0.82), rgba(8, 20, 19, 0.42)),
      linear-gradient(0deg, rgba(248, 250, 247, 0.96) 0%, rgba(248, 250, 247, 0) 28%);
  }

  .intro,
  .service-grid,
  .steps,
  .company-list div,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .company-list div {
    gap: 6px;
  }

  .contact-band {
    display: grid;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 15px;
  }

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

  .hero-actions,
  .button {
    width: 100%;
  }

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