@charset "UTF-8";
/* ============================================
   sfpick.css  ｜ 記事上部ピックアップ紹介カード
   読み込み条件：本文に「sfpick-」を含む場合
   バナー画像（横長・正方形どちらも可）対応
   ============================================ */

.sfpick-wrap {
  margin: 2.4em 0;
}

/* ── 見出し ───────────────────────── */
.sfpick-head {
  display: flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 1.1em;
  padding-bottom: .6em;
  border-bottom: 2px solid var(--color_main, #1e9e6a);
}

.sfpick-head-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color_main, #1e9e6a);
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.sfpick-head-text {
  font-size: 1.12em;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .01em;
}

.sfpick-head-text b {
  color: var(--color_main, #1e9e6a);
}

/* ── カード ───────────────────────── */
.sfpick-card {
  position: relative;
  margin-bottom: 1.6em;
  border: 2px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.sfpick-card:last-of-type {
  margin-bottom: 0;
}

.sfpick-card--first {
  border-color: var(--color_main, #1e9e6a);
}

/* 順位バッジ */
.sfpick-rank {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  padding: .3em 1.1em .35em .8em;
  border-radius: 10px 0 12px 0;
  background: #9aa3ad;
  color: #fff;
  font-size: .78em;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.3;
}

.sfpick-card--first .sfpick-rank {
  background: linear-gradient(135deg, #f0b429, #e08a1e);
}

/* ── バナー画像（横幅いっぱい・比率維持） ──── */
.sfpick-banner {
  display: block;
  padding: 1.1em .9em .9em;
  background: #f7f9fa;
  border-bottom: 1px solid #e9edf0;
  text-align: center;
  line-height: 0;
  transition: opacity .2s;
}

a.sfpick-banner:hover {
  opacity: .85;
}

.sfpick-banner img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: inline-block;
  border-radius: 6px;
}

/* ── 名前エリア ────────────────────── */
.sfpick-name-area {
  padding: .9em 1.1em .8em;
  border-bottom: 1px dashed #dfe3e8;
}

.sfpick-name {
  display: block;
  font-size: 1.18em;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: .3em;
}

.sfpick-catch {
  display: block;
  font-size: .87em;
  line-height: 1.6;
  color: #5b6672;
}

/* ── 数値3列 ──────────────────────── */
.sfpick-data {
  display: flex;
  border-bottom: 1px dashed #dfe3e8;
}

.sfpick-data-item {
  flex: 1 1 0;
  min-width: 0;
  padding: .8em .4em;
  text-align: center;
  border-right: 1px dashed #dfe3e8;
}

.sfpick-data-item:last-child {
  border-right: none;
}

.sfpick-data-label {
  display: block;
  font-size: .72em;
  color: #78838f;
  line-height: 1.3;
  margin-bottom: .25em;
}

.sfpick-data-num {
  display: block;
  font-size: 1.06em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color_main, #1e9e6a);
}

.sfpick-data-num i {
  font-style: normal;
  font-size: .68em;
  margin-left: .1em;
  font-weight: 700;
}

/* ── 解説文 ───────────────────────── */
.sfpick-body {
  padding: 1em 1.1em .9em;
  font-size: .92em;
  line-height: 1.85;
}

.sfpick-body p {
  margin: 0 0 .8em;
}

.sfpick-body p:last-child {
  margin-bottom: 0;
}

/* ── 詳細レビューリンク ───────────────── */
.sfpick-more {
  padding: 0 1.1em 1.1em;
  text-align: right;
}

.sfpick-more a {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  font-size: .86em;
  font-weight: 700;
  color: var(--color_main, #1e9e6a);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: opacity .2s;
}

.sfpick-more a:hover {
  opacity: .7;
}

.sfpick-more a::after {
  content: "→";
  font-size: .95em;
}

/* ── 注記 ─────────────────────── */
.sfpick-note {
  margin-top: 1em;
  font-size: .76em;
  line-height: 1.7;
  color: #78838f;
}

/* ── スマホ ────────────────────── */
@media screen and (max-width: 599px) {
  .sfpick-banner {
    padding: 1em .7em .8em;
  }

  .sfpick-name-area {
    padding: .8em .8em .7em;
  }

  .sfpick-name {
    font-size: 1.06em;
  }

  .sfpick-catch {
    font-size: .81em;
  }

  .sfpick-data-item {
    padding: .7em .2em;
  }

  .sfpick-data-label {
    font-size: .66em;
  }

  .sfpick-data-num {
    font-size: .95em;
  }

  .sfpick-body {
    padding: .9em .8em .8em;
    font-size: .88em;
  }

  .sfpick-more {
    padding: 0 .8em 1em;
  }
}
