/* ==========================================================================
   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;
}

/* --------------------------------------------------------------------------
   2026-07-27 Home DB console
   -------------------------------------------------------------------------- */
.post_content .haircare-db .page.hc-home,
.post_content .haircare-db .hc-home {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 16px 40px !important;
}

.post_content .haircare-db .hc-home .hero {
  background: #f2f8f5 !important;
  border: 1px solid #d9e7df !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  text-align: left !important;
  overflow: hidden !important;
}

.post_content .haircare-db .hc-home .hero-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr) !important;
  min-height: 360px !important;
}

.post_content .haircare-db .hc-home .hero-copy {
  padding: 36px 34px 32px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.post_content .haircare-db .hc-home .hero-insight {
  background: #fff !important;
  border-left: 1px solid #dce7df !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  justify-content: center !important;
}

.post_content .haircare-db .hc-home .hero-badge {
  width: fit-content !important;
  background: #fff !important;
  border: 1px solid #c8ddd2 !important;
  border-radius: 999px !important;
  color: #286a58 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  margin: 0 0 16px !important;
  padding: 7px 10px !important;
}

.post_content .haircare-db .hc-home .hero-badge-dot {
  background: #d76555 !important;
}

.post_content .haircare-db .hc-home .hero .hero-catch {
  color: #1f2d28 !important;
  font-size: 34px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.28 !important;
  margin: 0 0 14px !important;
  max-width: 620px !important;
}

.post_content .haircare-db .hc-home .hero .hero-catch em {
  color: #28705d !important;
  font-style: normal !important;
}

.post_content .haircare-db .hc-home .hero-sub {
  color: #52635b !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  margin: 0 0 20px !important;
  max-width: 620px !important;
}

.post_content .haircare-db .hc-home .hero-search {
  background: #fff !important;
  border: 1px solid #a7c7bb !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  margin: 0 !important;
  max-width: 620px !important;
  overflow: hidden !important;
}

.post_content .haircare-db .hc-home .hero-search form {
  display: flex !important;
  width: 100% !important;
}

.post_content .haircare-db .hc-home .hero-search input {
  color: #1f2d28 !important;
  font-size: 15px !important;
  min-width: 0 !important;
  padding: 14px 15px !important;
}

.post_content .haircare-db .hc-home .hero-search button {
  background: #28705d !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  min-width: 92px !important;
  padding: 0 18px !important;
}

.post_content .haircare-db .hc-home .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 14px !important;
}

.post_content .haircare-db .hc-home .hero-actions a,
.post_content .haircare-db .hc-home .hero-type-links a {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #d2e1d9 !important;
  border-radius: 999px !important;
  color: #275c50 !important;
  display: inline-flex !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding: 9px 11px !important;
  text-decoration: none !important;
}

.post_content .haircare-db .hc-home .hero-stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
}

.post_content .haircare-db .hc-home .hero-stats div {
  background: #f7faf8 !important;
  border: 1px solid #e0ebe4 !important;
  border-radius: 8px !important;
  padding: 12px 10px !important;
}

.post_content .haircare-db .hc-home .hero-stats strong {
  color: #1f2d28 !important;
  display: block !important;
  font-size: 22px !important;
  line-height: 1.1 !important;
}

.post_content .haircare-db .hc-home .hero-stats span {
  color: #607269 !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  margin-top: 4px !important;
}

.post_content .haircare-db .hc-home .hero-product-strip {
  display: grid !important;
  gap: 8px !important;
}

.post_content .haircare-db .hc-home .hero-product-mini {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #e0e6e2 !important;
  border-radius: 8px !important;
  color: #27342f !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  min-height: 66px !important;
  padding: 7px !important;
  text-decoration: none !important;
}

.post_content .haircare-db .hc-home .hero-product-thumb {
  align-items: center !important;
  background: #f5f7f5 !important;
  border-radius: 6px !important;
  display: flex !important;
  height: 52px !important;
  justify-content: center !important;
  overflow: hidden !important;
  width: 54px !important;
}

.post_content .haircare-db .hc-home .hero-product-thumb img {
  height: 100% !important;
  object-fit: contain !important;
  width: 100% !important;
}

.post_content .haircare-db .hc-home .hero-product-placeholder {
  background: #79a894 !important;
  border-radius: 5px !important;
  display: block !important;
  height: 40px !important;
  width: 24px !important;
}

.post_content .haircare-db .hc-home .hero-product-name {
  color: #26342f !important;
  display: -webkit-box !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.post_content .haircare-db .hc-home .hero-type-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
}

.post_content .haircare-db .hc-home .section {
  padding: 26px 0 !important;
}

.post_content .haircare-db .hc-home .section + .section {
  border-top: 1px solid #e5e1d7 !important;
}

.post_content .haircare-db .hc-home .sec-label {
  color: #9a6d5c !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.post_content .haircare-db .hc-home .sec-title {
  color: #1f2d28 !important;
  font-size: 24px !important;
  letter-spacing: 0 !important;
}

.post_content .haircare-db .hc-home .sec-sub {
  color: #66756e !important;
  font-size: 13px !important;
}

.post_content .haircare-db .hc-home .entry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.post_content .haircare-db .hc-home .entry-card.ec-full {
  grid-column: auto !important;
}

.post_content .haircare-db .hc-home .entry-card {
  align-items: flex-start !important;
  background: #fff !important;
  border: 1px solid #e2e5dd !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  min-height: 138px !important;
  padding: 16px !important;
  text-align: left !important;
}

.post_content .haircare-db .hc-home .entry-card:hover {
  border-color: #91b7a9 !important;
  transform: none !important;
}

.post_content .haircare-db .hc-home .ec-icon {
  border-radius: 8px !important;
  height: 34px !important;
  margin: 0 0 8px !important;
  width: 34px !important;
}

.post_content .haircare-db .hc-home .ec-name {
  font-size: 15px !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
}

.post_content .haircare-db .hc-home .ec-desc {
  color: #65736d !important;
  display: block !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
}

.post_content .haircare-db .hc-home .ec-arrow {
  background: #eef5f1 !important;
  color: #28705d !important;
  margin: auto 0 0 !important;
}

@media (max-width: 900px) {
  .post_content .haircare-db .hc-home {
    padding: 0 12px 32px !important;
  }
  .post_content .haircare-db .hc-home .hero-main {
    grid-template-columns: 1fr !important;
  }
  .post_content .haircare-db .hc-home .hero-copy {
    padding: 28px 20px 22px !important;
  }
  .post_content .haircare-db .hc-home .hero-insight {
    border-left: 0 !important;
    border-top: 1px solid #dce7df !important;
    padding: 16px !important;
  }
  .post_content .haircare-db .hc-home .hero .hero-catch {
    font-size: 28px !important;
  }
  .post_content .haircare-db .hc-home .entry-grid {
    grid-template-columns: 1fr !important;
  }
  .post_content .haircare-db .hc-home .entry-card {
    min-height: 0 !important;
  }
}

