/* ==========================================================================
   Haircare DB — Combined Public Styles
   Sources: TOPデザイン, 商品詳細デザイン, 成分詳細デザイン
   All selectors scoped under .post_content .haircare-db
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (shared across all 3 designs)
   -------------------------------------------------------------------------- */
:root {
  --br: #8b5a3a;
  --mg: #4e7a56;
  --gd: #c48f3a;
  --bg: #faf6f0;
  --white: #fff;
  --br-l: #f5e8df;
  --mg-l: #e4f0e6;
  --gd-l: #fdf0d8;
  --br-d: #6a3f22;
  --mg-d: #325c3a;
  --line: rgba(139, 90, 58, .18);
  --txl: #9a7560;
  --tx: #2e1e12;
  --danger: #c0785a;
  --danger-l: #fdf0eb;
  --danger-d: #8a4a2a;
}

/* --------------------------------------------------------------------------
   SWELL Reset — neutralise common SWELL theme overrides inside .haircare-db
   -------------------------------------------------------------------------- */
/* 背景色はwp_headからインラインCSS出力で制御 */

.post_content .haircare-db {
  box-sizing: border-box;
}

.post_content .haircare-db *,
.post_content .haircare-db *::before,
.post_content .haircare-db *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.post_content .haircare-db > * {
  margin-bottom: 0 !important;
  clear: none !important;
}

.post_content .haircare-db h1,
.post_content .haircare-db h3,
.post_content .haircare-db h4,
.post_content .haircare-db h5,
.post_content .haircare-db h6 {
  font-size: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  font-weight: inherit;
  border: none;
  background: none;
}

/* セクションH2（SEO用見出し + sec-bar + sec-num を1行に統合） */
.post_content .haircare-db h2.swell-block-hc-h2,
.post_content h2.swell-block-hc-h2 {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin: 0 0 14px 0 !important;
  padding: 0 !important;
  border: none !important;
  border-left: none !important;
  background: none !important;
  line-height: 1.5 !important;
}
.post_content .haircare-db h2.swell-block-hc-h2::before,
.post_content .haircare-db h2.swell-block-hc-h2::after,
.post_content h2.swell-block-hc-h2::before,
.post_content h2.swell-block-hc-h2::after {
  display: none !important;
  content: none !important;
}
h2.swell-block-hc-h2 .sec-num {
  font-size: 10px;
  color: #999;
  margin-left: auto;
}
h2.swell-block-hc-h2 .sec-bar {
  display: inline-block;
  width: 3px;
  height: 16px;
  background: #8b5a3a;
  border-radius: 2px;
  flex-shrink: 0;
}

/* 視覚的に非表示（Google・スクリーンリーダーには見える） */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.post_content .haircare-db h2::before,
.post_content .haircare-db h3::before {
  content: none !important;
}

.post_content .haircare-db a {
  color: inherit !important;
  text-decoration: none;
}

.post_content .haircare-db p {
  margin: 0 !important;
  padding: 0;
}

.post_content .haircare-db ul,
.post_content .haircare-db ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post_content .haircare-db img {
  max-width: 100%;
  height: auto;
}

.post_content .haircare-db div > :first-child {
  margin-top: 0 !important;
}

.post_content .haircare-db div > :last-child {
  margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   TOP PAGE — from TOPデザイン
   -------------------------------------------------------------------------- */

/* PAGE */
.post_content .haircare-db .page {
  max-width: 100% !important;
  margin: 0 auto;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--tx);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) {
  .post_content .haircare-db .page {
    max-width: 900px !important;
  }
}

/* HERO */
.post_content .haircare-db .hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 32px 20px 28px;
  text-align: center;
}

.post_content .haircare-db .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mg-l);
  border: 1px solid rgba(78, 122, 86, .25);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 11px;
  color: var(--mg-d);
  margin-bottom: 16px;
  letter-spacing: .05em;
}

.post_content .haircare-db .hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mg);
  flex-shrink: 0;
}

.post_content .haircare-db .hero h1,
.post_content .haircare-db .hero .hero-catch {
  font-size: clamp(20px, 5vw, 28px) !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  line-height: 1.3 !important;
  margin-bottom: 10px !important;
}

.post_content .haircare-db .hero h1 em,
.post_content .haircare-db .hero .hero-catch em {
  color: var(--br) !important;
  font-style: normal !important;
}

.post_content .haircare-db .hero-sub {
  font-size: 13px;
  color: var(--txl);
  line-height: 1.8;
  margin-bottom: 20px !important;
}

.post_content .haircare-db .hero-search {
  display: flex;
  border: 1.5px solid var(--gd);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  max-width: 440px;
  margin: 0 auto;
}

.post_content .haircare-db .hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 14px;
  background: transparent;
  color: var(--tx);
  font-family: inherit;
}

.post_content .haircare-db .hero-search input::placeholder {
  color: var(--txl);
}

.post_content .haircare-db .hero-search button {
  background: var(--gd);
  color: #fff;
  border: none;
  padding: 0 20px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: .05em;
  font-family: inherit;
}

/* SECTION (TOP) */
.post_content .haircare-db .section {
  padding: 24px 20px;
}

.post_content .haircare-db .section + .section {
  border-top: 1px solid var(--line);
}

.post_content .haircare-db .sec-label {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--txl);
  margin-bottom: 4px !important;
}

.post_content .haircare-db .sec-title {
  font-size: 22px !important;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 6px !important;
}

.post_content .haircare-db .sec-sub {
  font-size: 12px;
  color: var(--txl);
  margin-bottom: 16px !important;
  line-height: 1.6;
}

/* ENTRY CARDS — PC: 2列+1列 / SP: 横並びリスト */
.post_content .haircare-db .entry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.post_content .haircare-db .entry-card.ec-full {
  grid-column: 1 / -1;
}

.post_content .haircare-db .entry-card {
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: .2s;
  border: 1.5px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.post_content .haircare-db .entry-card:hover {
  transform: translateY(-2px);
}

.post_content .haircare-db .ec-br {
  background: var(--br-l);
  border-color: rgba(139, 90, 58, .2);
}

.post_content .haircare-db .ec-mg {
  background: var(--mg-l);
  border-color: rgba(78, 122, 86, .2);
}

.post_content .haircare-db .ec-gd {
  background: var(--gd-l);
  border-color: rgba(196, 143, 58, .2);
}

.post_content .haircare-db .ec-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  flex-shrink: 0;
}

.post_content .haircare-db .ec-br .ec-icon {
  background: rgba(139, 90, 58, .15);
}

.post_content .haircare-db .ec-mg .ec-icon {
  background: rgba(78, 122, 86, .15);
}

.post_content .haircare-db .ec-gd .ec-icon {
  background: rgba(196, 143, 58, .2);
}

.post_content .haircare-db .ec-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--tx);
  white-space: nowrap;
  margin-bottom: 0 !important;
  line-height: 1.3;
}

.post_content .haircare-db .ec-desc {
  font-size: 10px;
  color: var(--txl);
  line-height: 1.5;
}

.post_content .haircare-db .ec-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  flex-shrink: 0;
  transition: .2s;
}
.post_content .haircare-db .entry-card:hover .ec-arrow {
  background: rgba(0,0,0,.1);
  transform: translateX(2px);
}
.post_content .haircare-db .ec-full {
  flex-direction: row;
  text-align: left;
  gap: 14px;
  padding: 18px 20px;
}
.post_content .haircare-db .ec-full .ec-icon {
  margin: 0;
}
.post_content .haircare-db .ec-full .ec-arrow {
  margin-top: 0;
  margin-left: auto;
}

/* SP: 横並びリスト型に変更 */
@media (max-width: 767px) {
  .post_content .haircare-db .entry-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .post_content .haircare-db .entry-card {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 14px 16px;
    gap: 12px;
    min-height: auto;
  }
  .post_content .haircare-db .ec-icon {
    margin: 0;
    width: 32px;
    height: 32px;
  }
  .post_content .haircare-db .ec-name {
    font-size: 14px;
    margin-bottom: 0 !important;
  }
  .post_content .haircare-db .ec-desc {
    display: none;
  }
  .post_content .haircare-db .ec-arrow {
    margin-top: 0;
    margin-left: auto;
    width: 26px;
    height: 26px;
  }
}
}

/* INGREDIENTS CHIPS (TOP) */
.post_content .haircare-db .ingr-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px !important;
}

.post_content .haircare-db .ingr-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: .15s;
  width: 100%;
  box-sizing: border-box;
}

.post_content .haircare-db .ingr-chip:hover {
  border-color: var(--mg);
}

.post_content .haircare-db .ic-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.post_content .haircare-db .ic-name {
  font-size: 13px;
  color: var(--tx);
  font-weight: 700;
}

.post_content .haircare-db .ic-cat {
  font-size: 10px;
  color: var(--txl);
}

.post_content .haircare-db .ic-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: auto;
  white-space: nowrap;
  font-weight: 700;
}

.post_content .haircare-db .ic-badge.safe {
  background: var(--mg-l);
  color: var(--mg-d);
}

.post_content .haircare-db .ic-badge.caution {
  background: var(--gd-l);
  color: #7a5a20;
}

