/* common */

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

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

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;
}

.el-button {
    > span {
        color: var(--el-text-color-regular);
    }
    .el-icon {
        color: var(--el-text-color-regular);
    }
}

.el-button--primary,
.el-button--danger,
.el-button--info {
    > span {
        color: #fff;
    }
    .el-icon {
        color: #fff;
    }
}

.el-button--primary.is-plain {
    > span {
        color: var(--el-color-primary);
    }
    .el-icon {
        color: var(--el-color-primary);
    }
}

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

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

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

#main:has(.sidebar:not(.el-menu--collapse)) {
    .page {
        width: calc(100% - 250px);
    }
}

.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_wrapper {
    margin: 0 -10px;
}

.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-80 {
    width: 80%;
}

.w-60 {
    width: 60%;
}

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

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

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

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

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

.w-auto {
    width: auto;
}

.w-inherit {
    width: inherit;
}

.h-100 {
    height: 100%;
}

.h-auto {
    height: auto !important;
}

.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-1r {
    margin: 1rem !important;
}
.m-2r {
    margin: 2rem !important;
}
.m-3r {
    margin: 3rem !important;
}
.m-20r {
    margin: 20rem !important;
}
.mt-0 {
    margin-top: 0 !important;
}
.mt-1r {
    margin-top: 1rem !important;
}
.mt-2r {
    margin-top: 2rem !important;
}
.mt-3r {
    margin-top: 3rem !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.mb-1r {
    margin-bottom: 1rem !important;
}
.mb-2r {
    margin-bottom: 2rem !important;
}
.mb-3r {
    margin-bottom: 3rem !important;
}
.ml-1r {
    margin-left: 1rem !important;
}
.ml-2r {
    margin-left: 2rem !important;
}
.ml-3r {
    margin-left: 3rem !important;
}
.ml-auto {
    margin-left: auto !important;
}
.mr-1r {
    margin-right: 1rem !important;
}
.mr-2r {
    margin-right: 2rem !important;
}
.mr-3r {
    margin-right: 3rem !important;
}
.mr-auto {
    margin-right: auto !important;
}
.mx-1r {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}
.mx-2r {
    margin-left: 2rem !important;
    margin-right: 2rem !important;
}
.mx-3r {
    margin-left: 3rem !important;
    margin-right: 3rem !important;
}
.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}
.my-1r {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}
.my-2r {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}
.my-3r {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}
.my-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
}

/* 詳細画面系 */
.sec_collapse {
    &.border_none {
        border: none;
    }

    .el-collapse-item__header {
        color: var(--el-text-color-primary);
        font-family: inherit;
        font-size: 16px;
        font-weight: bold;
        border: none;
    }
    .el-collapse-item__arrow {
        margin: 0 0 0 1rem;
    }
    .el-collapse-item__wrap {
        border: none;
    }
}

.el-descriptions__body .el-descriptions__table {
    table-layout: fixed;
}

.description_row_wrapper {
    margin: -8px -11px;

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

    .description_col {
        padding: 8px 11px;
        &.col_key {
            border-right: 1px solid var(--el-border-color-lighter);
        }
        /* &.col_value {
            padding: 8px 11px;
        } */
    }
}

.label_content_description {
    font-weight: normal !important;
}

