.calendar1 {
  min-height: 150px;
  position: relative;
}

.table_work_calendar {
  border-left: solid 1px #d5d7db;
  border-top: solid 1px #d5d7db;
  width: 100%;
  margin-block: 40px;
  margin-inline: auto;
  color: #35383b;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}
.table_work_calendar th,
.table_work_calendar td {
  text-align: center;
  width: calc(100% / 7);
  border-right: solid 1px #d5d7db;
  border-bottom: solid 1px #d5d7db;
}
.table_work_calendar th {
  border-bottom: none;
  padding: 8px 0;
  background: #f7f4ed;
}

.table_work_calendar th.sunday {
  background: #e84848;
  color: #fff;
}
.table_work_calendar th.saturday {
  background: #76b5e8;
  color: #fff;
}

.table_work_calendar .tc_date {
  padding: 8px 0;
}
.table_work_calendar .tc_sche {
  color: #fff;
  vertical-align: top;
  height: 150px;
}
.table_work_calendar td span {
  display: block;
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 11px;
  text-align: left;
  margin: 0 5px 2px 0;
}

.table_work_calendar td.sunday {
  color: #e84848;
}
.table_work_calendar td.saturday {
  color: #76b5e8;
}
.table_work_calendar td .reserve {
  background: #e84848;
}

@media screen and (max-width: 768px) {
  .table_work_calendar th {
    border-bottom: none;
    padding: 10px 0;
  }
  .table_work_calendar td span {
    padding: 5px;
  }
}

.loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.loading::before {
  content: "読み込み中";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 40px);
}

.loading::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border: 5px solid #000;
  border-right: 5px solid transparent;
  border-radius: 50%;
  animation: loading 2s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes loading {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
    opacity: 0.3;
  }
}
