/* ===== LP共通 ===== */
.lp-nav { background: #fff; border-bottom: 1px solid #e9ecef; position: sticky; top: 0; z-index: 100; }
.lp-brand { font-family: Georgia, serif; font-weight: 700; font-size: 20px; line-height: 1; }
.brand-si { color: #0ABAB5; }
.brand-scan { color: #1a1a1a; }
.brand-beta { font-size: 9px; background: #0ABAB5; color: #fff; border-radius: 3px; padding: 1px 6px; margin-left: 2px; font-weight: 700; font-family: sans-serif; vertical-align: middle; line-height: 1; }
.btn-brand { background: #0ABAB5; color: #fff !important; border: none; }
.btn-brand:hover { background: #089e99; color: #fff !important; }
.lp-footer { background: #1a1a1a; color: #aaa; padding: 24px 0; font-size: 13px; }
.lp-footer .lp-brand .brand-scan { color: #fff; }
.lp-footer a { color: #aaa; text-decoration: none; }
.lp-footer a:hover { color: #fff; }
.sp {
    display: none;
}

@media screen and (max-width:768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

/* お問い合わせページ */
.contact-guest-wrap { max-width:640px; }
.contact-wrap { max-width:800px; }
.recaptcha-note { font-size:10px; color:#aaa; }
.recaptcha-note a { color:#aaa; }
.header-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    color: #aaa;
    margin-top: -2px;
}

.hero-campaign-card {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(231,76,60,0.3);
    border-radius: 10px;
    padding: 15px 30px;
    margin-bottom: 24px;
}
.hero-campaign-label {
    font-size: 13px;
    color: #e74c3c;
    font-weight: 700;
}
.hero-campaign-orig {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}
.hero-campaign-price {
    font-size: 33px;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
}
.hero-campaign-unit {
    font-size: 13px;
    color: #888;
}
.hero-campaign-sep {
    width: 1px;
    height: 48px;
    background: rgba(231,76,60,0.2);
}
.hero-campaign-note {
    font-size: 13px;
    color: #666;
    text-align: left;
    line-height: 1.6;
}

/* ===== Hero v2 : 2カラム + スライダー ===== */
.hero-section {
    background: linear-gradient(120deg, #ffffff 0%, #f0fdfb 50%, #b2eeea 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.hero-section > .container {
    position: relative;
    z-index: 1;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 0;
}
.hero-left { display: flex; flex-direction: column; gap: 18px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: #e1f5ee; color: #085041;
    font-size: 11px; font-weight: 500;
    padding: 5px 12px; border-radius: 100px; width: fit-content;
    border: 0.5px solid #9fe1cb;
}
.hero-title {
    font-size: 28px; font-weight: 700; color: #111;
    line-height: 1.5; letter-spacing: -0.3px;
    text-align: left; margin: 0;
}
.hero-title em { color: #0ABAB5; font-style: normal; }
.hero-title .hero-sub-line {
    font-size: 17px; font-weight: 500; color: #444; display: block; margin-top: 4px;
}
.hero-price-row {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 0.5px solid rgba(27,168,126,0.22);
    border-radius: 12px; padding: 14px 18px;
}
.hero-price-left { flex: 1; }
.hero-price-tag { font-size: 10px; color: #1ba87e; font-weight: 500; margin-bottom: 2px; }
.hero-price-old { font-size: 11px; color: #bbb; text-decoration: line-through; }
.hero-price-main { display: flex; align-items: baseline; gap: 3px; margin-top: 1px; }
.hero-price-yen { font-size: 30px; font-weight: 700; color: #e00033; }
.hero-price-unit { font-size: 12px; color: #999; }
.hero-price-right {
    font-size: 11px; color: #666; line-height: 1.65;
    border-left: 1px solid #eee; padding-left: 14px;
}
.hero-gsc-note {
    font-size: 11px; color: #555;
    display: flex; align-items: center; gap: 6px;
}
.hero-gsc-note i { color: #1ba87e; }
.hero-cta-btn {
    background: #0ABAB5; color: #fff !important; border: none;
    border-radius: 9px; padding: 15px 20px;
    font-size: 16px; font-weight: 700; cursor: pointer;
    width: 100%; letter-spacing: 0.3px;
    display: block; text-align: center; text-decoration: none;
    transition: background 0.2s;
}
.hero-cta-btn:hover { background: #089e99; color: #fff !important; }
.hero-cta-meta {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 11px; color: #999;
}
.hero-setup-link { color: #1ba87e; text-decoration: underline; }
.hero-right { position: relative; height: 400px; }
.hero-screen-frame {
    position: absolute; inset: 0;
    border-radius: 14px; overflow: hidden;
    border: 0.5px solid rgba(0,0,0,0.07);
    box-shadow: 0 8px 32px rgba(27,168,126,0.12);
    background: #fff;
}
.hero-slide {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity 1.1s ease;
    display: flex; flex-direction: column;
}
.hero-slide.active { opacity: 1; }
.slide-header {
    background: #fff; padding: 14px 18px 10px;
    border-bottom: 0.5px solid #f0f0f0;
    flex-shrink: 0; display: flex; align-items: center; gap: 10px;
}
.slide-header-icon {
    width: 28px; height: 28px; border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
}
.slide-header-title { font-size: 14px; font-weight: 700; color: #111; }
.slide-header-sub { font-size: 10px; color: #aaa; margin-top: 1px; }
.slide-body { flex: 1; overflow: hidden; background: #fafafa; padding: 14px 18px; }
.slide-body-center {
    flex: 1; overflow: hidden; background: #fafafa; padding: 14px 18px;
    display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.s-row {
    display: flex; align-items: center;
    padding: 7px 0; border-bottom: 0.5px solid #f0f0f0;
    font-size: 11px; gap: 8px;
}
.s-row:last-child { border-bottom: none; }
.s-kw { flex: 1; color: #222; }
.s-bar-w { flex: 0 0 80px; height: 5px; background: #eee; border-radius: 3px; }
.s-bar { height: 5px; background: #1ba87e; border-radius: 3px; }
.s-num { min-width: 46px; text-align: right; color: #555; font-size: 10px; }
.s-badge { font-size: 9px; border-radius: 4px; padding: 2px 6px; font-weight: 600; min-width: 22px; text-align: center; }
.s-badge.hi { background: #fde8e8; color: #c00; }
.s-badge.md { background: #fff3e0; color: #b85c00; }
.s-badge.lo { background: #e8f5e9; color: #2e7d32; }
.s-rank { width: 34px; text-align: center; font-weight: 700; font-size: 11px; border-radius: 5px; padding: 3px 0; }
.s-rank.g { background: #e8f5e9; color: #2e7d32; }
.s-rank.b { background: #e3f2fd; color: #0d47a1; }
.s-rank.o { background: #fff3e0; color: #e65100; }
.s-chg { font-size: 11px; min-width: 34px; text-align: right; }
.s-chg.up { color: #2e7d32; }
.s-chg.dn { color: #c62828; }
.hero-dots {
    position: absolute; bottom: 12px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 7px;
}
.hero-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(27,168,126,0.4);
    transition: background 0.3s; cursor: pointer;
}
.hero-dot.active { background: #1ba87e; border-color: #1ba87e; }
.hero-kw-invite {
    text-align: center; font-size: 12px; color: #1ba87e;
    margin: 28px 0 12px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
@media (max-width: 768px) {
    .hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .hero-right { height: 340px; }
    .hero-title { font-size: 22px; }
    .lp-nav-btns .btn { white-space: nowrap; font-size: 12px; padding: 4px 10px; }
    .header-subtitle { display: none; }
    .hero-section { padding-top: 24px; }
}

/* ===== ビフォーアフター ===== */
.ba-section { padding: 80px 0; background: #f8faf9; }
.ba-eyebrow { font-size: 13px; font-weight: 600; color: #0ABAB5; letter-spacing: 0.08em; text-align: center; margin-bottom: 12px; }
.ba-headline { font-size: 28px; font-weight: 700; color: #1a1a2e; text-align: center; margin-bottom: 10px; }
.ba-subhead { font-size: 15px; color: #6b7280; text-align: center; margin-bottom: 48px; }
.ba-cards { display: grid; grid-template-columns: 1fr 48px 1fr; gap: 0; align-items: start; max-width: 720px; margin: 0 auto 40px; }
.ba-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 28px 24px; }
.ba-card-label { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 6px; margin-bottom: 20px; }
.ba-before .ba-card-label { background: #f3f4f6; color: #6b7280; }
.ba-after .ba-card-label { background: #d1fae5; color: #065f46; }
.ba-metric { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f3f4f6; }
.ba-metric:last-child { border-bottom: none; }
.ba-metric-name { font-size: 13px; color: #6b7280; }
.ba-metric-val { font-size: 14px; font-weight: 600; }
.ba-metric-val.bad { color: #dc2626; }
.ba-metric-val.good { color: #059669; }
.ba-arrow { display: flex; align-items: center; justify-content: center; padding-top: 80px; font-size: 22px; color: #9ca3af; }
.ba-chart { max-width: 720px; margin: 0 auto 40px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 28px 24px; }
.ba-chart-title { font-size: 14px; font-weight: 600; color: #6b7280; margin-bottom: 24px; }
.ba-bars { display: flex; flex-direction: column; gap: 20px; }
.ba-bar-label { font-size: 13px; color: #374151; font-weight: 500; display: block; margin-bottom: 8px; }
.ba-bar-pair { display: flex; flex-direction: column; gap: 6px; }
.ba-bar-row { display: flex; align-items: center; gap: 10px; }
.ba-bar-track { flex: 1; height: 20px; background: #f3f4f6; border-radius: 4px; overflow: hidden; }
.ba-bar-fill { height: 100%; border-radius: 4px; width: 0; transition: width 1s ease; }
.ba-bar-before { background: #d1d5db; }
.ba-bar-after { background: #0ABAB5; }
.ba-bar-val { font-size: 12px; color: #6b7280; width: 56px; text-align: right; flex-shrink: 0; }
.ba-bar-val.after-val { color: #059669; font-weight: 600; }
.ba-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 720px; margin: 0 auto; }
.ba-stat { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; text-align: center; }
.ba-stat-num { font-size: 28px; font-weight: 700; color: #0ABAB5; margin-bottom: 6px; }
.ba-stat-lbl { font-size: 13px; color: #6b7280; }
@media (max-width: 768px) {
  .ba-cards { grid-template-columns: 1fr; gap: 12px; }
  .ba-arrow { padding-top: 0; transform: rotate(90deg); padding: 8px 0; }
  .ba-stats { grid-template-columns: 1fr; gap: 8px; }
  .ba-headline { font-size: 20px; }
}

/* =============================
   LP サイト簡易診断
   ============================= */
.lp-diagnostic-section {
  padding: 80px 0;
  background: #f8faff;
}
.lp-diag-inner {
  max-width: 720px;
  margin: 0 auto;
}
.lp-diag-header {
  text-align: center;
  margin-bottom: 36px;
}
.lp-diag-badge {
  display: inline-block;
  background: #e8f0fe;
  color: #0ABAB5;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.lp-diag-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.lp-diag-subtitle {
  font-size: 15px;
  color: #666;
}
.lp-diag-form-wrap {
  margin-bottom: 32px;
}
.lp-diag-input-row {
  display: flex;
  gap: 10px;
}
.lp-diag-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #dde3f0;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.lp-diag-input:focus {
  border-color: #0ABAB5;
}
.lp-diag-btn {
  padding: 12px 24px;
  background: #0ABAB5;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.lp-diag-btn:hover {
  background: #089994;
}
.lp-diag-btn:disabled {
  background: #93b4f5;
  cursor: not-allowed;
}
.lp-diag-limit-note {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  margin-bottom: 0;
}
/* スコアサークル */
.lp-diag-result {
  animation: diagFadeIn 0.4s ease;
}
@keyframes diagFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lp-diag-score-wrap {
  text-align: center;
  margin-bottom: 32px;
}
.lp-diag-score-circle {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 120px;
}
.lp-diag-circle-svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}
.lp-diag-circle-bg {
  fill: none;
  stroke: #e8edf5;
  stroke-width: 10;
}
.lp-diag-circle-fg {
  fill: none;
  stroke: #0ABAB5;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1s ease;
}
.lp-diag-score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
}
.lp-diag-score-num small {
  font-size: 13px;
  color: #999;
}
.lp-diag-score-label {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
}
/* 診断項目リスト */
.lp-diag-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.lp-diag-item {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lp-diag-item-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.lp-diag-item-body {
  flex: 1;
}
.lp-diag-item-label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 2px;
}
.lp-diag-item-msg {
  font-size: 13px;
  color: #444;
}
.lp-diag-item-score {
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}
.lp-diag-item.ok   { border-left: 4px solid #22c55e; }
.lp-diag-item.warn { border-left: 4px solid #f59e0b; }
.lp-diag-item.ng   { border-left: 4px solid #ef4444; }
.lp-diag-item-score.ok   { color: #22c55e; }
.lp-diag-item-score.warn { color: #f59e0b; }
.lp-diag-item-score.ng   { color: #ef4444; }
/* CTA */
.lp-diag-cta {
  text-align: center;
  background: linear-gradient(135deg, #0ABAB5 0%, #089994 100%);
  border-radius: 12px;
  padding: 28px 24px;
}
.lp-diag-cta-text {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  margin-bottom: 14px;
}
.lp-diag-cta-btn {
  display: inline-block;
  background: #fff;
  color: #0ABAB5;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.lp-diag-cta-btn:hover {
  opacity: 0.9;
  color: #0ABAB5;
}
/* エラー */
.lp-diag-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 14px 18px;
  color: #dc2626;
  font-size: 14px;
  text-align: center;
}
/* レスポンシブ */
@media (max-width: 576px) {
  .lp-diag-title { font-size: 22px; }
  .lp-diag-input-row { flex-direction: column; }
  .lp-diag-btn { width: 100%; }
}

/* ===== Hero アニメーション ===== */
.hero-anim {
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-anim.visible { opacity: 1; transform: translateY(0); }

.hero-step-anim {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.hero-step-anim.visible { opacity: 1; transform: translateX(0); }

.hero-slide-anim {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.hero-slide-anim.visible { opacity: 1; transform: translateX(0); }

/* Hero Steps */
.hero-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.hero-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #444;
}
.hero-step-num {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #0ABAB5;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
    flex-shrink: 0;
}

/* Case section centering */
.case-section { text-align: center; }
.case-title { text-align: center; }
.case-sub { text-align: center; }
.case-label { text-align: center; }
