/* SHIRUNE: test category before article type. */
.sg-site .sg-card .sg-card-copy {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-start;
  column-gap:8px;
}
.sg-site .sg-card .sg-card-copy::before,
.sg-site .sg-card .sg-card-category {
  order:0;
  min-width:0;
  color:var(--sg-muted);
  font-size:11px;
  font-weight:500;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.sg-site .sg-card--basics .sg-card-copy::before {content:"自宅検査の基礎";}
.sg-site .sg-card--equol .sg-card-copy::before {content:"エクオール検査";}
.sg-site .sg-card--gut .sg-card-copy::before {content:"腸内フローラ検査";}
.sg-site .sg-card .sg-card-copy:has(> .sg-card-category)::before {content:none;}
.sg-site .sg-card .sg-card-copy > .sg-label {
  order:1;
  flex-shrink:0;
  margin:0!important;
  white-space:nowrap;
}
.sg-site .sg-card .sg-card-copy > h3 {
  order:2;
  flex:0 0 100%;
  min-width:0;
  margin-top:8px!important;
}
.sg-site .sg-card .sg-card-copy > p {order:3;flex:0 0 100%;min-width:0;}

/* SHIRUNE: category badges match article type labels. */
.sg-site .sg-card .sg-card-copy::before,
.sg-site .sg-card .sg-card-category {
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:2px 11px;
  border-radius:999px;
  background:#e5f1e8;
  color:var(--sg-forest);
  font-weight:600;
  line-height:1.7;
}
.sg-site .sg-card-grid .sg-card-copy::before,
.sg-site .sg-card-grid .sg-card-category,
.sg-site .sg-card--compact .sg-card-copy::before,
.sg-site .sg-card--compact .sg-card-category {font-size:10px;}
.sg-site .sg-card--compact .sg-card-copy::before,
.sg-site .sg-card--compact .sg-card-category {min-height:22px;padding:1px 9px;}
@media (min-width:700px) {
  .sg-site .sg-card-grid .sg-card-copy::before,
  .sg-site .sg-card-grid .sg-card-category {font-size:11px;}
}
@media (min-width:1000px) {
  .sg-site .sg-card--compact .sg-card-copy::before,
  .sg-site .sg-card--compact .sg-card-category {font-size:11px;}
}

.eq-series.gs-site.gs-series-page .eq-detail .eqv-score-card h4 { text-align: center; }