/* PRODUCTS GRID (TOP) */
.post_content .haircare-db .prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 600px) {
  .post_content .haircare-db .prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.post_content .haircare-db .prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: .15s;
  display: flex !important;
  flex-direction: column !important;
}

.post_content .haircare-db .prod-card:hover {
  border-color: var(--gd);
}

.post_content .haircare-db .prod-type-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  color: var(--br);
  background: var(--br-l);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px !important;
}

.post_content .haircare-db .prod-meta-row,
.post_content .haircare-db .prod-card-meta {
  display: flex;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 2px;
  margin-top: auto !important;
  padding-top: 6px !important;
}

.post_content .haircare-db .prod-price-sm {
  font-size: 11px;
  font-weight: 700;
  color: var(--br);
  display: inline-block !important;
}

.post_content .haircare-db .prod-review-sm {
  font-size: 10px;
  color: var(--mg);
  font-weight: 600;
  display: inline-block !important;
}

/* H2内のprice/reviewは改行して表示 */
.post_content .haircare-db .prod-card-h2 .prod-price-sm,
.post_content .haircare-db .prod-card-h2 .prod-review-sm {
  display: block !important;
  margin-top: 4px !important;
}
}

.post_content .haircare-db .prod-card .prod-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--br-l);
  border-radius: 6px;
  margin-bottom: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post_content .haircare-db .prod-card .prod-img-inner {
  width: 36px;
  height: 52px;
  border-radius: 4px;
  opacity: .4;
}

.post_content .haircare-db .prod-brand {
  font-size: 10px;
  color: var(--txl);
  margin-bottom: 3px !important;
  letter-spacing: .05em;
}

.post_content .haircare-db .prod-card .prod-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 4px !important;
  line-height: 1.4;
}

.post_content .haircare-db .prod-type {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--br-l);
  color: var(--br-d);
  margin-bottom: 6px !important;
  font-weight: 700;
}

.post_content .haircare-db .prod-scores {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.post_content .haircare-db .score-pill {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--mg-l);
  color: var(--mg-d);
  font-weight: 700;
}

/* NEW ARTICLES (TOP) */
.post_content .haircare-db .new-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.post_content .haircare-db .new-row {
  background: var(--white);
  padding: 13px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: .15s;
}

.post_content .haircare-db .new-row:hover {
  background: var(--bg);
}

.post_content .haircare-db .new-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post_content .haircare-db .new-body {
  flex: 1;
  min-width: 0;
}

.post_content .haircare-db .new-tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 4px !important;
  font-weight: 700;
}

.post_content .haircare-db .tag-product {
  background: var(--gd-l);
  color: #7a5a20;
}

.post_content .haircare-db .tag-column {
  background: var(--mg-l);
  color: var(--mg-d);
}

