body {
  font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif !important;
}

.left-panel-container{
  display:block;
}
/* role=managerは非表示 */
body.body-role-manager .left-panel-container{
  display:none;
}
body.body-role-manager .navicon-left{
  display:none;
}

/* 左メニュー非表示に伴うマージン 調整 */
body.body-role-manager .br-mainpanel, 
body.body-role-manager .br-chatpanel 
{
  margin-left:0px;
}

body.body-role-manager .main-panel {
  margin-top: 58px;
}

.br-mainpanel,
.br-chatpanel {
  margin-top: 48px;
}

/* manager ヘッダーメニューのレスポンシブ対応 */
body.body-role-manager .br-header,
body.body-role-manager .nav-effect-1 {
  height: 48px;
}
body.body-role-manager .br-header .br-header-left *{
  white-space:nowrap;
}
body.body-role-manager .br-header .br-header-left .nav-link{
  padding: 0.5rem 0.5rem;
}
@media screen and (max-width: 480px) {
  body.body-role-manager .br-header .br-header-left .nav-link.nav-link-manager {
    width: 150px;
    padding-top: 0;
    padding-left: 10px;
    padding-bottom: 0.7rem;
  }
  .br-mainpanel,
  .br-chatpanel {
    margin-top: 58px;
  }
}

@media screen and (max-width: 900px) {
  body.body-role-manager .logged-name{
    max-width: 165px;
  }
  body.body-role-manager .br-header .br-header-left .nav-link {
    padding: 0 ;
  }
}

body.body-role-manager .br-header .br-header-left ul li i.menu-item-icon{
  display:inline-block !important;
  font-size: 23px;
  margin: 0px auto;
}

body.body-role-manager .br-header .br-header-left ul li i.ion-ios-person-outline {
  font-size: 26px;
}

body.body-role-manager .br-header .br-header-left ul li span.menu-item-label{
  display:inline !important;
  opacity:1  !important;
  text-align: left;
  letter-spacing: 0px;
  color: #2B2B2B;
  height: 26px;
  font-weight: bold;
  font-size: 16px;
  line-height: 26px;
}

@media screen and (min-width: 768px){
  body.body-role-manager .br-header .br-header-left ul li i.menu-item-icon{
    font-size: 27px;
    margin-right: 7px;
  }
  body.body-role-manager .br-header .br-header-left ul li i.ion-ios-person-outline {
    font-size: 36px;
  }
}

div.unread-chatgroup-count {
  display: inline-block;
  background: #dc3545;
  color: #fff;
  border-radius: 9px;
  min-width: 18px;
  height: 18px;
  margin: 0;
  margin-left: 3px;
  padding: 0 3px;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  vertical-align: middle;
}

.left-menu-mobile {
  position: relative;
}

.chatgroup-unread {
  position: absolute;
  background-color: #DC3545;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  z-index: 2;
  top: 18px;
  right: 17px;
}

body.body-role-manager .br-mainpanel #dshift-manager-shift-editor-toolbar {
  height: 48px;
}

@media screen and (min-width: 481px) {
  .nav-effect-1 .nav-item {
    margin-right: 20px;
  }
  body.body-role-manager .br-header-left .pd-md-x-20 {
    padding-left: 5px;
  }
  body.body-role-manager .br-mainpanel #dshift-manager-shift-editor-toolbar {
    top: 48px;
  }
  .br-header-right .dropdown .dropdown-menu {
    top: 44px !important;
  }
}

/* フォントサイズ */
body.body-role-manager .br-header .br-header-left {
  color:#212121;
  font-size: 1.4rem;
  font-weight:bold;
}

body.body-role-manager .logged-name{
  letter-spacing: 0px;
  color: #2B2B2B;
  height: auto;
  vertical-align: top;
  font-weight: bold;
  font-size: 16px;
  line-height: 26px;
}

.menu-item-label-mobile {
  display: none;
  margin-top: -20px;
  font-size: 10px;
  font-weight: 500;
  text-align: center;
}

.nav-link-container {
  display: flex;
  align-items: center;
}

.nav.nav-manager .wp-name {
  display: none;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 15px;
}

