:root {
  --ink: #15201c;
  --muted: #5c6964;
  --line: #d8ded9;
  --paper: #f7f4ee;
  --white: #ffffff;
  --green: #2f6f57;
  --green-dark: #1e4b3b;
  --amber: #c88a35;
  --charcoal: #111715;
  --shadow: 0 20px 60px rgba(17, 23, 21, 0.16);
}

* {
  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(--paper);
}

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

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

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 244, 238, 0.94);
  box-shadow: 0 8px 24px rgba(17, 23, 21, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  min-width: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  transition: border-color 180ms ease;
}

.brand-text {
  white-space: nowrap;
}

.site-header.is-scrolled .brand-logo {
  border-color: var(--line);
}

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

.nav a {
  opacity: 0.92;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding: 120px clamp(20px, 7vw, 96px) 80px;
  overflow: hidden;
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 18, 16, 0.86) 0%, rgba(12, 18, 16, 0.68) 38%, rgba(12, 18, 16, 0.16) 100%),
    linear-gradient(0deg, rgba(12, 18, 16, 0.36), rgba(12, 18, 16, 0.04));
}

.hero-content {
  position: relative;
  max-width: 720px;
}

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

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

h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.06;
}

#hero-title {
  font-size: 64px;
}

#hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 19px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 6px;
  font-weight: 800;
}

.button.primary {
  border-color: var(--amber);
  background: var(--amber);
  color: var(--charcoal);
}

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

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-band p {
  margin: 0;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  color: var(--green-dark);
  text-align: center;
  font-weight: 800;
}

.trust-band p:last-child {
  border-right: 0;
}

.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(68px, 9vw, 116px) clamp(20px, 4vw, 40px);
}

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

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

#intro-title {
  font-size: 40px;
}

#intro-title span {
  display: block;
  white-space: nowrap;
}

.intro > p,
.contact-copy p,
.proof-list span {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

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

.service-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 23, 21, 0.05);
}

.card-number {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
}

.service-card h3,
.steps h3 {
  margin: 18px 0 10px;
  font-size: 20px;
  line-height: 1.35;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
}

.split .section-heading {
  display: block;
  margin: 0;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

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

.steps h3 {
  margin-top: 0;
}

.proof {
  max-width: none;
  padding-inline: clamp(20px, 8vw, 120px);
  background: var(--green-dark);
  color: var(--white);
}

.proof .section-kicker {
  color: #f0b15d;
}

.proof-list {
  display: grid;
  gap: 16px;
}

.proof-list p {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.proof-list span {
  color: rgba(255, 255, 255, 0.78);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(68px, 9vw, 116px) clamp(20px, 4vw, 40px);
}

.contact-copy {
  align-self: center;
}

.contact-copy p {
  margin-top: 20px;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-label {
  margin: 0;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.mail-link {
  color: var(--ink);
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-button {
  width: fit-content;
  margin-top: 10px;
  color: var(--charcoal);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  background: var(--white);
}

.footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .hero {
    min-height: 86svh;
  }

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

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

  .service-card {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .brand-text {
    display: none;
  }

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

  .hero {
    min-height: 88svh;
    padding: 104px 18px 58px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 18, 16, 0.88), rgba(12, 18, 16, 0.56)),
      linear-gradient(0deg, rgba(12, 18, 16, 0.5), rgba(12, 18, 16, 0.12));
  }

  h1 {
    font-size: 38px;
  }

  #hero-title {
    font-size: 36px;
  }

  #intro-title {
    font-size: 28px;
  }

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

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

  .trust-band p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    display: block;
  }

  .steps li {
    grid-template-columns: 42px 1fr;
    gap: 14px;
  }

  .proof-list p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .footer {
    display: grid;
  }
}
