/**
 *  company/common
 **/

/* base color */
:root {
    --body-color: #f3f3f3;
    --base-color: #ffca16;
    --base-color-hover: #ffe797;
    --base-color-disable: #cccccc;
    --button-base: #ff8b2c;
    --button-hover: #ffca16;
    --text-color: #333333;
    --on-base-text-color: #ffffff;
    --side-menu-selected: #ff8b2c;
}

 /* Layout */
html {
    font-size: 12px;
    height: 100%;
}
body {
    background-color: var(--body-color);
    height: 100%;
}
header {
    width: 100%;
    background-color: var(--base-color);
    min-height: 50px;
    padding: 0.2rem 0;
}
.content {
    background-color: var(--body-color);
}
.side-menu {
    background-color: #3e4650;
    padding: 0;
}
.side-menu ul li {
    border-bottom: 1px solid #6b778c;
}
.side-menu ul li:not(:first-child) a {
    text-indent: 1em;
    padding: 10px;
    display: block;
}
.side-menu ul li:not(:first-child) a:hover {
    background-color: #57606b;
    cursor: pointer;
}
.side-menu ul li a {
    color: #dce0e4;
}
button {
    width: 100%;
    height: 40px;
    font-size: 14px;
    padding: 0;
    background-color: var(--base-color);
    color: var(--on-base-text-color);
    border: none;
    font-weight: bold;
}
button:hover {
    background-color: var(--base-color-hover);
    text-decoration: none;
}
button:disabled {
    background-color: var(--base-color-disable);
}
.header-btn-back img {
    width: 70%;
    margin-top: 0.4rem;
}
.header-btn-menu img {
    width: 77%;
    margin-top: 0.7rem;
}
.drawer-hamburger {
    padding-top: 0;
    padding-bottom: 0;
    right: 12px;
}
.t-align-c {
    text-align: center;
}
.t-align-l {
    text-align: left;
    padding-left: 3px;
}
h1 {
    font-size: 16px;
    font-weight: bold;
    color: var(--on-base-text-color);
}
.t-align-c h1 img {
    max-height: 34px;
}
.t-align-l h1 img {
    max-height: 30px;
    margin-top: 6px;
}

.no-padding {
    padding: 0;    
}
.no-margin {
    margin: 0;
}

.row {
    margin: 0;
}
.container {
    max-width: 100%;
}

ul li {
    list-style-type: none;
}
.admin-menu-header {
    width: 100%;
    border-bottom: 1px solid #ddd;
    background-color: #1c3052;
    font-weight: bold;
    font-size: 120%;
    color: #6e8fc5;
    padding: 10px;
}
.paginator-box {
    clear: both;
    text-align: center;
    padding-top: 20px;
}
.paginator {
    display: inline-block;
    padding: 0;
}
.margin-r-5 {
    margin-right: 5px;
}
a {
    color: var(--text-color);
}
a:hover {
    color: var(--text-color);
    text-decoration: none;
}

/** Dateピッカー **/
.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    width: 50%;
}

/** オーバーレイ **/
#overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 999;
}

/* header */
header {
    padding: 6px;
    text-align: right;
}
.company-name {
    display: inline-block;
    padding-top: 10px;
    color: var(--on-base-text-color);
    margin-right: 10px;
    font-weight: bold;
}
.manager-name {
    display: inline-block;
    padding-top: 10px;
    color: var(--on-base-text-color);
    margin-right: 20px;
    font-weight: bold;
}
.header-icon {
    float: right;
    width: 35px;
    background-color: #fff;
    padding: 5px;
    border-radius: 50%;
}
.header-icon:hover {
    cursor: pointer;
}
.notification {
    float: right;
}
.notification-number {
    display: block;
    position: relative;
    right: 0;
    float: right;
    background-color: red;
    padding: 0 5px;
    margin-left: -20px;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    line-height: 1.8rem;
    min-width: 27px;
    text-align: center;
}
/* ログインヘッダー */
.account-header {
    background-color: #ffffff;
}
.account-header h1 {
    color: #333333;
}
.header-btn {
    float: right;
}
.header-btn a {
    display: block;
    width: 150px;
    height: 40px;
    background-color: var(--base-color);
    text-align: center;
    padding: 10px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: var(--on-base-text-color);
}
.header-btn a:hover {
    text-decoration: none;
    background-color: var(--base-color-hover);
}
.btn-regist-box {
    margin-right: 10px;
}

/* ページネーション */
.paginator li {
    float: left;
    margin: 0 5px;
}
.paginator li a {
    background-color: var(--button-base);
    padding: 5px 10px;
    color: var(--on-base-text-color);
    display: inline-block;
    text-align: center;
}
.paginator li a:hover {
    background-color: var(--button-hover);
    color: var(--text-color);
}


