@charset "utf-8";
/* =========================================================
  LP Blueprint Theme (C) - CLEANED
  - grid background / dotted lines / measurement feel
  - KPI as primary focus
========================================================= */

/* =========================================================
  Tokens
========================================================= */
:root{
  --bp-bg: #f7f8fb;
  --bp-surface: #ffffff;
  --bp-ink: #0f172a;
  --bp-muted: #475569;

  --bp-line: rgba(15,23,42,.16);
  --bp-line-strong: rgba(15,23,42,.26);
  --bp-dots: rgba(15,23,42,.22);

  --bp-accent: #2563eb;
  --bp-accent-2: #ef4444;

  --bp-radius: 14px;
  --bp-radius-sm: 10px;

  --bp-shadow: 0 1px 0 rgba(15,23,42,.06);
  --bp-max: 1120px;

  --bp-grid-size: 24px;
  --bp-grid-bold: 120px;
}

/* ====== Minimal base (LP単体で崩れないための土台) ====== */

/* 余白・はみ出し事故を防ぐ */
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

/* containerを中央寄せ＋左右余白 */
.container{
  max-width: var(--bp-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* SPだけ改行を有効に（index.htmlに <br class="is-sp"> があるため） */
.is-sp{ display: none; }
@media (max-width: 900px){
  .is-sp{ display: inline; }
}


/* =========================================================
  Base / Layout Helpers
========================================================= */
.page-lp{
  color: var(--bp-ink);
  background: var(--bp-bg);
  font-variant-numeric: tabular-nums;

  /* blueprint grid background */
  background-image:
    linear-gradient(to right, rgba(15,23,42,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.05) 1px, transparent 1px),
    linear-gradient(to right, rgba(37,99,235,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size:
    var(--bp-grid-size) var(--bp-grid-size),
    var(--bp-grid-size) var(--bp-grid-size),
    var(--bp-grid-bold) var(--bp-grid-bold),
    var(--bp-grid-bold) var(--bp-grid-bold);
  background-position: 0 0;
}

.container{ max-width: var(--bp-max); }

.page-lp a{
  color: inherit;
  text-decoration: none;
}
.page-lp a:hover{
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}

/* Smooth scroll */
html{ scroll-behavior: smooth; }
:target{ scroll-margin-top: 90px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

/* top anchor (header offset) */
#top-anchor{
  position: relative;
  top: -80px;
  height: 1px;
}

/* =========================================================
  Header
========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(247,248,251,.72);
  border-bottom: 1px dashed var(--bp-line);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.site-logo{
  font-weight: 800;
  letter-spacing: .02em;
}

.global-nav ul{
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header-cta{
  display: flex;
  gap: 10px;
  align-items: center;
}

/* =========================================================
  Buttons (base + interaction)
========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--bp-radius-sm);
  border: 1px solid var(--bp-line-strong);
  background: var(--bp-surface);
  box-shadow: var(--bp-shadow);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;

  position: relative;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
  will-change: transform;
}

.btn--primary{
  color: var(--bp-ink);
  border-color: rgba(37,99,235,.45);
  background: linear-gradient(180deg, rgba(37,99,235,.10), rgba(37,99,235,.05));
}

.btn--ghost{
  background: transparent;
  border-style: dashed;
}

/* Hover only on hover-capable devices */
@media (hover:hover){
  .btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15,23,42,.12);
  }
  .btn--ghost:hover{
    border-color: rgba(37,99,235,.55);
    background: rgba(37,99,235,.06);
  }
  .btn--primary:hover{
    border-color: rgba(37,99,235,.70);
    background: linear-gradient(180deg, rgba(37,99,235,.18), rgba(37,99,235,.08));
  }
}

/* Press */
.btn:active{
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(15,23,42,.12);
}
@media (hover:none){
  .btn:active{
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(15,23,42,.12);
  }
}

/* Focus */
.btn:focus-visible{
  outline: 3px solid rgba(37,99,235,.28);
  outline-offset: 3px;
}

/* Blueprint glow line */
.btn::after{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 1px dashed rgba(37,99,235,0);
  transition: border-color .12s ease;
  pointer-events: none;
}
@media (hover:hover){
  .btn:hover::after{ border-color: rgba(37,99,235,.35); }
}

/* Primary emphasis (Demo button) */
.btn.is-primary{
  border-color: rgba(37,99,235,.78);
  box-shadow:
    0 12px 28px rgba(15,23,42,.16),
    0 0 0 3px rgba(37,99,235,.12);
  background: linear-gradient(180deg, rgba(37,99,235,.18), rgba(37,99,235,.07));
}
.btn.is-primary::before{
  content: "→";
  font-weight: 900;
  transform: translateY(-.5px);
}
@media (hover:hover){
  .btn.is-primary:hover{
    transform: translateY(-3px);
    box-shadow:
      0 16px 34px rgba(15,23,42,.14),
      0 0 0 3px rgba(37,99,235,.14);
  }
}
.btn.is-primary:active{ transform: translateY(-1px); }

/* =========================================================
  Tags
========================================================= */
.tag{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px dashed var(--bp-line);
  background: rgba(255,255,255,.7);
  color: var(--bp-muted);
  font-weight: 700;
  font-size: 13px;
}
.tag::before{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(37,99,235,.55);
}

/* =========================================================
  Sections
========================================================= */
.lp-section{
  padding: 64px 0;
  position: relative;
}
.lp-section::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(var(--bp-max), 92vw);
  transform: translateX(-50%);
  border-top: 1px dashed var(--bp-line);
}

.section-head{ margin-bottom: 24px; }

.section-title{
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: .01em;
}
.section-lead{
  color: var(--bp-muted);
  margin: 0;
  max-width: 72ch;
}

/* Label */
.lp-hero__kicker,
.section-head::before{
  display: inline-block;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(37,99,235,.85);
  border: 1px dashed rgba(37,99,235,.45);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255,255,255,.65);
}
.section-head::before{
  content: "BLUEPRINT";
  margin-bottom: 12px;
}

