* {
  box-sizing: border-box;
}
:root {
  --ink: #2f3133;
  --muted: #6f7478;
  --trust: #115466;
  --trust-soft: #eaf3f1;
  --green: #5d9d42;
  --red: #c7352f;
  --gold: #9b7627;
  --line: rgba(17, 84, 102, 0.18);
  --paper: #fffdf8;
  --surface: #ffffff;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    linear-gradient(rgba(17, 84, 102, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 84, 102, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.8;
}
a {
  color: inherit;
}
.demo-toolbar {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  display: flex;
  width: min(1080px, calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 76, 92, 0.12);
  backdrop-filter: blur(12px);
  padding: 10px 12px 10px 18px;
}
.demo-toolbar strong {
  color: var(--trust);
  font-size: 0.9rem;
}
.demo-toolbar span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
.demo-toolbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--trust);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}
.page-nav {
  position: sticky;
  z-index: 15;
  top: 96px;
  width: min(1120px, calc(100% - 40px));
  margin: 96px auto 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.page-nav a {
  display: grid;
  gap: 2px;
  min-height: 64px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--trust);
  text-align: center;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(15, 76, 92, 0.08);
}
.page-nav a[aria-current="page"] {
  border-color: rgba(199, 53, 47, 0.38);
  background: rgba(199, 53, 47, 0.075);
  color: var(--red);
}
.page-nav b {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}
.page-nav span {
  font-size: 0.92rem;
  font-weight: 900;
}
.hp-canvas {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  height: 1500px;
  margin: 0 auto 70px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(15, 76, 92, 0.12);
}
.scope-ruler {
  position: absolute;
  z-index: 8;
  top: 0;
  right: 18px;
  display: grid;
  height: 1500px;
  align-items: stretch;
  pointer-events: none;
}
.scope-ruler::before {
  content: "";
  position: absolute;
  top: 0;
  right: 36px;
  bottom: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(var(--green), var(--gold), var(--red));
}
.scope-ruler span {
  position: relative;
  display: flex;
  min-width: 72px;
  justify-content: flex-end;
  color: var(--trust);
  font-size: 0.72rem;
  font-weight: 900;
}
.scope-ruler span::after {
  content: "";
  position: absolute;
  top: 0.76em;
  right: 30px;
  width: 12px;
  height: 2px;
  background: rgba(17, 84, 102, 0.35);
}
.hp-section {
  position: relative;
  display: grid;
  min-height: 500px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 74px 128px 58px 80px;
}
.hp-section::before {
  content: attr(data-section);
  position: absolute;
  top: 28px;
  left: 80px;
  border-radius: 999px;
  background: rgba(17, 84, 102, 0.08);
  color: var(--trust);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 6px 12px;
}
.section-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  align-content: center;
  max-width: 900px;
}
.split {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
}
.eyebrow {
  margin: 0 0 -10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
}
h2 {
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.22;
}
.lead {
  color: #50565a;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  font-weight: 700;
}
.note {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.95rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 30px rgba(199, 53, 47, 0.22);
}
.btn-secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--trust);
}
.visual-panel {
  display: grid;
  gap: 14px;
  min-height: 280px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 20%, rgba(93, 157, 66, 0.16), transparent 35%),
    radial-gradient(circle at 78% 70%, rgba(199, 53, 47, 0.14), transparent 34%),
    linear-gradient(135deg, #f1f8f6, #fffaf3);
  padding: 24px;
}
.visual-card,
.mini-card,
.route-card {
  border: 1px solid rgba(17, 84, 102, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(15, 76, 92, 0.08);
  padding: 18px;
}
.visual-card strong,
.mini-card b,
.route-card b {
  display: block;
  color: var(--trust);
  font-size: 0.95rem;
}
.visual-card small,
.mini-card span,
.route-card span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.route-card {
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.route-card:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 53, 47, 0.34);
}
.price-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(199, 53, 47, 0.22);
  border-radius: 24px;
  background: rgba(199, 53, 47, 0.045);
  padding: 26px;
}
.price-box strong {
  color: var(--red);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.step {
  border-radius: 18px;
  background: var(--trust-soft);
  padding: 18px;
}
.step b {
  display: block;
  color: var(--green);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
.step span {
  display: block;
  margin-top: 6px;
  color: var(--trust);
  font-weight: 900;
  line-height: 1.55;
}
.section-scope {
  position: absolute;
  right: 28px;
  bottom: 22px;
  color: rgba(17, 84, 102, 0.46);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.scope-summary {
  position: fixed;
  z-index: 20;
  right: max(18px, calc((100vw - 1180px) / 2));
  bottom: 18px;
  width: min(310px, calc(100% - 36px));
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 40px rgba(15, 76, 92, 0.12);
  backdrop-filter: blur(10px);
  padding: 16px;
}
.scope-summary strong {
  display: block;
  color: var(--trust);
  font-size: 0.9rem;
}
.scope-summary p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}
@media (max-width: 860px) {
  .demo-toolbar {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 18px;
    align-items: flex-start;
  }
  .demo-toolbar span {
    display: none;
  }
  .page-nav {
    top: 94px;
    width: calc(100% - 20px);
    margin-top: 106px;
    grid-template-columns: 1fr;
  }
  .scope-ruler,
  .scope-summary {
    display: none;
  }
  .hp-canvas {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    box-shadow: none;
  }
  .hp-section {
    min-height: auto;
    padding: 88px 22px 54px;
  }
  .hp-section::before {
    top: 42px;
    left: 22px;
  }
  .split,
  .price-box {
    grid-template-columns: 1fr;
  }
  .visual-panel {
    min-height: 240px;
    padding: 20px;
  }
  .card-grid,
  .route-grid,
  .steps {
    grid-template-columns: 1fr;
  }
}
