:root {
  color-scheme: light;
  --bg: #f7f8f4;
  --paper: #ffffff;
  --ink: #17211c;
  --muted: #62706a;
  --line: #dfe5dc;
  --green: #1f6b4c;
  --green-dark: #164a36;
  --aqua: #d7eee7;
  --amber: #efe1b8;
  --soft: #edf2ef;
  --shadow: 0 18px 54px rgba(23, 33, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Sans", "Meiryo", system-ui, sans-serif;
  line-height: 1.75;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(223, 229, 220, 0.82);
  background: rgba(247, 248, 244, 0.92);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--green-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 77px);
  padding: clamp(56px, 8vw, 108px) clamp(20px, 6vw, 86px) 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.24;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: #33443c;
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 700;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.audit-preview {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.preview-header strong {
  color: var(--ink);
}

.route-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 24px 22px 12px;
}

.route-node {
  min-height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: #33443c;
  font-weight: 700;
  text-align: center;
}

.route-node.accent {
  background: var(--aqua);
  border-color: #b7dbd1;
  color: var(--green-dark);
}

.route-node.muted {
  background: #f9f5e8;
  border-color: #ead99d;
}

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

.preview-grid div {
  min-height: 92px;
  padding: 18px 16px;
  border-right: 1px solid var(--line);
}

.preview-grid div:last-child {
  border-right: 0;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.preview-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  line-height: 1;
}

figcaption {
  padding: 18px 22px 22px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 76px clamp(20px, 6vw, 86px);
}

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

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

.panel {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 26px;
}

.panel.important {
  background: #fffaf0;
  border-color: #ead99d;
}

.panel p {
  margin: 0;
  color: #3d4d46;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #33443c;
}

.check-list li {
  position: relative;
  padding-left: 18px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.muted-band {
  background: #eef3ef;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.step {
  border-left: 3px solid var(--green);
  background: rgba(255, 255, 255, 0.58);
  padding: 22px 22px 24px;
}

.step span {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-weight: 800;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.company-section {
  padding-bottom: 96px;
}

.company-card {
  max-width: 920px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.company-card dl {
  margin: 0;
}

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

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

.company-card dt {
  color: var(--muted);
  font-weight: 700;
}

.company-card dd {
  margin: 0;
}

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

@media (max-width: 900px) {
  .hero,
  .service-layout,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .audit-preview {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    padding-top: 44px;
  }

  .preview-grid,
  .route-map,
  .company-card div {
    grid-template-columns: 1fr;
  }

  .preview-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .preview-grid div:last-child {
    border-bottom: 0;
  }
}
