.chanting-counter {
  margin-top: 40px;
  text-align: center;
  border-bottom: 1px solid #ccc;
  padding-bottom:20px;
}

.counter-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.5em 1em;
  color: #fff; /* テキストは普通に白で */
  border-radius: 8px;
  text-align: center;

  /* 背景アニメーション */
  background: linear-gradient(270deg, #fe631bff, #f79524ff, #fccc1eff);
  background-size: 200% 200%;
  animation: bgShift 6s ease infinite;
  width: 250px;
  margin:5px auto;
}

.counter-number {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #007bff;
  position: relative;

  /* 点滅アニメーション */
  animation: pulseFade 2s ease-in-out infinite;
}

#chantingCount {
  position: relative; /* 子の absolute の基準にする */
  display: inline-block;
}

.unit {
  position: absolute;
  right: -3rem;                /* 数字から少し右へ */
  font-size: 1.5rem;           /* 小さめ */
  color: #333;
  bottom:0px;
}
@media (max-width: 768px) {
  .prediction-section {
    flex-direction: column;
  }
}

@keyframes bgShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseFade {
  0%   { opacity: 1; }
  50%  { opacity: 0.5; } /* 完全には消えず薄くなる */
  100% { opacity: 1; }
}