/* レイアウト簡略化 */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  margin-top: 1rem;
}
.calendar-day {
  background: #333;
  color: #fff;
  border-radius: 4px;
  padding: 0.1rem;
  min-height: 6em;
  cursor: pointer;
}
.calendar-day.empty {
  background: #222;
  cursor: default;
}
.calendar-day.today { border: 2px solid #ffd700; }


/* 追加 */
.calendar-day.sunday,
.calendar-day.holiday {
  background-color: #3a2a2a; /* 祝日/日曜：温かみのあるグレー */
}

.calendar-day.saturday {
  background-color: #1e2633; /* 土曜：ネイビー系 */
}
/* 区分背景色 */
.calendar-day.classification-beginner {       /* 初級 */
  background-color: #2a4255;
}
.calendar-day.classification-intermediate {   /* 中級 */
  background-color: #254c41;
}
.calendar-day.classification-advanced {       /* 準上級 */
  background-color: #5a3c2a;
}
.calendar-day.classification-match {          /* 大会 */
  background-color: #532a4f;
}
.calendar-day.classification-other {          /* イベント */
  background-color: #3d2f5c;
}


.calendar-day.past {
  color: #aaa;
}
.calendar-day.has-event {
  cursor: pointer;
}
.calendar-day:not(.has-event) {
  cursor: default;
}
.calendar-day.past {
  opacity: 0.5;
  pointer-events: none;
}


.event-content {
  margin-top: 0.3em;
  font-size: 0.75em;
  line-height: 1.4;
}

.event-title {
  font-weight: bold;
  color: #fff;
}

.event-time,
.event-location,
.event-fee,
.event-left {
  color: #ccc;
}




.calendar-weekday {
  text-align: center;
  font-weight: bold;
  background: #111;
  padding: 0.5em;
  border-radius: 4px;
  color: #ddd;
}
.event-badge{
  color: #fff;
}

/* アニメーション初期設定 */
.modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}
.modal.show {
  opacity: 1;
  visibility: visible;
}
#modalContent {
  max-width: 80%;
  max-height: 80vh;
  overflow-y: auto;
}
.modal-inner p {
  margin-bottom: 0.4em;
  font-size: 0.9em;
  color: #333;
}
.modal-inner strong {
  display: inline-block;
  min-width: 6em;
  color: #000;
}

.event-card{
  width: 100%;
}



