@charset "utf-8";

main {
    background: #f9f9f3;
}

.onlinemovie #lower_container {
    max-width: 1120px;
    margin: 30px auto 0 auto;
}

.onlinemovie {
    position: relative;
    z-index: 0;
}

.onlinemovie::before {
    z-index: -1;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/koukousei/site_wp/wp-content/themes/site/images/onlinemovie/left_2.png) left 0/350px auto repeat-y;
}

.onlinemovie::after {
    z-index: -1;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url(/koukousei/site_wp/wp-content/themes/site/images/onlinemovie/right_2.png) right 0/659px auto repeat-y;
}

.leadTxt {
    position: relative;
    z-index: 1;
}

.onlinemovie h1 {
    padding-top: 40px;
    margin-bottom: 30px;
    text-align: center;
    font: 600 5rem/1.4 var(--fontFamily-yumin);
    color: #734105;
}

.onlinemovie h1 span {
    display: block;
    text-align: center;
    font: 600 4.4rem/1.4 var(--fontFamily-yumin);
}
.leadTxt {
    margin-bottom: 40px;
}
.leadTxt p {
    text-align: center;
    font-size: 1.9rem;
    font-weight: bold;
}

.MovieContentsArea {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px auto 0;
    width: 100%;
}

.MovieContents {
    width: calc((100% - 25px) / 2);
    margin-bottom: 25px;
    background: #fff;
    padding: 20px;
    border: 4px solid #dcdcdc;
    border-radius: 20px;
}

