@charset "UTF-8";
#shift_daily {
  padding: 0 2%;
  margin-bottom: 16px;
}
#shift_daily .weeklybtn a {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
#shift_daily .weeklybtn a::after {
  content: "→";
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  transition: 0.3s;
  font-size: 12px;
}
#shift_daily .weeklybtn a:hover::after {
  background: #ae121f;
  box-shadow: 0px 0px 0px 6px #ae121f;
}
#shift_daily p {
  font-family: Tahoma, Geneva, sans-serif;
}
#shift_daily h3 {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 150%;
  font-weight: bold;
  color: #ff9802;
  text-align: center;
  margin: 12px;
}
#shift_daily .pageturn {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
#shift_daily .pageturn #prevDay {
  border-radius: 30px;
  border: 1px solid #8dc321;
  color: #8dc321;
  background: #fff;
  display: inline-block;
  position: relative;
  padding: 10px 32px 10px 40px;
  cursor: pointer;
  font-size: 1.1em;
  transition: 0.3s;
}
#shift_daily .pageturn #prevDay::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 0;
  border-top: solid 1.8px #8dc321;
  border-left: solid 1.8px #8dc321;
  transform: rotate(-45deg);
  position: absolute;
  top: 0;
  left: 21px;
  bottom: 0;
  margin: auto;
}
#shift_daily .pageturn #prevDay:hover {
  background: #8dc321;
  color: #fff;
  transform: 0.5s;
}
#shift_daily .pageturn #prevDay:hover::before {
  border-top-color: #fff;
  border-left-color: #fff;
}
#shift_daily .pageturn #nextDay {
  border-radius: 30px;
  border: 1px solid #fff;
  color: #fff;
  background: #8dc321;
  display: inline-block;
  position: relative;
  padding: 10px 40px 10px 32px;
  cursor: pointer;
  font-size: 1.1em;
  transition: 0.3s;
}
#shift_daily .pageturn #nextDay::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 0;
  border-top: solid 1.8px #fff;
  border-left: solid 1.8px #fff;
  transform: rotate(135deg);
  position: absolute;
  top: 0;
  right: 21px;
  bottom: 0;
  margin: auto;
}
#shift_daily .pageturn #nextDay:hover {
  background: #fff;
  color: #8dc321;
  transform: 0.5s;
  border: 1px solid #8dc321;
}
#shift_daily .pageturn #nextDay:hover::before {
  border-top-color: #8dc321;
  border-left-color: #8dc321;
}
#shift_daily .wrap-weekButtons {
  display: flex;
  gap: 21px;
  background: #8dc321;
  justify-content: center;
  overflow: hidden;
  /* 選択中のボタン */
  /* 選択中のボタンの hover */
}
#shift_daily .wrap-weekButtons #weekButtons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px;
}
#shift_daily .wrap-weekButtons #currentMonth {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 1.8em;
  text-align: center;
  display: flex;
  align-items: center;
  color: white;
  margin: 21px 0;
  padding-right: 49px;
  border-right: 1px solid #fff;
}
#shift_daily .wrap-weekButtons #weekButtons button {
  font-family: Tahoma, Geneva, sans-serif;
  background-color: #8dc321;
  color: #fff;
  cursor: pointer;
  width: 50px;
  border: none;
}
#shift_daily .wrap-weekButtons #weekButtons button .date {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 50%;
  padding: 0; /* ここは固定 */
  background-color: #8dc321;
  text-align: center;
  font-size: 1.6em; /* 基本サイズ固定 */
  transition: 0.1s transform, 0.1s background, 0.1s color;
}
#shift_daily .wrap-weekButtons #weekButtons button .date:hover {
  transform: scale(1.1);
  background: #fff;
  color: #333;
}
#shift_daily .wrap-weekButtons #weekButtons button.selected .date {
  background: #fff;
  color: #333;
  transform: scale(1); /* 通常サイズ */
}
#shift_daily .wrap-weekButtons #weekButtons button.selected .date:hover {
  transform: scale(1.1);
}
#shift_daily .wrap-weekButtons .dayButton {
  display: flex;
  flex-direction: column; /* 縦に並べる */
  align-items: center;
}
#shift_daily .wrap-weekButtons .dayButton .day-of-week {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.2em;
}
#shift_daily .wrap-weekButtons .dayButton .date {
  font-size: 1.6em;
}
#shift_daily table {
  width: 100%;
  table-layout: fixed;
}
#shift_daily table thead tr.week-header th {
  background-color: #8ec421;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