.post_content .haircare-db .new-name {
  font-size: 13px;
  color: var(--tx);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post_content .haircare-db .new-meta {
  font-size: 11px;
  color: var(--txl);
  margin-top: 2px;
}

.post_content .haircare-db .new-arrow {
  font-size: 14px;
  color: var(--txl);
  flex-shrink: 0;
}

/* MORE BTN (shared TOP + 成分詳細) */
.post_content .haircare-db .more-btn {
  display: block;
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: transparent;
  padding: 12px;
  font-size: 13px;
  color: var(--txl);
  cursor: pointer;
  text-align: center;
  margin-top: 10px;
  transition: .15s;
  font-family: inherit;
}

.post_content .haircare-db .more-btn:hover {
  border-color: var(--br);
  color: var(--br) !important;
}

/* FOOT NAV — fixed float bottom */
.post_content .haircare-db .foot-nav {
  position: fixed !important;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 6px 16px calc(6px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  box-shadow: 0 -2px 8px rgba(0,0,0,.06);
}

.post_content .haircare-db .fn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px 4px;
  border-radius: 6px;
  transition: .15s;
}

.post_content .haircare-db .fn-item:hover {
  background: var(--bg);
}

.post_content .haircare-db .fn-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.post_content .haircare-db .fn-dot.d-br {
  background: rgba(139, 90, 58, .2);
}

.post_content .haircare-db .fn-dot.d-mg {
  background: rgba(78, 122, 86, .2);
}

.post_content .haircare-db .fn-dot.d-gd {
  background: rgba(196, 143, 58, .25);
}

.post_content .haircare-db .fn-label {
  font-size: 10px;
  color: var(--txl);
  text-align: center;
  line-height: 1.3;
}

/* --------------------------------------------------------------------------
   PRODUCT DETAIL PAGE — from 商品詳細デザイン
   -------------------------------------------------------------------------- */

/* BREADCRUMB (shared with 成分詳細) */
.post_content .haircare-db .bc {
  padding: 10px 16px;
  font-size: 11px;
  color: var(--txl);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.post_content .haircare-db .bc a {
  color: var(--txl) !important;
  text-decoration: none;
}

.post_content .haircare-db .bc a:hover {
  color: var(--br) !important;
}

.post_content .haircare-db .bc-sep {
  opacity: .5;
}

/* PRODUCT HEADER */
.post_content .haircare-db .prod-head {
  background: var(--white);
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.post_content .haircare-db .prod-head-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.post_content .haircare-db .prod-head .prod-img {
  width: 96px;
  height: 96px;
  background: var(--br-l);
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post_content .haircare-db .prod-img-bottle {
  width: 32px;
  height: 56px;
  background: var(--br);
  border-radius: 6px 6px 4px 4px;
  opacity: .4;
}

.post_content .haircare-db .prod-meta {
  flex: 1;
}

.post_content .haircare-db .prod-head .prod-name,
.post_content .prod-head .prod-name {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #333 !important;
  line-height: 1.3 !important;
  margin: 0 0 7px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

/* トップページ sec-title H2 リセット */
.post_content .haircare-db h2.sec-title,
h2.sec-title {
  border: none !important;
  border-left: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 0 6px 0 !important;
}
.post_content .haircare-db h2.sec-title::before,
h2.sec-title::before,
.post_content .haircare-db h2.sec-title::after,
h2.sec-title::after {
  display: none !important;
  content: none !important;
}

/* トップページ H3 リセット */
.post_content .haircare-db h3.ec-name,
.post_content .haircare-db h3.prod-card-name,
.post_content .haircare-db h3.ic-name,
.post_content .haircare-db h3.new-name {
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 0 2px 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  line-height: 1.4 !important;
}
.post_content .haircare-db h3.ec-name::before,
.post_content .haircare-db h3.prod-card-name::before,
.post_content .haircare-db h3.ic-name::before,
.post_content .haircare-db h3.new-name::before,
.post_content .haircare-db h3.ec-name::after,
.post_content .haircare-db h3.prod-card-name::after,
.post_content .haircare-db h3.ic-name::after,
.post_content .haircare-db h3.new-name::after {
  display: none !important;
  content: none !important;
}

/* ブランドページ H1（小さくパンくず付近） */
.post_content .haircare-db h1.brand-h1,
h1.brand-h1 {
  font-size: 11px !important;
  font-weight: 400 !important;
  color: var(--txl) !important;
  margin: 0 !important;
  padding: 8px 16px !important;
  border: none !important;
  background: none !important;
  line-height: 1.5 !important;
}
.post_content .haircare-db h1.brand-h1::before,
h1.brand-h1::before,
.post_content .haircare-db h1.brand-h1::after,
h1.brand-h1::after {
  display: none !important;
  content: none !important;
}

/* ブランドページ 商品カード内H2 */
.post_content .haircare-db .prod-card-h2,
.post_content .prod-card-h2 {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  margin-top: auto !important;
  padding: 0 !important;
  border: none !important;
  border-left: none !important;
  background: none !important;
}
.post_content .haircare-db .prod-card-h2::before,
.post_content .prod-card-h2::before,
.post_content .haircare-db .prod-card-h2::after,
.post_content .prod-card-h2::after {
  display: none !important;
  content: none !important;
  border: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}

.post_content .haircare-db .prod-modified {
  margin-bottom: 6px !important;
}
.post_content .haircare-db .prod-modified-time {
  font-size: 11px !important;
  color: var(--txl) !important;
  font-style: normal !important;
}

.post_content .haircare-db .prod-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 8px !important;
}

.post_content .haircare-db .tag {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 10px;
  font-weight: 700;
}

.post_content .haircare-db .tag-type {
  background: var(--br-l);
  color: var(--br-d);
}

.post_content .haircare-db .tag-brand {
  background: var(--mg-l);
  color: var(--mg-d);
}

.post_content .haircare-db .prod-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.post_content .haircare-db .prod-price {
  font-size: 20px !important;
  font-weight: 700;
  color: var(--tx);
}

.post_content .haircare-db .prod-vol {
  font-size: 11px;
  color: var(--txl);
}

.post_content .haircare-db .prod-buy-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  background: var(--gd);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  letter-spacing: .05em;
  font-family: inherit;
  transition: .15s;
}

.post_content .haircare-db .prod-buy-btn:hover {
  background: #a87830;
}

/* SECTION (Detail pages — shared 商品詳細 + 成分詳細) */
.post_content .haircare-db .sec {
  background: var(--white);
  margin-top: 8px;
  padding: 18px 16px;
}

.post_content .haircare-db .sec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px !important;
}

.post_content .haircare-db .sec-bar {
  width: 3px;
  height: 16px;
  background: var(--br);
  border-radius: 2px;
  flex-shrink: 0;
}

.post_content .haircare-db .sec .sec-title {
  font-size: 15px !important;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 0 !important;
}

.post_content .haircare-db .sec-num {
  font-size: 10px;
  color: var(--txl);
  margin-left: auto;
  letter-spacing: .05em;
}

/* SCORE (shared 商品詳細 + 成分詳細) */
.post_content .haircare-db .score-grid {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 16px !important;
}

.post_content .haircare-db .score-note {
  font-size: 10px;
  color: var(--txl);
  margin-bottom: 8px;
}

.post_content .haircare-db .score-row {
  display: grid;
  grid-template-columns: 90px 1fr 36px;
  align-items: center;
  gap: 8px;
}

.post_content .haircare-db .score-label {
  font-size: 12px;
  color: var(--tx);
}

.post_content .haircare-db .score-bg {
  height: 8px;
  background: var(--br-l);
  border-radius: 4px;
  overflow: hidden;
}

.post_content .haircare-db .score-fill {
  height: 8px;
  border-radius: 4px;
  transition: .6s;
}

.post_content .haircare-db .score-val {
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

/* === 適性バッジエリア === */
.post_content .haircare-db .badge-area {
  margin: 20px 0 24px;
}

.post_content .haircare-db .badge-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.post_content .haircare-db .badge-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  letter-spacing: 0.04em;
  border: 1.5px solid;
  background: #fff;
}

.post_content .haircare-db .bl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.post_content .haircare-db .badge-repair { color: var(--mg-d); border-color: var(--mg); }
.post_content .haircare-db .badge-repair .bl-dot { background: var(--mg); }
.post_content .haircare-db .badge-coating { color: var(--br-d); border-color: var(--br); }
.post_content .haircare-db .badge-coating .bl-dot { background: var(--br); }
.post_content .haircare-db .badge-balance { color: #7a5a20; border-color: var(--gd); }
.post_content .haircare-db .badge-balance .bl-dot { background: var(--gd); }
.post_content .haircare-db .badge-heat { color: #8a4a1a; border-color: #c47a3a; }
.post_content .haircare-db .badge-heat .bl-dot { background: #c47a3a; }
.post_content .haircare-db .badge-moist { color: #2a5a8a; border-color: #5a8ab5; }
.post_content .haircare-db .badge-moist .bl-dot { background: #5a8ab5; }
.post_content .haircare-db .badge-styling { color: #4a3a2a; border-color: #7a6a5a; }
.post_content .haircare-db .badge-styling .bl-dot { background: #7a6a5a; }
.post_content .haircare-db .badge-color { color: #6a2a4a; border-color: #9a5a7a; }
.post_content .haircare-db .badge-color .bl-dot { background: #9a5a7a; }
.post_content .haircare-db .badge-warn { color: #c0392b; border-color: #c0392b; }
.post_content .haircare-db .badge-warn .bl-dot { background: #c0392b; }
.post_content .haircare-db .badge-scalp { color: var(--mg-d); border-color: var(--mg); }
.post_content .haircare-db .badge-scalp .bl-dot { background: var(--mg); }
.post_content .haircare-db .badge-default { color: var(--br-d); border-color: var(--br); }
.post_content .haircare-db .badge-default .bl-dot { background: var(--br); }

.post_content .haircare-db .badge-row {
  margin-bottom: 10px;
}

.post_content .haircare-db .badge-row:last-child {
  margin-bottom: 0;
}

.post_content .haircare-db .badge-row-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--txl);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.post_content .haircare-db .badge-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.post_content .haircare-db .badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1.5px solid transparent;
  text-align: center;
}

.post_content .haircare-db .badge-item.bi-best {
  background: var(--mg-l);
  color: var(--mg-d);
  border-color: var(--mg);
}

.post_content .haircare-db .badge-item.bi-good {
  background: var(--gd-l);
  color: #7a5a20;
  border-color: var(--gd);
}

.post_content .haircare-db .badge-item.bi-fair {
  background: var(--br-l);
  color: var(--br-d);
  border-color: var(--br);
  opacity: 0.75;
}

.post_content .haircare-db .badge-item.bi-poor {
  background: #f9f0f0;
  color: #a05050;
  border-color: #d4a0a0;
  opacity: 0.6;
}

/* ラベルオプション（全選択肢表示） */
.post_content .haircare-db .badge-label-opt {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  border: 1.5px solid transparent;
}

.post_content .haircare-db .badge-label-opt.bl-active {
  background: var(--br-l);
  color: var(--br-d);
  border-color: var(--br);
}

.post_content .haircare-db .badge-label-opt.bl-active .bl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--br);
  flex-shrink: 0;
}

.post_content .haircare-db .badge-label-opt.bl-inactive {
  background: #f5f5f5;
  color: #bbb;
  border-color: #e8e8e8;
}

.post_content .haircare-db .badge-warn-text {
  font-size: 12px;
  font-weight: 600;
  color: #c0392b;
  padding: 4px 0;
}


.post_content .haircare-db .score-comment {
  background: var(--bg);
  border-left: 3px solid var(--gd);
  padding: 10px 12px;
  border-radius: 0 6px 6px 0;
  font-size: 12px;
  color: var(--tx);
  line-height: 1.8;
}

.post_content .haircare-db .score-comment-label {
  font-size: 10px;
  color: var(--gd);
  font-weight: 700;
  margin-bottom: 4px !important;
  letter-spacing: .05em;
}

/* 成分詳細 overrides score-row grid to 72px first column */
.post_content .haircare-db .ingr-detail-page .score-row {
  grid-template-columns: 72px 1fr 36px;
}

/* RADAR CHART (レーダーチャート) */
.post_content .haircare-db .radar-chart-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px !important;
}

.post_content .haircare-db .radar-chart-svg {
  width: 80%;
  max-width: 340px;
  height: auto;
}

@media (max-width: 600px) {
  .post_content .haircare-db .radar-chart-svg {
    width: 85%;
    max-width: 300px;
  }
}

/* INGREDIENTS LIST (商品詳細) */
.post_content .haircare-db .ingr-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--br-l);
  border: 1px solid rgba(139, 90, 58, .2);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--br-d);
  margin-bottom: 12px !important;
}

.post_content .haircare-db .ingr-text {
  font-size: 13px;
  line-height: 2.2;
  color: var(--tx);
  word-break: break-all;
}

.post_content .haircare-db .ingr-text a {
  color: var(--br) !important;
  text-decoration: none;
  border-bottom: 1px dotted var(--br);
  position: relative;
}

/* 成分ツールチップ */
.hc-ingr-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #2e1e12;
  color: #fff;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.6;
  width: 220px;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.hc-ingr-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #2e1e12;
}
.hc-ingr-tooltip .tt-name {
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 4px;
}
.hc-ingr-tooltip .tt-tags {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.hc-ingr-tooltip .tt-tag {
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,.15);
}
.hc-ingr-tooltip .tt-safety {
  font-size: 10px;
  color: #c48f3a;
  margin-bottom: 4px;
}
.hc-ingr-tooltip .tt-desc {
  font-size: 10px;
  color: rgba(255,255,255,.8);
}

.post_content .haircare-db .ingr-text a:hover {
  color: var(--br-d) !important;
}

/* ANALYSIS (商品詳細) */
.post_content .haircare-db .analysis-cats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post_content .haircare-db .analysis-cat-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--txl);
  letter-spacing: .1em;
  margin-bottom: 7px !important;
}

.post_content .haircare-db .analysis-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.post_content .haircare-db .a-chip {
  font-size: 11px;
  padding: 4px 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--tx);
}

.post_content .haircare-db .a-chip.main {
  background: var(--mg-l);
  border-color: rgba(78, 122, 86, .3);
  color: var(--mg-d);
  font-weight: 700;
}

.post_content .haircare-db .analysis-text {
  margin-top: 12px;
  font-size: 12px;
  color: var(--tx);
  line-height: 1.9;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

/* REVIEWS (商品詳細) */
.post_content .haircare-db .review-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--bg);
  border-radius: 8px;
  margin-bottom: 16px !important;
}

.post_content .haircare-db .review-avg {
  text-align: center;
}

/* H2見出しサブテキスト */
.post_content .haircare-db .h2-sub {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--gd) !important;
  margin-left: 8px !important;
  letter-spacing: 0.02em !important;
}