#problem .section-head::before{ content:"PROBLEM"; }
#solution .section-head::before{ content:"SOLUTION"; }
#dashboard .section-head::before{ content:"EXPERIENCE"; }
#pricing .section-head::before{ content:"PRICING"; }


/* =========================================================
  Hero (locked layout)
========================================================= */
.lp-hero{
  padding: 72px 0 48px;
  margin-bottom: 48px;
}

.lp-hero__inner{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: start;
}

/* kicker across */
.lp-hero__kicker{ grid-column: 1 / -1; }

/* Left: KPI */
.kpi{
  grid-column: 1;
  grid-row: 2 / span 4;
  margin-top: 18px;
}

/* Right: copy + CTA */
.lp-hero__title{
  grid-column: 2;
  grid-row: 2;
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.05;
  margin: 14px 0 14px;
}

.lp-hero__lead{
  grid-column: 2;
  grid-row: 3;
  color: var(--bp-muted);
  margin: 0 0 18px;
  max-width: 38ch;
}

.lp-hero__points{
  grid-column: 2;
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.lp-hero__actions{
  grid-column: 2;
  grid-row: 5;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Bottom: dashboard preview (support) */
.hero-demo{
  grid-column: 1 / -1;
  grid-row: 6;
  margin-top: 12px;

  position: relative;
  padding: 14px;
  border-radius: var(--bp-radius);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--bp-line);
}

.hero-demo::before{
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(37,99,235,.22);
  border-radius: calc(var(--bp-radius) - 8px);
  pointer-events: none;
}

.hero-demo::after{
  content: "DASHBOARD PREVIEW";
  position: absolute;
  top: -10px;
  left: 14px;
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(37,99,235,.85);
  background: rgba(247,248,251,.88);
  padding: 4px 8px;
  border: 1px dashed rgba(37,99,235,.35);
  border-radius: 999px;
}

.hero-demo img{
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
  /* LP用：仮画像は読ませない */
  filter: blur(1.6px) saturate(.88);
  opacity: .95;
}

.hero-demo__cap{
  margin: 10px 2px 0;
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(15,23,42,.55);
  text-transform: uppercase;
}

/* =========================================================
  KPI Block
========================================================= */
.kpi__frame{
  position: relative;
  padding: 18px 16px;
  border-radius: var(--bp-radius);
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(37,99,235,.38);
  box-shadow: 0 0 0 2px rgba(37,99,235,.10);
  overflow: visible;
}

.kpi__frame::before{
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(37,99,235,.28);
  border-radius: calc(var(--bp-radius) - 8px);
  pointer-events: none;
}

.kpi__label{
  margin: 0 0 8px;
  color: rgba(37,99,235,.95);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}

.kpi__main{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
}

.kpi__value{ margin: 0; line-height: 1; letter-spacing: .01em; }

.kpi__sign{
  font-weight: 900;
  font-size: clamp(18px, 2vw, 26px);
  color: rgba(37,99,235,.95);
  vertical-align: top;
  margin-right: 2px;
}

.kpi__yen{
  font-weight: 950;
  font-size: clamp(40px, 4.4vw, 68px);
}

.kpi__unit{
  font-weight: 900;
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--bp-muted);
  margin-left: 6px;
}