@media (max-width: 560px) {
  .post_content .haircare-db .page.hc-home,
  .post_content .haircare-db .hc-home {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .post_content .haircare-db .hc-home .hero-copy {
    padding: 24px 16px 18px !important;
  }
  .post_content .haircare-db .hc-home .hero-insight {
    padding: 14px !important;
    gap: 10px !important;
  }
  .post_content .haircare-db .hc-home .hero .hero-catch {
    font-size: 24px !important;
    margin-bottom: 10px !important;
  }
  .post_content .haircare-db .hc-home .hero-sub {
    font-size: 13px !important;
    line-height: 1.7 !important;
    margin-bottom: 16px !important;
  }
  .post_content .haircare-db .hc-home .hero-search form {
    display: grid !important;
    grid-template-columns: 1fr 76px !important;
  }
  .post_content .haircare-db .hc-home .hero-search button {
    min-width: 76px !important;
    padding: 0 10px !important;
  }
  .post_content .haircare-db .hc-home .hero-stats {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .post_content .haircare-db .hc-home .hero-stats strong {
    font-size: 18px !important;
  }
  .post_content .haircare-db .hc-home .hero-stats div {
    padding: 10px 8px !important;
  }
  .post_content .haircare-db .hc-home .hero-product-mini {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    min-height: 58px !important;
    padding: 6px !important;
  }
  .post_content .haircare-db .hc-home .hero-product-thumb {
    height: 46px !important;
    width: 46px !important;
  }
  .post_content .haircare-db .hc-home .hero-product-name {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
  .post_content .haircare-db .hc-home .hero-actions a,
  .post_content .haircare-db .hc-home .hero-type-links a {
    font-size: 11px !important;
    padding: 8px 10px !important;
  }
}

/* --------------------------------------------------------------------------
   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: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 10px !important;
}

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

.post_content .haircare-db .prod-head .prod-img {
  width: 132px;
  height: 132px;
  background: var(--bg);
  border: 1px solid rgba(61, 50, 44, .08);
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.post_content .haircare-db .prod-img-bottle {
  width: 42px;
  height: 72px;
  background: var(--br);
  border-radius: 9px 9px 6px 6px;
  opacity: .48;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.post_content .haircare-db .prod-img-bottle::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 13px;
  width: 16px;
  height: 10px;
  border-radius: 5px 5px 2px 2px;
  background: inherit;
}

.post_content .haircare-db .prod-img-bottle::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 23px;
  height: 16px;
  border-radius: 4px;
  background: rgba(255,255,255,.55);
}

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

.post_content .haircare-db .prod-head .prod-name,
.post_content .prod-head .prod-name {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #333 !important;
  line-height: 1.35 !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  overflow-wrap: anywhere;
}

/* トップページ 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: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px !important;
}

.post_content .haircare-db .tag {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 7px;
  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: 8px;
  margin-top: 2px !important;
}

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

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

/* 商品名の下の値段の印（楽天市場・確認日時／参考価格）11/10 */
.post_content .haircare-db .prod-price-note {
  font-size: 11px;
  color: var(--txl);
}

.post_content .haircare-db .prod-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 190px;
  margin-top: 14px;
  background: var(--gd);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0;
  font-family: inherit;
  transition: .15s;
}

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

@media (max-width: 600px) {
  .post_content .haircare-db .prod-head {
    padding: 14px;
  }

  .post_content .haircare-db .prod-head-inner {
    gap: 12px;
  }

  .post_content .haircare-db .prod-head .prod-img {
    width: 104px;
    height: 104px;
  }

  .post_content .haircare-db .prod-head .prod-name,
  .post_content .prod-head .prod-name {
    font-size: 17px !important;
  }

  .post_content .haircare-db .prod-buy-btn {
    width: 100%;
    min-width: 0;
  }
}

/* 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 #section-score {
  display: flex;
  flex-direction: column;
}

.post_content .haircare-db .score-verdict {
  background: #fff;
  border: 1px solid rgba(47, 117, 111, .18);
  border-left: 4px solid #2f756f;
  border-radius: 8px;
  margin: 0 0 10px !important;
  padding: 12px 14px;
}

.post_content .haircare-db .score-verdict-kicker {
  color: #2f756f;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 3px !important;
}

.post_content .haircare-db .score-verdict-title {
  color: var(--tx);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 4px !important;
}

.post_content .haircare-db .score-verdict p {
  color: #5d514b;
  font-size: 13px;
  line-height: 1.75;
  margin: 0 !important;
}

.post_content .haircare-db .score-detail-summary {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(160px, 1fr) minmax(160px, 1fr);
  gap: 8px;
  margin: 0 0 14px !important;
}

.post_content .haircare-db .score-detail-main,
.post_content .haircare-db .score-detail-box {
  min-width: 0;
  border: 1px solid rgba(47, 117, 111, .16);
  border-radius: 8px;
  background: #f8fbf8;
  padding: 10px 12px;
}

.post_content .haircare-db .score-detail-main {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.post_content .haircare-db .score-detail-label {
  display: block;
  flex-basis: 100%;
  color: #6a7d72;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 4px !important;
}

.post_content .haircare-db .score-detail-num {
  color: #2f756f;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.post_content .haircare-db .score-detail-unit {
  color: #6a7d72;
  font-size: 12px;
  font-weight: 700;
}

.post_content .haircare-db .score-detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  margin: 2px 4px 2px 0 !important;
  padding: 5px 9px;
}

.post_content .haircare-db .score-detail-chip.good {
  background: #edf7f4;
  color: #2f756f;
}

.post_content .haircare-db .score-detail-chip.weak {
  background: #fdf0eb;
  color: #9a5a43;
}

.post_content .haircare-db #section-score .badge-area {
  order: 20;
}

.post_content .haircare-db .score-radar-secondary {
  order: 30;
  border-top: 1px solid rgba(61, 50, 44, .08);
  margin: 4px 0 14px !important;
  padding-top: 12px;
}

.post_content .haircare-db .score-radar-title {
  color: #8b7568;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 4px !important;
  text-align: center;
}

.post_content .haircare-db #section-score .score-comment {
  order: 40;
}

.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: 0 !important;
}

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

.post_content .haircare-db .radar-chart-svg text,
.post_content .haircare-db .radar-chart-svg tspan {
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0;
}

.post_content .haircare-db .radar-chart-svg .radar-label {
  font-size: 10px;
  line-height: 1.1;
}

.post_content .haircare-db .radar-chart-svg .radar-value {
  font-size: 12px;
  line-height: 1;
}

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

  .post_content .haircare-db .score-radar-secondary {
    margin-top: 2px !important;
    padding-top: 10px;
  }

  .post_content .haircare-db .score-radar-title {
    font-size: 10px;
  }
}

@media (max-width: 860px) {
  .post_content .haircare-db .score-detail-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post_content .haircare-db .score-detail-main {
    grid-column: 1 / -1;
  }
}

/* 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;
}

/* .haircare-db 親クラスがない場合のフォールバック（ツールチップの絶対配置の基準点） */
.ingr-text a.ingr-link {
  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: 0;
  font-size: 13px;
  color: var(--tx);
  line-height: 1.85;
  padding-top: 0;
  border-top: none;
}

.post_content .haircare-db .analysis-summary-panel {
  background: #f8fbf8;
  border: 1px solid rgba(47, 117, 111, .16);
  border-left: 4px solid #2f756f;
  border-radius: 8px;
  padding: 14px 15px;
}

.post_content .haircare-db .analysis-text-heading {
  color: #2f756f;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 6px !important;
}

.post_content .haircare-db .analysis-text p,
.post_content .haircare-db .analysis-summary-panel p {
  margin: 0 !important;
}

.post_content .haircare-db .analysis-summary-panel p {
  color: #3f3935;
  font-size: 13px;
  line-height: 1.75;
}

.post_content .haircare-db .analysis-text strong {
  font-weight: 800;
}

.post_content .haircare-db .analysis-em-red {
  color: #a23d3d;
}

.post_content .haircare-db .analysis-em-orange {
  color: #b7632d;
}

.post_content .haircare-db .analysis-reading-points,
.post_content .haircare-db .analysis-group-summary {
  border-top: 1px solid var(--line);
  margin-top: 14px !important;
  padding-top: 14px;
}

.post_content .haircare-db .analysis-reading-points ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.post_content .haircare-db .analysis-reading-points li {
  border-bottom: 1px solid rgba(61, 50, 44, .08);
  color: #4f4742;
  line-height: 1.65;
  margin: 0 !important;
  padding: 8px 0 8px 22px !important;
  position: relative;
}

.post_content .haircare-db .analysis-reading-points li:first-child {
  padding-top: 2px !important;
}

.post_content .haircare-db .analysis-reading-points li:last-child {
  border-bottom: none;
  padding-bottom: 0 !important;
}

.post_content .haircare-db .analysis-reading-points li::before {
  color: #2f756f;
  content: "✓";
  font-size: 13px;
  font-weight: 800;
  left: 1px;
  position: absolute;
  top: 9px;
}

.post_content .haircare-db .analysis-points {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.post_content .haircare-db .analysis-points li {
  color: #4f4742;
  line-height: 1.85;
  margin: 0 !important;
  padding: 0 0 8px 18px !important;
  position: relative;
}

.post_content .haircare-db .analysis-points li:last-child {
  padding-bottom: 0 !important;
}

.post_content .haircare-db .analysis-points li::before {
  background: #2f756f;
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 2px;
  position: absolute;
  top: .78em;
  width: 6px;
}

.post_content .haircare-db .analysis-text-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px !important;
}

.post_content .haircare-db .analysis-text-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
}

.post_content .haircare-db .analysis-text-block .analysis-text-heading {
  color: #8b7568;
}

.post_content .haircare-db .analysis-group-row {
  border-bottom: 1px solid rgba(61, 50, 44, .08);
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(96px, .36fr) minmax(0, 1fr);
  padding: 11px 0;
}

.post_content .haircare-db .analysis-group-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.post_content .haircare-db .analysis-group-title {
  color: #6d5548;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.post_content .haircare-db .analysis-group-body {
  min-width: 0;
}

.post_content .haircare-db .analysis-group-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 5px !important;
}

.post_content .haircare-db .analysis-group-chips span {
  background: #f8fbf8;
  border: 1px solid rgba(47, 117, 111, .16);
  border-radius: 999px;
  color: #2f756f;
  font-size: 11px;
  line-height: 1.35;
  padding: 4px 8px;
}

.post_content .haircare-db .analysis-group-body p {
  color: #6d625c;
  font-size: 12px;
  line-height: 1.7;
  margin: 0 !important;
}

@media (max-width: 600px) {
  .post_content .haircare-db .analysis-group-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* 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;
}

/* 2026-07-28 Product archive console */
.post_content .haircare-db .page.hc-products-archive,
.post_content .haircare-db .hc-products-archive {
  max-width: 1128px !important;
  margin: 0 auto !important;
  padding: 0 16px 42px !important;
}

.post_content .haircare-db .hc-products-archive .archive-hero {
  background: #f3f8f5 !important;
  border: 1px solid #d9e7df !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: minmax(0, 1fr) 310px !important;
  margin: 0 0 14px !important;
  padding: 26px !important;
}

.post_content .haircare-db .hc-products-archive .archive-kicker {
  color: #28705d !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  margin-bottom: 9px !important;
}

.post_content .haircare-db .hc-products-archive .archive-title {
  color: #1f2d28 !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
  margin: 0 0 10px !important;
}

.post_content .haircare-db .hc-products-archive .archive-meta-line {
  color: #607269 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  margin: -2px 0 10px !important;
}

.post_content .haircare-db .hc-products-archive .archive-lead {
  color: #52635b !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  margin: 0 0 16px !important;
  max-width: 680px !important;
}

.post_content .haircare-db .hc-products-archive .archive-search {
  background: #fff !important;
  border: 1px solid #a7c7bb !important;
  border-radius: 8px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 90px !important;
  max-width: 620px !important;
  overflow: hidden !important;
}

.post_content .haircare-db .hc-products-archive .archive-search input {
  background: #fff !important;
  border: 0 !important;
  color: #1f2d28 !important;
  font-size: 14px !important;
  min-width: 0 !important;
  outline: none !important;
  padding: 13px 14px !important;
}

.post_content .haircare-db .hc-products-archive .archive-search button {
  background: #28705d !important;
  border: 0 !important;
  color: #fff !important;
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.post_content .haircare-db .hc-products-archive .archive-hero-stats {
  display: grid !important;
  gap: 8px !important;
}

.post_content .haircare-db .hc-products-archive .archive-hero-stats div {
  background: #fff !important;
  border: 1px solid #dfe9e3 !important;
  border-radius: 8px !important;
  padding: 13px 14px !important;
}

.post_content .haircare-db .hc-products-archive .archive-hero-stats strong {
  color: #1f2d28 !important;
  display: block !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.post_content .haircare-db .hc-products-archive .archive-hero-stats span {
  color: #607269 !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-top: 4px !important;
}

.post_content .haircare-db .hc-products-archive .phead {
  background: #fff !important;
  border: 1px solid #e1e6df !important;
  border-radius: 8px !important;
  margin: 0 0 10px !important;
  padding: 16px !important;
}

.post_content .haircare-db .hc-products-archive .phead-row {
  margin-bottom: 13px !important;
}

.post_content .haircare-db .hc-products-archive .phead-title {
  color: #1f2d28 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
}

.post_content .haircare-db .hc-products-archive .fg-label {
  color: #7f6a5e !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  margin: 12px 0 7px !important;
}

.post_content .haircare-db .hc-products-archive .genre-badges {
  gap: 8px !important;
}

.post_content .haircare-db .hc-products-archive .genre-badge,
.post_content .haircare-db .hc-products-archive .brand-trigger,
.post_content .haircare-db .hc-products-archive .type-select {
  border-radius: 8px !important;
}

.post_content .haircare-db .hc-products-archive .db-filter-panel {
  background: #fbfaf7 !important;
  border: 1px solid #e5e1d7 !important;
  border-radius: 8px !important;
  margin: 0 0 10px !important;
  padding: 12px 14px 4px !important;
}

.post_content .haircare-db .hc-products-archive .db-filter-label {
  color: #6d5548 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  min-width: 58px !important;
}

.post_content .haircare-db .hc-products-archive .sort-row {
  background: #fff !important;
  border: 1px solid #e1e6df !important;
  border-radius: 8px !important;
  margin-bottom: 10px !important;
  padding: 10px 12px !important;
}

.post_content .haircare-db .hc-products-archive .archive-prod-grid {
  gap: 12px !important;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)) !important;
  padding: 0 !important;
}

.post_content .haircare-db .hc-products-archive .prod-card {
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 11px !important;
}

.post_content .haircare-db .hc-products-archive .prod-card-img {
  background-color: #f8faf8 !important;
}

