@charset "utf-8";

/*-------------------------
  ヘッダー
-------------------------*/
/* エリア（共通） */
.header-login,.header-headquarters,.header-facility,.header-user {
    position: relative;
    display: flex;
    justify-content: space-between;
    height: 74px;
    box-shadow: 0 5px 5px 0px rgb(207, 207, 207);
}

/* エリア（ログイン） */
.header-login {
    background-color: #58BDBF;
}

/* エリア（本部管理者） */
.header-headquarters {
    background-color: #FF91A9 ;
}

/* エリア（施設管理者） */
.header-facility {
    background-color: #58BDBF;
}

/* エリア（家族ユーザー） */
.header-user {
    background-color: #EDB261;
}

/* メニュー・ロゴ */
.h-menulogo {
    display: flex;
    justify-content: left;
}

/* 画像（メニュー） */
.h-img-menu {
    height: 44px;
    margin: 13px 20px 13px 20px;
}

/* 画像（ロゴ） */
.h-img-logo {
    flex-shrink: 0;
    height: auto;
    max-height: 32px;
    width: 170px;
    margin: 21px 0px;
}

/* ロゴとログインユーザーが重ならない場合 */
@media screen and (min-width: 600px) {
    /* ログインユーザー */
    .h-loginuser {
        height:56px;
        width: auto;
        max-width: 300px;
        margin: 7px 20px;
        border-radius: 10px;
        padding-top: 7px;
        padding-left: 15px;
        padding-right: 15px;
        background-color: white;
        text-align: center;
    }

    /* ラベル（ユーザー名） */
    .h-lbl-username {
        height: 23px;
        margin: 0px;
        font-size: 15px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* ラベル（ユーザーメールアドレス） */
    .h-lbl-useremail {
        height: 20px;
        margin: 0px;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ロゴとログインユーザーが重なる場合 */
@media screen and (max-width: 599px) {
    /* ログインユーザー */
    .h-loginuser {
        display: none;
    }
}


/*-------------------------
  サイドバー
-------------------------*/
/* エリア */
.sidebar {
    width: 330px !important;
    margin-top: 74px;
    border: none;
    box-shadow: 5px 0px 5px 0px rgb(207, 207, 207);
}

/* 見出し */
.s-category {
    padding-left: 32px;
    color: #3C435C;
    font-size: 19px;
    font-weight:600;
    margin-top: 25px;
    margin-bottom: 10px;
}

/* リスト（共通） */
.s-list-headquarters,.s-list-facility,.s-list-user {
    height: 50px;
    border-left: 8px solid transparent;
    padding-left:30px;
    display: flex;
    justify-content: left;
}

/* リスト（マウスオーバー時・共通） */
.s-list-headquarters:hover,.s-list-facility:hover,.s-list-user:hover {
    background-color: #F1F3F6;
    cursor: pointer;
}

/* リスト（マウスオーバー時・本部管理者） */
.s-list-headquarters:hover {
    border-left: 8px solid #FF91A9;
}

/* リスト（マウスオーバー時・施設管理者） */
.s-list-facility:hover {
    border-left: 8px solid #58BDBF;
}

/* リスト（マウスオーバー時・家族ユーザー） */
.s-list-user:hover {
    border-left: 8px solid #EDB261;
}

/* 画像（リスト） */
.s-img-list {
    height: 20px;
    margin: auto 15px;
}

/* リンク（リスト） */
.s-link-list {
    color: #3C435C !important;
    font-size: 14px;
    font-weight:500;
    margin-top: auto;
    margin-bottom: auto;
}

/* サイドバーエリア以外 */
.offcanvas-backdrop {
    opacity: 0 !important;
}

@media screen and (max-Height: 749px) {
    .sidebar ul {
        margin-bottom: 0px;
    }

    /* 見出し */
    .s-category {
        margin-bottom: 5px;
    }

    /* リスト（共通） */
    .s-list-headquarters,.s-list-facility,.s-list-user {
        height: 45px;
    }
}