#shift_daily table thead tr.week-header .th-responsible {
  color: #8ec421;
}
#shift_daily table thead tr.week-header .th-time {
  color: #8ec421;
}
#shift_daily table .name-cell a {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
  color: #3F5F00;
}
#shift_daily table .name-cell a .name-text {
  position: relative;
  font-size: 13.5px;
  font-weight: normal;
  padding-left: 12px;
}
#shift_daily table .name-cell a .name-text:hover::before {
  border-top-color: #B62833;
  border-left-color: #B62833;
}
#shift_daily table .name-cell a .name-text::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 1.8px #3F5F00;
  border-left: solid 1.8px #3F5F00;
  transform: rotate(135deg);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  transition: border-color 0.3s;
}
#shift_daily table .name-cell a .name-text:hover {
  color: #B62833;
}
#shift_daily table .name-cell a .name-text:hover ::before {
  border-top-color: #B62833;
  border-left-color: #B62833;
}
#shift_daily table .name-cell a .name-photo {
  border-radius: 100%;
  margin: 0 12px;
  width: 80%;
}
#shift_daily table .shift {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#shift_daily table .shift .honin {
  color: #fff;
  font-weight: bold;
  padding: 4px 10px;
  background: #8ec421;
  border-radius: 50px;
  display: block;
  font-size: 12px;
  line-height: 1.4;
}
#shift_daily table .shift .kahoku {
  color: #fff;
  font-weight: bold;
  padding: 4px 10px;
  background: #ff9901;
  border-radius: 50px;
  display: block;
  font-size: 11px;
  line-height: 1.4;
}
#shift_daily table .shift .time {
  color: #333;
  font-weight: normal;
  font-size: 0.9em;
  display: block; /* ブロック化して縦中央も効きやすく */
  text-align: center; /* 横中央 */
  line-height: 1.2;
  margin-top: 6px;
}
#shift_daily table .shift .time .time-divider {
  font-size: 9px;
  font-weight: bold;
}
#shift_daily table th, #shift_daily table td {
  word-wrap: break-word;
  border-bottom: 1.5px solid #fff;
}
#shift_daily table th:nth-child(odd), #shift_daily table td:nth-child(odd) {
  background-color: #F5F5F4;
}
#shift_daily table th:nth-child(even), #shift_daily table td:nth-child(even) {
  background-color: #FFFCF8;
}
#shift_daily table th:first-child, #shift_daily table td:first-child {
  background-color: #e9e9e9;
  min-width: 70px;
  color: #333;
}
#shift_daily table th.th-am,
#shift_daily table th.th-pm {
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  text-align: center;
  padding: 4px 6px;
}
#shift_daily table td {
  padding: 9px;
}
#shift_daily .shift-attention {
  padding: 16px 0;
  line-height: 1.8;
}

.week-table {
  display: table;
  table-layout: fixed;
}
.week-table .dayButton {
  display: table-cell;
  text-align: center;
  padding: 10px 0;
  border: 1px solid #ccc;
  cursor: pointer;
  background-color: #f9f9f9;
}
.week-table .dayButton.selected {
  background-color: #d0e7ff;
  font-weight: bold;
}

/* 縦列表示用 */
@media screen and (max-width: 800px) {
  #shift_daily table .name-cell a {
    display: flex;
    margin: 12px 0;
  }
  #shift_daily table .name-cell a:active {
    color: #B62833;
  }
  #shift_daily table .name-cell a:active .name-text::before {
    border-top-color: #B62833;
    border-left-color: #B62833;
  }
  #shift_daily table .name-cell a .name-text {
    font-size: 0.9rem;
    text-align: center;
    color: #3F5F00;
    position: relative;
  }
  #shift_daily table .name-cell a .name-text::before {
    content: "";
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 1.8px #3F5F00;
    border-left: solid 1.8px #3F5F00;
    transform: rotate(135deg);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    transition: border-color 0.3s;
  }
  #shift_daily .wrap-weekButtons {
    display: flex;
    gap: 21px;
    background: #8dc321;
    justify-content: center;
    overflow-x: auto;
  }
  #shift_daily .wrap-weekButtons #weekButtons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px;
    flex-shrink: 0;
  }
  #shift_daily .wrap-weekButtons #currentMonth {
    padding-right: 16px;
  }
  #shift_daily .wrap-weekButtons button {
    flex-shrink: 0;
  }
  #shift_daily .shift-attention {
    font-size: 0.9em;
  }
  #shift_daily .wrap-weekButtons #currentMonth {
    display: none;
  }
}
@media (max-width: 600px) {
  #shift_daily .wrap-weekButtons #weekButtons button .date {
    font-size: 18px;
  }
  #shift_daily .wrap-weekButtons #weekButtons button {
    width: 32px;
  }
}/*# sourceMappingURL=shift_style.css.map */