.kpi__delta{
  margin: 0 0 6px;
  text-align: right;
  color: var(--bp-muted);
  font-weight: 800;
}

.kpi__deltaLabel{
  display: inline-block;
  font-size: 12px;
  letter-spacing: .06em;
  margin-right: 8px;
}

.kpi__deltaValue{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px dashed var(--bp-line);
  background: rgba(255,255,255,.7);
  color: rgba(239,68,68,.92);
}

/* Rail */
.kpi__rail{
  position: relative;
  margin: 12px auto 0;
  max-width: 92%;
  height: 14px;
  border-top: 1px dotted var(--bp-dots);
}
.kpi__tick{
  position: absolute;
  top: -6px;
  width: 2px;
  height: 18px;
  background: rgba(15,23,42,.22);
}
.kpi__tick--now{ left: 62%; background: rgba(37,99,235,.75); }
.kpi__tick--target{ left: 75%; background: rgba(239,68,68,.65); }

.kpi__rail::after{
  content: "NOW → TARGET";
  position: absolute;
  right: 0;
  top: -26px;
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(15,23,42,.55);
}

/* Sub */
.kpi__sub{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kpi__subItem{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--bp-radius-sm);
  border: 1px dashed var(--bp-line);
  background: rgba(255,255,255,.72);
}

.kpi__chip{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  color: var(--bp-muted);
}
.kpi__chip--up{ color: rgba(37,99,235,.92); }
.kpi__chip--down{ color: rgba(239,68,68,.90); }

.kpi__subNum{ font-weight: 950; }

.kpi__note{
  margin: 12px 0 0;
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(15,23,42,.55);
  text-transform: uppercase;
}

/* Message */
.kpiMsg{
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 48ch;
}

/* =========================================================
  Tooltip (details)
========================================================= */
.term{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: underline dotted rgba(37,99,235,.55);
  text-underline-offset: 4px;
}

.term__pop{
  position: relative;
  display: inline-block;
  z-index: 5;
}

.term__btn{
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px dashed rgba(37,99,235,.35);
  color: rgba(37,99,235,.9);
  background: rgba(255,255,255,.75);
  font-size: 12px;
  line-height: 1;
}

.term__pop summary::-webkit-details-marker{ display: none; }

.term__panel{
  position: absolute;
  top: 30px;
  left: 0;
  width: min(320px, 86vw);
  max-width: min(340px, 86vw);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(37,99,235,.28);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 30px rgba(15,23,42,.10);
  z-index: 10;
}

.term__panel p{
  margin: 0 0 6px;
  color: rgba(15,23,42,.72);
  font-weight: 650;
  font-size: 12px;
  line-height: 1.6;
}
.term__panel p:last-child{ margin-bottom: 0; }

