/* ==========================================================================
   ルバンシュ ブランド紹介ページ（カテゴリーページ用）
   自然派化粧品ルバンシュ / kodawari-store.com/c/revanche
   BEM prefix: kdw-revanche__
   テーマカラー: オレンジ系
   ========================================================================== */

.kdw-revanche__wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 8px;
  font-size: 15px;
  line-height: 1.9;
  color: #3a2f28;
  box-sizing: border-box;
}
.kdw-revanche__wrap * {
  box-sizing: border-box;
}
.kdw-revanche__wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- キービジュアル ---------- */
.kdw-revanche__keyvisual {
  width: 100%;
  margin: 0 0 20px;
}

/* ---------- バッジ＋ブランド名見出し ---------- */
.kdw-revanche__head {
  text-align: center;
  margin: 0 0 18px;
}
.kdw-revanche__badge {
  display: inline-block;
  padding: 4px 16px;
  margin: 0 0 10px;
  border: 1px solid #f0a75c;
  border-radius: 999px;
  background: #fff6ec;
  color: #c1600e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.kdw-revanche__title {
  margin: 0;
  font-size: 26px !important;
  font-weight: 700;
  color: #b85c00;
  letter-spacing: 0.03em;
}

/* ---------- リード文（導入枠） ---------- */
.kdw-revanche__lead {
  border: 1px solid #f0c896;
  background: #fff6ec;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 0 0 20px;
  text-align: center;
  font-weight: 700;
  color: #3a2f28;
}
.kdw-revanche__lead .kdw-revanche__hl {
  color: #d9670c;
}

/* ---------- キーワード強調（要点のみに限定使用） ---------- */
.kdw-revanche__hl {
  color: #c1600e;
  font-weight: 700;
}

/* ---------- 目次 ---------- */
.kdw-revanche__toc {
  border: 1px solid #eadfd2;
  background: #ffffff;
  border-radius: 8px;
  padding: 16px 18px;
  margin: 0 0 28px;
}
.kdw-revanche__toc-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #b85c00;
}
.kdw-revanche__toc-desc {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: #8a7c6e;
  line-height: 1.7;
}
.kdw-revanche__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.kdw-revanche__toc-list li {
  border-top: 1px solid #f1e8dc;
}
.kdw-revanche__toc-list li:first-child {
  border-top: none;
}
.kdw-revanche__toc-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  color: #3a2f28;
  text-decoration: none;
}
.kdw-revanche__toc-list a:hover {
  color: #c1600e;
}
.kdw-revanche__toc-num {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: #d9670c;
}

/* ---------- 目次に戻る ---------- */
.kdw-revanche__backtop {
  text-align: right;
  margin: 0 0 6px;
}
.kdw-revanche__backtop a {
  font-size: 12px;
  color: #9a8b7c;
  text-decoration: none;
}
.kdw-revanche__backtop a:hover {
  color: #c1600e;
}

/* ---------- チャプター見出し ---------- */
.kdw-revanche__chapter {
  margin: 0 0 34px;
}
.kdw-revanche__chapter-kicker {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 6px;
}
.kdw-revanche__chapter-kicker-num {
  font-size: 22px;
  font-weight: 700;
  color: #f0a75c;
  font-style: italic;
  line-height: 1;
}
.kdw-revanche__chapter-kicker-text {
  position: relative;
  padding-left: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #b8895c;
  letter-spacing: 0.06em;
}
.kdw-revanche__chapter-kicker-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background: #f0a75c;
}
.kdw-revanche__chapter-heading {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff8a3d, #e8600f);
  color: #ffffff;
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1.5;
}

/* ---------- チャプター画像 ---------- */
.kdw-revanche__chapter-img {
  margin: 0 0 20px;
}
.kdw-revanche__chapter-img--inline {
  margin: 24px 0 0;
}
.kdw-revanche__chapter-img figcaption {
  margin-top: 6px;
  font-size: 12px;
  color: #9a8b7c;
  text-align: center;
}

/* ---------- テキストカード ---------- */
.kdw-revanche__card {
  background: #ffffff;
  border: 1px solid #eee0d0;
  border-radius: 8px;
  padding: 20px 20px 4px;
}
.kdw-revanche__card p {
  margin: 0 0 16px;
}
.kdw-revanche__card p:last-child {
  margin-bottom: 16px;
}
.kdw-revanche__divider {
  border: none;
  border-top: 1px dashed #d4b8a8;
  height: 0;
  margin: 18px 0;
}

/* ---------- おすすめポイント（チェックリスト） ---------- */
.kdw-revanche__points {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.kdw-revanche__points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 4px;
  border-top: 1px solid #f1e8dc;
  font-weight: 700;
}
.kdw-revanche__points li:first-child {
  border-top: none;
}
.kdw-revanche__points .kdw-revanche__check {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.kdw-revanche__points .kdw-revanche__check circle {
  fill: #fff6ec;
  stroke: #f0a75c;
}
.kdw-revanche__points .kdw-revanche__check path {
  stroke: #d9670c;
}

/* ---------- 注記（受賞歴など） ---------- */
.kdw-revanche__note {
  display: inline-block;
  margin: 0 0 4px;
  padding: 8px 14px;
  background: #fff6ec;
  border: 1px solid #f0c896;
  border-radius: 6px;
  font-size: 13px;
  color: #6b5a48;
}

/* ---------- 社長の言葉（引用） ---------- */
.kdw-revanche__quote {
  position: relative;
  margin: 16px 0;
  padding: 16px 18px 16px 22px;
  background: #fff6ec;
  border-left: 4px solid #e8600f;
  border-radius: 0 6px 6px 0;
  font-size: 16px;
  font-weight: 700;
  color: #a04c00;
  line-height: 1.7;
}

/* ---------- 社名の由来（小見出し付き注釈） ---------- */
.kdw-revanche__meaning {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #fbf7f2;
  border-radius: 8px;
}
.kdw-revanche__meaning p {
  flex: 1 1 220px;
  margin: 0 !important;
  font-size: 14px;
  color: #6b5a48;
}
.kdw-revanche__meaning img {
  flex: 0 0 auto;
  width: 160px;
  max-width: 40%;
}

/* ---------- ページ末の運営コメント ---------- */
.kdw-revanche__editor {
  margin: 32px 0 0;
  padding: 16px 18px;
  background: #fbf7f2;
  border-radius: 8px;
  font-size: 13px;
  color: #8a7c6e;
  line-height: 1.8;
}
.kdw-revanche__editor strong {
  color: #6b5a48;
}

/* ---------- スマホ対応 ---------- */
@media screen and (max-width: 600px) {
  .kdw-revanche__wrap {
    padding: 0 4px;
  }
  .kdw-revanche__card {
    padding: 16px 14px 2px;
  }
  .kdw-revanche__title {
    font-size: 22px !important;
  }
  .kdw-revanche__chapter-heading {
    font-size: 15.5px !important;
    padding: 10px 12px;
  }
  .kdw-revanche__meaning {
    justify-content: center;
    text-align: center;
  }
}
