/**************************************************

BASE

****************************************************/


/* hero-movie */

.hero-movie{
    overflow: hidden;
    margin:0 0 30px;
    position: relative;
}

.hero-movie::before{
    content:'';
    display: block;
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background: url(../../../../../wp-content/uploads/2021/06/visual_home_bg.png) no-repeat 50% 50% / cover;
}

.hero-movie video{
    display: block;
    width:100%;
    height:auto;
}

.hero-movie .movie-txt{
    position: absolute;
    top:50%;
    left:0;
    right:0; 
    transform: translateY(-50%);
    color: #fff;
    font-weight: 900;
    font-size:4rem;
    text-align: center;
}

.hero-movie .movie-txt span{
    display: block;
    margin-top:20px;
}

.hero-movie .movie-txt p{
    font-weight: bold;
    margin-top:35px;
}

#main .container{
    max-width:1530px;
}


/*************************************************

CONTENTS

****************************************************/

#main .card a{
    text-decoration: none;
    display: block;
    position: relative;
}

#main .card a:hover{
    opacity: 1;
}

#main .card a:hover .card__img img{
    transform:scale(1.1,1.1); 
}

#main .card a .card__img img{
    transition: all 0.3s;
}

#main .card a .card__img{
    overflow: hidden;
}

#main .card a .card__txt{
    position: absolute;
    top:20px;
    left:28px;
}

#main .card a .card__txt strong{
    color:#004072;
    font-size:2.8rem;
    display: block;
    margin:0 0 5px;
}

#main .card a .card__txt span{
    font-size:1.5rem;
}

#main .flex{
    flex-wrap: wrap;
}

#main .card{
    flex-basis: 32%;
    margin-bottom:30px;
}

#main .card2{
    flex-basis: 66%;
}

#main .unit5.card2 a .card__txt {
    text-align: center;
    max-width: 393px;
    top:50%;
    left:100px;
    transform: translateY(-50%);
    color:#fff;
}

#main .unit5.card2 a .card__txt strong{
    font-size:5rem;
    font-weight: 900;
    color:#fff;
}

#main .unit5.card2 a .card__txt span{
    margin-bottom: 40px;
    display: block;
}

/* aside-1 */

#main .aside-1{
    background:#F1F1F1;
    padding: 20px 0;
}

#main .aside-1 .container{
    max-width:1230px;
}

#main .aside-1 h2{
    font-size:2.8rem;
    color:#004072;
    flex-basis: 10%;
    border-right: solid #fff 7px;
}

#main .aside-1 ul{
    flex-basis: 66%;
}

#main .aside-1 .more-link{
    flex-basis:7%;
}

#main .aside-1 .more-link a{
    font-weight: bold;
    font-size:1.6rem;
    text-decoration: none;
    color:#004072;
}

#main .aside-1 li{
    font-size: 1.6rem;
}

#main .aside-1 li time{
    font-weight: bold;
    color:#004072;
    margin-right: 25px;
}

#main .aside-1 li a{
    text-decoration: none;
}

#main .aside-1 .more-link a img{
    max-width: 8px;
    margin-left: 20px;
}

/* Responsive
*********************************************************/

@media screen and (max-width:1200px) {
    #main .card a:hover .card__img img{
        transform:scale(1,1); 
    }
}


/* Tablet side Only */
@media screen and (min-width:829px) and (max-width:1200px) {

    #main .unit5.card2 a .card__txt {
        text-align: center;
        max-width: 300px;
        top: 50%;
        left: 50px;
        transform: translateY(-50%);
        color: #fff;
    }

    #main .unit5.card2 a .card__txt strong{
        font-size:4rem;
    }

    .hero-movie .movie-txt{
        font-size:3rem;
    }
}

/* Smartphone side + Tablet Vertical */
@media screen and (max-width:828px) {

    #main .card {
        flex-basis: 48%;
    }
    
    #main .card2 {
        flex-basis: 100%;
    }

    #main .unit5.card2 a .card__txt strong {
        font-size: 4rem;
    }

    #main .unit5.card2 .card__txt .image{
        max-width:300px;
        width:100%;
    }

    #main .unit5.card2 a .card__txt{
        left:50px;
    }

    #main .aside-1 h2{
        flex-basis: 14%;
    }

    #main .aside-1 .more-link {
        flex-basis: 11%;
    }

    .hero-movie .movie-txt {
        font-size: 20px;
    }

    .hero-movie .movie-txt p {
        font-size:16px;
    }
    
}

.spOn{
    display: none!important;
}

/* Smartphone Vertical */
@media screen and (max-width:415px) {
    .spOn{
        display: block!important;
    }
    .spOff{
        display: none!important;
    }
    .hero-movie video {
        display: block;
        width: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        height: 100%;
        z-index: -1;
    }

    .hero-movie {
        overflow: hidden;
        margin: 0 0 30px;
        position: relative;
        height: 500px;
    }

    #main .flex {
        flex-wrap: wrap;
        flex-direction: column;
    }

    #main .unit5.card2 a .card__txt {
        text-align: center;
        max-width: 393px;
        top: 30px;
        left: 0;
        transform: translateY(0);
        color: #fff;
        right: 0;
    }

    #main .unit5.card2 a .card__txt span {
        margin-bottom: 20px;
        display: block;
    }

    #main .aside-1 h2 {
        font-size: 2.2rem;
        flex-basis: 100%;
        margin-bottom: 20px;
        border: none;
        border-bottom: 5px solid #fff;
        padding-bottom: 10px;
    }

    #main .aside-1 .flex{
        display: block;
    }

    #main .aside-1 ul{
        margin-bottom:20px;
    }

    #main .aside-1 .more-link{
        float:right;
    }

    .hero-movie .movie-txt p {
        font-weight: bold;
        margin-top: 25px;
        padding: 0 15px;
        font-size: 1.3rem;
    }

    .hero-movie .movie-txt p br{
        display: none;
    }

    .hero-movie .movie-txt span {
        display: block;
        margin-top: 10px;
    }
}