/* =========================================================
  Components (lists / grids / etc.)
========================================================= */
.problem-list,
.fit-list{
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  max-width: 78ch;
}
.problem-list li,
.fit-list li{
  background: rgba(255,255,255,.72);
  border: 1px dashed var(--bp-line);
  border-radius: var(--bp-radius-sm);
  padding: 14px 30px;
  position: relative;
}
.problem-list li::before,
.fit-list li::before{
  content: "";
  position: absolute;
  left: 14px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(37,99,235,.55);
}

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.body{
  color: var(--bp-muted);
  margin: 0;
  line-height: 1.8;
}
.diagram{
  margin: 0;
  padding: 18px;
  border-radius: var(--bp-radius);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--bp-line);
  position: relative;
}
.diagram::after{
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--bp-line);
  border-radius: calc(var(--bp-radius) - 8px);
  pointer-events: none;
}
.diagram img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--bp-radius) - 10px);
}

.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feature-card{
  padding: 18px 16px;
  border-radius: var(--bp-radius);
  background: rgba(255,255,255,.75);
  border: 1px solid var(--bp-line);
  position: relative;
}
.feature-card::before{
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 46px;
  border-top: 1px dotted var(--bp-dots);
}
.feature-card__title{
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.4;
}
.feature-card__text{
  margin: 0;
  color: var(--bp-muted);
  line-height: 1.75;
}

.mock{
  margin: 0;
  padding: 18px;
  border-radius: var(--bp-radius);
  background: rgba(255,255,255,.75);
  border: 1px solid var(--bp-line);
  position: relative;
}
.mock::before{
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 12px;
  background: repeating-linear-gradient(to right, rgba(15,23,42,.14) 0 1px, transparent 1px 10px);
  opacity: .55;
}
.mock img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--bp-radius) - 10px);
  border: 1px solid rgba(15,23,42,.10);
}

