/* common */

@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);

body {
    font-family: 'Noto Sans Japanese', sans-serif;
    margin: 0 !important;
    overflow-y: scroll;
}

ul {
    list-style-type: none;
}

h2 {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--el-text-color-regular);
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.25;
}

.el-loading-mask {
    z-index: 99999 !important;
}

.single-content__page {
    padding-top: 20vh;
}

#main {
    background: #fff;
    display: flex;
}

.page {
    width: 100%;
    height: 100%;
    margin: 0 0;
    position: relative;
    min-height: 100vh;
}

.page-main {
    /* flex-grow: 1; */
    /* display: flex; */
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    /* min-height: 100vh; */
}

.el-message {
    z-index: 9999 !important;
}

.el-row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 1rem;
}

.el-row .content-label {
    line-height: 32px;
}

.el-row .content-description {
    line-height: 32px;
    white-space: pre-wrap;
    word-break: break-all;
}

.el-table .el-table__cell {
    text-overflow: unset;
}

/* width/height */
.w-100 {
    width: 100%;
}

.w-100px {
    width: 100px;
}

.h-100 {
    height: 100%;
}

.w-fit-content {
    width: fit-content;
}

.min-w__65px {
    min-width: 65px;
}

.min-w__100px {
    min-width: 100px;
}

.min-w__175px {
    min-width: 175px;
}

.max-w__100px {
    max-width: 100px;
}

.max-w__200px {
    max-width: 200px;
}

.max-w__fit {
    max-width: fit-content;
}

.max-h__300px {
    max-height: 300px;
}
.h-300px {
    height: 300px
}
/* width/height */

/* margin */
.m-0 {
    margin: 0 !important;
}
.m-1 {
    margin: 1rem !important;
}
.m-2 {
    margin: 2rem !important;
}
.m-3 {
    margin: 3rem !important;
}
.mt-0 {
    margin-top: 0 !important;
}
.mt-1 {
    margin-top: 1rem !important;
}
.mt-2 {
    margin-top: 2rem !important;
}
.mt-3 {
    margin-top: 3rem !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.mb-1 {
    margin-bottom: 1rem !important;
}
.mb-2 {
    margin-bottom: 2rem !important;
}
.mb-3 {
    margin-bottom: 3rem !important;
}
.ml-1 {
    margin-left: 1rem !important;
}
.ml-2 {
    margin-left: 2rem !important;
}
.ml-3 {
    margin-left: 3rem !important;
}
.ml-auto {
    margin-left: auto !important;
}
.mr-1 {
    margin-right: 1rem !important;
}
.mr-2 {
    margin-right: 2rem !important;
}
.mr-3 {
    margin-right: 3rem !important;
}
.mr-auto {
    margin-right: auto !important;
}
.mx-1 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}
.mx-2 {
    margin-left: 2rem !important;
    margin-right: 2rem !important;
}
.mx-3 {
    margin-left: 3rem !important;
    margin-right: 3rem !important;
}
.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}
.my-1 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}
.my-2 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}
.my-3 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}
.my-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
}

@media (min-width: 992px) {
    .m-md-1 {
        margin: 1rem !important;
    }
    .m-md-2 {
        margin: 2rem !important;
    }
    .m-md-3 {
        margin: 3rem !important;
    }
    .mt-md-1 {
        margin-top: 1rem !important;
    }
    .mt-md-2 {
        margin-top: 2rem !important;
    }
    .mt-md-3 {
        margin-top: 3rem !important;
    }
    .mb-md-1 {
        margin-bottom: 1rem !important;
    }
    .mb-md-2 {
        margin-bottom: 2rem !important;
    }
    .mb-md-3 {
        margin-bottom: 3rem !important;
    }
    .mx-md-1 {
        margin: 0 1rem !important;
    }
    .mx-md-3 {
        margin: 0 3rem !important;
    }
    .mx-md-auto {
        margin: 0 auto !important;
    }
    .my-md-1 {
        margin: 1rem 0 !important;
    }
    .my-md-2 {
        margin: 2rem 0 !important;
    }
    .my-md-3 {
        margin: 3rem 0 !important;
    }
    .my-md-auto {
        margin: auto 0 !important;
    }
}
/* margin */

