/* 集計 */
.staff_schedule_summary {
  background-color: #0fc458;
  flex-shrink: 0;
  width: 26px;
  min-width: 26px;
  height: 70px;
  /* 上部に表示 */
  /* position: absolute;
  z-index: 100;
  opacity: 0.7; */
}

.check_pattern .staff_schedule_summary {
  height: 120px;
}
.check_pattern .staff_schedule_summary summary {
  height: 120px;
}

.staff_schedule_summary summary {
  height: 70px;
  display: block;
  outline: none;
}

.staff_schedule_summary summary::-webkit-details-marker {
  display: none;
}

.staff_schedule_summary .summary_inner{
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.staff_schedule_summary .summary_top {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 100%;
  box-sizing: border-box;
  background-color: #0fc458;
}

.staff_schedule_summary[open] .summary_top {
  background-color: #4c556e;
  border-right: 1px solid #a2a8b9;
}

.staff_schedule_summary .summary_bottom {
  display: block;
  height: 20px;
  width: 100%;
  box-sizing: border-box;
  background-color: #0fc458;
}

.staff_schedule_summary[open] .summary_bottom {
  background-color: #686f82;
  border-right: 1px solid #a2a8b9;
}

.staff_schedule_summary .icon {
  display: block;
  position: relative;
  width: 24px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
  transform: rotate(-90deg);
}

.staff_schedule_summary .text {
  color: #0fc458;
  font-size: 11px;
  text-align: center;
  line-height: 20px;
}

.staff_schedule_summary[open] .text {
  color: #ffffff;
}

details.staff_schedule_summary[open] {
  background-color: #ffffff;
  opacity: 1;
  width: calc(3.8vw * 4);
  min-width: calc(3.8vw * 4);
}

details.staff_schedule_summary[open] summary {
  background-color: #0fc458;
}

details.staff_schedule_summary[open] .icon {
  transform: rotate(90deg);
}

.staff_schedule_summary .icon::before,
.staff_schedule_summary .icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 3px;
  background-color: #ffffff;
}

.staff_schedule_summary .icon::before {
  left: 0;
  transform: rotate(45deg);
}

.staff_schedule_summary .icon::after {
  right: 0;
  transform: rotate(-45deg);
}

#staff_schedule_summary_body {
  width: 100%;
  max-width: 100%;
  height: calc(100vh - 70px - 4.1vw - 8.9vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overflow-x: scroll;
}

#staff_schedule_summary_body::-webkit-scrollbar {
  width: 0px;
  height: 15px;
}

#staff_schedule_summary_body::-webkit-scrollbar-thumb {
  border-radius: 0px;
  background:#c0c0c0;
}

#staff_schedule_summary_body::-webkit-scrollbar-thumb:hover {
  border-radius: 0px;
  background:#a9a9a9;
}

#staff_schedule_summary_body::-webkit-scrollbar-track {
  border-radius: 0px;
  background: #f5f5f5;
}

#staff_schedule_summary_body::-webkit-scrollbar-button:start:decrement {
  background: #f5f5f5;
  background-image:url(../img/arrowL.png);
  background-repeat: no-repeat;
}

#staff_schedule_summary_body::-webkit-scrollbar-button:start:decrement:hover {
  background: #c0c0c0;
  background-image:url(../img/arrowL.png);
  background-repeat: no-repeat;
}

#staff_schedule_summary_body::-webkit-scrollbar-button:end:increment {
  background: #f5f5f5;
  background-image:url(../img/arrowR.png);
  background-repeat: no-repeat;
}

#staff_schedule_summary_body::-webkit-scrollbar-button:end:increment:hover {
  background: #c0c0c0;
  background-image:url(../img/arrowR.png);
  background-repeat: no-repeat;
}

#staff_schedule_summary_body table {
  table-layout: fixed;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0px;
  white-space: nowrap;
}

#staff_schedule_summary_body td {
  width: 3.8vw;
  min-width: 3.8vw;
  height: 5.1vw;
  text-align: center;
  border-bottom: 1px solid #a2a8b9;
  border-right: 1px dashed #686f82;
  color: rgb(0, 0, 0);
  box-sizing: border-box;
  text-align: -webkit-center;
  font-size: 1.2vw;
}

