:root {
  --navy: #1a3a5c;
  --navy-deep: #122a44;
  --green: #3a8e5c;
  --green-deep: #2f7a4d;
  --green-darker: #276b42;
  --ink: #1f2d3d;
  --muted: #5b6b7b;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --line: #e2e8f0;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(18, 42, 68, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fbfdff;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1120px, 90%); margin-inline: auto; }
.container.narrow { width: min(760px, 90%); }
.center { text-align: center; }

a { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  padding: 0.5em 0.8em;
  border-radius: 6px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
a:focus-visible {
  outline: 3px solid #f5c542;
  outline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green-deep);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85em 1.8em;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 16px rgba(58, 142, 92, 0.28);
}
.btn:hover { background: var(--green-darker); transform: translateY(-2px); }
.btn-lg { font-size: 1.05rem; padding: 1em 2.4em; }
.btn-sm { padding: 0.55em 1.2em; font-size: 0.9rem; box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.btn-light:hover { background: #f0f4f8; }
.btn:focus-visible { box-shadow: 0 0 0 4px rgba(245, 197, 66, 0.35); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2em; height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6em; text-decoration: none; }
.brand-logo { height: 40px; width: auto; }
.brand-name { font-weight: 900; font-size: 1.25rem; color: var(--navy); letter-spacing: 0.02em; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4em;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}
.site-nav a {
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--navy); }

/* Hero */
.hero {
  background:
    linear-gradient(150deg, rgba(26, 58, 92, 0.98) 0%, rgba(18, 42, 68, 1) 100%);
  color: #fff;
  padding: clamp(64px, 10vw, 112px) 0 clamp(52px, 8vw, 88px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85), transparent 88%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #bfe3cd;
  border: 1px solid rgba(191, 227, 205, 0.5);
  padding: 0.35em 1em;
  border-radius: 999px;
  margin-bottom: 1.4em;
}
.hero-title {
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-bottom: 0.7em;
  max-width: 800px;
}
.hero-lead { font-size: clamp(1rem, 2.4vw, 1.2rem); color: #dce6f0; margin-bottom: 1.4em; max-width: 760px; }
.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65em;
  margin-bottom: 2.1em;
}
.hero-badges li {
  color: #e7f1ea;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(191, 227, 205, 0.32);
  border-radius: 999px;
  padding: 0.35em 0.85em;
  font-size: 0.88rem;
  font-weight: 700;
}
.hero-actions { display: flex; gap: 1em; flex-wrap: wrap; }
.hero-workflow {
  margin-top: clamp(34px, 6vw, 64px);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(6, 20, 34, 0.22);
  overflow: hidden;
}
.hero-workflow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 1.05em 1.2em;
  border-bottom: 1px solid var(--line);
  background: #f8fbfd;
}
.hero-workflow-head span {
  color: var(--green-deep);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.hero-workflow-head strong {
  color: var(--navy);
  font-size: 0.95rem;
}
.workflow-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.workflow-steps li {
  position: relative;
  padding: 1.25em 1.1em;
  min-height: 128px;
  border-right: 1px solid var(--line);
}
.workflow-steps li:last-child { border-right: none; }
.workflow-steps li::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-top: 2px solid #cbd7e2;
  border-right: 2px solid #cbd7e2;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
}
.workflow-steps li:last-child::after { display: none; }
.workflow-num {
  display: inline-block;
  color: var(--green-deep);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 0.7em;
}
.workflow-steps strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.25em;
}
.workflow-steps small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