.thumbnail_wrapper {
    width: 320px;
    height: calc(320px * 9 / 16);
    flex-shrink: 0;
    img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.icon_delivery_wrapper {
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;

    .icon_delivery {
        width: auto;
        height: 24px;
        &.icon_resize {
            height: 20px;
        }
    }
}

.el-table {
    thead {
        th.el-table__cell {
            &.header_cell_history {
                background-color: var(--el-fill-color-light);
                color: var(--el-text-color-regular);
            }
        }
    }
}

.img_wrapper {
    position: relative;
    aspect-ratio: 16 / 9;

    .btn_download {
        position: absolute;
        top: 10px;
        right: 10px;
        display: none;
    }

    &:hover {
        .btn_download {
            display: block;
        }
    }
}

/* ダイアログ */
.dialog_custom_header {

    .el-dialog__header {
        margin: -16px -16px 0;
        padding: 16px;
        background-color: var(--el-fill-color-light);
    }
}

.sec_select_delivery {
    max-width: 628px;
}

.icon_select_delivery {
    width: auto;
    height: 30px;
    &.resize {
        margin-top: 4px;
        margin-bottom: 1px;
        height: 25px;
    }
}

/*stepコンポーネント*/
.post-create-wrapper {
    .el-card__body {
        padding: 0 !important;
    }

    .post-create-status-wrapper {
        background-color: #F2F2F2;
        padding: 20px 0;

        .el-step__icon {
            width: 40px;
            height: 40px;
        }

        .el-step.is-horizontal .el-step__line {
            top: 20px;
        }

        .el-step__line {
            background: none !important; /* 背景色をクリア */
            border: none !important; /* 枠線をクリア */

            border-top: 2px dashed #bbbbbb !important; /* 点線を追加 */
        }

        .el-step__line-inner {
            width: 0 !important;
        }

        .el-step__icon {
            border-color: black !important;
            background-color: #F2F2F2;
        }

        .el-step__icon.is-text {
            border: 1px solid;
        }

        .el-step__icon-inner {
            font-size: 1.2rem;
            color: black;
            font-weight: normal;
        }

        .el-step__head.is-finish {
            border-color: #b6b6b6;

            .el-step__icon {
                background-color: #b6b6b6;
                border-color: #b6b6b6 !important;

                .el-step__icon-inner {
                    color: #ffff;
                }
            }
        }

        .el-step__title {
            font-size: 14px;
        }

        .el-step__title.is-finish {
            color: black;
        }

        .el-step__title.is-process {
            font-weight: normal;
        }

        .el-step__title.is-wait {
            color: black;
        }

        .step-first {
            .el-step__icon {
                position: relative;
            }

            .el-step__icon:before {
                content: 'STEP';
                position: absolute;
                left: -90px;
                top: 20px;
                font-size: 1rem;
                color: black;
            }
        }
    }

    .post-create-btn-wrap {
        position: relative;

        .post-create-save {
            position: absolute;
            right: 0;
        }

        .prev {
            margin-right: 100px;
        }

        .prev:before {
            content: '<';
            margin-right: 5px;
            color: #fff;
        }

        .next:after {
            content: '>';
            margin-left: 5px;
            color: #fff;
        }
    }

    .border-item {
        border: solid 1px #e3e3e3;
        padding: 20px;
    }

    .v3-input-emoji-picker .v3-input-picker-root .v3-emoji-picker-input, .v3-input-emoji-picker .v3-input-picker-root .v3-emoji-picker-textarea {
        background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
        border: none;
        border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
        box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
        box-sizing: border-box;
        color: var(--el-input-text-color, var(--el-text-color-regular));
    }
    .v3-emoji-picker {
        margin: 0;
    }
}

/*X関連*/
.x-wrapper {
    /*共通*/
    .x-post-account-info-table {
        border: solid 1px #e5e5e5;

        table {
            border-collapse: collapse;

            th {
                background-color: #e9e9e9;
                font-weight: normal;
                padding: 5px 15px;
                font-size: 0.9rem;
            }

            td {
                padding: 5px 15px;
                font-size: 0.9rem;
            }
        }

        .x-account-image {
            width: 30px;
            height: 30px;

            img {
                width: 100%;
                height: 100%;
            }
        }
    }

    .status-box {
        border: solid 1px;
        padding: 5px;
        border-radius: 5px;
        text-align: center;
        font-size: 0.7rem;
        width: 100px;
    }

    .status-0 {
        border-color: #BF9000;
        color: #BF9000;
    }

    .status-100 {
        border-color: #cccccc;
        color: #cccccc;
    }

    .status-300 {
        border-color: #409EFF;
        color: #409EFF;
    }

    .status-400 {
        border-color: #548235;
        color: #548235;
    }

    .status-700 {
        border-color: #C55A11;
        color: #C55A11;
    }

    .status-900 {
        border-color: #FF0000;
        color: #FF0000;
    }

    /* Xアカウント登録 */
    .x-account-create-wrap {
        h3 {
            margin: 0;
        }

        .x-account-create-approval-table {
            table {
                border-collapse: collapse;
                width: 100%;

                th {
                    background-color: #e9e9e9;
                    font-weight: normal;
                    padding: 5px 15px;
                    font-size: 0.9rem;
                    width: 10%;
                    border: solid 1px #e5e5e5;
                }

                td {
                    padding: 5px 15px;
                    font-size: 0.9rem;
                    border: solid 1px #e5e5e5;
                }

                .approval-flex {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    border-top: none;
                    border-left: none;
                }
            }
        }
    }

    /*Xアカウント登録*/
    .x-account-list {
        .pagination {
            margin-bottom: 10px;
        }

        .x-account-image{
            width: 30px;
            height: 30px;

            img {
                width: 100%;
                height: 100%;
            }
        }
    }

    /*X投稿一覧*/
    .x-post-list-pagination {
        min-height: 40px;

        .x-post-list-create {
            position: absolute;
            right: 0;
        }
    }


    /*X投稿登録*/
    .x-post-create-wrapper {
        .el-form-item__content {
            margin-left: 0 !important;
        }

        .x-post-create-file-wrap {
            .el-upload-dragger {
                padding: 30px 40px;
            }

            .preview-wrap {
                border-bottom: solid 1px #e3e3e3;
                padding-bottom: 15px;
                display: flex;
                &.tiktok-movie-preview-wrap {
                    display: block;
                    border: none;
                }

                .preview-item {
                    margin-left: 10px;
                }

                .preview-item:first-of-type {
                    margin-left: 0;
                }

                .preview-img {
                    width: 200px;
                    &.tiktok-movie {
                        width: 400px;
                    }

                    img {
                        width: 100%;
                    }

                    video {
                        width: 100%;
                    }
                }

                .preview-text-flex {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    p {
                        margin: 0;
                    }

                    .el-icon {
                        cursor: pointer;
                    }
                }
            }

            .file-wrap {
                padding-top: 15px;
            }
        }

        .x-post-create-release-wrap {
            .el-form-item__content {
                display: block;
            }

            p {
                margin: 0;
                font-size: 12px;
                color: #aeaeae;
            }
        }

        .x-post-create-approval-wrap {
            p {
                margin: 0;
            }

            p:last-of-type {
                font-size: 12px;
                color: #aeaeae;
            }

            .el-form-item__content:last-of-type {
                display: block;
            }
        }
    }

    /*X投稿詳細*/
    .x-post-show-wrapper {
        width: 95%;
        margin: auto;
        padding-bottom: 30px;

        .x-post-show-table {
            border: solid 1px #e5e5e5;

            table {
                border-collapse: collapse;

                th {
                    background-color: #e9e9e9;
                    font-weight: normal;
                    padding: 5px 15px;
                    font-size: 0.9rem;
                }

                td {
                    padding: 5px 15px;
                    font-size: 0.9rem;
                }
            }
        }

        .x-post-show-status-table {
            table {
                width: 100%;

                th {
                    width: 10%;
                }
                .btn-wrap {
                    text-align: right;
                }
            }
        }

        .x-post-show-content-table {
            border: none;

            table {
                width: 100%;
            }

            th {
                width: 10%;
                border: solid 1px #e5e5e5;
                text-align: left;
            }

            td {
                border: solid 1px #e5e5e5;
            }
        }

        .preview-wrap {
            border-bottom: solid 1px #e3e3e3;
            padding-bottom: 15px;
            display: flex;

            .preview-item {
                margin-left: 10px;
            }

            .preview-item:first-of-type {
                margin-left: 0;
            }

            .preview-img {
                width: 200px;

                img {
                    width: 100%;
                }

                video {
                    width: 100%;
                }
            }
        }
    }

    /*X投稿編集*/
    .x-post-edit-wrapper {
        width: 95%;
        margin: auto;
        padding-bottom: 30px;

        .x-post-edit-table {
            border: solid 1px #e5e5e5;

            table {
                border-collapse: collapse;

                .x-post-edit-table-th {
                    background-color: #e9e9e9;
                    font-weight: normal;
                    padding: 5px 15px;
                    font-size: 0.9rem;
                }

                td {
                    padding: 10px 15px;
                    font-size: 0.9rem;
                }
            }
        }

        .x-post-edit-content-table-wrap {
            border: none;

            .x-post-edit-content-table {
                width: 100%;

                .x-post-edit-content-table-th {
                    background-color: #e9e9e9;
                    width: 10%;
                    border: solid 1px #e5e5e5;
                    text-align: left;
                    font-weight: normal;
                    padding: 5px 15px;
                    font-size: 0.9rem;
                }

                .x-post-edit-content-table-td {
                    border: solid 1px #e5e5e5;

                    .publish-flex {
                        display: flex;
                        align-items: center;
                    }
                }

            }
        }

        .x-post-edit-file-wrap {
            .el-upload-dragger {
                padding: 30px 40px;
            }

            .preview-wrap {
                border-bottom: solid 1px #e3e3e3;
                padding-bottom: 15px;
                display: flex;

                .preview-item {
                    margin-left: 10px;
                }

                .preview-item:first-of-type {
                    margin-left: 0;
                }

                .preview-img {
                    width: 200px;

                    img {
                        width: 100%;
                    }

                    video {
                        width: 100%;
                    }
                }

                .preview-text-flex {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;

                    p {
                        margin: 0;
                    }

                    .el-icon {
                        cursor: pointer;
                    }
                }
            }

            .file-wrap {
                padding-top: 15px;
            }
        }

        .v3-emoji-picker {
            margin: 0;
        }

        .el-form-item {
            margin-bottom: 0;
        }
        .el-form-item__content {
            margin-left: 0 !important;
        }

        .post-edit-btn-wrap {
            position: relative;

            .post-edit-save {
                position: absolute;
                right: 0;
            }
        }

    }
}

/*グループ登録*/
.approval-groups-create-wrap {
    .approval-input-field {
        margin-top: 10px;
        border-top: solid 1px #e9e9e9;
        padding-top: 15px;

        .el-radio__label {
            display: none;
        }
    }
    .approval-input-field:first-of-type {
        margin-top: 0;
        border-top: none;
        padding-top: 0;
    }

    .approval-add-field {
        text-align: right;
        border-top: solid 1px #e9e9e9;
    }
}

/*承認グループ詳細*/
.approval-groups-show-wrap {
    .approval-user-table {
        font-size: 14px;
        color: #606266;

        table {
            width: 100%;
            border-collapse: collapse;

            td {
                border-top: solid 1px #e1e3e1;
                border-bottom: solid 1px #e1e3e1;
                padding: 10px;
            }
        }
    }
}

/* ---------------------- */
/* ------- TikTok ------- */
/* ---------------------- */
.tiktok-show-table-wrapper {

    .tiktok-show-table {
        .tiktok-table-body {
            th {
                /* display: inline-block; */
                box-sizing: border-box;
                width: 120px;
                text-align: left;
            }
        }
    }
}

/* STEP1：ラジオ選択 */
.custom-radio-group {
    /* margin: 0 auto; */

    .custom-radio {
        display: block;
        height: auto;
        padding: 30px !important;
        &.p-10px {
            padding: 10px !important;
        }

        .el-radio__label {
            display: block;
            padding: 0;
        }

        .el-radio__input {
            display: none;
        }

        .custom-card {
            text-align: center;

            .el-icon {
                display: block;
                margin: 0 auto;
                font-size: 40px;
            }

            .type-name {
                display: block;
                /* text-align: center; */
                font-size: 1rem;
            }
        }
    }
}

/* STEP2：テキスト入力 */
.form-custom {

    .custom-form-row {
        display: flex;
        width: 100%;
        align-items: center;

        .row-title {
            box-sizing: border-box;
            width: 120px;
            margin: 0;
            padding: 5px 10px;
            border: 1px solid #e9e9e9;
            background-color: #e9e9e9;
        }

        .el-input {
            box-sizing: border-box;
            width: 100%;
            padding: 5px;
            border: 1px solid #e9e9e9;
        }
    }
}

/* STEP3 */
.radio_select_file {

    .el-radio__input {
        display: none;
    }
    .el-radio__label {
        padding: 0;
        display: block;
    }

    .el-image {
        box-sizing: border-box;
        border-width: 3px;
        border-style: solid;
        border-color: transparent;
        &.active {
            border-color: var(--el-color-primary);
        }
    }
}

.txt_tiktok {

    &.designated_thumbnail {
        font-weight: bold;
        color: var(--el-color-primary);
    }
}

/* STEP4 */
.tiktok_post_step {
    &.step4 {

        .el-form-item {

            &.label_width_100 {

                .el-form-item__label {
                    width: 100% !important;
                }
            }
        }
    }
}

/* TikTok投稿詳細 */
.txt_user_permission {
    &+.txt_user_permission {
        &.permission_item {
            /* display: inline-block; */
            margin-left: 1rem;
        }
    }
}

@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-1r {
    padding: 1rem !important;
}
.p-2r {
    padding: 2rem !important;
}
.p-3r {
    padding: 3rem !important;
}
.pt-1r {
    padding-top: 1rem !important;
}
.pt-2r {
    padding-top: 2rem !important;
}
.pt-3r {
    padding-top: 3rem !important;
}
.pb-1r {
    padding-bottom: 1rem !important;
}
.pb-2r {
    padding-bottom: 2rem !important;
}
.pb-3r {
    padding-bottom: 3rem !important;
}
.pr-1r {
    padding-right: 1rem !important;
}
.pr-2r {
    padding-right: 2rem !important;
}
.pr-3r {
    padding-right: 3rem !important;
}
.pl-1r {
    padding-left: 1rem !important;
}
.pl-2r {
    padding-left: 2rem !important;
}
.pl-3r {
    padding-left: 3rem !important;
}
.px-1r {
    padding: 0 1rem !important;
}
.px-2r {
    padding: 0 2rem !important;
}
.px-3r {
    padding: 0 3rem !important;
}
.px-auto {
    padding: 0 auto !important;
}
.py-1r {
    padding: 1rem 0 !important;
}
.py-2r {
    padding: 2rem 0 !important;
}
.py-3r {
    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;
}
.font-weight__bold {
    font-weight: bold;
}
/* size */

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

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

.gap-20 {
    gap: 20px;
}

/* 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;
}
.el-link__inner {
    font-weight: 400;
}
/* text */

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

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

.v_align_top {
    vertical-align: top;
}

.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: 100%;
    max-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: 100vh;
    overflow-y: scroll;
    scrollbar-width: none;
}