/* padding */
.p-0 {
    padding: 0 !important;
}
.p-1 {
    padding: 1rem !important;
}
.p-2 {
    padding: 2rem !important;
}
.p-3 {
    padding: 3rem !important;
}
.pt-1 {
    padding-top: 1rem !important;
}
.pt-2 {
    padding-top: 2rem !important;
}
.pt-3 {
    padding-top: 3rem !important;
}
.pb-1 {
    padding-bottom: 1rem !important;
}
.pb-2 {
    padding-bottom: 2rem !important;
}
.pb-3 {
    padding-bottom: 3rem !important;
}
.pr-1 {
    padding-right: 1rem !important;
}
.pr-2 {
    padding-right: 2rem !important;
}
.pr-3 {
    padding-right: 3rem !important;
}
.pl-1 {
    padding-left: 1rem !important;
}
.pl-2 {
    padding-left: 2rem !important;
}
.pl-3 {
    padding-left: 3rem !important;
}
.px-1 {
    padding: 0 1rem !important;
}
.px-2 {
    padding: 0 2rem !important;
}
.px-3 {
    padding: 0 3rem !important;
}
.px-auto {
    padding: 0 auto !important;
}
.py-1 {
    padding: 1rem 0 !important;
}
.py-2 {
    padding: 2rem 0 !important;
}
.py-3 {
    padding: 3rem 0 !important;
}
.py-auto {
    padding-top: auto !important;
    padding-bottom: auto !important;
}

@media (min-width: 992px) {
    .p-md-0 {
        padding: 0 !important;
    }
    .p-md-1 {
        padding: 1rem !important;
    }
    .p-md-2 {
        padding: 2rem !important;
    }
    .p-md-3 {
        padding: 3rem !important;
    }
    .pt-md-1 {
        padding-top: 1rem !important;
    }
    .pt-md-2 {
        padding-top: 2rem !important;
    }
    .pt-md-3 {
        padding-top: 3rem !important;
    }
    .pb-md-1 {
        padding-bottom: 1rem !important;
    }
    .pb-md-2 {
        padding-bottom: 2rem !important;
    }
    .pb-md-3 {
        padding-bottom: 3rem !important;
    }
    .px-md-1 {
        padding: 0 1rem !important;
    }
    .px-md-2 {
        padding: 0 2rem !important;
    }
    .px-md-3 {
        padding: 0 3rem !important;
    }
    .px-md-auto {
        padding: 0 auto !important;
    }
    .py-md-1 {
        padding: 1rem 0 !important;
    }
    .py-md-2 {
        padding: 2rem 0 !important;
    }
    .py-md-3 {
        padding: 3rem 0 !important;
    }
    .py-md-auto {
        padding-top: auto !important;
        padding-bottom: auto !important;
    }
}
/* padding */

