:root {
  --ink: #162021;
  --muted: #5f6f71;
  --paper: #fbfcf8;
  --white: #ffffff;
  --line: #d9e2df;
  --green: #1f6b57;
  --green-dark: #134637;
  --blue: #1d5f88;
  --sun: #d99a34;
  --coral: #c75a3e;
  --shadow: 0 24px 60px rgb(20 43 42 / 16%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body::selection {
  color: var(--white);
  background: var(--green);
}

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

p,
h1,
h2,
h3,
dl,
dd,
ol {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 76px;
  padding: 12px 28px;
  border-bottom: 1px solid rgb(217 226 223 / 78%);
  background: rgb(251 252 248 / 92%);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

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

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #2c4143;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a:hover {
  background: #edf5f1;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 72svh;
  overflow: hidden;
  color: var(--white);
  background: var(--green-dark);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background:
    linear-gradient(90deg, rgb(0 0 0 / 38%), rgb(0 0 0 / 8%) 62%),
    url("assets/hero-no-person.png") center / cover;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 10%), rgb(0 0 0 / 20%)),
    linear-gradient(90deg, rgb(12 49 39 / 86%), rgb(12 49 39 / 36%) 48%, rgb(12 49 39 / 0%) 78%);
}

.hero-content {
  width: min(100% - 48px, 1100px);
  margin: 0 auto;
  padding: 72px 0 86px;
}

.eyebrow,
.section-kicker {
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 18px;
  max-width: 720px;
  font-size: 4.5rem;
  line-height: 1.05;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.hero-title-line {
  display: inline;
}

.lead {
  max-width: 660px;
  margin-top: 22px;
  font-size: 1.18rem;
  line-height: 1.9;
  text-shadow: 0 2px 16px rgb(0 0 0 / 24%);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
}

.button.primary {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 14px 28px rgb(122 48 32 / 22%);
}

.button.secondary {
  color: var(--white);
  border-color: rgb(255 255 255 / 44%);
  background: rgb(255 255 255 / 12%);
}

.button.light {
  color: var(--green-dark);
  background: var(--white);
}

.quick-info {
  background: var(--green-dark);
}

.quick-info-inner {
  width: min(100% - 48px, 1100px);
  margin: 0 auto;
  padding: 18px 0;
}

.quick-info dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 8px;
  background: rgb(255 255 255 / 14%);
}

.quick-info div {
  min-width: 0;
  padding: 18px;
  background: rgb(255 255 255 / 8%);
}

.quick-info dt {
  color: rgb(255 255 255 / 70%);
  font-size: 0.74rem;
  font-weight: 800;
}

.quick-info dd {
  margin-top: 6px;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.section {
  padding: 86px 0;
}

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

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.section h2 {
  margin-top: 10px;
  font-size: 2.35rem;
  line-height: 1.35;
}

.copy-block {
  display: grid;
  gap: 18px;
  color: #314547;
  font-size: 1rem;
  line-height: 2;
}

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

.section-heading p:not(.section-kicker),
.muted {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.9;
}

.services {
  background: #eef5f0;
}

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

.service-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 24px rgb(22 45 43 / 7%);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--green-dark);
  border: 2px solid rgb(31 107 87 / 20%);
  border-radius: 8px;
  background: #f5fbf7;
  font-size: 0.86rem;
  font-weight: 850;
}

.service-card h3 {
  margin-top: 20px;
  font-size: 1.22rem;
}

.service-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.8;
}

.accent-card {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.accent-card .service-icon {
  color: var(--white);
  border-color: rgb(255 255 255 / 25%);
  background: rgb(255 255 255 / 12%);
}

.accent-card p {
  color: rgb(255 255 255 / 82%);
}

.strength {
  background: var(--paper);
}

.compact {
  margin-bottom: 28px;
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.strength-list article {
  min-height: 260px;
  padding: 26px;
  background: var(--white);
}

.strength-list span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
}

.strength-list h3 {
  margin-top: 18px;
  font-size: 1.1rem;
  line-height: 1.55;
}

.strength-list p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.8;
}

.flow {
  background:
    linear-gradient(90deg, rgb(31 107 87 / 8%), transparent 54%),
    #fffaf0;
}

.flow-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 164px 1fr;
  gap: 18px;
  min-height: 74px;
  padding: 18px 18px 18px 72px;
  border: 1px solid #eadfcb;
  border-radius: 8px;
  background: var(--white);
}

.flow-list li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--sun);
  border-radius: 8px;
  counter-increment: flow;
  content: counter(flow);
  font-weight: 900;
}

.flow-list strong {
  line-height: 1.7;
}

.flow-list span {
  color: var(--muted);
  line-height: 1.8;
}

.company {
  color: var(--white);
  background: var(--green-dark);
}

.company-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 44px;
  align-items: start;
}

.company-panel p:not(.section-kicker) {
  margin-top: 16px;
  color: rgb(255 255 255 / 82%);
  line-height: 1.9;
}

.company-table {
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  background: rgb(255 255 255 / 10%);
}

.company-table div {
  display: grid;
  grid-template-columns: 142px 1fr;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
}

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

.company-table dt {
  color: rgb(255 255 255 / 62%);
  font-size: 0.82rem;
  font-weight: 800;
}

.company-table dd {
  color: var(--white);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.company-table a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  color: #536466;
  background: #e7efeb;
  font-size: 0.84rem;
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .quick-info dl,
  .service-grid,
  .strength-list,
  .split,
  .company-layout {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .company-layout {
    gap: 34px;
  }

  .strength-list article {
    min-height: 220px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    padding: 10px 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    display: none;
  }

  .header-call {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgb(0 0 0 / 42%), rgb(0 0 0 / 8%) 72%),
      url("assets/hero-no-person.png") 58% center / cover;
  }

  .hero-content,
  .section-inner,
  .quick-info-inner {
    width: min(100% - 32px, 1100px);
  }

  .hero-content {
    padding: 48px 0 56px;
  }

  .hero h1 {
    max-width: 330px;
    font-size: 2.25rem;
    line-height: 1.18;
  }

  .hero-title-line {
    display: block;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.85;
  }

  .button {
    width: 100%;
  }

  .quick-info dl,
  .service-grid,
  .strength-list,
  .split,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section h2 {
    font-size: 1.75rem;
  }

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

  .flow-list li,
  .company-table div {
    grid-template-columns: 1fr;
  }

  .flow-list li {
    gap: 6px;
  }

  .site-footer {
    display: grid;
    padding: 22px 16px;
  }
}
