body {
  padding-top: 4rem;
  padding-bottom: 4rem;
  color: #5a5a5a;
}

.event {
  text-align: center;
  font-size: 18pt;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.col.g-3 {
  flex: 0 0 auto;
}

#upcomingVkisen .card,
#liveVSCC .card,
#nowLiveShogi .card,
#nowLiveOther .card,
#loadingProcess .card,
#comingVSCC .card,
#comingLive .card {
  height: 650px;
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  box-sizing: border-box;
}

#upcomingVkisen .card-body,
#liveVSCC .card-body,
#nowLiveShogi .card-body,
#nowLiveOther .card-body,
#loadingProcess .card-body,
#comingVSCC .card-body,
#comingLive .card-body {
  flex: 0 0 auto;
  height: 140px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

#upcomingVkisen .card-title,
#liveVSCC .card-title,
#nowLiveShogi .card-title,
#nowLiveOther .card-title,
#loadingProcess .card-title,
#comingVSCC .card-title,
#comingLive .card-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 6px;
  line-height: 1.3em;
  max-height: 2.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#upcomingVkisen .card-text,
#liveVSCC .card-text,
#nowLiveShogi .card-text,
#nowLiveOther .card-text,
#loadingProcess .card-text,
#comingVSCC .card-text,
#comingLive .card-text {
  margin-bottom: 6px;
  font-size: 0.95em;
  line-height: 1.2em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

#upcomingVkisen .card-img-bottom,
#liveVSCC .card-img-bottom,
#nowLiveShogi .card-img-bottom,
#nowLiveOther .card-img-bottom,
#loadingProcess .card-img-bottom,
#comingVSCC .card-img-bottom,
#comingLive .card-img-bottom {
  width: 100%;
  flex: 1 1 auto;
  object-fit: cover;
  min-height: 200px;
}

#declaration {
  text-align: center;
  font-size: 1.0em;
}