.mock-points{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.mock-points__item{
  padding: 14px;
  border-radius: var(--bp-radius-sm);
  background: rgba(255,255,255,.70);
  border: 1px dashed var(--bp-line);
}
.mock-points__item h3{
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: .04em;
}
.mock-points__item p{
  margin: 0;
  color: var(--bp-muted);
  line-height: 1.7;
}

.callout{
  padding: 20px 18px;
  border-radius: var(--bp-radius);
  background: linear-gradient(180deg, rgba(37,99,235,.06), rgba(255,255,255,.72));
  border: 1px solid rgba(37,99,235,.28);
  position: relative;
}
.callout::before{
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(37,99,235,.28);
  border-radius: calc(var(--bp-radius) - 8px);
  pointer-events: none;
}
.callout__title{ margin: 0 0 10px; font-weight: 900; }
.callout__text{
  margin: 0 0 6px;
  color: var(--bp-muted);
  line-height: 1.8;
}

.pricing-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pricing-card{
  padding: 18px 16px;
  border-radius: var(--bp-radius);
  background: rgba(255,255,255,.75);
  border: 1px solid var(--bp-line);
}
.pricing-card.is-featured{
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 0 0 2px rgba(37,99,235,.12);
}
.pricing-card__title{ margin: 0 0 6px; }
.pricing-card__price{
  margin: 0 0 12px;
  color: var(--bp-muted);
  font-weight: 800;
}
.pricing-card__list{
  margin: 0;
  padding-left: 18px;
  color: var(--bp-muted);
  line-height: 1.8;
}

.lp-cta{
  padding: 72px 0;
  position: relative;
}
.lp-cta::before{
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(var(--bp-max), 92vw);
  transform: translateX(-50%);
  border-top: 1px dashed var(--bp-line);
}
.lp-cta__inner{
  padding: 22px 18px;
  border-radius: var(--bp-radius);
  background: rgba(255,255,255,.78);
  border: 1px solid var(--bp-line);
  position: relative;
}
.lp-cta__inner::after{
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed var(--bp-line);
  border-radius: calc(var(--bp-radius) - 8px);
  pointer-events: none;
}
.lp-cta__title{
  margin: 10px 0;
  font-size: clamp(22px, 2.2vw, 34px);
}
.lp-cta__text{
  margin: 0 0 16px;
  color: var(--bp-muted);
  line-height: 1.8;
}
.lp-cta__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.lp-cta__note{
  margin: 18px 0 20px;
  color: rgba(15,23,42,.70);
  font-weight: 800;
  letter-spacing: .01em;
}

/* =========================================================
  Footer
========================================================= */
.site-footer{
  padding: 18px 0 34px;
  border-top: 1px dashed var(--bp-line);
  background: rgba(247,248,251,.70);
}
.footer-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-nav{
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

/* =========================================================
  Responsive
========================================================= */
@media (max-width: 900px){
  .lp-hero__inner{ grid-template-columns: 1fr; }
  .kpi,
  .lp-hero__title,
  .lp-hero__lead,
  .lp-hero__points,
  .lp-hero__actions,
  .hero-demo{
    grid-column: 1;
    grid-row: auto;
  }

  .two-col{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .mock-points{ grid-template-columns: 1fr; }
  .pricing-grid{ grid-template-columns: 1fr; }

  .global-nav{ display: none; }

  /* KPI responsive */
  .kpi__main{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .kpi__delta{
    text-align: left;
    margin-top: 6px;
  }
  .kpi__sub{ grid-template-columns: 1fr; }

  /* Tooltip on SP: open upward */
  .term__btn{
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
  .term__panel{
    top: auto;
    bottom: 28px;
  }
}


/* containerを“ちゃんと”中央に寄せる */
.container{
  max-width: var(--bp-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* 画像のはみ出し防止（保険） */
img{ max-width: 100%; height: auto; }

/* SPだけ改行を有効に */
.is-sp{ display: none; }
@media (max-width: 900px){
  .is-sp{ display: inline; }
}

/* ====== Minimal base (LP単体で崩れないための土台) ====== */
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

/* containerを中央寄せ＋左右余白 */
.container{
  max-width: var(--bp-max);
  margin: 0 auto;
  padding: 0 16px;
}

/* SPだけ改行を有効に（<br class="is-sp"> 用） */
.is-sp{ display: none; }
@media (max-width: 900px){
  .is-sp{ display: inline; }
}


/* ====== Scroll Spy (nav highlight) ====== */
.global-nav a{
  position: relative;
  text-decoration: none;
}

/* アクティブ状態 */
.global-nav a.is-active{
  font-weight: 700;
}

/* 下線（アニメっぽく見せる） */
.global-nav a.is-active::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: currentColor;
  opacity: .9;
}

/* ScrollSpy用：トップ到達を確実に検知する */
#top-anchor{
  height: 1px;
}


.lp-hero--live .lp-hero__inner{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-live img{
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18);
}

.hero-copy .lp-hero__title{
  font-size: clamp(28px, 3vw, 44px);
}

@media (max-width: 900px){
  .lp-hero--live .lp-hero__inner{
    grid-template-columns: 1fr;
  }
}

.hero-live {
  transform: perspective(1200px) rotateY(-4deg);
}

/* ===== Hero: live dashboard based ===== */
.lp-hero--live .lp-hero__inner{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-live img{
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18);
}

.hero-copy .lp-hero__title{
  font-size: clamp(28px, 3vw, 44px);
}

@media (max-width: 900px){
  .lp-hero--live .lp-hero__inner{
    grid-template-columns: 1fr;
    gap: 24px;
  }
}


/* ======================
  PDF Preview (download page)
====================== */
.lp-preview .section-head{ text-align:left; }

.pdf-preview{
  margin-top: 10px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,.10);
  background: radial-gradient(1200px 420px at 20% 0%, rgba(99,102,241,.08), transparent 60%),
              radial-gradient(900px 420px at 80% 0%, rgba(59,130,246,.08), transparent 60%),
              #ffffff;
  box-shadow: 0 20px 60px rgba(15,23,42,.10);
}

.pdf-page{
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  overflow: hidden;
}

.pdf-header{
  display:flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #0f172a;
  color: #fff;
}

.pdf-brand{
  font-weight: 900;
  letter-spacing: .06em;
}

.pdf-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  font-size: 12px;
  opacity: .9;
}
.pdf-meta__dot{ opacity:.6; }

.pdf-hero{
  display:grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  padding: 18px 16px 10px;
}

.pdf-title{
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: .01em;
}
.pdf-sub{
  margin: 0 0 12px;
  color: rgba(17,24,39,.80);
}

.pdf-bullets{
  margin: 0;
  padding-left: 18px;
  color: rgba(17,24,39,.85);
}
.pdf-bullets li{ margin: 8px 0; }

.pdf-note{
  margin-top: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  background: rgba(99,102,241,.08);
  border: 1px solid rgba(99,102,241,.18);
}
.pdf-note__title{
  margin:0 0 4px;
  font-weight: 900;
}
.pdf-note__text{
  margin:0;
  color: rgba(17,24,39,.78);
  font-size: 14px;
}

.pdf-kpiCard{
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: linear-gradient(180deg, rgba(15,23,42,.03), transparent 60%), #fff;
  box-shadow: 0 14px 40px rgba(15,23,42,.10);
}

.pdf-kpiLabel{
  margin:0 0 8px;
  font-weight: 900;
  color: rgba(17,24,39,.75);
}
.pdf-kpiValue{
  margin:0;
  font-size: 26px;
  font-weight: 1000;
  letter-spacing: .02em;
}
.pdf-kpiGap{
  margin: 6px 0 10px;
  font-weight: 900;
  color: rgba(220,38,38,.9);
}

.pdf-bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.10);
  overflow:hidden;
}
.pdf-bar__fill{
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59,130,246,.95), rgba(99,102,241,.95));
}
.pdf-barMeta{
  display:flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: rgba(17,24,39,.65);
  letter-spacing: .08em;
}