.sidebar:not(.el-menu--collapse) {
    width: 250px;
    flex-shrink: 0;
}
/* 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: 1rem;
    height: auto;
}
/* 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;
}

.multi-step-form {
    .el-descriptions__label {
        width: 20%;
        max-width: 200px;
        vertical-align: top;
        .cell-item {
            line-height: 32px;
        }
    }
    .el-form-item {
        margin-bottom: 0;
    }
    .el-link {
        text-decoration: underline;
    }
    .movie-upload-area {
        h3 {
            width: 150px;
        }
        .space {
            width: 150px;
        }
    }
    .upload-video {
        width: 30%;
        height: auto;
        position: relative;

        video {
            width: 100%;
        }

        i {
            position: absolute;
            right: 0;
            top: 0;
            background-color: #666666;
            color: #FFFFFF;
            border-radius: 50%;
            z-index: 1;
            cursor: pointer;
        }

        i.detail-icon {
            background-color: transparent;
            right: 5px;
            top: 5px;
        }
    }
    .edit-movie__wrap {
        flex-wrap: wrap;

        .movie-info {
            width: 30%;
            min-width: 250px;
        }

        .upload-video {
            width: 100%;
            min-width: 250px;
        }
        .movie-area {
            min-width: 250px;
            width: 100%;
        }
    }
    .thumbnail-upload-area {
        h3 {
            width: 150px;
            flex-shrink: 0;
        }
        .space {
            width: 150px;
        }
    }
    .thumbnail-list {
        .upload-thumbnail {
            min-width: 250px;
            flex-shrink: 0;
            img {
                height: 200px;
                display: block;
            }
        }

        .add-thumbnail {
            width: 300px;
            height: 200px;
            flex-shrink: 0;
            text-align: center;
            border: 1px dashed var(--el-border-color);
            border-radius: 6px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .add-thumbnail:hover {
            cursor: pointer;
        }
    }
    .movie-file {
        video {
            width: 100%;
            height: 230px;
        }
    }
}
.crop-movie {
    video {
        width: auto;
        height: 230px;
    }
}
