:root {
  --ink: #172033;
  --muted: #3f4a59;
  --line: #d3d9e3;
  --paper: #f7f8fb;
  --soft: #edf1f7;
  --teal: #1d3557;
  --green: #5d6b7f;
  --amber: #b8872d;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
  font-weight: 500;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(219, 229, 225, 0.8);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

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

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(29, 53, 87, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
}

.button.secondary {
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 6px 16px rgba(23, 32, 51, 0.08);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(29, 53, 87, 0.26);
}

.button.secondary:hover {
  background: var(--soft);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 54px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--green);
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 590px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.95;
  font-weight: 600;
  white-space: pre-line;
}

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

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1.12;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signal-strip {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(440px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(22, 33, 31, 0.16);
}

.signal-strip b {
  display: block;
  font-size: 13px;
}

.signal-strip span {
  color: var(--muted);
  font-size: 11px;
}

section {
  padding: 86px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 10px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.22;
  letter-spacing: 0;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

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

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 10px 28px rgba(22, 33, 31, 0.06);
}

.icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--teal);
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 900;
}

.label {
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.card h3 {
  margin: 4px 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.card p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.solution {
  background: var(--soft);
}

.flow-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
}

.flow-node {
  min-height: 168px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
}

.flow-node h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.flow-node p {
  color: var(--muted);
  margin: 0;
  font-weight: 600;
}

.arrow {
  align-self: center;
  color: var(--teal);
  font-size: 34px;
  font-weight: 800;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.number {
  color: rgba(12, 124, 114, 0.18);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.subtitle {
  color: var(--teal);
  font-weight: 800;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tags span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  background: var(--paper);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(23, 32, 51, 0.07);
}

.step strong {
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.step-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--teal);
  font-size: 17px;
  font-weight: 900;
}

.step h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.contact {
  background: var(--ink);
  color: var(--white);
}

.contact .section-inner {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 40px;
  align-items: center;
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
  white-space: pre-line;
}

.contact-box {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact .button {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.note {
  margin-top: 14px;
  font-size: 13px;
}

.contact-template {
  white-space: pre-line;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
}

.site-footer {
  padding: 34px 0;
  background: #111a18;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-hero {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 54px;
}

.page-hero h1 {
  max-width: 840px;
}

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

.price {
  font-size: 38px;
  font-weight: 900;
  color: var(--teal);
}

.price-card.featured {
  border-color: rgba(29, 53, 87, 0.45);
  box-shadow: 0 16px 36px rgba(29, 53, 87, 0.14);
}

.price-block {
  margin: 18px 0;
}

.regular-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.regular-price s {
  font-size: 24px;
  color: #87938f;
  text-decoration-thickness: 2px;
  text-decoration-color: #c65b48;
}

.monitor-label {
  display: inline-block;
  margin: 10px 0 4px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.monthly-price {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.roadmap-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
}

.roadmap-step strong {
  display: block;
  color: var(--teal);
  font-size: 14px;
  margin-bottom: 8px;
}

.roadmap-step b {
  display: block;
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.roadmap-step span {
  color: var(--muted);
  font-size: 14px;
}

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

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

.check.visual {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
}

.check-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--teal);
  font-weight: 900;
}

.check b {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
}

.check span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .contact .section-inner {
    grid-template-columns: 1fr;
  }

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

  .problem-grid,
  .service-grid,
  .price-grid,
  .check-list,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .flow-diagram {
    grid-template-columns: 1fr;
  }

  .arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .signal-strip {
    position: static;
    margin-top: 12px;
    width: 100%;
  }
}
