@scope (.fixed-content) {

.autopost-stats-section {
  position: relative;
  padding: 70px 20px 60px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.autopost-stats-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}

.autopost-stats-section .section-label {
  font-size: 11px;
  color: #2B5E4E;
  letter-spacing: 4px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.autopost-stats-section h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 45px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.1s;
}

.autopost-stats-grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin: 0 auto 35px;
}

.autopost-stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.autopost-stat-item:nth-child(1) { transition-delay: 0.2s; }
.autopost-stat-item:nth-child(2) { transition-delay: 0.35s; }
.autopost-stat-item:nth-child(3) { transition-delay: 0.5s; }

.autopost-stat-number {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1;
  position: relative;
  display: inline-block;
}

.autopost-stat-number .number {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.autopost-stat-number .suffix {
  font-size: 1.4rem;
  font-weight: 600;
  margin-left: 2px;
  vertical-align: baseline;
}

.autopost-stat-label {
  font-size: 12px;
  margin-top: 10px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* SDG 9: 産業と技術革新（オレンジ）- 累計記事数 */
.autopost-stat-item.sdg-9 .autopost-stat-number .number {
  background: linear-gradient(180deg, #FD6925 0%, #d45a1f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.autopost-stat-item.sdg-9 .autopost-stat-number .suffix {
  color: #FD6925;
}

.autopost-stat-item.sdg-9 .autopost-stat-label {
  color: #FD6925;
}

/* SDG 12: つくる責任つかう責任（ゴールド）- 継続運用 */
.autopost-stat-item.sdg-12 .autopost-stat-number .number {
  background: linear-gradient(180deg, #BF8B2E 0%, #9a7025 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.autopost-stat-item.sdg-12 .autopost-stat-number .suffix {
  color: #BF8B2E;
}

.autopost-stat-item.sdg-12 .autopost-stat-label {
  color: #BF8B2E;
}

/* SDG 8: 働きがいも経済成長も（ワインレッド）- 創出時間 */
.autopost-stat-item.sdg-8 .autopost-stat-number .number {
  background: linear-gradient(180deg, #a21942 0%, #7d1232 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.autopost-stat-item.sdg-8 .autopost-stat-number .suffix {
  color: #a21942;
}

.autopost-stat-item.sdg-8 .autopost-stat-label {
  color: #a21942;
}

/* SDG 公式アイコン */
.sdg-icon-img {
  width: 60px;
  height: auto;
  margin-top: 10px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* 注釈エリア */
.autopost-stats-footer {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.6s;
}

.autopost-stats-note {
  color: #999;
  font-size: 11px;
  margin-bottom: 12px;
}

.autopost-stats-sdg-message {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(43, 94, 78, 0.04);
  border: 1px solid rgba(43, 94, 78, 0.12);
  border-radius: 6px;
  padding: 10px 18px;
  color: #555;
  font-size: 12px;
}

.autopost-stats-sdg-message .sdg-icons-row {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.autopost-stats-sdg-message .sdg-icon-img-small {
  width: 28px;
  height: auto;
  border-radius: 2px;
}

/* アニメーション発火時 */
.autopost-stats-section.is-visible .section-label,
.autopost-stats-section.is-visible h2,
.autopost-stats-section.is-visible .autopost-stat-item,
.autopost-stats-section.is-visible .autopost-stats-footer {
  opacity: 1;
  transform: translateY(0);
}

/* ホバーエフェクト */
.autopost-stat-item:hover {
  transform: translateY(-5px);
}

.autopost-stat-item.sdg-9:hover .autopost-stat-number .number {
  background: linear-gradient(180deg, #ff8347 0%, #FD6925 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.autopost-stat-item.sdg-12:hover .autopost-stat-number .number {
  background: linear-gradient(180deg, #d9a03a 0%, #BF8B2E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.autopost-stat-item.sdg-8:hover .autopost-stat-number .number {
  background: linear-gradient(180deg, #c92a5a 0%, #a21942 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* レスポンシブ */
@media (max-width: 767px) {
  .autopost-stats-section {
    padding: 50px 20px 45px;
  }
  .autopost-stats-section h2 {
    font-size: 1.5rem;
    margin-bottom: 35px;
  }
  .autopost-stats-grid {
    gap: 35px;
  }
  .autopost-stat-number {
    font-size: 3rem;
  }
  .autopost-stat-number .suffix {
    font-size: 1.1rem;
  }
  .sdg-icon-img {
    width: 50px;
  }
  .autopost-stats-sdg-message {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .autopost-stats-sdg-message .sdg-icons-row {
    justify-content: center;
  }
}

}