/***************
* BASE
***************/
html,
body {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-family: メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif !important;
    background-color: #fff;
    color: #666;
    line-height: 1.5;
    font-size: 11pt;
    overflow: hidden;
}

form#ContentsMainForm {
    margin: 0;
    padding: 0px;
}

/***************
* CONTAINER
***************/
.container-mask {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: inherit;
}

.container-business {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px;
    overflow-x: auto;
    overflow-y: scroll;
    background-color: inherit;
}

.container-head {
    position: absolute;
    width: 100%;
    padding: 0px;
    margin: 0px;
    background-color: inherit;
}

.container-sidebar {
    position: absolute;
    z-index: 1041;
    width: 350px;
    top: 45px;
    bottom: 0px;
    padding: 0;
    margin: 0;
    background: #f5f7f7;
    border-right: 1px solid #bdbdbd;
    overflow: auto;

    display: none;
}
.container-sidebar-back {
    position: absolute;
    z-index: 1041;
    width: 100%;
    top: 45px;
    bottom: 0px;
    padding: 0;
    margin: 0;
    background: #000;

    display: none;
}

.container-title {
    position: relative;
    background-color: inherit;
}
/* サイドバー1行目共用 */
.container-title-h {
    height: 65px;
}

.container-main {
    position: relative;
    height: 100%;
    width: 100%;
    min-width: 550px;
    padding: 0px;
    padding-top: 45px;
    margin: 0px;
    background-color: inherit;
}

body .container-main {
    padding-top: 45px;
}
body.page-title .container-main {
    padding-top: calc(45px + 65px);
}

/***************
* CONTENTS
***************/
.contents-title {
    position: relative;
    z-index: 1030;
    padding: 16px 23px;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: inherit;
    border-bottom: 1px solid #bdbdbd;
}

.contents-sideopener {
    position: absolute;
    z-index: 1030;
    top: 0;
    left: 0;
    padding: 16px;
    height: 100%;
    width: 80px;
    overflow: hidden;
    background-color: #000000;
    border-bottom: 1px solid #000000;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
}

form.system-form {
    display: none;
}

.contents-main {
    position: relative;
    z-index: 1000;
    margin: 0;
    padding: 15px 20px;
    min-height: 450px;
}

.contents-foot {
    z-index: 1031;
}

@media screen and (max-width: 767px) {
    /* 画面小時非表示 */
    .window-l {
        display: none;
    }
}
@media screen and (min-width: 768px) {
    /* 画面大時非表示 */
    .window-s {
        display: none;
    }
}

/***************
* LOADING
***************/
.submit-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
    /* backdropより前には表示させるものはない */
    z-index: 9999;
}

.submit-backdrop .center-box {
    display: inline-block;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.submit-backdrop .loader,
.submit-backdrop .loader:after {
    border-radius: 50%;
    width: 150px;
    height: 150px;
}
.submit-backdrop .loader {
    margin: 60px auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/***************
* DIALOG
***************/
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9990;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
}
.modal.custom-dialog {
    z-index: 9995;
}
.modal.custom-dialog .modal-footer > button:not(:last-child) {
    margin-right: 5px;
}

/***************
* SUBWINDOW
***************/
.modal.custom-subwin {
    z-index: 9992;
    padding: 15px;
    text-align: center;
}
.modal.custom-subwin .modal-dialog {
    display: inline-block;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
}

body.body-subwindow .contents-main {
    min-height: initial;
}

/***************
* Common
***************/
.va-c {
    vertical-align: center;
}