.material-symbols--description-outline-rounded {
  display: inline-block;
  width: 1em;
  height: 1em;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 18h6q.425 0 .713-.288T16 17t-.288-.712T15 16H9q-.425 0-.712.288T8 17t.288.713T9 18m0-4h6q.425 0 .713-.288T16 13t-.288-.712T15 12H9q-.425 0-.712.288T8 13t.288.713T9 14m-3 8q-.825 0-1.412-.587T4 20V4q0-.825.588-1.412T6 2h7.175q.4 0 .763.15t.637.425l4.85 4.85q.275.275.425.638t.15.762V20q0 .825-.587 1.413T18 22zm7-14V4H6v16h12V9h-4q-.425 0-.712-.288T13 8M6 4v5zv16z'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.mdi--bell-outline::after {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23008737' d='M10 21h4c0 1.1-.9 2-2 2s-2-.9-2-2m11-2v1H3v-1l2-2v-6c0-3.1 2-5.8 5-6.7V4c0-1.1.9-2 2-2s2 .9 2 2v.3c3 .9 5 3.6 5 6.7v6zm-4-8c0-2.8-2.2-5-5-5s-5 2.2-5 5v7h10z'/%3E%3C/svg%3E");
}

@media screen and (max-width: 480px) {
  .body-manager {
    margin-top: -60px;
  }
  .user-profile-nav {
    font-size: 14px;
  }
  .list-unstyled.user-profile-nav.user-profile-nav-manager li {
    margin: 0;
    border-bottom: 1px solid;
  }
  .br-header.br-header-manager {
    top: initial;
    bottom: 0;
    border-top: 1px solid #767676;
  }
  .br-header-manager.hide{
    transform: translateY(100%);
  }
  .br-header-right .dropdown .dropdown-menu.dropdown-menu-manager {
    bottom: 49px;
    top: auto !important;
    border: 1px solid;
    box-shadow: none;
    border-radius: 0;
    max-height: 80vh;
    overflow-y: auto;
  }
  .br-header-right .dropdown:last-child .dropdown-menu.dropdown-menu-manager {
    min-width: initial;
    width: 150px;
    left: auto !important;
    right: 50px !important;
    padding: 0;
  }
  .br-header-right .dropdown .dropdown-menu.dropdown-menu-manager::before {
    top: initial;
    left: initial;
  }
  .br-header-right.br-header-right-manager {
    height: 48px;
    max-width: 50%;
  }
  .nav.nav-manager {
    height: 100%;
    align-items: center;
  }
  .nav.nav-manager .wp-name {
    font-size: 13px;
    border: 1px solid #5c5c5c;
    border-radius: 5px;
    max-width: 130px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    cursor: pointer;
  }
  .nav.nav-manager .only-wp-name {
    border: none;
    padding: 0;
    cursor: default;
  }
  .nav.nav-manager .wp-name > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav.nav-manager .wp-name .wp-name-list {
    position: absolute;
    max-width: 130px;
    bottom: 48px;
    right: 50px;
    border: 1px solid;
    border-radius: 2px;
    background: white;
  }
  .nav.nav-manager .wp-name .wp-name-list > div {
    padding: 5px;
    padding-left: 10px;
    padding-right: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav.nav-manager .wp-name .wp-name-list > div:not(:last-child) {
    border-bottom: 1px solid black;
  }
  .dropdown.dropdown-manager {
    display: flex;
    align-items: center;
  }
  .user-profile-nav.user-profile-nav-manager a {
    padding: 5px;
    padding-right: 10px;
  }
  .menu-item-icon.menu-item-icon-manager {
    margin: 0 auto;
  }
  .menu-item-label-mobile {
    display: block;
  }
  body.body-role-manager .logged-name{
    font-size: 0.8rem;
    font-weight: normal;
  }
  .nav-link-container {
    padding-bottom: 3px;
    border-bottom: 1px solid #767676;
  }
  .dropdown-manager .nav-link-container .logged-name {
    display: -webkit-box !important;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 15px;
  }
  body.body-role-manager .br-header .br-header-left ul li span.menu-item-label{
    display:none !important;
  }
}

.nav-effect-1 .nav-link.nav-link-manager::before, .nav-effect-1 .nav-link.nav-link-manager::after {
  height: 4px;
}

.nav-effect-1 .nav-link.nav-link-manager::after {
  display: none;
}

.nav-effect-1 .nav-link.nav-link-manager.active {
  color: initial;
}

.user-profile-nav.user-profile-nav-manager .custom-ion-stop {
  font-size: 15px;
}

.modal-header {
  padding: 7px 12px;
  display: flex;
  align-items: center;
}

.modal-content > .modal-header > .modal-title-shift-detail {
  border: 1px solid #50c06d;
  border-radius: 4px;
  padding: 5px 0;
  color: #50c06d;
  text-align: center;
  width: 200px;
}

.custom-text-center {
  display: flex !important;
  justify-content: center;
}

input[type='time']::-webkit-calendar-picker-indicator {
  position: absolute;
  width: 0;
}

.item-email-failure {
  text-align: center;
  font-weight: bold;
}
.item-email-failure-sp {
  font-size: 14px;
  font-weight: bold;
}

.br-mainpanel-staff {
  margin-top: 58px;
}

.image-icon-qr {
  width: 20px;
  margin-right: 5px;
}

@media screen and (max-width: 480px) {
  .item-email-failure-sp {
    font-size: 13px;
  }
  .staff-list-sp {
    margin-top: 70px !important;
  }
  .br-header-left-sp .menu-left-sp {
    width: 150px;
    position: absolute;
    bottom: 48px;
    border: 1px solid;
  }
  .br-header-left-sp .nav-link-container {
    padding-left: 0;
    padding-bottom: 0;
    display: flex !important;
    flex-direction: column;
    border: 0;
    font-weight: bolder;
    position: relative;
  }
  .br-header-left-sp .nav-link-container .chatgroup-unread {
    top: 0;
    right: 14px;
  }
  .br-header-left-sp .nav-link-container span {
    line-height: 15px;
  }
  .br-header-left-sp .menu-left-sp ul {
    height: 100%;
  }
  .br-header-left-sp .menu-left-sp li {
    width: 100%;
    display: flex;
    background-color: white;
    padding: 5px 0px;
    margin: 0;
    border-bottom: 1px solid #868BA1;
  }
  .br-header-left-sp .menu-left-sp li:last-child {
    border-bottom: none;
  }
  .br-header-left-sp .menu-left-sp li a {
    padding-bottom: 0px !important;
  }
  .br-header-left-sp .menu-left-sp li a .menu-item-label-mobile {
    margin-left: 10px;
  }
  .br-header-left-sp .menu-left-sp li a.active:before {
    background: none;
  }
  .br-header-left-sp .menu-left-sp li a i {
    margin-left: 0px !important;
  }
  .br-header-left-sp .menu-left-sp li .menu-item-label-mobile {
    display: flex;
    align-items: center;
    padding-top: 0px;
    margin-top: 0px;
    font-size: 13px;
  }
  .d-non-sp {
    display: none;
  }
}

@media screen and (min-width: 992px) {
  .br-menu-item .chatgroup-unread {
    top: 6px;
    right: 0;
  }
}

@media screen and (max-width: 991px) {
  .br-menu-item .chatgroup-unread {
    display: none;
  }
}

.br-chatlist .media {
  background-color: #fff;
}

.br-chat-body .chat-unread {
  display: block;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.br-chat-body .chat-time:first-of-type {
  margin-top: 0;
}

.br-chat-body .chat-unread span {
  font-size: 10px;
  font-weight: 500;
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 1px;
}

.help-list-workplace-comment-link {
  font-size: 0.75rem;
}

span.help-list-workplace-comment {
  display: inline-block;
  vertical-align: middle;
}

.help-list-workplace {
  line-height: 3ex;
}

.help-list-notice-shift-overlapping {
  color: #f27510;
  font-size: 0.72rem;
  line-height: 3ex;
}

.help-list-comment {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #adb5bd;
  font-size: 0.72rem;
  line-height: 3ex;
}

span.help-list-link.overlap-with-shift {
  width: 0px;
}

span.help-list-link {
  display: inline-block;
  vertical-align: middle;
  width: 8px;
}

@media (min-width: 992px) {
  .help-list-workplace-comment-link {
    width: calc(100vw - 245px);
  }

  .help-list-workplace.overlap-with-shift {
    width: calc(100vw - 245px);
  }

  .help-list-workplace {
    width: calc(100vw - 253px);
  }

  .help-list-notice-shift-overlapping {
    width: calc(100vw - 245px);
  }

  .help-list-comment {
    width: calc(100vw - 253px);
  }
}

@media not (min-width: 992px) {
  .help-list-workplace-comment-link {
    width: calc(100vw - 185px);
  }

  .help-list-workplace.overlap-with-shift {
    width: calc(100vw - 185px);
  }

  .help-list-workplace {
    width: calc(100vw - 193px);
  }

  .help-list-notice-shift-overlapping {
    width: calc(100vw - 185px);
  }

  .help-list-comment {
    width: calc(100vw - 193px);
  }
}
