/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 08 2026 | 12:11:30 */
/* ============================================================
   香LIG SNS検証カードCSS v2.0
   ファイル名: sns-card.css
   ============================================================

   ■ v2.0 変更点（ranking.css と同様の画像・CTA改善）

     IMAGE-FIX-1: .sns-img-box を 68×68 → 96×96px に拡大
     IMAGE-FIX-2: .sns-img-col の幅を 88px → 118px に拡張
     CTA-FIX-1  : .sns-cta ボタンを ranking.css と同デザインに統一

   ■ このファイルに対応する作業
     → ranking-image-fix.php を functions.php に追加（必須・rankingと共通）
     → HTMLテンプレートの <img> タグを修正（必須）

   ============================================================ */

/* ── CSS変数定義 ──────────────────────────────── */
.sns-section {
  --rose:        #b87888;
  --rose-mid:    #c99aa8;
  --rose-muted:  #dbbac4;
  --bg-page:     #f8f5f6;
  --bg-card:     #ffffff;
  --bg-pale:     #faf5f7;
  --bg-muted:    #f4f0f3;
  --text-dark:   #3a3038;
  --text-body:   #5c5260;
  --text-light:  #8a7e8c;
  --border-soft: #ede4e9;
  --border-mid:  #e0d0d8;
  --sns-bg:      #fff8f0;
  --sns-text:    #a07850;
  --check-bg:    #f0f7f0;
  --check-text:  #4a7a4a;
}

/* ── セクション全体 ───────────────────────────── */
.sns-section {
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  color: var(--text-body);
  contain: layout style;
}

/* ── 見出し ───────────────────────────────────── */
.sns-heading { text-align: center; margin-bottom: 20px; }
.sns-heading-sub {
  display: block;
  font-size: 9.5px; font-weight: 700; letter-spacing: .22em;
  color: var(--rose-mid); text-transform: uppercase;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin-bottom: 8px;
}
.sns-heading-lead {
  font-size: clamp(14px, 3.5vw, 17px); font-weight: 800;
  color: var(--text-dark); letter-spacing: .04em; line-height: 1.6;
  margin: 0;
}

/* ── リード文 ─────────────────────────────────── */
.sns-lead {
  font-size: 13px; color: var(--text-body); line-height: 2;
  margin-bottom: 22px;
  padding: 14px 16px;
  background: var(--bg-pale);
  border-radius: 10px;
  border-left: 2.5px solid var(--rose-muted);
}

/* ── カードリスト ─────────────────────────────── */
.sns-list {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 8px;
}

/* ── 1枚のカード ──────────────────────────────── */
.sns-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(100,60,80,.05);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column; /* ★ CTA下配置のため縦方向に変更 */
  transition: box-shadow .2s ease, transform .2s ease;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .sns-card:hover {
    box-shadow: 0 6px 22px rgba(100,60,80,.10);
    transform: translateY(-1px);
  }
}

/* ── 上段レイアウト（バッジ・画像・テキスト） ─── */
.sns-card-top { display: flex; flex-direction: row; }

/* 左：番号バッジ */
.sns-badge-col {
  flex-shrink: 0; width: 52px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding: 16px 0 12px;
  background: var(--bg-pale);
  border-right: 1px solid var(--border-soft);
}
.sns-num {
  font-size: 20px; font-weight: 800; line-height: 1;
  color: var(--rose);
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.sns-num-label {
  font-size: 8px; font-weight: 700; letter-spacing: .08em;
  color: var(--rose-mid);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  margin-top: 2px;
}

/* 中：画像列 */
/*
 * ★ IMAGE-FIX-2：幅を 88px → 118px に拡張
 */
.sns-img-col {
  flex-shrink: 0; width: 118px;
  padding: 14px 11px;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 16px;
}

/*
 * ★ IMAGE-FIX-1：68×68 → 96×96px に拡大
 * ranking.css と同様の理由・対処方法
 */
.sns-img-box {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-muted);
  border: 1px solid var(--border-soft);
  flex-shrink: 0;
  aspect-ratio: 1 / 1; /* CLS防止 */
}
.sns-img-box img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: opacity .3s ease;
}
.sns-affil-link {
  position: absolute; inset: 0; z-index: 2; display: block;
}

/* 右：テキスト列 */
.sns-info-col {
  flex: 1; padding: 14px 14px 12px 6px;
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.sns-brand {
  font-size: 9.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--rose-mid); text-transform: uppercase;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}