/* menu */
body > .side-menu-box {
    height: auto;
}
.side-menu {
    width: 100%;
    min-height: 666px;
}
.sub-menu {
    display: none;
}
.side-menu li a {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
    padding-left: 45px;
    padding-top: 10px;
    border-bottom: 1px solid #999;
    color: var(--on-base-text-color);
}
.side-menu li a:hover, .side-menu li a.hover {
    text-decoration: none;
    background-color: var(--side-menu-selected);
}
.in-arrow:hover:after, .side-menu li a.hover:after {
    content: "";
    position:absolute;
    top: 10px;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
    border-width: 10px 10px 10px 0;
    z-index: 10;
}
.menu-icon {
    float: left;
    position: relative;
    top: 5px;
    left: 5px;
    width: 30px;
    background-color: #fff;
    padding: 5px;
    border-radius: 50%;
    z-index: 100;
}

/* 設定メニュー */
.config-menu-box {
    display: none;
    position: absolute;
    right: 22px;
    top: 50px;
    width: 180px;
    background-color: #ffffff;
    border-radius: 8px;
    z-index: 9999;
}
.config-menu-box ul {
    width: 100%;
    margin: 0;
    padding: 0;
}
.config-menu-box ul li:not(:last-child) {
    border-bottom: 1px solid #ddd;
}
.config-menu-box ul li a {
    display: block;
    width: 100%;
    height: 40px;
    padding-top: 10px;
    text-align: center;
    color: var(--text-color);
}
.config-menu-box ul li a:hover {
    text-decoration: none;
    background-color: #e2e2e2;
}

/* お知らせ */
.notification-menu-box {
    display: none;
    position: absolute;
    right: 68px;
    top: 50px;
    width: 300px;
    background-color: #ffffff;
    border-radius: 8px;
    z-index: 9999;
}
.notification-menu-box ul {
    width: 100%;
    margin: 0;
    padding: 0;
}
.notification-menu-box ul li:not(:last-child) {
    border-bottom: 1px solid #ddd;
}
.notification-menu-box ul li a {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 5px 10px;
    text-align: left;
    color: var(--text-color);
}
.notification-menu-box ul li a:hover {
    text-decoration: none;
    background-color: #e2e2e2;
}

/* メインコンテンツ */
.content-box {
    padding: 10px;
    overflow: auto;
}

/* footer */
footer {
    width: 100%;
    background-color: var(--base-color);
    color: var(--on-base-text-color);
    text-align: center;
    min-height: 5%;
    padding: 10px 0;
    position: fixed;
    text-align: center;
    bottom: 0;
}
.copyright {
    width: 100%;
}


/* elements */
.common-button {
    width: 100%;
    height: 40px;
    color: var(--on-base-text-color);
    background-color: var(--base-color);
    border-radius: 4px;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 14px;
}
select, input {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #bbbbbb;
    padding: 0.6vw;
    margin-bottom: 15px;
    font-size: 14px;
    background-color: #ffffff;
}

/** loader **/
.loader,
.loader:before,
.loader:after {
    border-radius: 50%;
    width: 0.5em;
    height: 0.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
}
.loader {
    color: #185ca1;
    font-size: 10px;
    float: right;
    margin-right: 30px;
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.loader:before,
.loader:after {
    content: '';
    position: absolute;
    top: 0;
}
.loader:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loader:after {
    left: 1.5em;
}

/* Timepicker */
.wickedpicker {
    z-index: 1001;
}

/* indicator */
#indicator {
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}
#indicator .indicatorImg {
    position: absolute;
    top: 43%;
    left: 47.7%;
    background-color: #ffffff;
    text-align: center;
    padding: 0.5rem;
    border-radius: 3rem;
    display: inline-table;
}
#indicator .indicatorMsg {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-top: 50px;
    color: #ffffff;
}

/**
 *  メッセージダイアログ
 **/
#messageDialog {
    background-color: #fff;
    border-radius: 4px;
    padding: 2%;
    position: absolute;
    top: -100%;
    left: 31%;
    width: 50%;
    max-height: 80%;
    overflow-y: scroll;
    z-index: 19999;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.2);
    font-size: 2vw;
    opacity: 0;
    transition: all 300ms 0s ease-out;
}
#messageDialog.msgDialogShow {
    top: 5%;
    opacity: 1;
}
#messageDialog.msgDialogHide {
    top: -20%;
    opacity: 0;
}

@-webkit-keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 1.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 1.5em 0 0;
    }
}
@keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 1.5em 0 -1.3em;
    }
    40% {
        box-shadow: 0 1.5em 0 0;
    }
}