/* Sections */
.section { padding: clamp(58px, 8vw, 92px) 0; background: var(--bg); }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.6em;
  position: relative;
  padding-bottom: 0.5em;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 48px; height: 3px;
  background: var(--green);
  border-radius: 2px;
}
.section-title-light { color: #fff; }
.section-title-light::after { background: #fff; }
.section-lead { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 2.6em; }
.source { font-size: 0.8rem; color: var(--muted); margin-top: 1.8em; text-align: center; }
.block-title {
  color: var(--navy);
  font-size: 1.25rem;
  margin: 2.4em 0 1em;
  text-align: center;
}

/* Pain */
.pain-list {
  list-style: none;
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9em;
}
.pain-list li {
  background: var(--bg-alt);
  border-left: 4px solid var(--green);
  padding: 1em 1.3em;
  border-radius: 8px;
  font-weight: 500;
}
.pain-stat {
  text-align: center;
  margin-top: 2.4em;
  padding: 1.1em 1.3em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1.1rem;
  line-height: 2;
}
.pain-stat strong { color: var(--green-deep); font-size: 1.5em; font-weight: 900; }

/* Steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4em;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8em 1.5em;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: var(--navy);
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 0.8em;
}
.step h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.4em; }
.step p { font-size: 0.92rem; color: var(--muted); line-height: 1.7; }

.service-details { margin-top: 1.8em; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
}
.detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3em;
}
.detail-card h4 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.4em;
}
.detail-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* Features */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4em; }
.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.9em;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}
.feature h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 0.5em; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* Data */
.data-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
}
.data-point {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35em;
}
.data-point h3 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.45em;
}
.data-point p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* Price */
.price-points {
  list-style: none;
  max-width: 540px;
  margin: 0 auto 2.4em;
  display: grid;
  gap: 0.7em;
}
.price-points li {
  padding: 0.9em 1.2em 0.9em 2.6em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
}
.price-points li::before {
  content: "✓";
  position: absolute;
  left: 1em;
  color: var(--green-deep);
  font-weight: 900;
}
.guarantee-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5em;
  margin: 0 auto 2.2em;
}
.guarantee-box h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 0.7em;
  text-align: center;
}
.guarantee-list {
  list-style: none;
  display: grid;
  gap: 0.55em;
}
.guarantee-list li {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4em; }
.flow-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8em 1.5em;
  text-align: center;
  box-shadow: var(--shadow);
}
.flow-num {
  display: inline-block;
  font-weight: 900;
  color: var(--green-deep);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.6em;
}
.flow-item h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: 0.4em; }
.flow-item p { color: var(--muted); font-size: 0.92rem; }

/* CTA */
.section-cta { background: linear-gradient(150deg, var(--navy) 0%, var(--green-deep) 100%); color: #fff; }
.cta-lead { margin-bottom: 2em; font-size: 1.05rem; }
.cta-checklist {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6em;
  margin: -0.6em 0 1.8em;
}
.cta-checklist li {
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.25em 0.8em;
  font-size: 0.9rem;
}
.cta-note { margin-top: 1.4em; font-size: 0.9rem; opacity: 0.9; }

/* Company */
.company-info {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.4em 1.4em;
  border-top: 1px solid var(--line);
  padding-top: 1.6em;
  font-size: 0.94rem;
}
.company-info dt { font-weight: 700; color: var(--navy); padding: 0.6em 0; border-bottom: 1px solid var(--line); }
.company-info dd { color: var(--muted); padding: 0.6em 0; border-bottom: 1px solid var(--line); }
.company-info a { color: var(--navy); font-weight: 700; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #cdd8e3; padding: 2em 0; text-align: center; font-size: 0.85rem; }

/* Responsive */
@media (max-width: 980px) {
  .detail-grid, .data-points { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .workflow-steps { grid-template-columns: repeat(3, 1fr); }
  .workflow-steps li { border-bottom: 1px solid var(--line); }
  .workflow-steps li::after { display: none; }
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 560px) {
  body { line-height: 1.8; }
  .steps, .features, .flow, .detail-grid, .data-points, .pain-list, .workflow-steps { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-workflow-head { display: block; }
  .hero-workflow-head strong { display: block; margin-top: 0.3em; }
  .workflow-steps li { min-height: auto; border-right: none; }
  .company-info { grid-template-columns: 1fr; gap: 0; }
  .company-info dt { border-bottom: none; padding-bottom: 0; }
  .company-info dd { padding-top: 0.2em; }
}
