@charset "UTF-8";
#shift_daily {
  padding: 0 2%;
  margin-bottom: 16px;
}
#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: -32px;
}
#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;
  /* AM行全体と担当者セル */
  /* PM行全体と担当者セル */
  /* tdも thもまとめて塗りたい場合 */
}
#shift_daily table thead tr.week-header span {
  font-size: 14px;
}
#shift_daily table thead tr.week-header th {
  background-color: #8ec421;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  padding: 14px;
}
#shift_daily table thead tr.week-header .th-responsible {
  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: 1.5px solid #fff;
}
#shift_daily table td {
  padding: 9px;
}
#shift_daily table tr.am {
  background-color: #F5F5F4; /* 行全体 */
}
#shift_daily table tr.am th.name-cell {
  background-color: #e1efd7; /* 担当者セル */
}
#shift_daily table tr.pm {
  background-color: #FFFCF8; /* 行全体 */
}
#shift_daily table tr.am td, #shift_daily table tr.am th {
  background-color: #F5F5F4;
}
#shift_daily table tr.pm td, #shift_daily table tr.pm th {
  background-color: #FFFCF8;
}
#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) {
  /* 親のpaddingを無視してテーブルを横いっぱいに */
  .weeklystyle {
    padding: 0;
  }
  .weeklystyle table {
    width: 100%;
    table-layout: fixed;
  }
  #shift_daily table,
  .contents table {
    width: 106%;
    table-layout: fixed;
    margin-left: -3%;
    margin-right: -3%;
  }
  #shift_daily table th, #shift_daily table td {
    border: 1.5px solid #fff;
  }
  #shift_daily table td {
    padding: 3px;
  }
  #shift_daily table .shift .kahoku, #shift_daily table .shift .honin {
    padding: 3px 6px;
    font-size: 10px;
  }
  #shift_daily table .shift .time {
    font-size: 12px;
  }
  #shift_daily table .name-cell {
    background-color: #fff;
  }
  #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 .name-photo {
    display: none;
  }
  #shift_daily table .name-cell a .name-text {
    font-size: 14px;
    text-align: center;
    color: #3F5F00;
    position: relative;
    font-weight: bold;
    padding-left: 0;
  }
  #shift_daily table .name-cell a .name-text::before {
    content: "";
    display: none;
  }
  #shift_daily table .th-am, #shift_daily table .th-pm {
    font-size: 12px;
  }
  #shift_daily table thead tr.week-header th {
    font-size: 13px;
    padding: 3px;
  }
  #shift_daily .wrap-weekButtons #weekButtons button {
    width: 40px !important;
  }
  #shift_daily .wrap-weekButtons #weekButtons button .date {
    width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    font-size: 1.2em !important;
    padding: 0 !important;
  }
  #shift_daily .wrap-weekButtons #weekButtons #currentMonth {
    display: none;
  }
  #shift_daily .shift-attention {
    font-size: 0.9em;
  }
}
@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_weekly.css.map */