.MovieContentsNone {
    width: calc((100% - 25px) / 2);
    margin-bottom: 25px;
    background: #fff;
    padding: 20px;
    border: 4px solid #dcdcdc;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

/*.MovieContentsNone {
    width: 100%;
    margin-bottom: 35px;
    background: #fff;
    padding: 20px 20px;
    border: 4px solid #dcdcdc;
    border-radius: 20px;
    text-align: center;
}*/

.MovieContents h2 {
    color: #ce0303;
    font: 700 clamp(2rem, var(--sp-13px), 3.4rem)/1.4 var(--fontFamily-serif);
    text-align: center;
    margin-bottom: 15px;
}

.MovieContents .Taglist {
    display: flex;
    justify-content: center;
    font-size: 2.2rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.MovieContents .Taglist p {
    justify-content: center;
    font-size: 2.2rem;
    font-weight: bold;
}

.MovieContents .Taglist p.listCat,
.MovieContents .Taglist p.listSub {
    padding: 2px 20px;
    margin: 0 5px;
}

.MovieContents .Taglist p.listCat {
    background: #99d0f0;
}

.MovieContents .Taglist p.listSub {
    background: #ffdb4c;
}

.MovieContents p.Teacher {
    position: relative;
}

.MovieContents .NameCont {
    display: flex;
    justify-content: center;
}

.MovieContents .NameCont div {
    margin: 10px 20px 20px;
    font-weight: bold;
    font-size: 1.7rem;
}

.MovieContents .Teacher:before,
.MovieContents .Student:before {
    padding: 8px 20px;
    margin-right: 10px;
    background: #fededa;
    border-radius: 15px;
}

.MovieContents .Teacher:before {
    content: "教師";
}

.MovieContents .Student:before {
    content: "生徒";
}

.MovieContents .onlineMovie_box a {
    border-radius: 10px;
    border: 5px solid #fd4e63;
}

.comingImage {
    width: 100%;
    height: auto;
}

.passComment {
    width: 100%;
    margin: 5px auto 30px;
    font-size: clamp(1rem, var(--sp-12px), 1.4rem);
    line-height: 1.3;
    text-align: right;
}
.onlineMovie_box {
    text-align: center;
}

.onlineMovie_box a {
    position: relative;
    display: inline-block;
    border: 1px solid #000;
    font-size: 0;
    line-height: 0;
}

.MovieContents .onlineMovie_box a {
    border-radius: 10px;
    border: 5px solid #fd4e63;
}

.onlineMovie_box img {
    width: 100%;
    height: auto;
}

.onlineMovie_box a::before {
    content: "";
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 22%;
    height: 28%;
    background: url(/koukousei/site_wp/wp-content/themes/site/images/pass/pass_movIcon.svg) 0 0/contain no-repeat;
}

@media screen and (min-width: 481px) {
    .onlineMovie_box {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .onlineMovie_box a::before {
        width: 12%;
        height: 14%;
    }
}

@media screen and (min-width: 769px) {
    .onlineMovie_box img {
        width: 750px;
        border-radius: 5px;
    }
}
@media screen and (max-width: 834px) {
    .onlinemovie::before {
        background: url(/koukousei/site_wp/wp-content/themes/site/images/onlinemovie/left.png) left 0/18vw auto no-repeat;
    }

    .onlinemovie::after {
        background: url(/koukousei/site_wp/wp-content/themes/site/images/onlinemovie/right.png) right 0/24vw auto no-repeat;
    }

    .onlinemovie h1 {
        font-size: clamp(1.5rem, 6.2vw, 4rem);
    }

    .onlinemovie h1 span {
        font-size: clamp(1.5rem, 5.2vw, 3.8rem);
    }

    .leadTxt p {
        font-size: clamp(1.5rem, 2.9vw, 1.8rem);
    }

    #lower_container .Taglist {
        margin-bottom: 10px;
    }

    #lower_container .Taglist p {
        margin-bottom: 0;
        font-size: clamp(1.4rem, 2.9vw, 2rem);
    }

    .MovieContents .NameCont {
        display: block;
        width: fit-content;
        margin: 10px auto;
        font-size: clamp(1.6rem, 2.9vw, 2rem);
    }

    .MovieContents .NameCont div {
        margin: 0 10px 10px;
    }

    .MovieContents .onlineMovie_box {
        padding: 0;
    }
}

@media screen and (max-width: 768px) {

    .onlinemovie h1 {
        padding-top: 30px;
        font-size: clamp(1.5rem, 6.2vw, 3.6rem);
    }

    .onlinemovie h1 span {
        font-size: clamp(1.5rem, 5.2vw, 3rem);
    }

    .leadTxt p {
        font-size: clamp(1.7rem, 2.2vw, 1.8rem);
    }
    .MovieContentsArea {
        margin-top: 20px;
    }

    .MovieContents,
    .MovieContentsNone {
        width: 100%;
        margin-bottom: 35px;
        background: #fff;
        padding: 4.831vw;
        border: 4px solid #dcdcdc;
        border-radius: 20px;
    }

    .MovieContents h2 {
        color: #ce0303;
        font: 700 clamp(2rem, var(--sp-21px), 3.2rem)/1.4 var(--fontFamily-serif);
        text-align: center;
        margin-bottom: 10px;
    }

    .MovieContents .NameCont {
        display: flex;
        margin: 10px auto;
    }

    .MovieContents .NameCont div {
        margin: 5px;
        font-size: 1.5rem;
    }

    .MovieContents .Teacher:before,
    .MovieContents .Student:before {
        padding: 5px 20px;
        margin-right: 5px;
        background: #fededa;
    }

    .passComment {
        text-align: left;
    }
}

@media screen and (max-width: 600px) {
    .firstView {

    position: relative;
    display: grid;
    grid-template-columns: min(100%, 1120px);
    place-content: start center;
    z-index: 0;
    padding: clamp(15px, var(--sp-15px), 30px) var(--paddingInline) 0;
    min-height: 150px;
    --paddingInline: 14px;
    overflow: hidden;
        background: url(/koukousei/site_wp/wp-content/themes/site/images/onlinemovie/right_sp_1.png) right 0 bottom 0/30vw no-repeat;
    }
    .onlinemovie {
        overflow: hidden;
    }
    .onlinemovie h1,
    .onlinemovie h1 span,
    .leadTxt p {
        text-align: left;
    }

    .onlinemovie h1 {
        padding-top: 0;
        font-feature-settings: "palt";
        font-size: clamp(1.5rem, 7.4vw, 3.6rem);
    }

    .onlinemovie h1 span {
        font-size: clamp(1.5rem, 5.8vw, 2.6rem);
    }

    .onlinemovie::before,
    .onlinemovie::after {
        content: none;
    }

    .leadTxt::after {
        position: absolute;
        content: "";
        background: url(/koukousei/site_wp/wp-content/themes/site/images/onlinemovie/right_sp_2.png) right 0 bottom 0 /30vw no-repeat;
        width: 200px;
        height: 200px;
        right: -80px;
        bottom: -100px;
    }

    .leadTxt p {
        font-size: clamp(1.7rem, 2.9vw, 1.8rem);
        text-align: left;
        font-weight: normal;
    }

    .MovieContents {
        margin-bottom: 20px;
    }

}

@media screen and (max-width: 480px) {
    .leadTxt::after {
        right: -25px;
        bottom: -20px;
    }
}

@media screen and (max-width: 375px) {
    .MovieContents .NameCont {
        display: block;
        width: fit-content;
        margin: 10px auto;
    }
}

@media screen and (max-width: 320px) {
    .leadTxt::after {
        bottom: -50px;
    }
    .MovieContents .Taglist p.listCat, .MovieContents .Taglist p.listSub {
        padding: 2px 13px;
    }
}
.lower_wrap_subcont {
    margin: 0 auto;
    max-width: 800px;
    width: 100%;
}
@media screen and (max-width: 834px) {
    .lowerWrap {
        padding: 0 19px;
    }
    .lower_wrap_subcont {
        width: calc(100% - 20px);
    }
}