/* over-flow */
.of-x-sc {
    overflow-x: scroll !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.of-x-sc::-webkit-scrollbar{
    display:none;
}
/* over-flow */

/* size */
.input-icon {
    font-size: 20px;
}

.font-weight__400 {
    font-weight: 400 !important;
}
/* size */

/* color */
.bk-white {
    background-color: #ffffff !important;
}
.text-black {
    color: #606266 !important;
}
.text-blue {
    color: #409eff !important;;
}
/* color */

/* justify-content */
.content-center {
    justify-content: center;
}
.content-end {
    justify-content: end;
}
.content-space-between {
    justify-content: space-between;
}
.content-space-around {
    justify-content: space-around;
}
/* justify-content */

/* object-fit */
.obj-f__contain {
    object-fit: contain;
}
/* object-fit */

/* text */
.text-center {
    text-align: center;
}
.text-start {
    text-align: start;
}
.text-end {
    text-align: end;
}
.nowrap {
    white-space: nowrap !important;
}
.nowrap>div {
    white-space: nowrap !important;
}
.pre-wrap {
    white-space: pre-wrap;
}
.note-text {
    font-size: 12px;
}
/* text */

/* display */
.d-flex {
    display: flex !important;
}
.flex-d-col {
    flex-direction: column !important;
}
.align-f-start {
    align-items: flex-start !important;
}

.d-grid {
    display: grid !important;
}
.d-block {
    display: block !important;
}
.flex-wrap {
    flex-wrap: wrap;
}
/* display */

.pointer {
    cursor: pointer;
}

.driver {
    border-bottom: 1px solid var(--el-input-border-color,var(--el-border-color));
}
/* common */



/* content */
.content-title {
    color: var(--el-text-color-primary);
    font-size: 16px;
    font-weight: 700;
}
.content-label {
    color: var(--el-text-color-regular);
    line-height: 23px;
    font-size: 14px;
    font-weight: 500;
}
.content-description {
    color: var(--el-text-color-regular);
    line-height: 23px;
    font-size: 14px;
}
.table-description > th {
    font-size: 14px;
    background: #dfe1e5 !important;
    font-weight: 700 !important;
    color: var(--el-text-color-regular) !important;
}
/* content */



/* input */
.no-label .el-form-item__content {
    margin-left: 0 !important;
}
.el-form-item__label {
    height: 100% !important;
}
.el-input-group__prepend {
    padding: 0.6em !important;
}
.search-form {
    max-width: 800px;
}
.el-upload-list__item-status-label {
    display: block !important;
}
.el-upload-list__item.is-ready {
    display: flex;
}
.el-upload-list__item.is-ready p {
    margin-left: 2rem;
}
.el-upload-list--picture .el-upload-list__item-thumbnail {
    width: auto !important;
    height: 170px !important;
}
.el-upload-list.el-upload-list--picture {
    margin-left: 1rem !important;
    margin-top: 0 !important;
}
.el-upload-list--picture .el-upload-list__item {
    margin-top: 0 !important;
}
.el-upload-list__item:has(.selected) {
    border-color: var(--el-color-primary) !important;
}
.multi-input {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--el-input-border-color,var(--el-border-color));
    width: 100%;
}
.multi-input__flex {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--el-input-border-color,var(--el-border-color));
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.multi-input__flex .multi-input__card {
    margin-bottom: 1em;
}
/* input */

/* error modal */
.el-message-box__message {
    word-break: break-all;
}
/* error modal */

/* login */
.login-img {
    width: 270px;
    object-fit: contain;
    height: 100%;
}
.login-card {
    width: 400px;
}
.input-icon {
    width: 1em;
    height: 1em;
}
.login-card > .card-header {
    text-align: center;
    font-size: 24px;
    padding-bottom: 1.5rem;
}

.login-card > .el-card__body {
    padding: 2rem !important;
}
/* login */

/* header */
.header-nav-menu {
    position: sticky !important;
    top: 0;
    width: 100%;
    height: 60px;
    align-items: center;
    z-index: 2;
}
.flex-grow {
    flex-grow: 1;
}
.header-nav-menu>li {
    border-bottom: none !important;
}
.header-nav-menu>.el-sub-menu.is-active .el-sub-menu__title {
    border-bottom: none !important;
    color: var(--el-menu-text-color) !important;
}
.header-brand-img {
    object-fit: contain;
    height: 100%;
    width: 200px;
}
.header-brand-img-sm {
    object-fit: contain;
    height: 100%;
    width: 40px;
}
.header-icon {
    margin-right: 0.5em;
    width: 1.5rem;
    height: 1.5rem;
}
/* header */

/* sidebar */
.sidebar {
    position: sticky !important;
    top: 0;
    height: 100%;
    min-height: 100vh;
}
.sidebar:not(.el-menu--collapse) {
    width: 250px;
}
/* sidebar */

/* icon */
.el-avatar--circle {
    border: 1px solid var(--el-border-color);
}
.youtube-thumbnail__empty {
    width: 40px !important;
    height: 40px !important;
}
.youtube-thumbnail__empty svg {
    width: 40px !important;
    height: 40px !important;
}
.count-icon {
    width: auto;
    height: 20px;
}
/* icon */