/* ===== 口コミサマリー ===== */
.post_content .haircare-db .rv-summary {
  margin-bottom: 20px !important;
  padding: 1em !important;
  background: var(--white) !important;
  border-radius: 10px !important;
  border: 1px solid var(--line) !important;
}
.post_content .haircare-db .rv-summary-top {
  display: flex !important;
  gap: 2em !important;
  align-items: stretch !important;
}
.post_content .haircare-db .rv-summary-left {
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
.post_content .haircare-db .rv-radar {
  width: 240px !important;
  min-height: 240px !important;
}
.post_content .haircare-db .rv-radar svg {
  width: 100% !important;
  height: auto !important;
}
.post_content .haircare-db .rv-overall {
  text-align: center !important;
  margin-top: 8px !important;
}
.post_content .haircare-db .rv-overall-num {
  font-size: 2.4em !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  line-height: 1 !important;
}
.post_content .haircare-db .rv-overall-stars {
  color: var(--gd) !important;
  font-size: 18px !important;
  margin-top: 6px !important;
}
.post_content .haircare-db .rv-overall-count {
  font-size: 0.85em !important;
  color: var(--txl) !important;
  margin-top: 4px !important;
}
.post_content .haircare-db .rv-summary-right {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.post_content .haircare-db .rv-bars {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

/* コントロールバー */
.post_content .haircare-db .rv-controls {
  background: var(--bg) !important;
  border-radius: 8px !important;
  padding: 12px !important;
  margin-bottom: 16px !important;
}
.post_content .haircare-db .rv-controls-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 8px !important;
}
.post_content .haircare-db .rv-count-text {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
}
.post_content .haircare-db .rv-write-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0.7em 2em !important;
  background: var(--br) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 0.9em !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: inherit !important;
  transition: .15s !important;
}
.post_content .haircare-db .rv-write-btn:hover {
  background: var(--br-d) !important;
}
.post_content .haircare-db .rv-controls-btns {
  display: flex !important;
  gap: 8px !important;
}
.post_content .haircare-db .rv-sort,
.post_content .haircare-db .rv-filter {
  flex: 1 !important;
  padding: 0.6em 1em !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  background: var(--white) !important;
  font-size: 0.9em !important;
  color: var(--tx) !important;
  font-family: inherit !important;
  outline: none !important;
}

/* 口コミカード */
.post_content .haircare-db .rv-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}
.post_content .haircare-db .rv-card {
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  padding: 1em !important;
  background: var(--white) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.post_content .haircare-db .rv-card-title {
  font-size: 1.05em !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
}
.post_content .haircare-db .rv-card-user {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.85em !important;
  color: var(--txl) !important;
}
.post_content .haircare-db .rv-card-rating {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}
.post_content .haircare-db .rv-card-stars {
  color: var(--gd) !important;
  font-size: 1em !important;
}
.post_content .haircare-db .rv-card-score {
  font-size: 0.95em !important;
  font-weight: 700 !important;
  color: var(--br) !important;
}
.post_content .haircare-db .rv-card-criteria {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  background: var(--bg) !important;
  border-radius: 8px !important;
  padding: 12px !important;
}
.post_content .haircare-db .rv-card-cr-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.post_content .haircare-db .rv-card-cr-label {
  font-size: 0.85em !important;
  color: var(--txl) !important;
  width: 70px !important;
  flex-shrink: 0 !important;
}
.post_content .haircare-db .rv-card-cr-bar-bg {
  flex: 1 !important;
  height: 8px !important;
  background: rgba(139,90,58,.1) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}
.post_content .haircare-db .rv-card-cr-bar-fill {
  height: 8px !important;
  border-radius: 4px !important;
  transition: width .3s !important;
}
.post_content .haircare-db .rv-card-cr-val {
  font-size: 0.85em !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  width: 28px !important;
  text-align: right !important;
  flex-shrink: 0 !important;
}
.post_content .haircare-db .rv-card-body {
  background: var(--bg) !important;
  border-left: 3px solid var(--br) !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 12px 14px !important;
}
.post_content .haircare-db .rv-card-body p {
  font-size: 0.95em !important;
  color: var(--tx) !important;
  line-height: 1.8 !important;
  margin: 0 !important;
}
.post_content .haircare-db .rv-card-foot {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 10px !important;
  border-top: 1px solid var(--line) !important;
}
.post_content .haircare-db .rv-card-date {
  font-size: 0.85em !important;
  color: var(--txl) !important;
}
.post_content .haircare-db .rv-helpful-btn {
  font-size: 0.85em !important;
  color: var(--br) !important;
  background: transparent !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  padding: 0.5em 1.2em !important;
  cursor: pointer !important;
  font-family: inherit !important;
  transition: .15s !important;
}
.post_content .haircare-db .rv-helpful-btn:hover {
  background: var(--br-l) !important;
  border-color: var(--br) !important;
}

/* ===== 口コミ投稿モーダル（SWELLリセット対策: 全て!important） ===== */
.rv-modal-overlay {
  display: none !important;
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  background: rgba(0,0,0,.5) !important;
  z-index: 9999999 !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 40px 16px !important;
  overflow-y: auto !important;
}
.rv-modal-overlay.is-open {
  display: flex !important;
}
.rv-modal {
  background: #fff !important;
  border-radius: 12px !important;
  width: 100% !important;
  max-width: 480px !important;
  padding: 24px !important;
  position: relative !important;
  margin: auto !important;
  flex-shrink: 0 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.2) !important;
}
.rv-modal .rv-modal-close {
  position: sticky !important;
  top: 0 !important;
  float: right !important;
  width: 32px !important; height: 32px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #faf6f0 !important;
  font-size: 18px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #9a7560 !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.rv-modal .rv-modal-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #2e1e12 !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.rv-modal .rv-modal-subtitle {
  font-size: 12px !important;
  color: #9a7560 !important;
  margin: 0 0 20px 0 !important;
  padding: 0 !important;
}
.rv-modal .rv-form-group {
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
}
.rv-modal .rv-form-label {
  display: block !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #2e1e12 !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.rv-modal .rv-required {
  color: #c0785a !important;
}
.rv-modal .rv-form-input,
.rv-modal .rv-form-select,
.rv-modal .rv-form-textarea {
  display: block !important;
  width: 100% !important;
  padding: 10px 12px !important;
  border: 1.5px solid rgba(139,90,58,.18) !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-family: inherit !important;
  color: #2e1e12 !important;
  outline: none !important;
  background: #fff !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}
.rv-modal .rv-form-select {
  -webkit-appearance: menulist !important;
  appearance: menulist !important;
}
.rv-modal .rv-form-textarea {
  resize: vertical !important;
  min-height: 100px !important;
}
.rv-modal .rv-form-input:focus,
.rv-modal .rv-form-select:focus,
.rv-modal .rv-form-textarea:focus {
  border-color: #8b5a3a !important;
  box-shadow: 0 0 0 2px rgba(139,90,58,.1) !important;
}
.rv-modal .rv-form-row {
  display: flex !important;
  gap: 10px !important;
}
.rv-modal .rv-form-half {
  flex: 1 !important;
}
.rv-modal .rv-form-third {
  flex: 1 !important;
}
/* スライダー */
.rv-modal .rv-slider-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.rv-modal input[type="range"].rv-slider {
  flex: 1 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  height: 8px !important;
  border-radius: 4px !important;
  background: linear-gradient(to right, #f5e8df, #c48f3a) !important;
  outline: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.rv-modal input[type="range"].rv-slider::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #8b5a3a !important;
  cursor: pointer !important;
  border: 3px solid #fff !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.25) !important;
}
.rv-modal input[type="range"].rv-slider::-moz-range-thumb {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #8b5a3a !important;
  cursor: pointer !important;
  border: 3px solid #fff !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.25) !important;
}
.rv-modal .rv-slider-val {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #8b5a3a !important;
  min-width: 32px !important;
  text-align: center !important;
}
.rv-modal .rv-slider-stars {
  font-size: 13px !important;
  color: #c48f3a !important;
  min-width: 65px !important;
}
.rv-modal .rv-form-submit {
  display: block !important;
  width: 100% !important;
  padding: 14px !important;
  background: #8b5a3a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  font-family: inherit !important;
  transition: .15s !important;
  margin: 12px 0 0 0 !important;
  line-height: 1.5 !important;
}
.rv-modal .rv-form-submit:hover {
  background: #6a3f22 !important;
}
.rv-modal .rv-form-msg {
  text-align: center !important;
  font-size: 12px !important;
  margin: 8px 0 0 0 !important;
  padding: 0 !important;
  color: #4e7a56 !important;
}
.rv-modal .rv-form-msg.error {
  color: #c0785a !important;
}

@media (max-width: 600px) {
  .post_content .haircare-db .rv-summary-top {
    flex-direction: column !important;
    align-items: center !important;
  }
  .post_content .haircare-db .rv-summary-left {
    width: 100% !important;
  }
  .post_content .haircare-db .rv-radar {
    width: 220px !important;
    min-height: 220px !important;
  }
  .post_content .haircare-db .rv-summary-right {
    width: 100% !important;
  }
  .rv-modal .rv-form-row {
    flex-direction: column !important;
  }
  .rv-modal {
    padding: 20px 16px !important;
  }
}

.post_content .haircare-db .review-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post_content .haircare-db .rb-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post_content .haircare-db .rb-star {
  font-size: 0.85em;
  color: var(--txl);
  width: 22px;
  text-align: right;
}

.post_content .haircare-db .rb-bg {
  flex: 1;
  height: 10px;
  background: var(--br-l);
  border-radius: 3px;
  overflow: hidden;
}

.post_content .haircare-db .rb-fill {
  height: 10px;
  background: var(--gd);
  border-radius: 5px;
}

.post_content .haircare-db .rb-cnt {
  font-size: 0.85em;
  color: var(--txl);
  width: 22px;
}

.post_content .haircare-db .review-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* (旧口コミカードCSS → rv-* に移行済み) */

/* --------------------------------------------------------------------------
   INGREDIENT DETAIL PAGE — from 成分詳細デザイン
   -------------------------------------------------------------------------- */

/* INGREDIENT HEADER */
.post_content .haircare-db .ingr-head {
  background: var(--white);
  padding: 20px 16px 18px;
  border-bottom: 1px solid var(--line);
}

.post_content .haircare-db .ingr-cat-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px !important;
  flex-wrap: wrap;
}

.post_content .haircare-db .cat-badge {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 700;
}

.post_content .haircare-db .cat-mg {
  background: var(--mg-l);
  color: var(--mg-d);
}

.post_content .haircare-db .cat-br {
  background: var(--br-l);
  color: var(--br-d);
}

/* 成分カードH2リセット */
.post_content .haircare-db h2.ingr-name,
.post_content h2.ingr-name {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  line-height: 1.4 !important;
}
.post_content .haircare-db h2.ingr-name::before,
.post_content h2.ingr-name::before,
.post_content .haircare-db h2.ingr-name::after,
.post_content h2.ingr-name::after {
  display: none !important;
  content: none !important;
}

.post_content .haircare-db h1.ingr-name-ja,
.post_content h1.ingr-name-ja {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #333 !important;
  line-height: 1.2 !important;
  margin: 0 0 5px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.post_content .haircare-db h1.ingr-name-ja::before,
.post_content h1.ingr-name-ja::before {
  display: none !important;
  content: none !important;
}

.post_content .haircare-db .ingr-name-inci {
  font-size: 13px;
  color: var(--txl);
  letter-spacing: .04em;
  margin-bottom: 16px !important;
  font-style: italic;
}

.post_content .haircare-db .safety-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.post_content .haircare-db .safety-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.post_content .haircare-db .safety-safe {
  background: var(--mg-l);
  color: var(--mg-d);
}

.post_content .haircare-db .safety-caution {
  background: var(--gd-l);
  color: #7a5a20;
}

.post_content .haircare-db .safety-danger {
  background: var(--danger-l);
  color: var(--danger-d);
}

.post_content .haircare-db .safety-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.post_content .haircare-db .sd-safe {
  background: var(--mg);
}

.post_content .haircare-db .sd-caution {
  background: var(--gd);
}

.post_content .haircare-db .sd-danger {
  background: var(--danger);
}

.post_content .haircare-db .safety-sub {
  font-size: 11px;
  color: var(--txl);
}

/* DESCRIPTION (成分詳細) */
.post_content .haircare-db .desc-text {
  font-size: 13px;
  color: var(--tx);
  line-height: 1.9;
  margin-bottom: 16px !important;
}

.post_content .haircare-db .desc-qa {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post_content .haircare-db .qa-item {
  background: var(--bg);
  border-radius: 8px;
  padding: 13px;
}

.post_content .haircare-db .qa-q {
  font-size: 11px;
  font-weight: 700;
  color: var(--br);
  margin-bottom: 5px !important;
  letter-spacing: .03em;
}

.post_content .haircare-db .qa-a {
  font-size: 12px;
  color: var(--tx);
  line-height: 1.8;
}

/* SAFETY DETAIL (成分詳細) — 低刺激性 */
.post_content .haircare-db .safety-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post_content .haircare-db .safety-score-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
.post_content .haircare-db .safety-score-label {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  width: 70px !important;
  flex-shrink: 0 !important;
}
.post_content .haircare-db .safety-score-bar-bg {
  flex: 1 !important;
  height: 10px !important;
  background: rgba(139,90,58,.1) !important;
  border-radius: 5px !important;
  overflow: hidden !important;
}
.post_content .haircare-db .safety-score-bar-fill {
  height: 10px !important;
  border-radius: 5px !important;
  transition: width .3s !important;
}
.post_content .haircare-db .safety-score-val {
  font-size: 14px !important;
  font-weight: 700 !important;
  min-width: 28px !important;
  text-align: right !important;
}
.post_content .haircare-db .safety-note {
  font-size: 13px !important;
  color: var(--tx) !important;
  line-height: 1.7 !important;
}

.post_content .haircare-db .safety-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.post_content .haircare-db .si-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.post_content .haircare-db .si-icon.ok {
  background: var(--mg-l);
}

.post_content .haircare-db .si-icon.caution {
  background: var(--gd-l);
}

.post_content .haircare-db .si-icon.danger {
  background: var(--danger-l);
}

.post_content .haircare-db .si-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 3px !important;
}

.post_content .haircare-db .si-text {
  font-size: 12px;
  color: var(--txl);
  line-height: 1.7;
}

/* PRODUCTS TAB (成分詳細) */
.post_content .haircare-db .tab-row {
  display: flex;
  border-bottom: 2px solid var(--line);
  margin-bottom: 14px !important;
}

.post_content .haircare-db .tab-btn {
  flex: 1;
  padding: 10px 4px;
  font-size: 12px;
  color: var(--txl);
  text-align: center;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: .15s;
}

.post_content .haircare-db .tab-btn.active {
  color: var(--br) !important;
  border-bottom-color: var(--br);
  font-weight: 700;
}

.post_content .haircare-db .tab-content {
  display: none;
}

.post_content .haircare-db .tab-content.active {
  display: block;
}

.post_content .haircare-db .prod-mini-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post_content .haircare-db .prod-mini {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--bg);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  transition: .15s;
}

.post_content .haircare-db .prod-mini:hover {
  background: var(--br-l);
}

.post_content .haircare-db .pm-img {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: var(--br-l);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post_content .haircare-db .pm-img-inner {
  width: 18px;
  height: 28px;
  border-radius: 3px;
  opacity: .4;
}

.post_content .haircare-db .pm-body {
  flex: 1;
  min-width: 0;
}

.post_content .haircare-db .pm-brand {
  font-size: 10px;
  color: var(--txl);
}

.post_content .haircare-db .pm-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--tx);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.post_content .haircare-db .pm-type {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--white);
  color: var(--txl);
  display: inline-block;
  margin-top: 3px;
  font-weight: 500;
  border: 1px solid var(--line);
}