#staff_schedule_summary_body td:first-child {
  border-left: 1px solid #a2a8b9;
}

#staff_schedule_summary_body td:last-child {
  border-right: 1px solid #a2a8b9;
}

#staff_schedule_summary_body td p {
  font-size: 0.5vw;
}

#staff_schedule_summary_body td p span {
  display: block;
  font-size: 1.0vw;
}

#staff_schedule_summary_body tr.selected_row td {
  background-color: #fffecb;
}

#staff_schedule_summary_head {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

#staff_schedule_summary_head table {
  table-layout: fixed;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0px;
  white-space: nowrap;
}

#staff_schedule_summary_head tr.row_goToSchool_num th {
  width: 3.8vw;
  /* min-width: 3.8vw; */
  height: 4.1vw;
  max-height: 4.1vw;
  color: #5d686c;
  border-right: 1px dashed #686f82;
  border-bottom: 1px solid #a2a8b9;
  font-size: 0.9vw;
  background-color: #cacdd8;
  box-sizing: border-box;
  text-align: center;
  vertical-align: middle;
  display: table-cell;
}

#staff_schedule_summary_head tr.row_goToSchool_num th:first-child {
  border-left: 1px solid #a2a8b9;
}

#staff_schedule_summary_head tr.row_goToSchool_num th:last-child {
  border-right: 1px solid #a2a8b9;
}

#staff_schedule_summary_head tr.row_goToSchool_num th span {
  writing-mode: vertical-lr;
  -webkit-writing-mode: vertical-lr;
  text-orientation: upright;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: auto;
}

/*header 日付操作*/
.page_controller .staff_schedule_date {
  display: flex;
  align-items: center;
  color: #ffffff;
  position: absolute;
  right: 35vw;
}

@media screen and (max-width:1280px) {
  .page_controller .staff_schedule_date {
    right: 27vw;
  }
}

.staff_schedule_date .day_prev {
  margin-right: 1.3em;
}

.staff_schedule_date .day_prev img,
.staff_schedule_date .day_next img {
  width: 36px;
}

.staff_schedule_date .date {
  font-size: 23px;
}

.staff_schedule_date .day_of_the_week {
  font-size: 15px;
  margin-left: 1em;
}

.staff_schedule_date .calender {
  width: 4.5vw;
  position: relative;
}

.page_controller .staff_schedule_date .calender label {
  position: relative;
}

.staff_schedule_date .calender label::after {
  position: absolute;
  top: calc(50% - 1.0vw);
  right: calc(50% - 2.0vw);
  content: "";
  display: block;
  width: 2.0vw;
  height: 2.0vw;
  background-image: url(../img/ic/calender.svg);
  background-repeat: no-repeat;
}

.staff_schedule_date label::before {
  position: absolute;
  top: calc(50% - 1.3vw);
  right: calc(50% - 2.35vw);
  content: "";
  display: block;
  width: 2.7vw;
  height: 2.7vw;background-image: -moz-linear-gradient( 90deg, rgb(245,243,243) 0%, rgb(255,255,255) 74%, rgb(246,245,245) 100%);
  background-image: -webkit-linear-gradient( 90deg, rgb(245,243,243) 0%, rgb(255,255,255) 74%, rgb(246,245,245) 100%);
  background-image: -ms-linear-gradient( 90deg, rgb(245,243,243) 0%, rgb(255,255,255) 74%, rgb(246,245,245) 100%);
  border-radius: 5px;
  border: solid 1px rgb(234, 234, 234);
}

.staff_schedule_date .calender label input[type="date"] {
  opacity: 0;
  width: 2.8vw;
  height: 2.8vw;
  z-index: 9999;
  position: relative;
  left: 1.0vw;
}

.staff_schedule_date .calender input[type="date"]::-webkit-calendar-picker-indicator{
  position: absolute;
  right: 0px;
  top: calc(50% - 1.75vw);
  padding: 0;
  width: 3.5vw;
  height: 3.5vw;
  background: transparent;
  color: transparent;
  cursor: pointer;
}
