@charset "UTF-8";

.calendar-container {
  width: 300px;
  height: 300px;
  text-align: center;
  font-family: sans-serif;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
#calendar {
  width: 100%;
  border-collapse: collapse;
}
#monthYear {
  font-size: 1.3rem;
  font-weight: bold;
}
#prevMonth,
#nextMonth {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  line-height: 1;
  background-color: rgb(53 54 86 / 0.2);
  border: 1px solid #333;
  border-radius: 5px;
}
#calendar th,
#calendar td {
  width: 14.2%;
  height: 40px;
  border: 1px solid #ccc;
  cursor: pointer;
}

#calendar td:hover {
  background-color: #f0f0f0;
}

.selected {
  background-color: #6ce1f9 !important;
}

#selectedDateDisplay {
  margin-top: 20px;
  font-weight: bold;
}
/* タイムテーブルstart */

.timeT-u,
.timeT-n {
  overflow-x: auto;
  margin: 0;
}

.timeT-u p,
.timeT-n p {
  margin: 30px 0 10px;
}

.timeT {
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
}

.timeT th,
.timeT td {
  white-space: nowrap;
  border-bottom: 1px solid #8fbac8;
  border-left: 1px solid #8fbac8;
  padding: 3px;
}

.top th,
.top td {
  /* white-space: nowrap; */
  border-top: 1px solid #8fbac8;
}

.timeT td:last-child,
.timeT th:last-child {
  border-right: 1px solid #8fbac8;
}

.timeT td:first-child,
.timeT th:first-child {
  position: sticky;
  left: 0;
  background-color: #fff;
  box-shadow: 0 1px 2px 1px #8fbac8;
  white-space: nowrap;
  z-index: 1;
}
.appoint {
  background-color: #9b9b9b;
}
/* タイムテーブルend */