.pdf-mini{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
.pdf-mini__item{
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(15,23,42,.04);
  border: 1px solid rgba(15,23,42,.08);
  display:flex;
  justify-content: space-between;
  align-items: baseline;
}
.pdf-mini__item span{
  font-size: 12px;
  color: rgba(17,24,39,.70);
  font-weight: 800;
}
.pdf-mini__item strong{
  font-size: 18px;
  font-weight: 1000;
}

.pdf-chipRow{
  margin-top: 12px;
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pdf-chip{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(99,102,241,.10);
  border: 1px solid rgba(99,102,241,.18);
}

.pdf-footer{
  display:flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 11px;
  color: rgba(17,24,39,.55);
  border-top: 1px solid rgba(15,23,42,.08);
  background: rgba(15,23,42,.02);
}

.lp-preview__cta{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

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


/* =====================
  PDF Modal
===================== */
.pdf-preview{
  cursor: zoom-in;
  transition: transform .3s ease;
}
.pdf-preview:hover{
  transform: translateY(-4px);
}

.pdf-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.pdf-modal.is-open{
  display: block;
}

.pdf-modal__overlay{
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.65);
  backdrop-filter: blur(6px);
}

.pdf-modal__content{
  position: relative;
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
  z-index: 2;
}

.pdf-modal__inner{
  background: #fff;
  border-radius: 20px;
  overflow: auto;
  max-height: 80vh;
  box-shadow: 0 40px 120px rgba(0,0,0,.4);
}

.pdf-page--large{
  transform: scale(1.05);
}

.pdf-modal__close{
  position: absolute;
  top: 10px;
  right: 20px;
  background: #111827;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}

.pdf-modal__content{
  position: relative;
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  z-index: 2;
}

.pdf-modal__inner{
  background: #fff;
  border-radius: 20px;
  overflow: auto;
  max-height: 84vh;
  box-shadow: 0 40px 120px rgba(0,0,0,.4);
  padding: 16px; /* 余白あると“PDFっぽく”なる */
}

.pdf-page--large{
  transform: none;      /* 既存の scale(1.05) が邪魔なら殺す */
  width: min(100%, 980px);
  margin: 0 auto;
}


/* thanks：中央デモブロックを読みやすく */
.thanks-demo{
  color: #eef3ff;                 /* ←文字色を白寄りに固定 */
}
.thanks-demo p{
  color: rgba(238,243,255,.82);   /* ←本文は少し薄く */
}
.thanks-demo h2{
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,.25); /* ←背景が濃いので微影 */
}

/* ボタンが沈む場合の保険 */
.thanks-demo .btn{
  filter: none;
}

.thanks-demo .btn.btn--primary{ box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.page-lp .lp-section{
  padding-top: 64px;   /* 今より少しだけ減らす */
}

.thanks-demo .btn--primary{
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  transition: transform .2s ease;
}
.thanks-demo .btn--primary:hover{
  transform: translateY(-2px);
}

.page-thanks .container{ max-width: 720px; }

/* SPでデカすぎ防止（おまけ） */
@media (max-width: 640px){
  .thanks-demo{ padding: 26px 18px; }
  .thanks-demo h2{ font-size: 22px; }
}

/* download.html の2カラム崩れ防止（保険） */
.page-lp .two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.page-lp .two-col__item{ min-width: 0; }

/* 左のカード3枚を綺麗に並べる */
.page-lp .feature-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* タブレット以下 */
@media (max-width: 980px){
  .page-lp .two-col{ grid-template-columns: 1fr; }
  .page-lp .feature-grid{ grid-template-columns: 1fr; }
}

/* =========================
  Dashboard experience UI
  (lp-blueprint.cssのみで動く)
========================= */
.demo-guide{
  margin: 18px 0 18px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px);
}
.demo-kicker{
  display:inline-block;
  margin:0 0 8px;
  font-size:12px;
  letter-spacing:.14em;
  border:1px dashed rgba(37,99,235,.45);
  border-radius:999px;
  padding:6px 10px;
}
.demo-title{ margin:0 0 6px; font-size:18px; font-weight:900; }
.demo-lead{ margin:0; opacity:.75; }

.demo-steps{
  list-style:none;
  padding:0;
  margin:12px 0 10px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.demo-step{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.8);
  font-weight:800;
  font-size:12px;
  opacity:.65;
}
.demo-step.is-active{
  opacity:1;
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 0 0 3px rgba(37,99,235,.10);
}

.demo-progress{
  height: 10px;
  border-radius: 999px;
  background: rgba(15,23,42,.10);
  overflow: hidden;
}
.demo-progress__fill{
  height:100%;
  background: linear-gradient(90deg, rgba(37,99,235,.9), rgba(99,102,241,.9));
  transition: width .4s ease;
}

.demo-next{
  margin-top: 12px;
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

@media (max-width: 760px){
  .demo-title{ font-size:16px; }
}

.demo-floating-cta{
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 900;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.demo-floating-cta:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0,0,0,.45);
}

/* =========================
   Section Divider Upgrade
========================= */

/* セクション上部に薄い帯を追加 */
.lp-section{
  position: relative;
  padding-top: 84px;   /* 余白少し増やす */
}

.lp-section::after{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--bp-max), 92vw);
  height: 40px;

  background:
    linear-gradient(
      to bottom,
      rgba(37,99,235,.06),
      rgba(37,99,235,.02),
      transparent
    );

  border-top: 1px dashed rgba(37,99,235,.35);
  pointer-events: none;
}

