@charset "utf-8";
.jwslearning{
    /* font-familyなどフォント設定は不要なら消してください */
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
    font-size: 16px;
    line-height: 1.7;
    a{
        text-decoration: none;
    }
    img{
        max-width: 100%;
        height: auto;
    }
}
.jws-inner{
    width: 96%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.jws-bn{
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    li{
        transition: .2s;
        &:hover{
            opacity: .8;
        }
        a{
            font-size: 14px;
            line-height: 1;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 5px;
            color: #1e40af;
            padding: 1.2em 30px 1.2em 30px;
            background-color: #dbeafe;
            span{
                display: block;
                position: relative;
                &::before{
                    content: "";
                    display: block;
                    background-position: center center;
                    background-repeat: no-repeat;
                    width: 20px;
                    height: 30px;
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    margin: auto;
                }
            }
        }
        &.jws-dl-link{
            a{
                span{
                    padding-left: 30px;
                    &::before{
                        left: 0;
                        background-image: url(img/jws_icon_dl.png);
                    }
                }
            }
        }
        &.jws-help-link{
            a{
                span{
                    padding-left: 30px;
                    &::before{
                        left: 0;
                        background-image: url(img/jws_icon_help.png);
                    }
                }
            }
        }
        &.jws-lesson-link,
        &.jws-next-nav{
            a{
                color: #fff;
                background-color: #2563eb;
                span{
                    padding-right: 30px;
                    &::before{
                        right: 0;
                        background-image: url(img/jws_icon_lesson.png);
                    }
                }
            }
        }
    }
}
@media (max-width: 767px){
        .jws-bn{
            flex-direction: column;
        }
}

/*jwsトップページ*/
/*jwsトップページ　header*/
.jws-header{
    background-color: #0a2351;
    color: #fff;
    padding: 57px 0 52px;
    h1{
        margin-bottom: 20px;
        img{
            width: 100%;
            max-width: 405px;
            height: auto;
        }
    }
    .jws-header-text{
        margin-bottom: 30px;
    }

}

/*jwsトップページ　コース内容*/
.jws-top-main{
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f3f4f6;
    .jws-inner{
        padding-left: 30px;
        padding-right: 30px;
    }
    h2{
        font-size: 30px;
        margin-bottom: 1em;
    }
}
.jws-top-block{
    border-radius: 16px;
    background-color: #fff;
    margin-bottom: 70px;
    h3{
        color: #fff;
        background-image: linear-gradient( to right, #153377 0%, #004098 100%);
        border-radius: 16px 16px 0 0;
        display: flex;
        flex-wrap: wrap;
        min-height: 70px;
        align-items: center;
        padding-left: 24px;
        padding-right: 24px;
        .jws-title-01{
            font-size: 16px;
            font-weight: normal;
            width: 90px;
        }
        .jws-title-02{
            font-size: 20px;
        }
    }
    .jws-lesson-list{
        li{
            padding: 5px;
            border-bottom: 1px solid rgba(0, 64, 152, 0.11);
            a{
                display: flex;
                justify-content: space-between;
                line-height: 1em;
                height: 100%;
                padding: 25px 35px 25px 25px;
                transition: .2s;
                &:hover{
                    opacity: .8;
                    background: #e5f0ff;
                    border-radius: 16px;
                    .jws-lesson-title {
                        color: #2563eb;
                    }
                }
            }
            .jws-lesson-title{
                color: #0a2351;
                position: relative;
                padding-left: 30px;
                &::before{
                    content: "";
                    display: block;
                    background-image: url(img/jws_icon_arrow.png);
                    background-position: center center;
                    background-repeat: no-repeat;
                    width: 30px;
                    height: 30px;
                    position: absolute;
                    left: 0;
                    top: 0;
                    bottom: 0;
                    margin: auto;
                }
            }
            .jws-lesson-time{
                color: #6b7280;
                font-size: 13px;
                position: relative;
                padding-left: 30px;
                width: 11em;
                &::before{
                    content: "";
                    display: block;
                    background-image: url(img/jws_icon_clock.png);
                    background-position: center center;
                    background-repeat: no-repeat;
                    width: 30px;
                    height: 30px;
                    position: absolute;
                    left: 0;
                    top: 0;
                    bottom: 0;
                    margin: auto;
                }
            }
        }
        li:last-child {
            border-bottom: none;
        }
    }
}
@media (max-width: 767px){
    .jws-top-main{
    .jws-inner{
        padding-left: 0;
        padding-right: 0;
    }
}
    .jws-top-block{
        h3{
            flex-direction: column;
            align-items: flex-start;
            padding-top: 20px;
            padding-bottom: 20px;
        }
        .jws-lesson-list{
            li{
                a{
                    flex-direction: column;
                    gap: 20px;
                }
                .jws-lesson-time{
                    margin-left: auto;
                }
            }
        }
    }
}

/*jws movieページ*/
.jws-movie-main{
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f3f4f6;
}
.jws-flex{
    display: flex;
    justify-content: space-between;
}
.jws-flex-left{
    width: calc(100% - 235px);
    max-width: 725px;
    background-color: #fff;
    border-radius: 16px;
    border-bottom: 1px ;
    h2{
        border-bottom: 1px solid rgba(0, 64, 152, 0.11);
        padding: 35px 30px;
        color: #004098;
        display: flex;
        align-items: center;
        margin-bottom: 45px;
        .jws-movie-title-01{
            font-size: 13px;
            border: 1px solid #004098;
            width: 80px;
            height: 28px;
            border-radius: 14px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 1em;
            background-color: #004098;
            color: #fff;
        }
        .jws-movie-title-02{
            font-size: 20px;
        }
    }
}
.jws-lesson-section{
    h3{
        font-size: 26px;
        margin-bottom: 10px;
    }
    .jws-lesson-section-inner{
        padding: 0 30px 50px;
    }
    .jws-youtube{
        max-width: 100%;
        aspect-ratio: 16 / 9;
        margin-bottom: 50px;
        iframe{
            width: 100%;
            height: 100%;
        } 
    }
    .jws-lesson-comment{
        margin-bottom: 30px;
        h4{
            display: flex;
            justify-content: space-between;
            align-items: center;
            line-height: 1;
            margin-bottom: 17px;
            .jws-lesson-comment-title{
                font-size: 18px;
                color: #004098;
            }
            .jws-lesson-comment-time{
                color: #6b7280;
                font-size: 13px;
                position: relative;
                padding-left: 30px;
                &::before{
                    content: "";
                    display: block;
                    background-image: url(img/jws_icon_clock.png);
                    background-position: center center;
                    background-repeat: no-repeat;
                    width: 30px;
                    height: 30px;
                    position: absolute;
                    left: 0;
                    top: 0;
                    bottom: 0;
                    margin: auto;
                }
            }
        }
        .jws-lesson-comment-border{
            display: block;
            width: 100%;
            height: 1px;
            background-color: rgba(0, 64, 152, 0.11);
            position: relative;
            margin-bottom: 25px;
            &::before{
                content: "";
                width: 40px;
                height: 1px;
                background-color: #2563eb;
                top: 0;
                left: 0;
                display: block;
            }
        }
        
    }
    .jws-pagenav{
        justify-content: flex-start;
        .jws-next-nav{
            button{
                border: 0;
                font-size: 14px;
                line-height: 1;
                width: 100%;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 5px;
                color: #fff;
                background-color: #2563eb;
                padding: 0 50px 0 30px;
                position: relative;
                cursor: pointer;
                &::before{
                    content: "";
                    display: block;
                    background-position: center center;
                    background-repeat: no-repeat;
                    width: 20px;
                    height: 30px;
                    position: absolute;
                    top: 0;
                    bottom: 0;
                    margin: auto;
                    right: 20px;
                    background-image: url(img/jws_icon_lesson.png);
                }
            }
        }
    }
}
@media (max-width: 767px){
    .jws-flex{
        flex-direction: column;
    }
    .jws-flex-left{
        width: 100%;
        margin-bottom: 20px;
        h2{
            flex-direction: column;
            align-items: flex-start;
        }
    }
    .jws-lesson-section{
        .jws-lesson-section-inner{
        padding: 0 10px 50px;
    }
        .jws-lesson-comment{
            h4{
                flex-direction: column;
                align-items: flex-start;
                .jws-lesson-comment-title{
                    margin-bottom: 10px;
                }
                .jws-lesson-comment-time{
                    margin-left: auto;
                }
            }
        }
        .jws-pagenav{
            .jws-next-nav{
                button{
                    padding: 1.2em 30px 1.2em 30px;
                }
            }
        }
        
    }
}
/*サイドバー*/
.jws-flex-right{
    width: 210px;
    .jws-side-nav{
        border-radius: 16px;
        background-color: #fff;
        margin-bottom: 20px;
        h4{
            border-radius: 16px 16px 0 0;
            background-color: #1e40af;
            color: #fff;
            padding: 15px 20px;
            .jws-side-nav-title-01{
                font-size: 12px;
                border: 1px solid#fff;
                width: 72px;
                height: 24px;
                border-radius: 12px;
                display: flex;
                justify-content: center;
                align-items: center;
                font-weight: normal;
            }
            .jws-side-nav-title-02{
                font-size: 15px;
            }
        }
        .jws-side-lesson-list{
            font-size: 14px;
        li{
            padding: 5px;
            a{
                padding: 10px 15px;
                transition: .2s;
                display: flex;
                flex-direction: column;
                &:hover{
                    opacity: .8;
                }
            }
            .jws-lesson-title{
                color: #0a2351;
                position: relative;
                padding-right: 20px;
                &::before{
                    content: "";
                    display: block;
                    background-image: url(img/jws_icon_arrow.png);
                    background-position: center center;
                    background-repeat: no-repeat;
                    width: 20px;
                    height: 20px;
                    position: absolute;
                    right: 0;
                    top: 0;
                    bottom: 0;
                    margin: auto;
                }
            }
            .jws-lesson-time{
                color: #6b7280;
                font-size: 13px;
                position: relative;
                padding-left: 20px;
                &::before{
                    content: "";
                    display: block;
                    background-image: url(img/jws_icon_clock.png);
                    background-position: center center;
                    background-repeat: no-repeat;
                    width: 20px;
                    height: 20px;
                    position: absolute;
                    left: 0;
                    top: 0;
                    bottom: 0;
                    margin: auto;
                }
            }
            &.jws-active,
            &:hover{
                a{
                    background-color: #e5f0ff;
                    border-radius: 16px;
                }
                .jws-lesson-title{
                    color: #2563eb; 
                }
            }
        }
        li:not(:last-child){
            border-bottom: 1px solid rgba(0, 64, 152, 0.11);
        }
    }
    }
    .jws-side-nav-next{
        border-radius: 16px;
        background-color: #fff;
        margin-bottom: 20px;
        h4{
            border-radius: 16px 16px 0 0;
            background-color: #f0f6ff;
                &:hover{
                    background-color: #e5f0ff;
                }
            a{
                color: #2563eb;
                padding: 15px 20px;
                display: block;
                transition: .2s;
                &:hover{
                    color: #1e40af;
                }
            }
            span{
                position: relative;
                padding-right: 20px;
                display: block;
                &::before{
                    content: "";
                    display: block;
                    background-image: url(img/jws_icon_arrow2.png);
                    background-position: center center;
                    background-repeat: no-repeat;
                    width: 20px;
                    height: 20px;
                    position: absolute;
                    right: 0;
                    top: 0;
                    bottom: 0;
                    margin: auto;
                }
            }
        }
        .jws-side-nav-next-title{
            padding: 5px;
            a{
                padding: 10px 15px;
                transition: .2s;
                display: flex;
                flex-direction: column;
                &:hover{
                    opacity: .8;
                    background-color: #e5f0ff;
                    border-radius: 16px;
                }
                .jws-side-nav-next-title-01{
                    /*color: #3453b7;*/
                    font-size: 12px;
                    border: 1px solid#3453b7;
                    width: 72px;
                    height: 24px;
                    border-radius: 12px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-weight: normal;
                    margin-bottom: 5px;
                    background-color: #3453b7;
                    color: #fff;
                }
                .jws-side-nav-next-title-02{
                    color: #0a2351;
                    font-size: 13px;
                }

            }
        }

    }
    .jws-top-link{
        a{
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #fff;
            color: #1e40af;
            border: 1px solid #1e40af;
            border-radius: 27px;
            min-height: 54px;
            transition: .2s;
            span{
                position: relative;
                padding-left: 20px;
                display: block;
                &::before{
                    content: "";
                    display: block;
                    background-image: url(img/jws_icon_arrow3.png);
                    background-position: center center;
                    background-repeat: no-repeat;
                    width: 20px;
                    height: 20px;
                    position: absolute;
                    left: 0;
                    top: 0;
                    bottom: 0;
                    margin: auto;
                }
            }
            &:hover{
                background-color: #e5f0ff;
            }
        }
    }
}
@media (max-width: 767px){
    .jws-flex-right{
        width: 100%;
        .jws-side-nav{
            .jws-side-lesson-list{
                li {
                    padding: 10px;
                }
            }
        }
    }
}