.post_content .haircare-db .pm-arrow {
  font-size: 14px;
  color: var(--txl);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   FLOAT TOC — body直下に出力（position:fixedを確実に効かせる）
   -------------------------------------------------------------------------- */
/* フロート口コミボタン（目次の上に配置） */
.hc-float-review-btn {
  position: fixed !important;
  bottom: 64px;
  right: 16px;
  z-index: 9998;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 9px 16px 9px 12px !important;
  background: var(--mg) !important;
  color: #fff !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .03em !important;
  cursor: pointer !important;
  box-shadow: 0 2px 10px rgba(78,122,86,.35) !important;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  transition: bottom .25s, background .15s !important;
}
.hc-float-review-btn:hover {
  background: var(--mg-d) !important;
}

.haircare-float-toc {
  position: fixed !important;
  bottom: 20px;
  right: 16px;
  z-index: 9999;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.hc-toc-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #8b5a3a;
  border-radius: 20px;
  padding: 9px 16px 9px 12px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(139, 90, 58, .35);
  transition: .15s;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

.hc-toc-pill:hover {
  background: #6a3f22;
}

.hc-toc-menu {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 9999;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: 200px;
}

.hc-toc-menu.is-open {
  display: flex;
}

.hc-toc-menu-head {
  background: #f5ebe0;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 700;
  color: #6a3f22;
  letter-spacing: .05em;
  border-bottom: 1px solid #e8ddd0;
  border-radius: 12px 12px 0 0;
  width: 100%;
  box-sizing: border-box;
}

.hc-toc-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  cursor: pointer;
  border-bottom: 1px solid #e8ddd0;
  transition: .1s;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  color: #333;
  width: 100%;
  box-sizing: border-box;
}

.hc-toc-item:last-of-type {
  border-bottom: none;
  border-radius: 0 0 12px 12px;
}

.hc-toc-item:hover {
  background: #faf6f0;
}

.hc-toc-num {
  font-size: 9px;
  color: #999;
  width: 14px;
  flex-shrink: 0;
}

.hc-toc-arrow {
  font-size: 10px;
  color: #999;
  margin-left: auto;
}

.hc-toc-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #8b5a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(139, 90, 58, .35);
  transition: .15s;
  align-self: flex-end;
}

.hc-toc-close:hover {
  background: #6a3f22;
}

/* PCでは目次メニューを常時表示 */
@media (min-width: 768px) {
  .haircare-float-toc .hc-toc-pill {
    display: none;
  }
  .haircare-float-toc .hc-toc-menu {
    display: flex !important;
  }
  .haircare-float-toc .hc-toc-close {
    display: none;
  }
}

/* ==========================================================================
   ARCHIVE PAGES — 商品アーカイブ + 成分アーカイブ
   ========================================================================== */

/* PAGE HEADER (archive) */
.post_content .haircare-db .phead {
  background: var(--white);
  padding: 14px 16px 0;
  border-bottom: 1px solid var(--line);
}

.post_content .haircare-db .phead-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px !important;
}

.post_content .haircare-db .phead-title {
  font-size: 18px !important;
  font-weight: 700;
  color: var(--tx) !important;
}

.post_content .haircare-db .phead-count {
  font-size: 11px;
  color: var(--txl) !important;
}

/* FILTER LABEL */
.post_content .haircare-db .fg-label {
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--txl) !important;
  margin-bottom: 7px !important;
}