:target{
  animation: sectionFocus .8s ease;
}

@keyframes sectionFocus{
  0% { background: rgba(37,99,235,.10); }
  100% { background: transparent; }
}

/* 交互にわずかにトーンを変える */
.lp-section:nth-of-type(even){
  background: rgba(37,99,235,.02);
}

.section-title{
  position: relative;
}

.section-title::after{
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    rgba(37,99,235,.8),
    rgba(99,102,241,.6)
  );
}

:target{
  animation: sectionFocus 0.7s ease;
}

@keyframes sectionFocus{
  0%{ box-shadow: inset 0 0 0 2000px rgba(37,99,235,.06); }
  100%{ box-shadow: none; }
}


/* =========================================
   State Guides
========================================= */
.lp-state-guides {
  padding-top: 28px;
  padding-bottom: 8px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.lp-state-guides .container {
  display: grid;
  gap: 16px;
}

.state-guide {
  scroll-margin-top: 96px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}

.state-guide__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #475569;
}

.state-guide__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
}

.state-guide__lead {
  margin: 0;
  color: #334155;
  line-height: 1.9;
}

/* 状態別ニュアンス */
.state-guide--danger {
  border-color: rgba(239, 68, 68, .20);
  background: linear-gradient(180deg, rgba(254, 242, 242, .95), #fff);
}
.state-guide--danger .state-guide__eyebrow {
  color: #b91c1c;
}

.state-guide--warn {
  border-color: rgba(245, 158, 11, .22);
  background: linear-gradient(180deg, rgba(255, 251, 235, .95), #fff);
}
.state-guide--warn .state-guide__eyebrow {
  color: #b45309;
}

.state-guide--stable {
  border-color: rgba(59, 130, 246, .20);
  background: linear-gradient(180deg, rgba(239, 246, 255, .95), #fff);
}
.state-guide--stable .state-guide__eyebrow {
  color: #1d4ed8;
}

.state-guide--good {
  border-color: rgba(34, 197, 94, .22);
  background: linear-gradient(180deg, rgba(240, 253, 244, .95), #fff);
}
.state-guide--good .state-guide__eyebrow {
  color: #15803d;
}

.state-guide--great {
  border-color: rgba(99, 102, 241, .22);
  background: linear-gradient(180deg, rgba(238, 242, 255, .95), #fff);
}
.state-guide--great .state-guide__eyebrow {
  color: #4338ca;
}

@media (max-width: 640px) {
  .state-guide {
    padding: 18px 16px 16px;
    border-radius: 16px;
  }
}


/* =========================================
   State Focus（選択状態のみカラー）
========================================= */

/* 全部いったんグレー化 */
.page-lp[class*="state-"] .state-guide{
  filter: grayscale(.85);
    opacity: .6;
  transform: scale(.98);
  transition: all .25s ease;
}

/* アクティブだけ戻す */
.page-lp.state-improve #improve,
.page-lp.state-follow #follow,
.page-lp.state-stable #stable,
.page-lp.state-reproduce #reproduce,
.page-lp.state-growth #growth{
  filter: none;
  opacity: 1;
  transform: scale(1.02);
  box-shadow: 0 24px 60px rgba(15,23,42,.12);
  z-index: 2;
}

/* 少し浮かせる（主役感） */
.page-lp[class*="state-"] .state-guide{
  position: relative;
}

/* アクティブだけ強調ライン */
.page-lp.state-improve #improve::after,
.page-lp.state-follow #follow::after,
.page-lp.state-stable #stable::after,
.page-lp.state-reproduce #reproduce::after,
.page-lp.state-growth #growth::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  border: 2px solid rgba(37,99,235,.35);
  pointer-events:none;
}


.page-lp.state-improve .btn--primary{
  background: linear-gradient(180deg, rgba(239,68,68,.25), rgba(239,68,68,.10));
  border-color: rgba(239,68,68,.6);
}

.page-lp.state-follow .btn--primary{
  background: linear-gradient(180deg, rgba(245,158,11,.25), rgba(245,158,11,.10));
  border-color: rgba(245,158,11,.6);
}

.page-lp.state-stable .btn--primary{
  background: linear-gradient(180deg, rgba(59,130,246,.22), rgba(59,130,246,.08));
  border-color: rgba(59,130,246,.55);
}

.page-lp.state-reproduce .btn--primary{
  background: linear-gradient(180deg, rgba(34,197,94,.22), rgba(34,197,94,.08));
  border-color: rgba(34,197,94,.55);
}

.page-lp.state-growth .btn--primary{
  background: linear-gradient(180deg, rgba(99,102,241,.22), rgba(99,102,241,.08));
  border-color: rgba(99,102,241,.55);
}