@charset "UTF-8";
/* ============================================
   サン・ライフ LINE/Instagram 誘導カード v2
   moshimo.net 下部セクション用
   ============================================ */

/* グリッド */
.sl-cv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .sl-cv-cards { grid-template-columns: 1fr; gap: 16px; }
}

/* カード本体 */
.sl-cv-card {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.sl-cv-card:hover {
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 12px 28px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

/* ヘッダー（アイコン + ラベル群） */
.sl-cv-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.sl-cv-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sl-cv-card__icon svg { width: 24px; height: 24px; display: block; fill: #fff; }
.sl-cv-card--line .sl-cv-card__icon { background: #06c755; }
.sl-cv-card--ig .sl-cv-card__icon {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%);
}

.sl-cv-card__head-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.4;
}
.sl-cv-card__label {
  font-size: 11px;
  color: #8a857c;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.sl-cv-card__sublabel {
  font-family: 'Noto Serif JP', 'Zen Old Mincho', serif;
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* バッジ */
.sl-cv-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fbf3;
  color: #06803a;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  align-self: flex-start;
}
.sl-cv-card__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #06c755;
  border-radius: 50%;
}
.sl-cv-card__badge--featured {
  background: #f5ecdc;
  color: #8b5a1f;
}
.sl-cv-card__badge--featured::before { background: #c08332; }

/* タイトル */
.sl-cv-card__title {
  font-family: 'Noto Serif JP', 'Zen Old Mincho', serif;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.sl-cv-card__title-quote {
  font-size: 26px;
  color: #1a1a1a;
}
.sl-cv-card__title-sub {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #5a554d;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

.sl-cv-card__lead {
  font-size: 14px;
  color: #5a554d;
  line-height: 1.8;
  margin: 0 0 20px;
}

/* メディアブロック（資料画像 + 補助情報） */
.sl-cv-card__media {
  display: flex;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 24px;
  padding: 20px;
  background: #fafaf7;
  border-radius: 8px;
}
.sl-cv-card__doc-image {
  width: 130px;
  flex-shrink: 0;
  aspect-ratio: 210 / 297;
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.sl-cv-card__doc-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.sl-cv-card--ig .sl-cv-card__doc-image img {
  object-position: center 35%;
}

/* LINEカードの画像は正方形（資料請求イメージ用） */
.sl-cv-card--line .sl-cv-card__doc-image {
  width: 150px;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: none;
  box-shadow: none;
}
.sl-cv-card--line .sl-cv-card__doc-image img {
  object-fit: contain;
}
.sl-cv-card__media-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.sl-cv-card__highlight {
  font-family: 'Noto Serif JP', 'Zen Old Mincho', serif;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
  font-weight: 600;
  margin: 0;
}
.sl-cv-card__highlight-note {
  font-family: 'Noto Sans JP', sans-serif;
  display: block;
  font-size: 11px;
  color: #8a857c;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.03em;
}

/* QRブロック */
.sl-cv-card__qr-block {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sl-cv-card__qr {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 4px;
  padding: 4px;
}
.sl-cv-card__qr img {
  width: 100%;
  height: 100%;
  display: block;
}
.sl-cv-card__qr-note {
  font-size: 10px;
  color: #8a857c;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

/* CTA */
.sl-cv-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}
.sl-cv-card--line .sl-cv-card__cta { background: #06c755; color: #fff; }
.sl-cv-card--line .sl-cv-card__cta:hover { background: #05a548; color: #fff; }
.sl-cv-card--ig .sl-cv-card__cta { background: #1a1a1a; color: #fff; }
.sl-cv-card--ig .sl-cv-card__cta:hover { background: #000; color: #fff; }
.sl-cv-card__cta-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.sl-cv-card__cta:hover .sl-cv-card__cta-arrow {
  transform: translateX(3px);
}

/* タブレット〜モバイル：QRは非表示（スマホで自分のスマホをかざせないため） */
@media (max-width: 768px) {
  .sl-cv-card__qr-block { display: none; }
  /* QRが消えるので media-info は中央寄せで highlight を見せる */
  .sl-cv-card__media-info {
    justify-content: center;
  }
}

/* モバイル */
@media (max-width: 480px) {
  .sl-cv-card { padding: 28px 24px 24px; }
  .sl-cv-card__title { font-size: 20px; }
  .sl-cv-card__title-quote { font-size: 22px; }
  .sl-cv-card__media { padding: 16px; gap: 14px; }
  .sl-cv-card__doc-image { width: 110px; }
  .sl-cv-card--line .sl-cv-card__doc-image { width: 120px; }
  .sl-cv-card__highlight { font-size: 13px; }
}

/* プレビューモード時の管理者向け帯 */
.sl-cv-cards--preview-banner::before {
  content: "🔍 SNSセクション 新デザイン プレビュー中（管理者・?preview_sns=1のみ表示）";
  display: block;
  background: #fff3cd;
  color: #856404;
  padding: 8px 14px;
  border: 1px solid #ffeaa7;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 16px;
  text-align: center;
  font-family: monospace;
}