/* CHIP ROW + CHIPS */
.post_content .haircare-db .chip-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: none;
  flex-wrap: wrap;
  margin-bottom: 12px !important;
}

.post_content .haircare-db .chip-row::-webkit-scrollbar {
  display: none;
}

.post_content .haircare-db .chip {
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--txl) !important;
  background: var(--white);
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: .15s;
  font-family: inherit;
  flex-shrink: 0;
}

.post_content .haircare-db .chip:hover {
  border-color: var(--br);
  color: var(--tx) !important;
}

.post_content .haircare-db .chip.active {
  background: var(--br);
  border-color: var(--br);
  color: #fff !important;
  font-weight: 700;
}

.post_content .haircare-db .chip.active-mg {
  background: var(--mg);
  border-color: var(--mg);
  color: #fff !important;
  font-weight: 700;
}

.post_content .haircare-db .chip.active-gd {
  background: var(--gd);
  border-color: var(--gd);
  color: #fff !important;
  font-weight: 700;
}

.post_content .haircare-db .fdot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* BRAND FILTER TRIGGER */
.post_content .haircare-db .brand-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--tx) !important;
  background: var(--white);
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  transition: .15s;
  margin-bottom: 14px !important;
}

.post_content .haircare-db .brand-trigger:hover {
  border-color: var(--br);
}

.post_content .haircare-db .brand-trigger.has-selection {
  border-color: var(--br);
  background: var(--br-l);
}

.post_content .haircare-db .bt-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.post_content .haircare-db .bt-line {
  width: 14px;
  height: 1.5px;
  background: var(--br);
  border-radius: 1px;
}

.post_content .haircare-db .bt-line.mid {
  width: 10px;
}

.post_content .haircare-db .bt-text {
  flex: 1;
  text-align: left;
  color: var(--txl) !important;
}

.post_content .haircare-db .brand-trigger.has-selection .bt-text {
  color: var(--br-d) !important;
}

.post_content .haircare-db .bt-badge {
  background: var(--br);
  color: #fff !important;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.post_content .haircare-db .bt-arrow {
  font-size: 10px;
  color: var(--txl) !important;
  transition: .2s;
}

.post_content .haircare-db .brand-trigger.open .bt-arrow {
  transform: rotate(180deg);
}

/* BRAND SHEET */
.post_content .haircare-db .brand-sheet {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px !important;
}

.post_content .haircare-db .brand-sheet.open {
  display: block;
}

.post_content .haircare-db .brand-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 12px !important;
  background: var(--bg);
}

.post_content .haircare-db .brand-search-wrap svg {
  margin-left: 10px;
  flex-shrink: 0;
}

.post_content .haircare-db .brand-search {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 10px;
  font-size: 13px;
  background: transparent;
  color: var(--tx) !important;
  font-family: inherit;
}

.post_content .haircare-db .brand-search::placeholder {
  color: var(--txl);
}

/* 頭文字タブ */
.post_content .haircare-db .brand-initials {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px 0 10px;
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.post_content .haircare-db .brand-initial-btn {
  font-family: inherit;
  padding: 4px 9px;
  font-size: 11px;
  background: var(--white);
  color: var(--tx) !important;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: .15s;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.post_content .haircare-db .brand-initial-btn:hover {
  border-color: var(--br);
  background: var(--br-l);
}

.post_content .haircare-db .brand-initial-btn.active {
  background: var(--br);
  color: #fff !important;
  border-color: var(--br);
  font-weight: 700;
}

.post_content .haircare-db .brand-initial-count {
  font-size: 9px;
  opacity: 0.75;
}

.post_content .haircare-db .brand-initial-btn.active .brand-initial-count {
  opacity: 0.9;
}

.post_content .haircare-db .brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.post_content .haircare-db .brand-item {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 10px;
  font-size: 12px;
  color: var(--tx) !important;
  cursor: pointer;
  transition: .15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  background: var(--white);
}

.post_content .haircare-db .brand-item:hover {
  border-color: var(--br);
  background: var(--br-l);
}

.post_content .haircare-db .brand-item.selected {
  background: var(--br-l);
  border-color: var(--br);
  color: var(--br-d) !important;
  font-weight: 700;
}

.post_content .haircare-db .brand-item-count {
  font-size: 10px;
  color: var(--txl) !important;
}

.post_content .haircare-db .brand-item.selected .brand-item-count {
  color: var(--br-d) !important;
}

.post_content .haircare-db .brand-clear {
  display: block;
  width: 100%;
  margin-top: 10px !important;
  border: none;
  background: transparent;
  font-size: 12px;
  color: var(--txl) !important;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  padding: 4px;
}

.post_content .haircare-db .brand-clear:hover {
  color: var(--br) !important;
}

/* SORT ROW + VIEW TOGGLE */
.post_content .haircare-db .sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.post_content .haircare-db .sort-select {
  font-size: 12px;
  color: var(--txl) !important;
  border: none;
  background: transparent;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

.post_content .haircare-db .view-toggle {
  display: flex;
  gap: 4px;
}

.post_content .haircare-db .vt-btn {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .15s;
}

.post_content .haircare-db .vt-btn.active {
  background: var(--br-l);
  border-color: var(--br);
}

/* ACTIVE FILTER TAGS */
.post_content .haircare-db .active-filters {
  display: none;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 8px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.post_content .haircare-db .active-filters.visible {
  display: flex;
}

.post_content .haircare-db .af-label {
  font-size: 10px;
  color: var(--txl) !important;
  flex-shrink: 0;
}

.post_content .haircare-db .af-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 10px;
  background: var(--br-l);
  color: var(--br-d) !important;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

/* ブランド/タイプアーカイブのコンテキストタグ */
.post_content .haircare-db .af-tag.af-context {
  background: var(--br);
  color: #fff !important;
  text-decoration: none;
}

.post_content .haircare-db .af-tag.af-context:hover {
  background: var(--br-d);
}

.post_content .haircare-db .af-x {
  font-size: 10px;
  opacity: .7;
}

.post_content .haircare-db .af-clear {
  font-size: 11px;
  color: var(--br) !important;
  margin-left: auto;
  cursor: pointer;
  text-decoration: underline;
  flex-shrink: 0;
}

/* PRODUCT GRID (archive) */
.post_content .haircare-db .archive-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 16px;
}
@media (max-width: 600px) {
  .post_content .haircare-db .archive-prod-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.post_content .haircare-db .prod-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: .15s;
}

.post_content .haircare-db .prod-card:hover {
  border-color: var(--gd);
  transform: translateY(-1px);
}

.post_content .haircare-db .prod-card-img {
  width: 85%;
  aspect-ratio: 1;
  border-radius: 7px;
  margin: 0 auto 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.post_content .haircare-db .prod-card-bottle {
  width: 28px;
  height: 42px;
  border-radius: 4px 4px 3px 3px;
  opacity: .4;
}

.post_content .haircare-db .prod-card {
  position: relative !important;
}
.post_content .haircare-db .prod-card-type {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 8px;
  background: var(--br);
  color: #fff !important;
  font-weight: 700;
}

.post_content .haircare-db .prod-card-brand {
  font-size: 10px;
  color: var(--txl) !important;
  margin-bottom: 2px !important;
}

.post_content .haircare-db .prod-card-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--tx) !important;
  line-height: 1.4;
  margin-bottom: 4px !important;
  flex: 1 !important;
}

.post_content .haircare-db .prod-card-scores {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.post_content .haircare-db .sc-pill {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 8px;
  background: var(--mg-l);
  color: var(--mg-d) !important;
  font-weight: 700;
}

/* PRODUCT LIST VIEW */
.post_content .haircare-db .prod-list {
  display: none;
  flex-direction: column;
}

.post_content .haircare-db .prod-list.show {
  display: flex;
}

.post_content .haircare-db .prod-row {
  background: var(--white);
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  transition: .15s;
  border-bottom: 1px solid var(--line);
}

.post_content .haircare-db .prod-row:hover {
  background: var(--bg);
}

.post_content .haircare-db .prod-row-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post_content .haircare-db .prod-row-bottle {
  width: 20px;
  height: 32px;
  border-radius: 3px 3px 2px 2px;
  opacity: .4;
}

.post_content .haircare-db .prod-row-body {
  flex: 1;
  min-width: 0;
}

.post_content .haircare-db .prod-row-brand {
  font-size: 10px;
  color: var(--txl) !important;
  margin-bottom: 1px !important;
}

.post_content .haircare-db .prod-row-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--tx) !important;
  line-height: 1.4;
  margin-bottom: 4px !important;
}

.post_content .haircare-db .prod-row-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.post_content .haircare-db .prod-row-type {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 8px;
  background: var(--br-l);
  color: var(--br-d) !important;
  font-weight: 700;
}

.post_content .haircare-db .prod-row-score {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 8px;
  background: var(--mg-l);
  color: var(--mg-d) !important;
  font-weight: 700;
}

.post_content .haircare-db .prod-row-arrow {
  font-size: 16px;
  color: var(--txl) !important;
  flex-shrink: 0;
}

/* LOAD MORE */
.post_content .haircare-db .load-more {
  display: block;
  width: calc(100% - 32px);
  margin: 12px 16px 24px !important;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: transparent;
  padding: 13px;
  font-size: 13px;
  color: var(--txl) !important;
  cursor: pointer;
  text-align: center;
  transition: .15s;
  font-family: inherit;
}

.post_content .haircare-db .load-more:hover {
  border-color: var(--br);
  color: var(--br) !important;
}

/* SAFETY FILTER ROW (ingredient archive) */
.post_content .haircare-db .safety-row.filter-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: none;
}

