:root {
  --bg: #f7fbf5;
  --bg-soft: #edf7ed;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: #ffffff;
  --text: #102017;
  --muted: #5f7166;
  --line: rgba(31, 143, 82, 0.18);
  --lime: #9be637;
  --green: #1fb65b;
  --emerald: #008f62;
  --ink-green: #0f3c27;
  --shadow: 0 24px 70px rgba(15, 60, 39, 0.12);
  font-family: "Inter", "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

#top {
  scroll-margin-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% 8%, rgba(166, 245, 58, 0.28), transparent 28rem),
    radial-gradient(circle at 84% 14%, rgba(0, 155, 100, 0.13), transparent 28rem),
    linear-gradient(135deg, #ffffff 0%, var(--bg) 52%, #edf7ef 100%);
  color: var(--text);
  line-height: 1.7;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(31, 143, 82, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 143, 82, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 74%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.site-header::before {
  position: absolute;
  inset: 8px -18px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(31, 143, 82, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(15, 60, 39, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 220px;
  height: 56px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #486255;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 14px;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  border-color: var(--line);
  background: rgba(31, 182, 91, 0.08);
}

.nav .nav-cta {
  color: #ffffff;
  background: var(--ink-green);
}

.hero {
  display: grid;
  align-items: center;
  min-height: calc(100svh - 88px);
  padding: 52px 0 70px;
}

.hero-grid,
.section,
.intro,
.contact-inner,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(36px, 7vw, 92px);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  position: relative;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 14px;
  border: 1px solid rgba(31, 143, 82, 0.2);
  border-radius: 999px;
  padding: 5px 10px 5px 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 28px rgba(15, 60, 39, 0.06);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-label::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 2px;
  background: linear-gradient(135deg, var(--lime), var(--emerald));
  box-shadow: 0 0 14px rgba(31, 182, 91, 0.42);
}

.eyebrow::after,
.section-label::after {
  width: 18px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(31, 143, 82, 0.65), transparent);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  font-weight: 800;
  line-height: 1.04;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.14;
}

.nowrap-heading {
  max-width: max-content;
  white-space: nowrap;
}

.company-heading {
  min-width: max-content;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
  line-height: 1.35;
}

.lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: #42584a;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--ink-green), var(--green));
  box-shadow: 0 16px 42px rgba(31, 182, 91, 0.2);
}

.button.secondary {
  color: var(--ink-green);
  background: rgba(255, 255, 255, 0.76);
}

.hero-visual {
  display: grid;
  min-height: 540px;
  place-items: center;
}

.logo-orbit {
  position: relative;
  display: grid;
  width: min(520px, 100%);
  aspect-ratio: 1;
  place-items: center;
}

.logo-orbit::before,
.logo-orbit::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.logo-orbit::before {
  inset: 10%;
  border: 1px solid rgba(31, 143, 82, 0.16);
  background:
    radial-gradient(circle at 34% 26%, rgba(166, 245, 58, 0.35), transparent 30%),
    radial-gradient(circle at 58% 62%, rgba(0, 155, 100, 0.18), transparent 32%),
    rgba(255, 255, 255, 0.68);
  filter: blur(0.2px);
  box-shadow: inset 0 0 90px rgba(31, 182, 91, 0.08), var(--shadow);
}

.logo-orbit::after {
  inset: 0;
  border: 1px solid rgba(31, 143, 82, 0.12);
  background: conic-gradient(from 140deg, transparent, rgba(31, 182, 91, 0.32), transparent 36%);
  mask: radial-gradient(circle, transparent 58%, black 59%, black 61%, transparent 62%);
}

.logo-orbit img {
  position: relative;
  width: 86%;
  opacity: 0.9;
  mix-blend-mode: multiply;
  filter: saturate(1.12) contrast(1.04);
}

.intro {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.intro p {
  margin: 0;
  color: #21382b;
  font-size: clamp(1.06rem, 2vw, 1.45rem);
  font-weight: 600;
}

.section {
  padding: 108px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1.68fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

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

.service-card,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(166, 245, 58, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  min-height: 262px;
  padding: 28px;
}

.service-card::before {
  position: absolute;
  top: -12px;
  right: 18px;
  z-index: 0;
  content: attr(data-number);
  color: rgba(31, 143, 82, 0.09);
  font-size: clamp(5.8rem, 10vw, 8.6rem);
  font-weight: 800;
  line-height: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card h3,
.service-card p {
  text-align: center;
}

.service-card p,
.timeline-item p,
.company-copy p,
.contact p {
  color: var(--muted);
}

.service-number {
  display: none;
  margin-bottom: 60px;
  color: var(--emerald);
  font-size: 0.82rem;
  font-weight: 800;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.timeline-item {
  min-height: 250px;
  border-top: 0;
  border-radius: 0;
  padding: 30px;
  box-shadow: none;
}

.timeline-item + .timeline-item {
  border-left: 0;
}

.timeline-item span {
  display: block;
  margin-bottom: 54px;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.company {
  display: grid;
  grid-template-columns: minmax(440px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.company-copy {
  border-left: 1px solid var(--line);
  padding-left: clamp(22px, 4vw, 44px);
}

.company-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.company-list div:last-child {
  border-bottom: 1px solid var(--line);
}

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

.company-list dd {
  margin: 0;
  color: #24392d;
}

.contact {
  padding: 112px 0 80px;
}

.contact-inner {
  border: 1px solid rgba(166, 245, 58, 0.28);
  border-radius: 8px;
  padding: clamp(32px, 6vw, 66px);
  background:
    linear-gradient(135deg, rgba(166, 245, 58, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 247, 239, 0.92));
  box-shadow: var(--shadow);
}

.contact p {
  max-width: 720px;
  margin: 18px 0 28px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 148px;
  }

  #top {
    scroll-margin-top: 148px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-grid,
  .section-heading,
  .intro,
  .company {
    grid-template-columns: 1fr;
  }

  .nowrap-heading {
    max-width: 100%;
    white-space: normal;
  }

  .company-heading {
    min-width: 0;
  }

  .hero-visual {
    min-height: 380px;
  }

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

  .timeline-item + .timeline-item {
    border-left: 1px solid var(--line);
    border-top: 0;
  }

  .company-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 28px;
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero-grid,
  .section,
  .intro,
  .contact-inner,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    width: 176px;
    height: 48px;
  }

  .nav {
    gap: 4px;
    font-size: 0.82rem;
  }

  .nav a {
    padding: 8px 11px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 300px;
  }

  .service-card,
  .timeline-item {
    min-height: auto;
    padding: 24px;
  }

  .service-number,
  .timeline-item span {
    margin-bottom: 34px;
  }

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

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
