/*========================================
        JSL ORIGINAL STYLES
==========================================*/

.jsl_nav {
    position: fixed;
    top: 2rem; /*基準を画面の左上に*/
    left: 2rem;
}

.jsl_nav_div {
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: rgba(255, 255, 255, .87) !important;
}

.jsl_content {
    min-height: 100vh;
}

.slider div:not(:first-child) {
    display: none;
}

.bx-viewport .slider div {
    display: block !important;
}

/* PC */
@media only screen and (min-width: 1024px) {
    .main.menu {
        display: none;
    }

    .mobile_menu {
        display: none !important;
    }

    .jsl_logo_mobile {
        display: none !important;
    }

    .jsl_video {
        position: fixed;
        top: 0; /*基準を画面の左上に*/
        left: -120px;
        height: 100%;
        z-index: -1;
    }

    .jsl_content {
        padding: 0 1rem 0 0 !important;
    }

    .article-img-div {
        overflow: hidden;
        width: 100%;
        height: 27vh;
    }

    .article_list-img-div {
        overflow: hidden;
        width: 100%;
        height: 22vh;
    }

    .article-img {
        position: absolute;
        left: -100%;
        right: -100%;
        top: -100%;
        bottom: -100%;
        margin: auto;
        width: 100%;
        height: auto;
    }

    .article-title {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .article-description {
        height: 40px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

/* mobile or tablet */
@media only screen and (max-width: 1023px) {
    .ui.menu, .segment {
        border-radius: 0 !important;
    }

    .ui.segments {
        border: 0 !important;
    }

    .overlay {
        z-index: 102 !important;
    }

    .jsl_video {
        width: 100%;
    }

    .jsl_logo_mobile {
        position: absolute !important;
        top: 60px; /*基準を画面の左上に*/
        left: 20px;
        z-index: 3;
        width: 15% !important;
    }

    .jsl_content {
        padding: 0 !important;
    }
}

/* mobile */
@media only screen and (max-width: 767px) {
    .mobile_menu {
        margin-top: 0 !important;
    }
}

/* tablet */
@media only screen and (max-width: 1023px) and (min-width: 768px) {
    .mobile_menu {
        margin: 0 !important;
    }

    .ui.segment {
        padding: 2em 2em !important;
    }
}