:root {
  --green: #0b7f35;
  --green-dark: #075f2a;
  --ink: #121714;
  --muted: #56615b;
  --line: #dfe6e1;
  --soft: #f5f8f6;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 36px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  font-size: 22px;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 800;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  color: #fff;
  background: var(--green);
  border-radius: 4px;
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 42%, rgba(255, 255, 255, 0.25) 72%),
    url("assets/hero.jpg") center / cover;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  width: min(700px, calc(100% - 48px));
  margin-left: clamp(24px, 6vw, 80px);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid #d4e3d8;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 900;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6.5vw, 72px);
  line-height: 1.12;
  font-weight: 950;
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: #29322d;
  font-size: 19px;
  line-height: 1.8;
  font-weight: 800;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 900;
}

.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 20px rgba(11, 127, 53, 0.22);
}

.secondary {
  color: var(--green-dark);
  background: #fff;
  border: 2px solid var(--green);
}

.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 58px 28px;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: 32px;
  line-height: 1.35;
  font-weight: 950;
}

.section h2::after {
  display: block;
  width: 44px;
  height: 3px;
  margin: 12px auto 0;
  content: "";
  background: var(--green);
}

.intro p {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: #323a35;
  font-size: 16px;
  line-height: 2;
  font-weight: 700;
}

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

.service-grid article {
  min-height: 220px;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.service-grid span {
  color: var(--green);
  font-size: 13px;
  font-weight: 950;
}

.service-grid h3 {
  margin: 10px 0 12px;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 950;
}

.service-grid p,
.message p,
dd {
  margin: 0;
  color: #39423d;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
}

.works-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}

figure {
  margin: 0;
}

.works-grid img,
.message img {
  display: block;
  width: 100%;
  height: 310px;
  object-fit: cover;
  border-radius: 6px;
}

.works-grid .wide img {
  height: 310px;
}

figcaption {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
  font-weight: 900;
}

.message {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 36px;
  align-items: center;
}

.message h2 {
  text-align: left;
}

.message h2::after {
  margin-left: 0;
}

.company dl {
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.company dl div {
  display: grid;
  grid-template-columns: 170px 1fr;
  border-bottom: 1px solid var(--line);
}

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

dt,
dd {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 16px 20px;
}

dt {
  justify-content: center;
  color: var(--green-dark);
  background: #eef7f1;
  font-weight: 950;
}

.recruit-cta {
  padding: 56px 28px 62px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(10, 20, 15, 0.86), rgba(10, 20, 15, 0.9)),
    url("assets/work-3.jpg") center / cover;
}

.recruit-cta h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.35;
  font-weight: 950;
}

.recruit-cta p {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 800;
}

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

  .brand {
    font-size: 18px;
  }

  .nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 560px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.74)),
      url("assets/hero.jpg") center / cover;
  }

  .hero-copy {
    width: calc(100% - 36px);
    margin: 0 18px;
  }

  .hero h1 {
    font-size: 40px;
  }

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

  .works-grid img,
  .message img {
    height: 260px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 44px 16px;
  }

  .section h2,
  .recruit-cta h2 {
    font-size: 26px;
  }

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

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

  dt {
    justify-content: flex-start;
  }
}