/* alert */
.el-alert__title {
    line-height: 22px !important;
}
/* alert */

/* dialog */
.el-dialog__footer {
    text-align: center !important;
}

/* pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 2px;
}

.list-delete__btn {
    position: absolute;
    right: 0;
}



/* 以下使うかわからない */
/* loader */
#global-loader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: rgb(138 137 137 / 26%);
    z-index: 9999;
}

.load-spinner {
    position: fixed;
    top: calc(50% - 2rem/2);
    left: calc(50% - 2rem/2);
    z-index: 2;
}

/* loader */

/* sidebar */

.side-menu {
    z-index: 99;
    flex-shrink: 0;
    height: 100vh;
    width: 0;
    float: left;
    background: #fff;
    top: 0;
    left: 0;
    position: sticky !important;
    display: flex;
    flex: 0 0 var(--cui-sidebar-width);
    flex-direction: column;
    order: -1;
    padding: 0 0;
    transition: margin-left 0.15s, margin-right 0.15s, box-shadow 0.075s, transform 0.15s, width 0.15s, z-index 0s ease 0.15s;
}

.sidebar-nav .nav-title {
    white-space: nowrap;
}

.navbar-brand {
    display: block;
    width: 0;
    height: 0;
    margin-right: 0;
}

.nav-dropdown-toggle::after {
    display: inline-block;
    margin: auto 2em auto auto;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.5em solid transparent;
    border-right: 0;
    border-bottom: 0.5em solid transparent;
    border-left: 0.5em solid;
    transition-property: all;
    transition-duration: 0.5s;
}

.show.nav-dropdown-toggle::after {
    transform: rotate( 90deg );
}

