body {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  background: #e6f0ff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 0 3%;
}

.container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 90%;
  width: 420px;
}

h1 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-block span {
  font-size: 2.2rem;
  font-weight: bold;
  color: rgb(55 48 163);
}

.label {
  font-size: 0.9rem;
  font-weight: bold;
  color: #000;
  margin-top: 0.3rem;
}

.time-block span {
  font-size: 2.2rem;
  font-weight: bold;
  color: #fff; /* 白文字 */
  background-color: #010066;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  min-width: 4.5rem;
  text-align: center;
}

.message {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #333;
  word-break: keep-all;
  font-weight: bold;
  color: darkblue;
}

.message02 {
  opacity: 0;
  transition: opacity 2.5s ease-in;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.6;
  color: blueviolet;
  margin-top: 1.2rem;
}

.fade-in-message {
  opacity: 1;
}

@media (max-width: 480px) {
  body {
    height: 100dvh;
  }
  .container {
    padding: 1rem;
  }

  .row {
    gap: 0.7rem;
  }

  .message {
    font-size: 1rem;
  }

  .time-block span {
    font-size: 1.8rem;
  }
}

/* Zenアニメーション */
.fade-in-zen {
  animation: fadeInZen 2.8s ease-out both;
}

@keyframes fadeInZen {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