.post_content .haircare-db .safety-row.filter-row::-webkit-scrollbar {
  display: none;
}

.post_content .haircare-db .sf-chip {
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--txl) !important;
  background: var(--white);
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: .15s;
  font-family: inherit;
  flex-shrink: 0;
}

.post_content .haircare-db .sf-chip:hover {
  border-color: var(--br);
}

.post_content .haircare-db .sf-chip.active-safe {
  background: var(--mg-l);
  border-color: var(--mg);
  color: var(--mg-d) !important;
  font-weight: 700;
}

.post_content .haircare-db .sf-chip.active-caution {
  background: var(--gd-l);
  border-color: var(--gd);
  color: #7a5a20 !important;
  font-weight: 700;
}

.post_content .haircare-db .sf-chip.active-danger {
  background: var(--danger-l);
  border-color: var(--danger);
  color: var(--danger-d) !important;
  font-weight: 700;
}

.post_content .haircare-db .sf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* INITIAL (頭文字) FILTER TRIGGER */
.post_content .haircare-db .initial-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--tx) !important;
  background: var(--white);
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  transition: .15s;
  margin-bottom: 14px !important;
}

.post_content .haircare-db .initial-trigger:hover {
  border-color: var(--br);
}

.post_content .haircare-db .initial-trigger.open,
.post_content .haircare-db .initial-trigger.has-selection {
  border-color: var(--br);
}

.post_content .haircare-db .initial-trigger.has-selection {
  background: var(--br-l);
}

.post_content .haircare-db .it-icon {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-shrink: 0;
}

.post_content .haircare-db .it-line {
  width: 14px;
  height: 1.5px;
  background: var(--br);
  border-radius: 1px;
}

.post_content .haircare-db .it-line.mid {
  width: 10px;
}

.post_content .haircare-db .it-text {
  flex: 1;
  text-align: left;
  color: var(--txl) !important;
}

.post_content .haircare-db .initial-trigger.has-selection .it-text {
  color: var(--br-d) !important;
}

.post_content .haircare-db .it-badge {
  background: var(--br);
  color: #fff !important;
  border-radius: 10px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.post_content .haircare-db .it-arrow {
  font-size: 10px;
  color: var(--txl) !important;
  transition: .2s;
}

.post_content .haircare-db .initial-trigger.open .it-arrow {
  transform: rotate(180deg);
}

/* INITIAL SHEET */
.post_content .haircare-db .initial-sheet {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px !important;
}

.post_content .haircare-db .initial-sheet.open {
  display: block;
}

.post_content .haircare-db .initial-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.post_content .haircare-db .initial-btn {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 4px;
  font-size: 12px;
  color: var(--tx) !important;
  cursor: pointer;
  transition: .15s;
  text-align: center;
  font-family: inherit;
  background: var(--white);
}

.post_content .haircare-db .initial-btn:hover {
  border-color: var(--br);
  background: var(--br-l);
}

.post_content .haircare-db .initial-btn.selected {
  background: var(--br-l);
  border-color: var(--br);
  color: var(--br-d) !important;
  font-weight: 700;
}

.post_content .haircare-db .initial-btn.disabled {
  color: var(--line) !important;
  cursor: default;
  background: transparent;
}

.post_content .haircare-db .initial-clear {
  display: block;
  width: 100%;
  margin-top: 10px !important;
  border: none;
  background: transparent;
  font-size: 12px;
  color: var(--txl) !important;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  padding: 4px;
}

.post_content .haircare-db .initial-clear:hover {
  color: var(--br) !important;
}

/* INGREDIENT LIST (archive) */
.post_content .haircare-db .ingr-list {
  display: flex;
  flex-direction: column;
}

.post_content .haircare-db .ingr-row {
  background: var(--white);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: .15s;
  border-bottom: 1px solid var(--line);
}

.post_content .haircare-db .ingr-row:hover {
  background: var(--bg);
}

.post_content .haircare-db .ingr-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.post_content .haircare-db .ingr-body {
  flex: 1;
  min-width: 0;
}

.post_content .haircare-db .ingr-name {
  font-size: 14px !important;
  font-weight: 700;
  color: var(--tx) !important;
}

.post_content .haircare-db .ingr-inci {
  font-size: 10px;
  color: var(--txl) !important;
  margin-top: 1px !important;
  font-style: italic;
}

.post_content .haircare-db .ingr-cats {
  display: flex;
  gap: 5px;
  margin-top: 5px !important;
  flex-wrap: wrap;
}

.post_content .haircare-db .ingr-cat-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 8px;
  font-weight: 700;
}