.border-right {
    border-right: 1px solid var(--cui-border-color, #d8dbe0) !important;
}

.border-top {
    border-top: 1px solid var(--el-border-color);
}

.border-bottom__blue {
    border-bottom: 1px solid var(--el-color-primary);
}

.navbar-toggler {
    border: 0 !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-nav .dropdown-menu {
    position: fixed !important;
}

.menu-profile {
    right: 0.5rem !important;
    margin-top: 0.5rem !important;
}

.profile-dropdown-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

@media (min-width: 992px) {
    .side-menu {
        width: 270px;
    }

    .side-menu.show {
        width: 270px;
    }

    .navbar-brand {
        display: block;
        width: 270px;
        height: 75px;
        margin-right: 0;
    }

    .navbar-toggler {
        display: block !important;
    }
}

@media (max-width: 991px) {
    .side-menu {
        z-index: 99;
        flex-shrink: 0;
        height: 0;
        height: calc(100vh - 75px);
        float: left;
        top: 75px;
        left: 0;
        position: fixed !important;
        width: 0;
    }

    .side-menu.show {
        width: 270px;
    }
}

/* sidebar */





.header-breadcrumb {
    height: 100%;
    width: 100%;
}

.header-breadcrumb .container-fluid nav {
    margin: 1.5rem 0;
}

.header-breadcrumb .container-fluid nav ol {
    min-height: 50px;
}

.header-breadcrumb div {
    width: auto !important;
    margin-right: 0;
    margin-left: 0;
}

.page-title {
    line-height: 50px;
    font-size: 20px;
    font-weight: 500;
    margin: 1.5rem 0;
    position: relative;
}

.header-search-area {
    width: 100%;
    max-width: 500px;
}

.navbar-collapse {
    flex-grow: 0 !important;
}

.nav__user-icon {
    vertical-align: -0.4rem !important;
}

/* @media (min-width: 992px) {
    .header-nav-menu {
        padding-left: 270px;
    }

    .header-nav-menu.expand {
        padding-left: 0;
    }
} */

@media (max-width: 992px) {
    .nav__user-name {
        display: none;
    }
}

.btn-close {
    position: absolute;
    top: 1em;
    right: 1em;
}

.modal-icon-outer {
    width:9rem !important;
    height:9rem !important;
}

.modal-icon-inner {
    margin-right: 1.5rem;
    margin-left: -9rem;
    margin-bottom: 1.5rem;
    width: 6rem !important;
    height: 6rem !important;
}

.table > :not(:first-child) {
    border-color: inherit !important;
    border-style: solid;
    border-width: 0;
    border-top-width: 2px;
}

.table :last-child {
    border-bottom-width: 2px;
}

.search-items label {
    min-width: 150px;
}

.input-items label {
    min-width: 150px;
}

.btn-transparent {
    background-color: transparent;
    border: none;
}

.input-preview {
    height: 10rem;
    object-fit: contain;
}

.preview-erea {
    margin-left: 150px;
}

.file-input {
    border: 1px dashed rgba(118, 118, 118, 0.686);
    width: 100%;
    height: auto;
}

.file-input__field {
    width: 100%;
    height: 100%;
    position: relative;
}

.file-input__field.over {
    background-color: #eee;
}

.file-input__field > input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-input__field > p {
    color: #aaa;
    text-align: center;
}

.omit-text-item {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-hover tbody tr:hover {
    cursor: pointer;
}

.sortable::after {
    float: right;
    content: "";
    border-top: 0.35em solid transparent;
    border-right: 0.5em solid transparent;
    border-bottom: 0.7em solid;
    border-left: 0.5em solid transparent;
    transition-property: all;
    transition-duration: 0.5s;
}

.sortable.active-column::after {
    border-bottom: 0.7em solid #321fdb;
}

.sortable.is-desc::after {
    transform: rotate( 180deg );
    margin-top: 0.4em;
}

.table-borderless > :not(caption) {
    border-bottom-width: 0 !important;
}

.table-borderless > :not(caption) > * {
    border-bottom-width: 0 !important;
}

.table-borderless > :not(caption) > * > * {
    border-bottom-width: 0 !important;
    padding-top: 1rem !important;
}

/** ボーダーなしのテーブルと競合するので追加 */
div.card {
    border-bottom-width: 1px !important;
}

.accordion-item {
    border-bottom-width: 1px !important;
}

.accordion-button {
    border-bottom-width: 1px !important;
}

.accordion-item:last-of-type .accordion-collapse {
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.list-group {
    border: none !important;
    border-bottom-width: 1px !important;
}

.list-group-item {
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125) !important;
}

.list-group-item:first-child {
    border-top-left-radius: unset !important;
    border-top-right-radius: unset !important;
}

.list-group-item:last-child {
    border-bottom: none !important;
}

.youtube-embedded iframe {
    width: 100% !important;
    height: auto !important;
}

.font-weight-550 {
    font-weight: 550;
}

@media (max-width: 991px) {
    .header .dropdown-menu {
        top: 2.9rem !important;
        left: 5% !important;
        right: 5% !important;
    }
}

.menu-profile {
    right: 0;
    left: auto;
}

.sub-angle {
    line-height: 1;
}

/*datetime picker*/
.el-date-picker {
    width: 100% !important;
}

.el-date-picker .el-picker-panel__content {
    width: 80% !important;
    max-width: 500px;
    margin: 0 auto;
}

.delete-badge .el-badge__content.is-fixed {
    width: 10px;
    height: 20px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #666;
    cursor: pointer;
}

.el-message-box.google-auth {
    padding: 15px 40px 20px 40px;
}

.el-message-box.google-auth .el-message-box__headerbtn {
    top: 0;
    right: -15px;
}

.operation-history .el-collapse-item__header {
    font-size: 16px;
    font-weight: 700;
    border: none;
}

.operation-history .el-collapse-item__arrow {
    margin: 0 0 0 1em;
}

.operation-history.el-collapse, .operation-history .el-collapse-item__wrap {
    border: none;
}

.notification-dialog p {
    white-space: pre-wrap;
}

.empty-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 390px;
    height: 180px;
    background-color: #eeeeee;
}

.empty-container svg {
    width: 48px;
    height: 48px;
    color: #999999;
}

.empty-text {
    margin-top: 10px;
    font-size: 16px;
    color: #999999;
}

.el-menu--popup-container {
    max-height: 80vh;
}

.el-menu--popup {
    overflow-y: scroll;
    padding: 10px 0 !important;
}
