/* ========== キャリデリ！LP 共通スタイル ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 90px; /* sticky CTA分 */
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { border: none; cursor: pointer; font-family: inherit; }

/* ===== アンカーナビ ===== */
.anchor-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 10px 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav a {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}

/* ===== ロゴヘッダー ===== */
.brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.brand-header img {
  height: 32px;
  width: auto;
}

/* ===== FV ===== */
.fv {
  position: relative;
}
.fv img.fv-image {
  width: 100%;
  height: auto;
}

/* ===== セクション共通 ===== */
section {
  padding: 48px 20px;
  scroll-margin-top: 60px;
}
.section-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  text-wrap: balance;
}
.section-lead {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 24px;
  text-wrap: pretty;
}

/* ===== フェードイン ===== */
/* デフォルト表示。JSが動作するまで表示状態を保証。 */
.fade-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
/* JSがロードされたら初期状態は非表示に。ビューポートinで .visible が付く。 */
html.js-ready .fade-in:not(.visible) {
  opacity: 0;
  transform: translateY(24px);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* ===== チェックリスト ===== */
.checklist {
  list-style: none;
  padding: 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  margin-top: 2px;
}

/* ===== STEP ===== */
.step-list { display: flex; flex-direction: column; gap: 12px; }
.step-item {
  position: relative;
  padding: 18px 18px 18px 68px;
  border-radius: 14px;
}
.step-num {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-direction: column;
  line-height: 1;
}
.step-num small { font-size: 8px; font-weight: 600; margin-bottom: 2px; opacity: 0.8; }
.step-num strong { font-size: 16px; }
.step-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.step-desc { font-size: 12px; opacity: 0.8; line-height: 1.5; }

/* ===== 比較テーブル ===== */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
  border-radius: 12px;
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 12px 8px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.compare-table th {
  font-weight: 700;
  font-size: 11px;
}
.compare-table td:first-child, .compare-table th:first-child {
  text-align: left;
  font-weight: 600;
}

/* ===== 強み ===== */
.strength-list { display: flex; flex-direction: column; gap: 14px; }
.strength-item {
  padding: 20px;
  border-radius: 14px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.strength-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.strength-title { font-weight: 700; font-size: 15px; margin-bottom: 6px; line-height: 1.4; }
.strength-desc { font-size: 12px; line-height: 1.6; opacity: 0.85; }

/* ===== 声 ===== */
.voice-card {
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 14px;
}
.voice-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.voice-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.voice-meta { font-size: 11px; opacity: 0.7; }
.voice-name { font-weight: 700; font-size: 13px; }
.voice-quote {
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
}

/* ===== 特典 ===== */
.gift-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.gift-card {
  padding: 18px;
  border-radius: 14px;
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
}
.gift-badge {
  position: absolute;
  top: -10px;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.gift-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.gift-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.gift-desc { font-size: 11px; opacity: 0.8; line-height: 1.5; }

/* ===== 数値ハイライト ===== */
.stats-row {
  display: flex;
  gap: 8px;
  justify-content: space-around;
  margin: 24px 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 14px 4px;
  border-radius: 12px;
}
.stat-label { font-size: 10px; font-weight: 600; opacity: 0.75; margin-bottom: 4px; }
.stat-value { font-size: 22px; font-weight: 800; line-height: 1; }
.stat-value small { font-size: 12px; }

/* ===== 限定枠 ===== */
.limited-box {
  padding: 24px 20px;
  border-radius: 16px;
  text-align: center;
}
.limited-label { font-size: 11px; letter-spacing: 0.15em; font-weight: 700; margin-bottom: 8px; }
.limited-headline { font-size: 20px; font-weight: 700; line-height: 1.5; margin-bottom: 12px; }
.limited-count { font-size: 32px; font-weight: 800; margin: 8px 0; }

/* ===== CTAボタン内配置 ===== */
.inline-cta {
  display: block;
  width: 100%;
  padding: 18px 16px;
  border-radius: 14px;
  background: #06C755;
  color: white !important;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.3);
  margin: 24px 0;
  line-height: 1.4;
  transition: transform 0.15s;
}
.inline-cta:active { transform: scale(0.98); }
.inline-cta .cta-sub { display: block; font-size: 10px; font-weight: 500; margin-bottom: 4px; opacity: 0.95; }

/* ===== Sticky CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px 14px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  z-index: 100;
}
.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: #06C755;
  color: white !important;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.35);
  transition: transform 0.15s;
}
.sticky-cta a:active { transform: scale(0.98); }
.sticky-cta .line-icon {
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 6px;
  color: #06C755;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 11px;
}

/* ===== フッター ===== */
.foot {
  padding: 32px 20px;
  text-align: center;
  font-size: 11px;
  opacity: 0.6;
}

/* ===== 手書き風装飾 ===== */
.handwrite-underline {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2 8 Q50 2 100 6 T198 5' stroke='currentColor' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 100% 8px;
  padding-bottom: 6px;
}
.handwrite-circle {
  display: inline-block;
  position: relative;
  padding: 2px 8px;
}
.handwrite-circle::before {
  content: "";
  position: absolute;
  inset: -4px -8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'><ellipse cx='50' cy='20' rx='47' ry='17' stroke='currentColor' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-dasharray='3 3'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* ===== 吹き出し ===== */
.speech-list { display: flex; flex-direction: column; gap: 14px; }
.speech-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.speech-item.right { flex-direction: row-reverse; }
.speech-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.speech-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.6;
  max-width: 80%;
  position: relative;
  font-weight: 500;
}
