:root {
  --bg: #f8faf7;
  --surface: #ffffff;
  --ink: #17201b;
  --muted: #5f6f65;
  --line: #dce5df;
  --field: #eef4f0;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --accent-soft: #d9f0ea;
  --gold: #b7791f;
  --blue: #2563eb;
  --danger: #b42318;
  --shadow: 0 18px 55px rgba(23, 32, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 229, 223, 0.9);
  background: rgba(248, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 1px solid #9acfc3;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.9), rgba(37, 99, 235, 0.78)),
    repeating-linear-gradient(90deg, transparent 0 7px, rgba(255, 255, 255, 0.28) 7px 8px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 48px;
  align-items: center;
  padding: 72px 0 44px;
}

.hero.index-hero {
  grid-template-columns: minmax(0, 1fr);
  max-width: 920px;
  padding-bottom: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

h1 {
  max-width: 860px;
  margin: 20px 0 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.product-title {
  font-size: clamp(36px, 5vw, 68px);
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
}

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

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.metric {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.metric strong {
  display: block;
  color: var(--accent-strong);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mockup {
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  background: #f4f8f5;
}

.mockup-title {
  font-weight: 800;
}

.status-pill {
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.mockup-body {
  padding: 18px;
}

.workflow-list {
  display: grid;
  gap: 10px;
}

.workflow-item {
  display: grid;
  grid-template-columns: 82px 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfdfb;
}

.workflow-item b {
  font-size: 13px;
}

.workflow-item span {
  color: var(--muted);
  font-size: 12px;
}

.mini-tag {
  border-radius: 7px;
  background: var(--field);
  color: var(--muted);
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 42px 0;
}

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

.section h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-note {
  max-width: 560px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.product-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.product-card h2 {
  margin: 12px 0 10px;
  font-size: 24px;
  line-height: 1.18;
}

.product-card p {
  color: var(--muted);
  font-size: 14px;
}

.card-code {
  display: inline-flex;
  width: fit-content;
  border-radius: 7px;
  background: var(--field);
  color: var(--accent-strong);
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 800;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.card-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 12px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
  gap: 32px;
  align-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

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

.evidence-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.evidence-table th,
.evidence-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.evidence-table th {
  width: 34%;
  color: var(--accent-strong);
  font-size: 13px;
}

.evidence-table tr:last-child th,
.evidence-table tr:last-child td {
  border-bottom: 0;
}

.contact-panel {
  position: sticky;
  top: 84px;
  padding: 22px;
}

.contact-panel h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.contact-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 13px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: #33463b;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cddbd2;
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--ink);
  padding: 11px 12px;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(15, 118, 110, 0.14);
}

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

.form-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.form-status.is-error {
  color: var(--danger);
}

.form-status.is-success {
  color: var(--accent-strong);
}

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

.sources a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  margin-top: 58px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 980px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

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

  .contact-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

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

  .container {
    padding: 0 18px;
  }

  .hero {
    padding-top: 42px;
  }

  .metrics,
  .feature-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .workflow-item {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