.post_content .haircare-db .ingr-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.post_content .haircare-db .ingr-badge {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.post_content .haircare-db .badge-safe {
  background: var(--mg-l);
  color: var(--mg-d) !important;
}

.post_content .haircare-db .badge-caution {
  background: var(--gd-l);
  color: #7a5a20 !important;
}

.post_content .haircare-db .badge-danger {
  background: var(--danger-l);
  color: var(--danger-d) !important;
}

.post_content .haircare-db .ingr-count {
  font-size: 10px;
  color: var(--txl) !important;
}

.post_content .haircare-db .ingr-arrow {
  font-size: 15px;
  color: var(--txl) !important;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   BEST PRICE POPUP
   -------------------------------------------------------------------------- */
.hc-bestprice-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(46, 30, 18, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

.hc-bestprice-overlay.is-open {
  display: flex;
}

.hc-bestprice-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 85vh;
  background: #faf6f0;
  border-radius: 20px 20px 0 0;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 30px rgba(46, 30, 18, .2);
  overflow-y: auto;
  animation: hcBpSlideUp .3s ease;
}

@keyframes hcBpSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (min-width: 768px) {
  .hc-bestprice-modal {
    position: relative;
    bottom: auto;
    left: auto;
    width: 420px;
    max-height: 80vh;
    border-radius: 16px;
    padding: 32px 28px;
    animation: hcBpFadeIn .25s ease;
  }
}

@keyframes hcBpFadeIn {
  from { transform: scale(.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.hc-bestprice-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(139, 90, 58, .1);
  color: #8b5a3a;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .15s;
}

.hc-bestprice-close:hover {
  background: rgba(139, 90, 58, .2);
}

.hc-bestprice-header {
  text-align: center;
  margin-bottom: 24px;
}

.hc-bestprice-icon {
  margin-bottom: 10px;
}

.hc-bestprice-title {
  font-size: 18px;
  font-weight: 700;
  color: #2e1e12;
  margin-bottom: 6px;
}

.hc-bestprice-product {
  font-size: 13px;
  color: #9a7560;
  line-height: 1.5;
  word-break: break-all;
}

.hc-bestprice-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.hc-bestprice-btn,
.hc-bestprice-links > span[data-v],
.hc-bestprice-links > span[role="button"] {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  background: #fff !important;
  border: 1.5px solid rgba(139, 90, 58, .15) !important;
  text-decoration: none !important;
  color: #2e1e12 !important;
  transition: .15s !important;
  cursor: pointer !important;
}

.hc-bestprice-btn:hover,
.hc-bestprice-links > span[data-v]:hover,
.hc-bestprice-links > span[role="button"]:hover {
  border-color: #c48f3a !important;
  box-shadow: 0 2px 8px rgba(196, 143, 58, .15) !important;
  transform: translateY(-1px) !important;
}

.hc-bp-store-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hc-bestprice-links > :nth-child(1) .hc-bp-store-icon,
.hc-bp-amazon .hc-bp-store-icon {
  background: #FFF3E0 !important;
}

.hc-bestprice-links > :nth-child(2) .hc-bp-store-icon,
.hc-bp-rakuten .hc-bp-store-icon {
  background: #FFEBEE !important;
}

.hc-bestprice-links > :nth-child(3) .hc-bp-store-icon,
.hc-bp-yahoo .hc-bp-store-icon {
  background: #FCE4EC !important;
}

.hc-bp-store-name {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: #2e1e12;
}

.hc-bp-price {
  font-size: 14px;
  font-weight: 700;
  color: #c0392b;
  margin-left: auto;
  white-space: nowrap;
}

.hc-bp-arrow {
  font-size: 20px;
  color: #9a7560;
  flex-shrink: 0;
}

.hc-bestprice-asp {
  padding: 10px 0;
  text-align: center;
}

.hc-bestprice-note {
  text-align: center;
  font-size: 11px;
  color: #9a7560;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Fullwide layout overrides
   -------------------------------------------------------------------------- */
.post_content .haircare-db .hc-fullwide {
  max-width: 100% !important;
  padding: 0 !important;
}

.post_content .haircare-db .hc-fullwide .hero {
  padding: 48px 20px !important;
  max-width: none !important;
  text-align: center;
}

.post_content .haircare-db .hc-fullwide .section {
  padding: 40px 20px !important;
}

.post_content .haircare-db .hc-fullwide .section > * {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.post_content .haircare-db .hc-fullwide .entry-grid,
.post_content .haircare-db .hc-fullwide .prod-grid,
.post_content .haircare-db .hc-fullwide .ingr-chips,
.post_content .haircare-db .hc-fullwide .new-list {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.post_content .haircare-db .hc-fullwide .more-btn {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Alternating section backgrounds for fullwide */
.post_content .haircare-db .hc-fullwide > .section:nth-child(even) {
  background: rgba(250, 246, 240, 0.5);
  margin-left: -20px;
  margin-right: -20px;
  padding-left: 40px;
  padding-right: 40px;
}

@media (min-width: 768px) {
  .post_content .haircare-db .hc-fullwide .hero {
    padding: 64px 40px !important;
  }
  .post_content .haircare-db .hc-fullwide .section {
    padding: 48px 40px !important;
  }
}

/* ===== タクソノミーアーカイブ: ブランドヒーロー ===== */
.post_content .haircare-db .brand-hero {
  background: var(--white) !important;
  padding: 20px 16px !important;
  border-bottom: 1px solid var(--line) !important;
}
.post_content .haircare-db .brand-hero-inner {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 14px !important;
}
.post_content .haircare-db .brand-logo {
  width: 64px !important;
  height: 64px !important;
  border-radius: 12px !important;
  background: var(--br-l) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border: 1px solid var(--line) !important;
}
.post_content .haircare-db .brand-logo-text {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: var(--br-d) !important;
  letter-spacing: .05em !important;
  text-align: center !important;
  line-height: 1.4 !important;
}
.post_content .haircare-db .brand-info {
  flex: 1;
  min-width: 0;
}
.post_content .haircare-db .brand-name {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  margin-bottom: 3px !important;
}
.post_content .haircare-db .brand-name-en {
  font-size: 11px !important;
  color: var(--txl) !important;
  letter-spacing: .1em !important;
  margin-bottom: 6px !important;
}
.post_content .haircare-db .brand-desc {
  font-size: 12px !important;
  color: var(--txl) !important;
  line-height: 1.7 !important;
}
.post_content .haircare-db .brand-stats {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)) !important;
  gap: 8px 12px !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid var(--line) !important;
}
.post_content .haircare-db .brand-stat {
  text-align: center !important;
  min-width: 0 !important;
}
.post_content .haircare-db .brand-stat-num {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--br) !important;
}
.post_content .haircare-db .brand-stat-label {
  font-size: 10px !important;
  color: var(--txl) !important;
  margin-top: 1px !important;
}

/* ===== タクソノミーアーカイブ: タイプヒーロー ===== */
.post_content .haircare-db .type-hero {
  background: var(--white) !important;
  padding: 18px 16px 0 !important;
  border-bottom: 1px solid var(--line) !important;
}
.post_content .haircare-db .type-hero-top {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}
.post_content .haircare-db .type-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.post_content .haircare-db .type-eyebrow {
  font-size: 10px !important;
  letter-spacing: .15em !important;
  color: var(--txl) !important;
  margin-bottom: 2px !important;
}
.post_content .haircare-db .type-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
}
.post_content .haircare-db .genre-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 8px;
}

.post_content .haircare-db .genre-badge {
  padding: 8px 4px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--br-l);
  border-radius: 6px;
  background: #fff;
  color: var(--tx);
  cursor: pointer;
  transition: .2s;
}

.post_content .haircare-db .genre-badge:hover {
  background: var(--br-l);
}

.post_content .haircare-db .genre-badge.active {
  background: var(--br);
  color: #fff;
  border-color: var(--br);
}

.post_content .haircare-db .type-select {
  width: 100%;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--br-l);
  border-radius: 6px;
  background: #fff;
  color: var(--tx);
  margin-top: 8px;
  cursor: pointer;
  appearance: auto;
}

.post_content .haircare-db .type-tabs {
  display: flex !important;
  gap: 0 !important;
}
.post_content .haircare-db .type-tab {
  padding: 10px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--txl) !important;
  cursor: pointer !important;
  border-bottom: 2px solid transparent !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
.post_content .haircare-db .type-tab.active {
  color: var(--br) !important;
  border-bottom-color: var(--br) !important;
}
.post_content .haircare-db .type-tab:hover {
  color: var(--br) !important;
}

/* ===== タクソノミーアーカイブ: 成分カテゴリヒーロー ===== */
.post_content .haircare-db .cat-hero {
  background: var(--white) !important;
  padding: 20px 16px 0 !important;
  border-bottom: 1px solid var(--line) !important;
}
.post_content .haircare-db .cat-hero-top {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}
.post_content .haircare-db .cat-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.post_content .haircare-db .cat-meta {
  flex: 1;
  min-width: 0;
}
.post_content .haircare-db .cat-eyebrow {
  font-size: 10px !important;
  letter-spacing: .15em !important;
  color: var(--txl) !important;
  margin-bottom: 3px !important;
}
.post_content .haircare-db .cat-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  margin-bottom: 4px !important;
}
.post_content .haircare-db .cat-desc {
  font-size: 12px !important;
  color: var(--txl) !important;
  line-height: 1.7 !important;
}
.post_content .haircare-db .cat-stats {
  display: flex !important;
  gap: 10px !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid var(--line) !important;
}
.post_content .haircare-db .cat-stat {
  background: var(--bg) !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  text-align: center !important;
}
.post_content .haircare-db .cat-stat-num {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--mg) !important;
}
.post_content .haircare-db .cat-stat-label {
  font-size: 10px !important;
  color: var(--txl) !important;
  margin-top: 1px !important;
}
.post_content .haircare-db .cat-subtabs {
  display: flex !important;
  gap: 6px !important;
  overflow-x: auto !important;
  padding-bottom: 12px !important;
  scrollbar-width: none !important;
}
.post_content .haircare-db .cat-subtabs::-webkit-scrollbar {
  display: none !important;
}
.post_content .haircare-db .cat-chip {
  border: 1.5px solid var(--line) !important;
  border-radius: 20px !important;
  padding: 5px 12px !important;
  font-size: 12px !important;
  color: var(--txl) !important;
  background: var(--white) !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}
.post_content .haircare-db .cat-chip.active {
  background: var(--mg) !important;
  border-color: var(--mg) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

/* ===== ハブページ（タイプ一覧・ブランド一覧・カテゴリ一覧） ===== */
.post_content .haircare-db .hub-desc {
  font-size: 12px !important;
  color: var(--txl) !important;
  line-height: 1.7 !important;
  padding: 0 16px 12px !important;
  margin: 0 !important;
}

.post_content .haircare-db .hub-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.post_content .haircare-db .hub-card {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 16px !important;
  background: var(--white) !important;
  border-bottom: 1px solid var(--line) !important;
  transition: .15s !important;
  cursor: pointer !important;
}
.post_content .haircare-db .hub-card:hover {
  background: var(--bg) !important;
}
.post_content .haircare-db .hub-card-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}
.post_content .haircare-db .hub-card-body {
  flex: 1 !important;
  min-width: 0 !important;
}
.post_content .haircare-db .hub-card-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  margin-bottom: 2px !important;
}
.post_content .haircare-db .hub-card-desc {
  font-size: 11px !important;
  color: var(--txl) !important;
  margin-bottom: 2px !important;
}
.post_content .haircare-db .hub-card-count {
  font-size: 11px !important;
  color: var(--txl) !important;
}
.post_content .haircare-db .hub-card-arrow {
  font-size: 18px !important;
  color: var(--txl) !important;
  flex-shrink: 0 !important;
}

/* ブランド一覧 */
.post_content .haircare-db .hub-search-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 16px !important;
  background: var(--white) !important;
  border-bottom: 1px solid var(--line) !important;
}
.post_content .haircare-db .hub-search {
  flex: 1 !important;
  border: none !important;
  outline: none !important;
  font-size: 13px !important;
  color: var(--tx) !important;
  background: transparent !important;
  font-family: inherit !important;
}
.post_content .haircare-db .hub-brand-list {
  display: flex !important;
  flex-direction: column !important;
}
.post_content .haircare-db .hub-brand-row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 16px !important;
  background: var(--white) !important;
  border-bottom: 1px solid var(--line) !important;
  transition: .15s !important;
}
.post_content .haircare-db .hub-brand-row:hover {
  background: var(--bg) !important;
}
.post_content .haircare-db .hub-brand-logo {
  width: 44px !important;
  height: 44px !important;
  border-radius: 10px !important;
  background: var(--br-l) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border: 1px solid var(--line) !important;
}
.post_content .haircare-db .hub-brand-logo-text {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--br-d) !important;
}
.post_content .haircare-db .hub-brand-body {
  flex: 1 !important;
  min-width: 0 !important;
}
.post_content .haircare-db .hub-brand-name {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
}
.post_content .haircare-db .hub-brand-desc {
  font-size: 11px !important;
  color: var(--txl) !important;
  margin-top: 1px !important;
}
.post_content .haircare-db .hub-brand-count {
  font-size: 11px !important;
  color: var(--txl) !important;
  flex-shrink: 0 !important;
}
.post_content .haircare-db .hub-brand-arrow {
  font-size: 15px !important;
  color: var(--txl) !important;
  flex-shrink: 0 !important;
}
