/* PRIME GEAR Metrics（液体ガラス風＋フェード） */
.post_content .pg-metrics,
.p-mainVisual .pg-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-items: center;
  gap: 1.2rem;

  margin: .9rem auto 0;
  padding: .6rem 1rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 720px;
  color: #fff;
  font-family: "Yu Gothic Medium","Hiragino Sans",sans-serif;
  letter-spacing: .02em;

  opacity: 0;
  transform: translateY(20px);
  animation: pgMetricsFadeUp 1s ease forwards;
}

.post_content .pg-metrics .m,
.p-mainVisual .pg-metrics .m {
  min-width: 0;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .2rem .25rem;
}

.post_content .pg-metrics .m strong,
.p-mainVisual .pg-metrics .m strong {
  font-size: clamp(1.0rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.post_content .pg-metrics .m span,
.p-mainVisual .pg-metrics .m span {
  font-size: clamp(.78rem, 1.1vw, .85rem);
  opacity: .8;
  line-height: 1.2;
  white-space: nowrap;
}

/* カウンターは最終値（SEO/フォールバック）と表示用アニメーション値を分離 */
.post_content .pg-metrics .pg-metrics__counter,
.p-mainVisual .pg-metrics .pg-metrics__counter {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.post_content .pg-metrics .pg-metrics__counter .pg-metrics__final-value,
.post_content .pg-metrics .pg-metrics__counter .pg-metrics__animated-value,
.p-mainVisual .pg-metrics .pg-metrics__counter .pg-metrics__final-value,
.p-mainVisual .pg-metrics .pg-metrics__counter .pg-metrics__animated-value {
  grid-area: 1 / 1;
  font: inherit;
  line-height: inherit;
  opacity: 1;
  white-space: nowrap;
}

.post_content .pg-metrics .pg-metrics__counter [hidden],
.p-mainVisual .pg-metrics .pg-metrics__counter [hidden] {
  display: none !important;
}

@keyframes pgMetricsFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width:599px){
  .post_content .pg-metrics,
  .p-mainVisual .pg-metrics {
    gap: .8rem;
    padding: .5rem .7rem;
  }
  .post_content .pg-metrics .m strong,
  .p-mainVisual .pg-metrics .m strong {
    font-size: clamp(.95rem, 3.2vw, 1.05rem);
  }
  .post_content .pg-metrics .m span,
  .p-mainVisual .pg-metrics .m span {
    font-size: clamp(.72rem, 2.8vw, .8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .post_content .pg-metrics,
  .p-mainVisual .pg-metrics {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
