/*==================================
カレンダー
===================================*/

/* 祝日の赤 */

.details-calendar .holiday {
  color: #d9230b;
}

/* disabled */

.details-calendar tr td.disabled {
  background-color: #f2f2f2;
  color: #aaaaaa;
  pointer-events: none;
}

.details-calendar tr td.disabled .calendar-date {
  color: #aaaaaa;
}

.details-calendar tr td.disabled .calendar-event {
  color: #aaaaaa;
}

.details-calendar .calendar-header {
  text-align: center;
  display: flex;
  justify-content: center;
}

.details-calendar .calendar-btn {
  position: relative;
}

.details-calendar .calendar-header .calendar-btn {
  width: 35px;
  height: 35px;
  border: 1px solid #cccccc;
  border-radius: 2px;
  background-color: #ffffff;
}

.details-calendar .calendar-header .calendar-btn:after {
  position: absolute;
  content: "";
  width: 9px;
  height: 9px;
  border: 0px;
  border-top: solid 2px #797979;
  border-right: solid 2px #797979;
  top: 12px;
}

.details-calendar .calendar-header .calendar-btn-left:after {
  transform: rotate(225deg);
  left: 14px;
}

.details-calendar .calendar-header .calendar-btn-right:after {
  transform: rotate(45deg);
  right: 14px;
}

.details-calendar .calendar-header select {
  border: 1px solid #cccccc;
  border-radius: 2px;
  width: 140px;
  padding: 4px 10px 4px 12px;
  font-size: 16px;
  font-weight: 500;
  margin: 0 5px;
}

.details-calendar table {
  margin-top: 15px;
}

.details-calendar table tbody {
  border: 1px solid #cccccc;
}

.details-calendar tr + tr {
  border-top: 1px solid #cccccc;
}

.details-calendar .day-week th:not(.sunday, .saturday) {
  background-color: #ffffff;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
}

.details-calendar td:not(.sunday, .saturday) {
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
}

.details-calendar tr.day-week {
  font-size: 14px;
}

.details-calendar .day-week th {
  padding: 9px 0;
}

.details-calendar .day-week th.monday,
.details-calendar .day-week th.tuesday,
.details-calendar .day-week th.wednesday,
.details-calendar .day-week th.thursday,
.details-calendar .day-week th.friday {
  background-color: #fff;
}

.details-calendar th,
.details-calendar td {
  width: inherit;
  padding: 0;
  border: none;
}

.details-calendar tr:last-of-type td {
  border-bottom: none;
}

.details-calendar .day-week th {
  text-align: center;
}

.details-calendar .day-week .sunday {
  color: #d9230b;
}

.details-calendar .day-week .saturday {
  color: #169bd5;
}

.details-calendar tr {
  font-size: 13px;
}

.details-calendar td {
  padding: 10px 5px 20px 5px;
}

.details-calendar .calendar-date {
  text-align: center;
  margin-bottom: 18px;
}

.details-calendar .calendar-event {
  text-align: center;
}

.details-calendar .sunday {
  background-color: #fffafa;
}

.details-calendar .sunday .calendar-date {
  color: #d9230b;
}

.details-calendar .saturday {
  background-color: #f7fcff;
}

.details-calendar .saturday .calendar-date {
  color: #169bd5;
}

/* 予約 */

.details-calendar.reserve-calendar td {
  padding: 5px;
}

.details-calendar.reserve-calendar td a.active {
  display: block;
  background-color: #ffd8cc;
}

.details-calendar.reserve-calendar .calendar-date {
  padding-top: 5px;
}

.details-calendar.reserve-calendar .calendar-event {
  padding-bottom: 15px;
}

@media (max-width: 767px) {
  .details-calendar .calendar-header select {
    font-size: 14px;
  }
  .details-calendar tr.day-week {
    font-size: 11px;
    font-weight: 500;
  }

  .details-calendar .day-week th {
    padding: 4px 0;
  }
  .details-calendar .calendar-date {
    font-size: 10px;
    margin-bottom: 5px;
  }

  /* 予約 */
  .details-calendar.reserve-calendar .calendar-event {
    padding-bottom: 5px;
  }
}

/*開発側追記*/

.details-calendar tr td.is-holiday:not(.saturday,.disabled){
  background-color: #fffafa;
}

.details-calendar .is-holiday:not(.saturday,.disabled) .calendar-date {
  color: #d9230b;
}