@media (max-width: 760px) {
  .post_content .haircare-db .page.hc-products-archive,
  .post_content .haircare-db .hc-products-archive {
    padding: 0 10px 34px !important;
  }

  .post_content .haircare-db .hc-products-archive .archive-hero {
    gap: 14px !important;
    grid-template-columns: 1fr !important;
    padding: 18px 16px !important;
  }

  .post_content .haircare-db .hc-products-archive .archive-title {
    font-size: 22px !important;
    line-height: 1.4 !important;
  }

  .post_content .haircare-db .hc-products-archive .archive-lead {
    font-size: 12px !important;
    line-height: 1.75 !important;
    margin-bottom: 14px !important;
  }

  .post_content .haircare-db .hc-products-archive .archive-search {
    grid-template-columns: minmax(0, 1fr) 76px !important;
  }

  .post_content .haircare-db .hc-products-archive .archive-search input {
    font-size: 13px !important;
    padding: 12px !important;
  }

  .post_content .haircare-db .hc-products-archive .archive-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .post_content .haircare-db .hc-products-archive .archive-hero-stats div {
    padding: 10px 8px !important;
  }

  .post_content .haircare-db .hc-products-archive .archive-hero-stats strong {
    font-size: 18px !important;
  }

  .post_content .haircare-db .hc-products-archive .phead {
    padding: 14px !important;
  }

  .post_content .haircare-db .hc-products-archive .phead-row {
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .post_content .haircare-db .hc-products-archive .genre-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .post_content .haircare-db .hc-products-archive .db-filter-panel {
    padding: 11px 12px 3px !important;
  }

  .post_content .haircare-db .hc-products-archive .db-filter-row {
    align-items: flex-start !important;
  }

  .post_content .haircare-db .hc-products-archive .sort-row {
    position: sticky !important;
    top: 46px !important;
    z-index: 4 !important;
  }

  .post_content .haircare-db .hc-products-archive .archive-prod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .post_content .haircare-db .hc-products-archive .prod-card {
    padding: 8px !important;
  }

  .post_content .haircare-db .hc-products-archive .prod-card-h2 {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .post_content .haircare-db .hc-products-archive .prod-card-brand {
    font-size: 10px !important;
  }
}

/* 2026-07-28 Ingredient archive console */
.post_content .haircare-db .page.hc-ingredients-archive,
.post_content .haircare-db .hc-ingredients-archive {
  max-width: 1068px !important;
  margin: 0 auto !important;
  padding: 0 16px 42px !important;
}

.post_content .haircare-db .hc-ingredients-archive .archive-hero {
  background: #fbf7f1 !important;
  border: 1px solid #e7ddd1 !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: minmax(0, 1fr) 290px !important;
  margin: 0 0 14px !important;
  padding: 26px !important;
}

.post_content .haircare-db .hc-ingredients-archive .archive-kicker {
  color: #8b5a3a !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  margin-bottom: 9px !important;
}

.post_content .haircare-db .hc-ingredients-archive .archive-title {
  color: #2e1e12 !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
  margin: 0 0 10px !important;
}

.post_content .haircare-db .hc-ingredients-archive .archive-meta-line {
  color: #7f6a5e !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  margin: -2px 0 10px !important;
}

.post_content .haircare-db .hc-ingredients-archive .archive-lead {
  color: #5f4b42 !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  margin: 0 0 16px !important;
  max-width: 650px !important;
}

.post_content .haircare-db .hc-ingredients-archive .archive-search {
  background: #fff !important;
  border: 1px solid rgba(139, 90, 58, .32) !important;
  border-radius: 8px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 90px !important;
  max-width: 600px !important;
  overflow: hidden !important;
}

.post_content .haircare-db .hc-ingredients-archive .archive-search input {
  background: #fff !important;
  border: 0 !important;
  color: #2e1e12 !important;
  font-size: 14px !important;
  min-width: 0 !important;
  outline: none !important;
  padding: 13px 14px !important;
}

.post_content .haircare-db .hc-ingredients-archive .archive-search button {
  background: #8b5a3a !important;
  border: 0 !important;
  color: #fff !important;
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.post_content .haircare-db .hc-ingredients-archive .archive-hero-stats {
  display: grid !important;
  gap: 8px !important;
}

.post_content .haircare-db .hc-ingredients-archive .archive-hero-stats div {
  background: #fff !important;
  border: 1px solid #eadfd3 !important;
  border-radius: 8px !important;
  padding: 13px 14px !important;
}

.post_content .haircare-db .hc-ingredients-archive .archive-hero-stats strong {
  color: #2e1e12 !important;
  display: block !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.post_content .haircare-db .hc-ingredients-archive .archive-hero-stats span {
  color: #7f6a5e !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-top: 4px !important;
}

.post_content .haircare-db .hc-ingredients-archive .phead,
.post_content .haircare-db .hc-ingredients-archive .initial-sheet {
  background: #fff !important;
  border: 1px solid #e5e1d7 !important;
  border-radius: 8px !important;
}

.post_content .haircare-db .hc-ingredients-archive .phead {
  margin: 0 0 10px !important;
  padding: 16px !important;
}

.post_content .haircare-db .hc-ingredients-archive .phead-title {
  color: #2e1e12 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
}

.post_content .haircare-db .hc-ingredients-archive .fg-label {
  color: #7f6a5e !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  margin: 12px 0 7px !important;
}

.post_content .haircare-db .hc-ingredients-archive .chip-row {
  background: #fbfaf7 !important;
  border: 1px solid #eee7df !important;
  border-radius: 8px !important;
  gap: 7px !important;
  margin-bottom: 12px !important;
  padding: 10px !important;
}

.post_content .haircare-db .hc-ingredients-archive .safety-row.filter-row {
  background: #fbfaf7 !important;
  border: 1px solid #eee7df !important;
  border-radius: 8px !important;
  gap: 7px !important;
  margin-bottom: 12px !important;
  padding: 10px !important;
}

.post_content .haircare-db .hc-ingredients-archive .initial-trigger {
  border-radius: 8px !important;
  margin-bottom: 0 !important;
}

.post_content .haircare-db .hc-ingredients-archive .sort-row {
  background: #fff !important;
  border: 1px solid #e5e1d7 !important;
  border-radius: 8px !important;
  margin-bottom: 10px !important;
  padding: 10px 12px !important;
}

.post_content .haircare-db .hc-ingredients-archive .ingr-list {
  border: 1px solid #e5e1d7 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.post_content .haircare-db .hc-ingredients-archive .ingr-row {
  background: #fff !important;
  min-height: 72px !important;
}

.post_content .haircare-db .hc-ingredients-archive .ingr-row:hover {
  background: #fbfaf7 !important;
}

@media (max-width: 760px) {
  .post_content .haircare-db .page.hc-ingredients-archive,
  .post_content .haircare-db .hc-ingredients-archive {
    padding: 0 10px 34px !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .archive-hero {
    gap: 14px !important;
    grid-template-columns: 1fr !important;
    padding: 18px 16px !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .archive-title {
    font-size: 22px !important;
    line-height: 1.4 !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .archive-lead {
    font-size: 12px !important;
    line-height: 1.75 !important;
    margin-bottom: 14px !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .archive-search {
    grid-template-columns: minmax(0, 1fr) 76px !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .archive-search input {
    font-size: 13px !important;
    padding: 12px !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .archive-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .archive-hero-stats div {
    padding: 10px 8px !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .archive-hero-stats strong {
    font-size: 18px !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .phead {
    padding: 14px !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .chip-row,
  .post_content .haircare-db .hc-ingredients-archive .safety-row.filter-row {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .initial-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .sort-row {
    position: sticky !important;
    top: 46px !important;
    z-index: 4 !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .ingr-row {
    align-items: flex-start !important;
    gap: 9px !important;
    padding: 12px !important;
  }

  .post_content .haircare-db .hc-ingredients-archive .ingr-meta {
    align-items: flex-end !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-more-link {
  display: block;
  margin-top: 10px !important;
  padding: 10px 12px;
  border: 1px solid var(--br-l);
  border-radius: 8px;
  background: var(--bg);
  color: var(--br-d) !important;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

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

.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 .sort-count {
  color: var(--txl) !important;
  font-size: 11px;
  font-weight: 700;
  margin-left: auto;
  margin-right: 8px;
  white-space: nowrap;
}

.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;
}

.post_content .haircare-db .db-filter-panel {
  margin: 8px 16px 10px !important;
  padding: 10px 0 2px !important;
  border-top: 1px solid rgba(154, 117, 96, .18);
  border-bottom: 1px solid rgba(154, 117, 96, .12);
}

.post_content .haircare-db .db-filter-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 0 0 8px !important;
  scrollbar-width: none;
}

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

.post_content .haircare-db .db-filter-label {
  min-width: 48px;
  color: var(--txl) !important;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.post_content .haircare-db .db-filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--tx) !important;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
  text-decoration: none !important;
  transition: .15s;
}

.post_content .haircare-db .db-filter-chip:hover,
.post_content .haircare-db .db-filter-chip.active {
  border-color: var(--mg);
  background: var(--mg-l);
  color: var(--mg-d) !important;
}

.post_content .haircare-db .db-filter-chip.is-caution:hover,
.post_content .haircare-db .db-filter-chip.is-caution.active {
  border-color: #d6a266;
  background: #fff3e4;
  color: #9a5b1e !important;
}

/* PRODUCT GRID (archive) */
.post_content .haircare-db .archive-prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  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: 8px;
  padding: 12px;
  cursor: pointer;
  transition: .15s;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

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

.post_content .haircare-db .prod-card-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  margin: 0 auto 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(61, 50, 44, .08);
}

.post_content .haircare-db .prod-card-img,
.post_content .haircare-db .prod-row-img,
.post_content .haircare-db .prod-head .prod-img,
.post_content .haircare-db .prod-mini {
  align-items: center !important;
  display: flex !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.post_content .haircare-db .prod-card-img img,
.post_content .haircare-db .prod-row-img img,
.post_content .haircare-db .prod-head .prod-img img,
.post_content .haircare-db .prod-mini img {
  background: #fff !important;
  display: block !important;
  height: 100% !important;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  width: 100% !important;
}

.post_content .haircare-db .prod-card-bottle {
  width: 34px;
  height: 54px;
  border-radius: 8px 8px 5px 5px;
  opacity: .5;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.post_content .haircare-db .prod-card-bottle::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 10px;
  width: 14px;
  height: 8px;
  border-radius: 4px 4px 2px 2px;
  background: inherit;
}

.post_content .haircare-db .prod-card-bottle::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 16px;
  height: 12px;
  border-radius: 3px;
  background: rgba(255,255,255,.55);
}

.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: 7px;
  background: var(--br);
  color: #fff !important;
  font-weight: 700;
}

.post_content .haircare-db .prod-card-brand {
  font-size: 10px;
  color: var(--txl) !important;
  margin: 0 0 3px !important;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post_content .haircare-db .prod-card-h2 {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--tx) !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  overflow-wrap: anywhere;
}

.post_content .haircare-db .prod-card-db {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px !important;
}

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

.post_content .haircare-db .prod-image-note {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0 !important;
  color: #6f6870;
  font-size: 11px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.post_content .haircare-db .prod-variant-badge {
  align-items: center;
  background: #f4f0ea;
  border: 1px solid rgba(154, 117, 96, .16);
  border-radius: 999px;
  color: #6d5548 !important;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  min-height: 23px;
  padding: 4px 7px;
}

.post_content .haircare-db .prod-variant-badge.is-refill,
.post_content .haircare-db .prod-variant-badge.is-trial,
.post_content .haircare-db .prod-variant-badge.is-size,
.post_content .haircare-db .prod-variant-badge.is-large {
  background: #edf7f4;
  border-color: rgba(47, 117, 111, .2);
  color: #2f756f !important;
}

.post_content .haircare-db .prod-variant-badge.is-shade_part,
.post_content .haircare-db .prod-variant-badge.is-scent_color {
  background: #fff4df;
  border-color: rgba(196, 143, 58, .22);
  color: #8a5c16 !important;
}

.post_content .haircare-db .prod-series-box {
  background: #fff;
  border: 1px solid rgba(154, 117, 96, .16);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(74, 45, 25, .05);
  margin: 14px auto 22px !important;
  max-width: 1040px;
  padding: 14px;
}

.post_content .haircare-db .prod-series-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.post_content .haircare-db .prod-series-kicker {
  color: #8a6f5f !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.post_content .haircare-db .prod-series-title {
  color: var(--tx) !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.post_content .haircare-db .prod-series-count {
  background: #f4f0ea;
  border-radius: 999px;
  color: #6d5548 !important;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}

.post_content .haircare-db .prod-series-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.post_content .haircare-db .prod-series-more {
  background: #2f756f;
  border-radius: 999px;
  color: #fff !important;
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
  text-decoration: none !important;
  white-space: nowrap;
}

.post_content .haircare-db .prod-series-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 2px 3px;
  scroll-snap-type: x proximity;
}

.post_content .haircare-db .prod-series-list::-webkit-scrollbar {
  height: 4px;
}

.post_content .haircare-db .prod-series-list::-webkit-scrollbar-thumb {
  background: rgba(154, 117, 96, .22);
  border-radius: 999px;
}

.post_content .haircare-db .prod-series-item {
  background: #fbfaf7;
  border: 1px solid rgba(154, 117, 96, .14);
  border-radius: 8px;
  color: var(--tx) !important;
  display: grid;
  flex: 0 0 148px;
  gap: 5px;
  min-height: 62px;
  padding: 9px 10px;
  scroll-snap-align: start;
  text-decoration: none !important;
}

.post_content .haircare-db .prod-series-item.is-current {
  background: #f5fbf8;
  border-color: rgba(47, 117, 111, .34);
}

.post_content .haircare-db .prod-series-item.no-image:not(.is-current) {
  background: #fff8f3;
}

.post_content .haircare-db .prod-series-label {
  color: inherit !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.post_content .haircare-db .prod-series-meta {
  color: #8a6f5f !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.post_content .haircare-db .prod-series-item.is-current .prod-series-meta {
  color: #2f756f !important;
}

.post_content .haircare-db .series-page {
  padding-bottom: 30px;
}

.post_content .haircare-db .series-hero {
  background: #fff;
  border: 1px solid rgba(154, 117, 96, .16);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(74, 45, 25, .06);
  margin: 0 0 16px !important;
  padding: 18px;
}

.post_content .haircare-db .series-eyebrow {
  color: #8a6f5f !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}

.post_content .haircare-db .series-title {
  color: var(--tx) !important;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 8px;
}

.post_content .haircare-db .series-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.post_content .haircare-db .series-meta-row a,
.post_content .haircare-db .series-meta-row span {
  background: #f4f0ea;
  border-radius: 999px;
  color: #6d5548 !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
  text-decoration: none !important;
}

.post_content .haircare-db .series-summary-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.post_content .haircare-db .series-summary-card {
  background: #fbfaf7;
  border: 1px solid rgba(154, 117, 96, .13);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 70px;
  padding: 11px;
}

.post_content .haircare-db .series-summary-card.is-caution {
  background: #fff8f3;
  border-color: rgba(196, 98, 58, .2);
}

.post_content .haircare-db .series-summary-label {
  color: #8a6f5f !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.post_content .haircare-db .series-summary-card strong {
  color: var(--tx) !important;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.post_content .haircare-db .series-summary-card.is-caution strong {
  color: #b85f2d !important;
}

.post_content .haircare-db .series-lead {
  color: var(--tx) !important;
  font-size: 13px;
  line-height: 1.8;
  margin: 0 !important;
}

.post_content .haircare-db .series-toolbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 18px 0 10px !important;
}

.post_content .haircare-db .series-toolbar span {
  color: var(--tx) !important;
  font-size: 15px;
  font-weight: 900;
}

.post_content .haircare-db .series-toolbar a {
  color: #2f756f !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}

.post_content .haircare-db .series-prod-grid {
  margin-top: 0 !important;
}

.post_content .haircare-db .series-variant-label {
  color: #8a5c16 !important;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
  margin-top: 8px !important;
  overflow-wrap: anywhere;
}

.post_content .haircare-db .series-duplicate-note {
  background: #fff8f3;
  border: 1px solid rgba(196, 98, 58, .18);
  border-radius: 999px;
  color: #b85f2d !important;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  margin-top: 5px !important;
  padding: 5px 7px;
  width: fit-content;
}

.post_content .haircare-db .series-index-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-top: 14px !important;
}

.post_content .haircare-db .series-index-card {
  background: #fff;
  border: 1px solid rgba(154, 117, 96, .15);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(74, 45, 25, .045);
  color: var(--tx) !important;
  display: grid;
  gap: 8px;
  min-height: 148px;
  padding: 14px;
  text-decoration: none !important;
}

.post_content .haircare-db .series-index-card-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.post_content .haircare-db .series-index-brand,
.post_content .haircare-db .series-index-type {
  border-radius: 999px;
  display: inline-flex;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
}

.post_content .haircare-db .series-index-brand {
  background: #f4f0ea;
  color: #6d5548 !important;
}

.post_content .haircare-db .series-index-type {
  background: #edf7f4;
  color: #2f756f !important;
}

.post_content .haircare-db .series-index-card h2 {
  background: none !important;
  border: 0 !important;
  color: var(--tx) !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.post_content .haircare-db .series-index-card h2::before,
.post_content .haircare-db .series-index-card h2::after {
  content: none !important;
  display: none !important;
}

.post_content .haircare-db .series-index-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.post_content .haircare-db .series-index-stats span {
  background: #fbfaf7;
  border: 1px solid rgba(154, 117, 96, .12);
  border-radius: 999px;
  color: #6d5548 !important;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
}

.post_content .haircare-db .series-index-stats .is-caution {
  background: #fff8f3;
  border-color: rgba(196, 98, 58, .18);
  color: #b85f2d !important;
}

.post_content .haircare-db .type-series-link {
  margin-top: 10px !important;
}

.post_content .haircare-db .type-series-link a {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(47, 117, 111, .18);
  border-radius: 8px;
  color: #2f756f !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  padding: 10px 12px;
  text-decoration: none !important;
}

@media (max-width: 600px) {
  .post_content .haircare-db .prod-series-head {
    align-items: flex-start;
  }

  .post_content .haircare-db .prod-series-actions {
    flex-direction: column;
    gap: 5px;
  }

  .post_content .haircare-db .prod-series-more,
  .post_content .haircare-db .prod-series-count {
    font-size: 10px;
    padding: 6px 8px;
  }

  .post_content .haircare-db .series-hero {
    padding: 14px;
  }

  .post_content .haircare-db .series-title {
    font-size: 19px;
  }

  .post_content .haircare-db .series-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post_content .haircare-db .series-summary-card strong {
    font-size: 16px;
  }

  .post_content .haircare-db .series-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .post_content .haircare-db .series-index-grid {
    grid-template-columns: 1fr;
  }

  .post_content .haircare-db .series-index-card {
    min-height: 0;
  }
}

.post_content .haircare-db .prod-card-metrics,
.post_content .haircare-db .prod-card-facet-line {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.post_content .haircare-db .prod-card-score,
.post_content .haircare-db .prod-card-price,
.post_content .haircare-db .prod-card-facet-line span {
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 7px;
}

.post_content .haircare-db .prod-card-score {
  background: var(--mg-l);
  color: var(--mg-d) !important;
}

.post_content .haircare-db .prod-card-price {
  background: rgba(154, 117, 96, .1);
  color: var(--br-d) !important;
}

.post_content .haircare-db .prod-card-facet-line.good span {
  background: rgba(78, 122, 86, .1);
  color: var(--mg-d) !important;
}

.post_content .haircare-db .prod-card-facet-line.caution span {
  background: #fff3e4;
  color: #9a5b1e !important;
}

.post_content .haircare-db .prod-card-db.is-row {
  gap: 5px;
  margin-top: 7px !important;
}

.post_content .haircare-db .prod-card-db.is-row .prod-card-score,
.post_content .haircare-db .prod-card-db.is-row .prod-card-price,
.post_content .haircare-db .prod-card-db.is-row .prod-card-facet-line span {
  font-size: 10px;
  padding: 4px 7px;
}

.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 .type-seo-intro {
  background: #f8fbf8 !important;
  border: 1px solid rgba(47, 117, 111, .14) !important;
  border-radius: 8px !important;
  color: #5f4b42 !important;
  font-size: 12px !important;
  line-height: 1.75 !important;
  margin: 0 0 12px !important;
  padding: 10px 12px !important;
}
.post_content .haircare-db .type-seo-intro strong {
  color: var(--mg-d) !important;
  font-weight: 800 !important;
}
.post_content .haircare-db .type-related-links {
  display: grid !important;
  gap: 8px !important;
  margin: -2px 0 12px !important;
}
.post_content .haircare-db .type-related-group {
  display: grid !important;
  gap: 5px !important;
}
.post_content .haircare-db .type-related-label {
  color: var(--txl) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}
.post_content .haircare-db .type-related-list {
  display: flex !important;
  gap: 6px !important;
  overflow-x: auto !important;
  padding-bottom: 2px !important;
  scrollbar-width: none !important;
}
.post_content .haircare-db .type-related-list::-webkit-scrollbar {
  display: none !important;
}
.post_content .haircare-db .type-related-list a {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid rgba(47, 117, 111, .16) !important;
  border-radius: 999px !important;
  color: var(--tx) !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  min-height: 28px !important;
  padding: 5px 9px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.post_content .haircare-db .type-related-list a:hover {
  background: #f8fbf8 !important;
  border-color: rgba(47, 117, 111, .32) !important;
  color: var(--mg-d) !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: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid var(--line) !important;
}
.post_content .haircare-db .cat-stat {
  min-width: 0 !important;
  background: var(--bg) !important;
  border-radius: 8px !important;
  padding: 8px 6px !important;
  text-align: center !important;
}
.post_content .haircare-db .cat-stat-num {
  white-space: nowrap !important;
  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;
}

/* --------------------------------------------------------------------------
   2026-07-23 first UI polish
   -------------------------------------------------------------------------- */
.post_content .haircare-db .hero {
  border: 1px solid rgba(47, 117, 111, .14);
  border-radius: 8px;
  margin: 0 0 16px;
  padding: 28px 20px 26px;
  box-shadow: 0 8px 24px rgba(46, 30, 18, .06);
}

.post_content .haircare-db .hero-badge {
  background: #edf7f4;
  border-color: rgba(47, 117, 111, .2);
  color: #2f756f;
}

.post_content .haircare-db .hero-badge-dot {
  background: #d86f61;
}

.post_content .haircare-db .hero h1,
.post_content .haircare-db .hero .hero-catch {
  font-size: clamp(22px, 4vw, 30px) !important;
}

.post_content .haircare-db .hero h1 em,
.post_content .haircare-db .hero .hero-catch em {
  color: #2f756f !important;
}

.post_content .haircare-db .hero-search {
  border-color: rgba(47, 117, 111, .45);
  box-shadow: 0 6px 18px rgba(47, 117, 111, .08);
}

.post_content .haircare-db .hero-search button {
  background: #2f756f;
}

.post_content .haircare-db .entry-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(46, 30, 18, .05);
}

.post_content .haircare-db .entry-card:hover {
  box-shadow: 0 10px 24px rgba(46, 30, 18, .08);
}

.post_content .haircare-db .ingr-head {
  border: 1px solid rgba(78, 122, 86, .18);
  border-radius: 8px;
  margin: 0 0 16px;
  padding: 22px 18px 20px;
  box-shadow: 0 8px 24px rgba(46, 30, 18, .05);
}

.post_content .haircare-db h1.ingr-name-ja,
.post_content h1.ingr-name-ja {
  color: var(--tx) !important;
  font-size: clamp(24px, 4vw, 32px) !important;
  letter-spacing: 0 !important;
}

.post_content .haircare-db .ingr-name-inci {
  color: #60756b;
  margin-bottom: 18px !important;
}

.post_content .haircare-db .cat-badge,
.post_content .haircare-db .safety-badge {
  border-radius: 8px;
}

.post_content .haircare-db .safety-row {
  gap: 8px;
}

@media (min-width: 768px) {
  .post_content .haircare-db .hero {
    padding: 34px 32px 30px;
  }

  .post_content .haircare-db .ingr-head {
    padding: 28px 28px 24px;
  }
}

/* --------------------------------------------------------------------------
   2026-07-28 Ingredient Detail First View
   -------------------------------------------------------------------------- */
.post_content .haircare-db .ingr-detail-page {
  max-width: 1008px !important;
  margin: 0 auto !important;
  padding: 0 16px 34px !important;
}

.post_content .haircare-db .ingr-detail-page .ingr-head {
  background: #fbf7f1 !important;
  border: 1px solid #e7ddd1 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.post_content .haircare-db .ingr-detail-page .ingr-hero-main {
  display: grid !important;
  gap: 18px !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  padding: 26px !important;
}

.post_content .haircare-db .ingr-detail-page .ingr-hero-copy {
  min-width: 0 !important;
}

.post_content .haircare-db .ingr-detail-page .ingr-cat-row {
  gap: 7px !important;
  margin-bottom: 12px !important;
}

.post_content .haircare-db .ingr-detail-page .cat-badge {
  border-radius: 999px !important;
  display: inline-flex !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  padding: 7px 10px !important;
  text-decoration: none !important;
}

.post_content .haircare-db .ingr-detail-page h1.ingr-name-ja,
.post_content .haircare-db .ingr-detail-page .ingr-name-ja {
  color: #2e1e12 !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  line-height: 1.35 !important;
  margin: 0 0 8px !important;
}

.post_content .haircare-db .ingr-detail-page .ingr-name-inci {
  color: #7f6a5e !important;
  font-size: 13px !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 0 0 14px !important;
}

.post_content .haircare-db .ingr-detail-page .safety-row {
  align-items: center !important;
  gap: 8px !important;
}

.post_content .haircare-db .ingr-detail-page .safety-badge {
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  min-height: 32px !important;
  padding: 7px 11px !important;
}

.post_content .haircare-db .ingr-detail-page .safety-sub {
  color: #6d5548 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.post_content .haircare-db .ingr-detail-page .ingr-hero-facts {
  display: grid !important;
  gap: 8px !important;
}

.post_content .haircare-db .ingr-detail-page .ingr-fact {
  background: #fff !important;
  border: 1px solid #eadfd3 !important;
  border-radius: 8px !important;
  padding: 13px 14px !important;
}

.post_content .haircare-db .ingr-detail-page .ingr-fact span {
  color: #7f6a5e !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 5px !important;
}

.post_content .haircare-db .ingr-detail-page .ingr-fact strong {
  color: #2e1e12 !important;
  display: block !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}

.post_content .haircare-db .ingr-detail-page .ingr-quick-nav {
  background: #fff !important;
  border-top: 1px solid #eadfd3 !important;
  display: flex !important;
  gap: 7px !important;
  overflow-x: auto !important;
  padding: 10px 26px !important;
  scrollbar-width: none !important;
}

.post_content .haircare-db .ingr-detail-page .ingr-quick-nav::-webkit-scrollbar {
  display: none !important;
}

.post_content .haircare-db .ingr-detail-page .ingr-quick-nav a {
  background: #fbfaf7 !important;
  border: 1px solid #eee7df !important;
  border-radius: 999px !important;
  color: #6d5548 !important;
  flex: 0 0 auto !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  padding: 8px 10px !important;
  text-decoration: none !important;
}

.post_content .haircare-db .ingr-detail-page .sec {
  background: #fff !important;
  border: 1px solid #e5e1d7 !important;
  border-radius: 8px !important;
  margin: 0 0 12px !important;
  padding: 16px !important;
}

.post_content .haircare-db .ingr-detail-page .desc-text {
  color: #3d3029 !important;
  font-size: 14px !important;
  line-height: 1.95 !important;
}

.post_content .haircare-db .ingr-detail-page .safety-detail,
.post_content .haircare-db .ingr-detail-page .prod-mini-list {
  border-radius: 8px !important;
}

@media (max-width: 760px) {
  .post_content .haircare-db .ingr-detail-page {
    padding: 0 10px 30px !important;
  }

  .post_content .haircare-db .ingr-detail-page .ingr-hero-main {
    gap: 14px !important;
    grid-template-columns: 1fr !important;
    padding: 18px 16px !important;
  }

  .post_content .haircare-db .ingr-detail-page h1.ingr-name-ja,
  .post_content .haircare-db .ingr-detail-page .ingr-name-ja {
    font-size: 26px !important;
  }

  .post_content .haircare-db .ingr-detail-page .ingr-hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .post_content .haircare-db .ingr-detail-page .ingr-fact {
    padding: 10px 8px !important;
  }

  .post_content .haircare-db .ingr-detail-page .ingr-fact strong {
    font-size: 13px !important;
  }

  .post_content .haircare-db .ingr-detail-page .ingr-quick-nav {
    padding: 9px 14px !important;
  }

  .post_content .haircare-db .ingr-detail-page .sec {
    padding: 14px !important;
  }

  .post_content .haircare-db .ingr-detail-page .desc-text {
    font-size: 13px !important;
    line-height: 1.9 !important;
  }
}

/* --------------------------------------------------------------------------
   2026-07-23 Product First View
   -------------------------------------------------------------------------- */
.post_content .haircare-db .brand-h1 {
  color: #6d5548 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
  margin: 0 0 8px !important;
}

.post_content .haircare-db .prod-head {
  border-color: rgba(47, 117, 111, .16) !important;
  box-shadow: 0 10px 26px rgba(46, 30, 18, .06) !important;
  padding: 20px !important;
}

.post_content .haircare-db .prod-head-inner {
  align-items: stretch !important;
}

.post_content .haircare-db .prod-meta {
  display: grid !important;
  flex: 1 !important;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 230px) !important;
  column-gap: 18px !important;
  min-width: 0 !important;
}

.post_content .haircare-db .prod-brand,
.post_content .haircare-db .prod-name,
.post_content .haircare-db .prod-tags,
.post_content .haircare-db .prod-updated,
.post_content .haircare-db .prod-price-row,
.post_content .haircare-db .prod-hero-summary,
.post_content .haircare-db .prod-hero-points {
  grid-column: 1 !important;
}

.post_content .haircare-db .prod-head .prod-name,
.post_content .prod-head .prod-name {
  color: var(--tx) !important;
  font-size: clamp(20px, 2.4vw, 28px) !important;
  letter-spacing: 0 !important;
  margin-bottom: 10px !important;
}

.post_content .haircare-db .prod-updated {
  color: #8b7568 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  margin: 8px 0 0 !important;
}

.post_content .haircare-db .prod-price-row {
  display: none !important;
}

.post_content .haircare-db .prod-hero-summary {
  display: grid !important;
  grid-template-columns: minmax(132px, 1fr) minmax(132px, 1fr) !important;
  gap: 8px !important;
  margin: 14px 0 0 !important;
}

.post_content .haircare-db .prod-hero-score,
.post_content .haircare-db .prod-hero-review {
  background: #f8fbf8 !important;
  border: 1px solid rgba(47, 117, 111, .16) !important;
  border-radius: 8px !important;
  padding: 10px 12px !important;
  min-width: 0 !important;
}

.post_content .haircare-db .prod-hero-score-label,
.post_content .haircare-db .prod-hero-review-label {
  display: block !important;
  color: #6a7d72 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  margin-bottom: 3px !important;
}

.post_content .haircare-db .prod-hero-score-num {
  color: #2f756f !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.post_content .haircare-db .prod-hero-score-unit {
  color: #6a7d72 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-left: 2px !important;
}

.post_content .haircare-db .prod-hero-review-num {
  color: var(--tx) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.post_content .haircare-db .prod-hero-points {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 10px 0 0 !important;
}

.post_content .haircare-db .prod-hero-point {
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 5px 10px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  white-space: normal !important;
}

.post_content .haircare-db .prod-hero-point.good {
  background: #edf7f4 !important;
  color: #2f756f !important;
}

.post_content .haircare-db .prod-hero-point.weak {
  background: #fdf0eb !important;
  color: #9a5a43 !important;
}

.post_content .haircare-db .prod-db-facets {
  display: grid !important;
  gap: 7px !important;
  grid-column: 1 !important;
  margin: 12px 0 0 !important;
}

.post_content .haircare-db .prod-db-facet-group {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  min-width: 0 !important;
}

.post_content .haircare-db .prod-db-facet-label {
  color: #6d5548 !important;
  flex: 0 0 72px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

.post_content .haircare-db .prod-db-facet-chip {
  align-items: center !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  min-height: 26px !important;
  padding: 4px 9px !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.post_content .haircare-db .prod-db-facet-group.fit .prod-db-facet-chip {
  background: #edf7f4 !important;
  color: #2f756f !important;
}

.post_content .haircare-db .prod-db-facet-group.finish .prod-db-facet-chip {
  background: #fff4df !important;
  color: #8a5c16 !important;
}

.post_content .haircare-db .prod-db-facet-group.caution .prod-db-facet-chip {
  background: #fdf0eb !important;
  color: #9a5a43 !important;
}

.post_content .haircare-db .prod-cta-panel {
  align-self: stretch !important;
  background: linear-gradient(180deg, #fff8ef 0%, #ffffff 100%) !important;
  border-left: 1px solid rgba(196, 143, 58, .24) !important;
  display: flex !important;
  flex-direction: column !important;
  grid-column: 2 !important;
  grid-row: 1 / span 8 !important;
  justify-content: center !important;
  min-width: 210px !important;
  padding: 4px 0 4px 18px !important;
}

.post_content .haircare-db .prod-cta-price {
  color: var(--tx) !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

.post_content .haircare-db .prod-cta-label,
.post_content .haircare-db .prod-cta-note {
  color: #8b7568 !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

.post_content .haircare-db .prod-cta-label {
  margin-top: 2px !important;
}

.post_content .haircare-db .prod-cta-note {
  margin-top: 8px !important;
}

.post_content .haircare-db .prod-cta-panel .prod-buy-btn {
  margin-top: 14px !important;
  min-width: 0 !important;
  width: 100% !important;
}

@media (min-width: 980px) {
  .post_content .haircare-db .prod-head .prod-img {
    height: 150px !important;
    width: 150px !important;
  }
}

@media (max-width: 860px) {
  .post_content .haircare-db .prod-head-inner {
    flex-wrap: wrap !important;
  }

  .post_content .haircare-db .prod-meta {
    grid-template-columns: 1fr !important;
  }

  .post_content .haircare-db .prod-brand,
  .post_content .haircare-db .prod-name,
  .post_content .haircare-db .prod-tags,
  .post_content .haircare-db .prod-updated,
  .post_content .haircare-db .prod-price-row,
  .post_content .haircare-db .prod-cta-panel,
  .post_content .haircare-db .prod-hero-summary,
  .post_content .haircare-db .prod-hero-points,
  .post_content .haircare-db .prod-db-facets {
    grid-column: 1 !important;
  }

  .post_content .haircare-db .prod-cta-panel {
    border-left: none !important;
    border-top: 1px solid rgba(196, 143, 58, .24) !important;
    flex-basis: 100% !important;
    grid-row: auto !important;
    padding: 14px 0 4px !important;
  }
}

@media (max-width: 600px) {
  .post_content .haircare-db .brand-h1 {
    font-size: 12px !important;
    margin-bottom: 6px !important;
  }

  .post_content .haircare-db .prod-head {
    padding: 14px !important;
  }

  .post_content .haircare-db .prod-head-inner {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    align-items: flex-start !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
  }

  .post_content .haircare-db .prod-head .prod-img {
    flex: 0 0 76px !important;
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    height: 76px !important;
    margin: 0 !important;
    width: 76px !important;
  }

  .post_content .haircare-db .prod-head .prod-img img {
    object-fit: contain !important;
    object-position: center center !important;
  }

  .post_content .haircare-db .prod-meta {
    display: contents !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }

  .post_content .haircare-db .prod-brand,
  .post_content .haircare-db .prod-name,
  .post_content .haircare-db .prod-updated {
    grid-column: 2 !important;
    min-width: 0 !important;
  }

  .post_content .haircare-db .prod-tags,
  .post_content .haircare-db .prod-cta-panel,
  .post_content .haircare-db .prod-hero-summary,
  .post_content .haircare-db .prod-hero-points,
  .post_content .haircare-db .prod-db-facets {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  .post_content .haircare-db .prod-head .prod-name,
  .post_content .prod-head .prod-name {
    font-size: 17px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
  }

  .post_content .haircare-db .prod-tags {
    margin-top: 12px !important;
  }

  .post_content .haircare-db .prod-updated {
    align-self: center !important;
    grid-row: 3 !important;
    margin-top: 4px !important;
    padding-right: 112px !important;
  }

  .post_content .haircare-db .prod-price-row {
    align-items: baseline !important;
    align-self: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    grid-column: 2 !important;
    grid-row: 3 !important;
    gap: 5px !important;
    justify-self: end !important;
    margin: 4px 0 0 !important;
    min-width: 0 !important;
    width: auto !important;
  }

  .post_content .haircare-db .prod-price {
    font-size: 18px !important;
    line-height: 1.25 !important;
  }

  .post_content .haircare-db .prod-price-row.has-price::after {
    content: "参考価格・確認日不明";
    color: #8b7568;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.6;
  }

  .post_content .haircare-db .prod-vol {
    display: none !important;
  }

  .post_content .haircare-db .prod-hero-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-top: 10px !important;
  }

  .post_content .haircare-db .prod-hero-score,
  .post_content .haircare-db .prod-hero-review {
    padding: 8px 9px !important;
  }

  .post_content .haircare-db .prod-hero-score-num {
    font-size: 22px !important;
  }

  .post_content .haircare-db .prod-hero-review-num {
    font-size: 15px !important;
  }

  .post_content .haircare-db .prod-cta-panel {
    background: transparent !important;
    border-top: 1px solid rgba(196, 143, 58, .18) !important;
    box-sizing: border-box !important;
    margin-top: 10px !important;
    min-width: 0 !important;
    padding: 12px 0 4px !important;
  }

  .post_content .haircare-db .prod-cta-price,
  .post_content .haircare-db .prod-cta-label {
    display: none !important;
  }

  .post_content .haircare-db .prod-cta-price {
    font-size: 21px !important;
    line-height: 1.35 !important;
    padding-top: 1px !important;
  }

  .post_content .haircare-db .prod-cta-panel .prod-buy-btn {
    margin-top: 8px !important;
    min-height: 44px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .post_content .haircare-db .prod-cta-note {
    margin-top: 6px !important;
  }

  .post_content .haircare-db .prod-db-facets {
    gap: 6px !important;
    margin-top: 10px !important;
  }

  .post_content .haircare-db .prod-db-facet-label {
    flex-basis: 64px !important;
    font-size: 10px !important;
  }

  .post_content .haircare-db .prod-db-facet-chip {
    min-height: 25px !important;
    padding: 4px 8px !important;
  }
}

/* 2026-08-04 SEO facet guide */
.post_content .haircare-db .type-seo-guide {
  background: #fff !important;
  border: 1px solid rgba(47, 117, 111, .14) !important;
  border-radius: 8px !important;
  margin: 14px 0 16px !important;
  padding: 14px !important;
}
.post_content .haircare-db .type-seo-guide-head { margin: 0 0 12px !important; }
.post_content .haircare-db .type-seo-guide-head span {
  color: var(--txl) !important;
  display: block !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  margin-bottom: 4px !important;
}
.post_content .haircare-db .type-seo-guide-head h2 {
  color: var(--tx) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 0 0 6px !important;
}
.post_content .haircare-db .type-seo-guide-head p {
  color: #5f4b42 !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
  margin: 0 !important;
}
.post_content .haircare-db .type-seo-guide-grid {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.post_content .haircare-db .type-seo-guide article {
  background: #f8fbf8 !important;
  border: 1px solid rgba(47, 117, 111, .12) !important;
  border-radius: 8px !important;
  padding: 12px !important;
}
.post_content .haircare-db .type-seo-guide .guide-num {
  color: var(--mg-d) !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  margin-bottom: 4px !important;
}
.post_content .haircare-db .type-seo-guide h3 {
  color: var(--tx) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 0 0 7px !important;
}
.post_content .haircare-db .type-seo-guide p,
.post_content .haircare-db .type-seo-guide li {
  color: #5f4b42 !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
}
.post_content .haircare-db .type-seo-guide ul {
  display: grid !important;
  gap: 5px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.post_content .haircare-db .type-seo-guide li {
  padding-left: 14px !important;
  position: relative !important;
}
.post_content .haircare-db .type-seo-guide li::before {
  background: var(--mg) !important;
  border-radius: 999px !important;
  content: "" !important;
  height: 5px !important;
  left: 1px !important;
  position: absolute !important;
  top: .78em !important;
  width: 5px !important;
}
.post_content .haircare-db .type-seo-guide .guide-focus-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-top: 10px !important;
}
.post_content .haircare-db .type-seo-guide .guide-focus-list span {
  background: #fff !important;
  border: 1px solid rgba(47, 117, 111, .16) !important;
  border-radius: 999px !important;
  color: var(--mg-d) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  padding: 5px 8px !important;
}
.post_content .haircare-db .type-seo-guide .guide-small {
  border-top: 1px solid rgba(47, 117, 111, .12) !important;
  color: var(--txl) !important;
  margin-top: 9px !important;
  padding-top: 8px !important;
}
.post_content .haircare-db .db-filter-chip.active {
  background: var(--mg) !important;
  border-color: var(--mg) !important;
  color: #fff !important;
}
.post_content .haircare-db .af-tag.is-concern {
  background: #f8fbf8 !important;
  border-color: rgba(47, 117, 111, .25) !important;
}
@media (max-width: 720px) {
  .post_content .haircare-db .type-seo-guide {
    margin: 12px 0 14px !important;
    padding: 12px !important;
  }
  .post_content .haircare-db .type-seo-guide-grid {
    grid-template-columns: 1fr !important;
  }
  .post_content .haircare-db .type-seo-guide-head h2 {
    font-size: 15px !important;
  }
}

/* 2026-08-04 Hair diagnosis MVP */
.post_content .haircare-db .hc-diagnosis,
.haircare-db .hc-diagnosis { max-width: 1040px !important; margin: 0 auto !important; padding: 0 16px 40px !important; }
.post_content .haircare-db .diag-hero,
.haircare-db .diag-hero { align-items: end !important; background: #f2f8f5 !important; border: 1px solid #d9e7df !important; border-radius: 8px !important; display: grid !important; gap: 18px !important; grid-template-columns: minmax(0,1fr) auto !important; margin: 0 0 14px !important; padding: 26px !important; }
.post_content .haircare-db .diag-kicker,
.haircare-db .diag-kicker { color: #28705d !important; display: block !important; font-size: 11px !important; font-weight: 800 !important; letter-spacing: .08em !important; margin-bottom: 8px !important; }
.post_content .haircare-db .diag-hero h1,
.haircare-db .diag-hero h1 { color: #1f2d28 !important; font-size: 30px !important; font-weight: 800 !important; letter-spacing: 0 !important; line-height: 1.3 !important; margin: 0 0 8px !important; }
.post_content .haircare-db .diag-hero p,
.haircare-db .diag-hero p { color: #52635b !important; font-size: 14px !important; line-height: 1.8 !important; margin: 0 !important; max-width: 680px !important; }
.post_content .haircare-db .diag-hero-links,
.haircare-db .diag-hero-links { display: flex !important; gap: 8px !important; }
.post_content .haircare-db .diag-hero-links a,
.haircare-db .diag-hero-links a,
.post_content .haircare-db .diag-actions a,
.haircare-db .diag-actions a { background: #fff !important; border: 1px solid #c8ddd2 !important; border-radius: 999px !important; color: #275c50 !important; font-size: 12px !important; font-weight: 800 !important; line-height: 1.35 !important; padding: 9px 11px !important; text-decoration: none !important; }
.post_content .haircare-db .diag-panel,
.haircare-db .diag-panel { display: grid !important; gap: 14px !important; grid-template-columns: minmax(0,1fr) 360px !important; }
.post_content .haircare-db .diag-form,
.haircare-db .diag-form,
.post_content .haircare-db .diag-result,
.haircare-db .diag-result { background: #fff !important; border: 1px solid rgba(47,117,111,.14) !important; border-radius: 8px !important; padding: 16px !important; }
.post_content .haircare-db .diag-form,
.haircare-db .diag-form { display: grid !important; gap: 14px !important; }
.post_content .haircare-db .diag-step span,
.haircare-db .diag-step span,
.post_content .haircare-db .diag-result-label,
.haircare-db .diag-result-label { color: var(--txl) !important; display: block !important; font-size: 11px !important; font-weight: 800 !important; margin-bottom: 5px !important; }
.post_content .haircare-db .diag-step h2,
.haircare-db .diag-step h2,
.post_content .haircare-db .diag-result h2,
.haircare-db .diag-result h2 { color: var(--tx) !important; font-size: 17px !important; font-weight: 800 !important; letter-spacing: 0 !important; line-height: 1.45 !important; margin: 0 0 8px !important; }
.post_content .haircare-db .diag-options,
.haircare-db .diag-options { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }
.post_content .haircare-db .diag-options button,
.haircare-db .diag-options button { background: #f8fbf8 !important; border: 1px solid rgba(47,117,111,.18) !important; border-radius: 999px !important; color: #2f4c43 !important; cursor: pointer !important; font-size: 12px !important; font-weight: 800 !important; min-height: 34px !important; padding: 8px 11px !important; }
.post_content .haircare-db .diag-options button.active,
.haircare-db .diag-options button.active { background: var(--mg) !important; border-color: var(--mg) !important; color: #fff !important; }
.post_content .haircare-db .diag-result,
.haircare-db .diag-result { align-self: start !important; position: sticky !important; top: 16px !important; }
.post_content .haircare-db .diag-result p,
.haircare-db .diag-result p { color: #5f4b42 !important; font-size: 13px !important; line-height: 1.75 !important; margin: 0 0 12px !important; }
.post_content .haircare-db .diag-focus,
.haircare-db .diag-focus,
.post_content .haircare-db .diag-actions,
.haircare-db .diag-actions { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; margin-top: 10px !important; }
.post_content .haircare-db .diag-focus span,
.haircare-db .diag-focus span { background: #f8fbf8 !important; border: 1px solid rgba(47,117,111,.16) !important; border-radius: 999px !important; color: var(--mg-d) !important; font-size: 11px !important; font-weight: 800 !important; padding: 6px 8px !important; }
@media (max-width: 760px) {
  .post_content .haircare-db .diag-hero,
  .haircare-db .diag-hero,
  .post_content .haircare-db .diag-panel,
  .haircare-db .diag-panel { grid-template-columns: 1fr !important; }
  .post_content .haircare-db .diag-hero,
  .haircare-db .diag-hero { padding: 20px !important; }
  .post_content .haircare-db .diag-result,
  .haircare-db .diag-result { position: static !important; }
}

/* 2026-08-05 Article bridge */
.post_content .haircare-db .hc-article-bridge,
.haircare-db .hc-article-bridge {
  background: #fff !important;
  border: 1px solid rgba(47,117,111,.16) !important;
  border-radius: 8px !important;
  margin: 22px 0 !important;
  padding: 16px !important;
}
.post_content .haircare-db .article-bridge-head,
.haircare-db .article-bridge-head {
  margin: 0 0 12px !important;
}
.post_content .haircare-db .article-bridge-head span,
.haircare-db .article-bridge-head span {
  color: var(--txl) !important;
  display: block !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  margin-bottom: 4px !important;
}
.post_content .haircare-db .article-bridge-head h2,
.haircare-db .article-bridge-head h2 {
  color: var(--tx) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
}
.post_content .haircare-db .article-bridge-head h2::before,
.post_content .haircare-db .article-bridge-head h2::after,
.haircare-db .article-bridge-head h2::before,
.haircare-db .article-bridge-head h2::after {
  content: none !important;
}
.post_content .haircare-db .article-bridge-head p,
.haircare-db .article-bridge-head p {
  color: #5f4b42 !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
  margin: 0 !important;
}
.post_content .haircare-db .article-bridge-actions,
.haircare-db .article-bridge-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 12px 0 0 !important;
}
.post_content .haircare-db .article-bridge-actions a,
.haircare-db .article-bridge-actions a {
  background: #f8fbf8 !important;
  border: 1px solid rgba(47,117,111,.18) !important;
  border-radius: 999px !important;
  color: #275c50 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  padding: 9px 11px !important;
  text-decoration: none !important;
}
.post_content .haircare-db .article-bridge-products,
.haircare-db .article-bridge-products {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  margin-top: 14px !important;
}
.post_content .haircare-db .article-bridge-product,
.haircare-db .article-bridge-product {
  align-items: center !important;
  background: #fbfdfb !important;
  border: 1px solid rgba(47,117,111,.12) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  min-width: 0 !important;
  padding: 10px !important;
}
.post_content .haircare-db .article-bridge-thumb,
.haircare-db .article-bridge-thumb {
  align-items: center !important;
  background: #f4f7f2 !important;
  border-radius: 8px !important;
  display: flex !important;
  height: 54px !important;
  justify-content: center !important;
  overflow: hidden !important;
  width: 54px !important;
}
.post_content .haircare-db .article-bridge-thumb img,
.haircare-db .article-bridge-thumb img {
  display: block !important;
  height: 100% !important;
  object-fit: contain !important;
  width: 100% !important;
}
.post_content .haircare-db .article-bridge-thumb span,
.haircare-db .article-bridge-thumb span {
  color: var(--mg-d) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}
.post_content .haircare-db .article-bridge-product-body,
.haircare-db .article-bridge-product-body {
  min-width: 0 !important;
}
.post_content .haircare-db .article-bridge-brand,
.haircare-db .article-bridge-brand {
  color: var(--txl) !important;
  display: block !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin-bottom: 3px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.post_content .haircare-db .article-bridge-product strong,
.haircare-db .article-bridge-product strong {
  color: var(--tx) !important;
  display: -webkit-box !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}
.post_content .haircare-db .article-bridge-product-meta,
.haircare-db .article-bridge-product-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px !important;
  margin-top: 6px !important;
}
.post_content .haircare-db .article-bridge-product-meta span,
.haircare-db .article-bridge-product-meta span {
  background: #fff !important;
  border: 1px solid rgba(47,117,111,.12) !important;
  border-radius: 999px !important;
  color: #6b5b4f !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  padding: 4px 6px !important;
}
@media (max-width: 840px) {
  .post_content .haircare-db .article-bridge-products,
  .haircare-db .article-bridge-products {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 520px) {
  .post_content .haircare-db .hc-article-bridge,
  .haircare-db .hc-article-bridge {
    margin: 18px 0 !important;
    padding: 13px !important;
  }
  .post_content .haircare-db .article-bridge-actions a,
  .haircare-db .article-bridge-actions a {
    width: 100% !important;
  }
}

/* 2026-08-05 Ingredient check */
.post_content .haircare-db .hc-ingredient-check,
.haircare-db .hc-ingredient-check {
  max-width: 1040px !important;
  margin: 0 auto !important;
  padding: 0 16px 42px !important;
}
.post_content .haircare-db .ing-check-hero,
.haircare-db .ing-check-hero {
  background: #f2f8f5 !important;
  border: 1px solid #d9e7df !important;
  border-radius: 8px !important;
  margin: 0 0 14px !important;
  padding: 24px !important;
}
.post_content .haircare-db .ing-check-hero span,
.haircare-db .ing-check-hero span {
  color: #28705d !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  margin-bottom: 8px !important;
}
.post_content .haircare-db .ing-check-hero h1,
.haircare-db .ing-check-hero h1 {
  color: #1f2d28 !important;
  font-size: 29px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  margin: 0 0 8px !important;
}
.post_content .haircare-db .ing-check-hero p,
.haircare-db .ing-check-hero p {
  color: #52635b !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  margin: 0 !important;
  max-width: 720px !important;
}
.post_content .haircare-db .ing-check-form,
.haircare-db .ing-check-form,
.post_content .haircare-db .ing-check-panel,
.haircare-db .ing-check-panel {
  background: #fff !important;
  border: 1px solid rgba(47,117,111,.14) !important;
  border-radius: 8px !important;
  padding: 16px !important;
}
.post_content .haircare-db .ing-check-form label,
.haircare-db .ing-check-form label {
  color: var(--tx) !important;
  display: block !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  margin-bottom: 8px !important;
}
.post_content .haircare-db .ing-check-form textarea,
.haircare-db .ing-check-form textarea {
  background: #fbfdfb !important;
  border: 1px solid rgba(47,117,111,.18) !important;
  border-radius: 8px !important;
  color: var(--tx) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
  min-height: 170px !important;
  padding: 12px !important;
  resize: vertical !important;
  width: 100% !important;
}
.post_content .haircare-db .ing-check-actions,
.haircare-db .ing-check-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 10px !important;
}
.post_content .haircare-db .ing-check-actions button,
.haircare-db .ing-check-actions button,
.post_content .haircare-db .ing-check-actions a,
.haircare-db .ing-check-actions a {
  border-radius: 999px !important;
  cursor: pointer !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  min-height: 38px !important;
  padding: 9px 13px !important;
  text-decoration: none !important;
}
.post_content .haircare-db .ing-check-actions button,
.haircare-db .ing-check-actions button {
  background: var(--mg) !important;
  border: 1px solid var(--mg) !important;
  color: #fff !important;
}
.post_content .haircare-db .ing-check-actions a,
.haircare-db .ing-check-actions a {
  background: #fff !important;
  border: 1px solid rgba(47,117,111,.18) !important;
  color: #275c50 !important;
}
.post_content .haircare-db .ing-check-alert,
.haircare-db .ing-check-alert {
  background: #fff7f2 !important;
  border: 1px solid #f0c4aa !important;
  border-radius: 8px !important;
  color: #9a4d2e !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  margin-top: 12px !important;
  padding: 12px !important;
}
.post_content .haircare-db .ing-check-result,
.haircare-db .ing-check-result {
  display: grid !important;
  gap: 12px !important;
  margin-top: 14px !important;
}
.post_content .haircare-db .ing-check-score,
.haircare-db .ing-check-score {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
.post_content .haircare-db .ing-check-score div,
.haircare-db .ing-check-score div {
  background: #fbfdfb !important;
  border: 1px solid rgba(47,117,111,.12) !important;
  border-radius: 8px !important;
  padding: 14px !important;
}
.post_content .haircare-db .ing-check-score span,
.haircare-db .ing-check-score span {
  color: var(--txl) !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  margin-bottom: 5px !important;
}
.post_content .haircare-db .ing-check-score strong,
.haircare-db .ing-check-score strong {
  color: var(--mg-d) !important;
  font-size: 25px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}
.post_content .haircare-db .ing-check-score small,
.haircare-db .ing-check-score small {
  font-size: 13px !important;
  margin-left: 1px !important;
}
.post_content .haircare-db .ing-check-grid,
.haircare-db .ing-check-grid {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}
.post_content .haircare-db .ing-check-panel h2,
.haircare-db .ing-check-panel h2 {
  color: var(--tx) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
}
.post_content .haircare-db .ing-check-panel h2::before,
.post_content .haircare-db .ing-check-panel h2::after,
.haircare-db .ing-check-panel h2::before,
.haircare-db .ing-check-panel h2::after {
  content: none !important;
}
.post_content .haircare-db .ing-check-notes,
.haircare-db .ing-check-notes {
  display: grid !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.post_content .haircare-db .ing-check-notes li,
.haircare-db .ing-check-notes li {
  color: #5f4b42 !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
  padding-left: 15px !important;
  position: relative !important;
}
.post_content .haircare-db .ing-check-notes li::before,
.haircare-db .ing-check-notes li::before {
  background: var(--mg) !important;
  border-radius: 999px !important;
  content: "" !important;
  height: 5px !important;
  left: 1px !important;
  position: absolute !important;
  top: .78em !important;
  width: 5px !important;
}
.post_content .haircare-db .ing-check-cats,
.haircare-db .ing-check-cats,
.post_content .haircare-db .ing-check-unknowns,
.haircare-db .ing-check-unknowns {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
}
.post_content .haircare-db .ing-check-cats span,
.haircare-db .ing-check-cats span,
.post_content .haircare-db .ing-check-unknowns span,
.haircare-db .ing-check-unknowns span {
  background: #f8fbf8 !important;
  border: 1px solid rgba(47,117,111,.15) !important;
  border-radius: 999px !important;
  color: #2f4c43 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  padding: 6px 8px !important;
}
.post_content .haircare-db .ing-check-list,
.haircare-db .ing-check-list {
  display: grid !important;
  gap: 7px !important;
}
.post_content .haircare-db .ing-check-row,
.haircare-db .ing-check-row {
  align-items: center !important;
  background: #fbfdfb !important;
  border: 1px solid rgba(47,117,111,.12) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: 34px minmax(120px, 1.1fr) minmax(110px, 1fr) auto !important;
  min-width: 0 !important;
  padding: 9px 10px !important;
  text-decoration: none !important;
}
.post_content .haircare-db .ing-check-pos,
.haircare-db .ing-check-pos {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid rgba(47,117,111,.13) !important;
  border-radius: 999px !important;
  color: var(--txl) !important;
  display: flex !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  height: 26px !important;
  justify-content: center !important;
  width: 26px !important;
}
.post_content .haircare-db .ing-check-row strong,
.haircare-db .ing-check-row strong {
  color: var(--tx) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  min-width: 0 !important;
}
.post_content .haircare-db .ing-check-row span,
.haircare-db .ing-check-row span,
.post_content .haircare-db .ing-check-row em,
.haircare-db .ing-check-row em {
  color: #6b5b4f !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}
@media (max-width: 760px) {
  .post_content .haircare-db .ing-check-hero,
  .haircare-db .ing-check-hero {
    padding: 20px !important;
  }
  .post_content .haircare-db .ing-check-score,
  .haircare-db .ing-check-score,
  .post_content .haircare-db .ing-check-grid,
  .haircare-db .ing-check-grid {
    grid-template-columns: 1fr !important;
  }
  .post_content .haircare-db .ing-check-row,
  .haircare-db .ing-check-row {
    align-items: start !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
  }
  .post_content .haircare-db .ing-check-row > span:not(.ing-check-pos),
  .haircare-db .ing-check-row > span:not(.ing-check-pos),
  .post_content .haircare-db .ing-check-row em,
  .haircare-db .ing-check-row em {
    grid-column: 2 !important;
  }
}

/* 2026-08-05 Quality audit */
.post_content .haircare-db .hc-quality-audit,
.haircare-db .hc-quality-audit {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 16px 42px !important;
}
.post_content .haircare-db .qa-hero,
.haircare-db .qa-hero {
  background: #f2f8f5 !important;
  border: 1px solid #d9e7df !important;
  border-radius: 8px !important;
  margin: 0 0 14px !important;
  padding: 24px !important;
}
.post_content .haircare-db .qa-hero span,
.haircare-db .qa-hero span {
  color: #28705d !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  margin-bottom: 8px !important;
}
.post_content .haircare-db .qa-hero h1,
.haircare-db .qa-hero h1 {
  color: #1f2d28 !important;
  font-size: 29px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
  margin: 0 0 8px !important;
}
.post_content .haircare-db .qa-hero p,
.haircare-db .qa-hero p {
  color: #52635b !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
  margin: 0 !important;
}
.post_content .haircare-db .qa-refresh,
.haircare-db .qa-refresh {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 12px !important;
}
.post_content .haircare-db .qa-refresh span,
.haircare-db .qa-refresh span {
  color: var(--txl) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}
.post_content .haircare-db .qa-refresh a,
.haircare-db .qa-refresh a {
  background: #fff !important;
  border: 1px solid rgba(47,117,111,.18) !important;
  border-radius: 999px !important;
  color: #275c50 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  padding: 6px 9px !important;
  text-decoration: none !important;
}
.post_content .haircare-db .qa-summary,
.haircare-db .qa-summary {
  display: grid !important;
  gap: 10px !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  margin-bottom: 14px !important;
}
.post_content .haircare-db .qa-summary div,
.haircare-db .qa-summary div,
.post_content .haircare-db .qa-next,
.haircare-db .qa-next,
.post_content .haircare-db .qa-issue,
.haircare-db .qa-issue {
  background: #fff !important;
  border: 1px solid rgba(47,117,111,.14) !important;
  border-radius: 8px !important;
}
.post_content .haircare-db .qa-summary div,
.haircare-db .qa-summary div {
  padding: 13px !important;
}
.post_content .haircare-db .qa-summary span,
.haircare-db .qa-summary span {
  color: var(--txl) !important;
  display: block !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  margin-bottom: 5px !important;
}
.post_content .haircare-db .qa-summary strong,
.haircare-db .qa-summary strong {
  color: var(--mg-d) !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}
.post_content .haircare-db .qa-summary small,
.haircare-db .qa-summary small {
  font-size: 12px !important;
  margin-left: 1px !important;
}
.post_content .haircare-db .qa-next,
.haircare-db .qa-next {
  margin-bottom: 18px !important;
  padding: 16px !important;
}
.post_content .haircare-db .qa-next h2,
.haircare-db .qa-next h2,
.post_content .haircare-db .qa-section-head h2,
.haircare-db .qa-section-head h2 {
  color: var(--tx) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 0 0 9px !important;
  padding: 0 !important;
}
.post_content .haircare-db .qa-next h2::before,
.post_content .haircare-db .qa-next h2::after,
.post_content .haircare-db .qa-section-head h2::before,
.post_content .haircare-db .qa-section-head h2::after,
.haircare-db .qa-next h2::before,
.haircare-db .qa-next h2::after,
.haircare-db .qa-section-head h2::before,
.haircare-db .qa-section-head h2::after {
  content: none !important;
}
.post_content .haircare-db .qa-next ol,
.haircare-db .qa-next ol {
  margin: 0 !important;
  padding-left: 20px !important;
}
.post_content .haircare-db .qa-next li,
.haircare-db .qa-next li {
  color: #5f4b42 !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
}
.post_content .haircare-db .qa-section,
.haircare-db .qa-section {
  margin-top: 20px !important;
}
.post_content .haircare-db .qa-section-head,
.haircare-db .qa-section-head {
  align-items: end !important;
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 10px !important;
}
.post_content .haircare-db .qa-section-head span,
.haircare-db .qa-section-head span {
  color: var(--txl) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}
.post_content .haircare-db .qa-grid,
.haircare-db .qa-grid {
  display: grid !important;
  gap: 12px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.post_content .haircare-db .qa-issue,
.haircare-db .qa-issue {
  padding: 14px !important;
}
.post_content .haircare-db .qa-issue.is-critical,
.haircare-db .qa-issue.is-critical {
  border-color: rgba(170,73,50,.28) !important;
}
.post_content .haircare-db .qa-issue-head,
.haircare-db .qa-issue-head {
  align-items: start !important;
  display: flex !important;
  gap: 12px !important;
  justify-content: space-between !important;
}
.post_content .haircare-db .qa-issue-head span,
.haircare-db .qa-issue-head span {
  color: var(--txl) !important;
  display: block !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  margin-bottom: 4px !important;
}
.post_content .haircare-db .qa-issue-head h3,
.haircare-db .qa-issue-head h3 {
  color: var(--tx) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}
.post_content .haircare-db .qa-issue-head strong,
.haircare-db .qa-issue-head strong {
  color: var(--mg-d) !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}
.post_content .haircare-db .qa-issue.is-critical .qa-issue-head strong,
.haircare-db .qa-issue.is-critical .qa-issue-head strong {
  color: #a84932 !important;
}
.post_content .haircare-db .qa-issue p,
.haircare-db .qa-issue p {
  color: #5f4b42 !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
  margin: 9px 0 0 !important;
}
.post_content .haircare-db .qa-samples,
.haircare-db .qa-samples {
  border-top: 1px solid rgba(47,117,111,.12) !important;
  display: grid !important;
  gap: 6px !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
}
.post_content .haircare-db .qa-samples a,
.haircare-db .qa-samples a {
  align-items: center !important;
  background: #fbfdfb !important;
  border: 1px solid rgba(47,117,111,.10) !important;
  border-radius: 8px !important;
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: 38px minmax(0, 1fr) auto !important;
  min-width: 0 !important;
  padding: 8px !important;
  text-decoration: none !important;
}
.post_content .haircare-db .qa-samples span,
.haircare-db .qa-samples span {
  background: #fff !important;
  border-radius: 999px !important;
  color: var(--txl) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  padding: 4px 6px !important;
  text-align: center !important;
}
.post_content .haircare-db .qa-samples strong,
.haircare-db .qa-samples strong {
  color: var(--tx) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.post_content .haircare-db .qa-samples em,
.haircare-db .qa-samples em {
  color: #a84932 !important;
  font-size: 11px !important;
  font-style: normal !important;
  font-weight: 800 !important;
}
@media (max-width: 900px) {
  .post_content .haircare-db .qa-summary,
  .haircare-db .qa-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .post_content .haircare-db .qa-grid,
  .haircare-db .qa-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 560px) {
  .post_content .haircare-db .qa-hero,
  .haircare-db .qa-hero {
    padding: 20px !important;
  }
  .post_content .haircare-db .qa-summary,
  .haircare-db .qa-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .post_content .haircare-db .qa-section-head,
  .haircare-db .qa-section-head {
    align-items: start !important;
    display: block !important;
  }
  .post_content .haircare-db .qa-samples a,
  .haircare-db .qa-samples a {
    grid-template-columns: 36px minmax(0, 1fr) !important;
  }
  .post_content .haircare-db .qa-samples em,
  .haircare-db .qa-samples em {
    grid-column: 2 !important;
  }
}

/* 全成分リストの成分名をタップ／ホバーしたときの説明カード（haircare-front.js が body に追加）。
   これまでCSSが無く、ページ最下部に出たまま残っていた（2026-10-03 修正）。 */
.hc-tooltip {
  display: none;
  position: absolute;
  z-index: 9999;
  max-width: 300px;
  background: #fff;
  border: 1px solid #e4e9e4;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(37, 45, 41, .14);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #252d29;
  pointer-events: auto;
}
.hc-tooltip.is-active { display: block; }
.hc-tooltip__inner { word-break: break-word; }
