/* ============================================================
   LINE資料請求CTA — 共通 + バリエーション
   Ver.A: ビフォーアフター版（line-cta--ba）
   Ver.B: スライドチラ見せ版（line-cta--peek）
   トンマナ: design/tone-and-manner.md 準拠
   フォントサイズ基準: SP本文16px / PC本文18px / h2 SP26px PC32px
   ============================================================ */

/* --- フォント（IDCサイト準拠） --- */
.line-cta,
.line-cta * {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic",
               "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro",
               "メイリオ", Meiryo, sans-serif;
  box-sizing: border-box;
}

/* ============================================================
   共通ベース
   ============================================================ */
.line-cta {
  background: #f7f6f2;
  padding: 40px 16px;
}

.line-cta__inner {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 32px 20px 36px;
  /* CTAブロックは既存ページの#f7f6f2背景内に白カードとして浮かせるため、
     視覚的分離にborderを使用（トンマナ Section 5: カードにbox-shadow不許可に準拠） */
  border: 1px solid #e5e5e5;
}

.line-cta__divider {
  height: 1px;
  background: #e5e5e5;
  margin: 24px 0;
}

/* --- 見出し（h2相当: SP26px / PC32px） --- */
.line-cta__heading {
  font-size: 26px;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
  margin: 0 0 12px;
}

.line-cta__heading-accent {
  color: #0b5da2;
}

/* --- チェックリスト（本文相当: SP16px / PC18px） --- */
.line-cta__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.line-cta__list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 4px;
}

.line-cta__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  background: #0b5da2;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- ガイドブック（共通） --- */
.line-cta__guide {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.line-cta__guide-cover {
  flex-shrink: 0;
  width: 120px;
}

.line-cta__guide-img {
  width: 120px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.line-cta__guide-info {
  flex: 1;
}

/* --- LINEボタン（ボタン文字: SP16px / PC18px） --- */
.line-cta__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  padding: 18px 20px;
  background: #06C755;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(6, 199, 85, 0.3);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.line-cta__button:hover {
  background: #05b34c;
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.4);
}

.line-cta__button-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.line-cta__button-text {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
}

/* 注記（サブテキスト: SP14px / PC16px） */
.line-cta__note {
  font-size: 14px;
  color: #999;
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}

/* ============================================================
   Ver.A: ビフォーアフター版（v2: ガイドブック先出し）
   ============================================================ */

/* サブテキスト: SP14px */
.line-cta__ba-sub {
  font-size: 16px;
  color: #777;
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.6;
}

.line-cta__ba-preview {
  background: #f7f6f2;
  border-radius: 6px;
  padding: 16px 16px 18px;
  text-align: center;
  margin-bottom: 24px;
}

/* ラベル（サブテキスト相当: SP14px） */
.line-cta__ba-preview-label {
  font-size: 14px;
  font-weight: bold;
  color: #0b5da2;
  margin: 0 0 12px;
  line-height: 1.4;
}

.line-cta__ba-images {
  margin-bottom: 10px;
}

.line-cta__ba-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 4px;
}

/* キャプション（サブテキスト: SP14px） */
.line-cta__ba-caption {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 4px;
}

/* 注記（フッター相当: SP13px — トンマナ基準の最小） */
.line-cta__ba-note {
  font-size: 13px;
  color: #999;
  margin: 0;
  line-height: 1.4;
}

.line-cta__list--center {
  max-width: 380px;
  margin: 0 auto 28px;
}

/* ============================================================
   Ver.B: スライドチラ見せ版
   ============================================================ */

/* サブテキスト: SP14px */
.line-cta__peek-sub {
  font-size: 16px;
  color: #777;
  text-align: center;
  margin: 0 0 20px;
  line-height: 1.6;
}

.line-cta__peek-slides {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}

.line-cta__peek-card {
  flex: 0 0 70%;
  max-width: 220px;
  scroll-snap-align: start;
}

.line-cta__peek-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
}

/* カードラベル（サブテキスト: SP14px） */
.line-cta__peek-label {
  font-size: 14px;
  color: #0b5da2;
  font-weight: bold;
  text-align: center;
  margin: 8px 0 0;
  line-height: 1.4;
}

/* 補足テキスト（本文: SP16px） */
.line-cta__peek-more {
  font-size: 16px;
  color: #555;
  text-align: center;
  margin: 0 0 24px;
  line-height: 1.6;
}

/* ============================================================
   PC（768px〜）
   ============================================================ */
@media (min-width: 768px) {
  .line-cta {
    padding: 60px 20px;
  }

  .line-cta__inner {
    padding: 40px 48px 44px;
  }

  /* 共通: h2 → PC32px, 本文 → PC18px, サブ → PC16px */
  .line-cta__heading { font-size: 32px; }
  .line-cta__list li { font-size: 18px; padding-left: 32px; }
  .line-cta__list li::before { width: 20px; height: 20px; background-size: 12px; top: 7px; }
  .line-cta__guide { gap: 24px; margin-bottom: 32px; }
  .line-cta__guide-cover { width: 160px; }
  .line-cta__guide-img { width: 160px; }
  .line-cta__button { max-width: 480px; margin: 0 auto; min-height: 68px; padding: 20px 28px; }
  /* ボタン基準PC18pxから+2px: CTA訴求力確保。h3=24pxとの差4pxを維持 */
  .line-cta__button-text { font-size: 20px; }
  .line-cta__button-icon { width: 30px; height: 30px; }
  .line-cta__note { font-size: 16px; }

  /* Ver.A */
  .line-cta__ba-sub { font-size: 18px; }
  .line-cta__ba-preview-label { font-size: 16px; }
  .line-cta__ba-caption { font-size: 16px; }
  .line-cta__ba-note { font-size: 14px; }
  .line-cta__list--center { max-width: 420px; }

  /* Ver.B */
  .line-cta__peek-sub { font-size: 18px; }
  .line-cta__peek-slides { gap: 16px; justify-content: center; overflow-x: visible; }
  .line-cta__peek-card { flex: 0 0 auto; max-width: 190px; }
  .line-cta__peek-label { font-size: 16px; }
  .line-cta__peek-more { font-size: 18px; }
}