.sns-name {
  font-size: 13.5px; font-weight: 800;
  color: var(--text-dark); line-height: 1.45; letter-spacing: .02em;
  word-break: break-all;
}

/* SNSバズタグ */
.sns-buzz-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9.5px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: .03em;
  background: #fff0e8; color: #c07030;
  border: 1px solid #f0d8b8;
  margin-top: 2px;
  width: -webkit-fit-content;
  width: fit-content;
}

/* ── CTA（詳しく調べてみる）ボタン ───────────────
 *
 * ★ CTA-FIX-1：ranking.css と同じデザインに統一
 *   カード下部の横断ラインに配置し、右寄せで目立つように
 * ───────────────────────────────────────────── */
.sns-cta {
  border-top: 1px solid var(--border-soft);
  padding: 10px 14px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: var(--bg-pale);
}
.sns-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--rose);
  text-decoration: none;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: .04em;
  background: #ffffff;
  border: 1.5px solid var(--rose-muted);
  border-radius: 20px;
  padding: 8px 18px;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
  box-shadow: 0 1px 4px rgba(184,120,136,.08);
}
@media (hover: hover) and (pointer: fine) {
  .sns-cta a:hover {
    color: #9a5868;
    border-color: var(--rose);
    background: #fff5f7;
    box-shadow: 0 3px 10px rgba(184,120,136,.16);
  }
}
.sns-cta a:active { transform: scale(0.97); }
.cta-arrow {
  font-style: normal; font-size: 11px;
  display: inline-block;
}

/* ── 下段：SNS評判 vs 検証結果 ───────────────── */
.sns-card-bottom { border-top: 1px solid var(--border-soft); }
.sns-verdict-row { display: flex; flex-direction: row; }

/* SNS評判 */
.sns-col-sns {
  flex: 1; padding: 12px 14px;
  background: var(--sns-bg);
  border-right: 1px solid var(--border-soft);
  display: flex; flex-direction: column; gap: 5px;
  min-width: 0;
}
.sns-col-label {
  display: flex; align-items: center; gap: 4px;
  font-size: 9px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--sns-text);
  margin-bottom: 1px;
}
.sns-col-text { font-size: 12px; color: var(--text-body); line-height: 1.7; }

/* 検証結果 */
.sns-col-check {
  flex: 1; padding: 12px 14px;
  background: var(--check-bg);
  display: flex; flex-direction: column; gap: 5px;
  min-width: 0;
}
.check-col-label {
  display: flex; align-items: center; gap: 4px;
  font-size: 9px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--check-text);
  margin-bottom: 1px;
}
.check-col-text { font-size: 12px; color: var(--text-body); line-height: 1.7; }
.check-col-text strong { color: var(--check-text); font-weight: 700; }

/* ── スマホ対応 ───────────────────────────────── */
@media (max-width: 480px) {
  .sns-heading { margin-bottom: 14px; }
  .sns-heading-lead { font-size: 15px; line-height: 1.65; }
  .sns-lead { font-size: 12.5px; line-height: 1.9; padding: 12px 13px; margin-bottom: 16px; }

  .sns-badge-col { width: 40px; }
  .sns-num { font-size: 16px; }
  .sns-num-label { font-size: 7.5px; }

  /* ★ スマホ：ranking.css と同様に 80px に縮小 */
  .sns-img-col { width: 100px; padding: 12px 8px; padding-top: 14px; }
  .sns-img-box { width: 80px; height: 80px; }

  .sns-info-col { padding: 11px 10px 10px 3px; gap: 3px; }
  .sns-brand { font-size: 9px; }
  .sns-name { font-size: 12px; }
  .sns-buzz-tag { font-size: 9px; padding: 2px 7px; white-space: normal; word-break: break-all; }

  /* CTA：スマホ */
  .sns-cta { padding: 8px 12px; }
  .sns-cta a { font-size: 11.5px; padding: 7px 14px; }

  /* SNS評判 vs 検証結果：スマホでは縦並び */
  .sns-verdict-row { flex-direction: column; }
  .sns-col-sns { border-right: none; border-bottom: 1px solid var(--border-soft); padding: 10px 13px; }
  .sns-col-check { padding: 10px 13px; }
  .sns-col-label, .check-col-label { font-size: 8.5px; }
  .sns-col-text, .check-col-text { font-size: 12px; line-height: 1.7; }
}

/* ── prefers-reduced-motion ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sns-card { transition: none; will-change: auto; }
  .sns-card:hover { transform: none; }
  .sns-img-box img { transition: none; }
  .sns-cta a { transition: none; }
  .cta-arrow { transition: none; }
}