﻿
/* banner */
.index-banner-box,
.index-video-box,
.index-video{
    width: 100%;
    max-height: 100vh;
    position: relative;
    font-size: 0;
    overflow: hidden;
}
.index-banner-video-box{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}
.index-banner-video{
    /* position: absolute; */
    top: 0;
    left: 0;
    height: auto;
    width: 100%;
    z-index: 1;

}
.index-video{
    pointer-events: none;
}
.rwd-index-banner-video-bg{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: covcer;
    background-position: center;
    position: relative;
}
.rwd-index-banner-video-bg span{
    width: 100%;
    height: 100%;
    display: block;
    background-color: #000;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    mix-blend-mode: soft-light;
}
.rwd-index-banner-video-bg::after{
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background-color: #fff;
    opacity: 0.1;
    position: absolute;
    top: 0;
    left: 0;

}
.index-banner-slogan-box{
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    position: absolute;
    right: 0;
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
    z-index: 2;
}
.index-banner-slogan{
    font-family: "Arial";
    display: block;
}
.banner-slogan-s1{
    width: 100%;
    font-size: 40px;
    line-height: 1;
    letter-spacing: 1px;
    font-weight: 700;
    color: #fff;
}
.banner-slogan-s2{
    font-size: 40px;
    line-height: 1.4;
    font-weight: 700;
    color: #fff;
    margin-top: 10px;
}
.banner-slogan-s3{
    width: 400px;
    height: 65px;
    display: inline-block;
    text-align: left;
    position: relative;
}
.banner-slogan-s3::before{
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(255, 255, 255, 0.2);
    mix-blend-mode: soft-light;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.banner-slogan-s3:after{
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(255, 208, 0, 0.8);
    mix-blend-mode: hard-light;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.banner-slogan-s3 span{
    font-size: 48px;
    line-height: 42px;
    letter-spacing: 1px;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    z-index: 2;
    left: -2px;
}
.index-banner-arrow-box{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: rgba(0,0,0,0.1);
    cursor: pointer;
    display: block;
}
.index-banner-arrow-box span{
    position: relative;
    display: inline-block;
    height: 63px;
    opacity: 0.5;
}
.index-banner-arrow-box span::before{
    content: '';
    width: 23px;
    height: 6px;
    display: block;
    background-color: #000;
    border-radius: 3px;
    position: absolute;
    left: -19px;
    top: 30px;
    transform: rotateZ(40deg);
}
.index-banner-arrow-box span::after{
    content: '';
    width: 23px;
    height: 6px;
    display: block;
    background-color: #000;
    border-radius: 3px;
    position: absolute;
    right: -19px; 
    top: 30px;
    transform: rotateZ(-40deg);
}

.index-video-open{
    display: none;
}
.not-banner{
    display: none;
}

#product-service main,
#transportation-service main,
#digital-service main,
#product-teams main,
#transportation-teams main,
#digital-teams main,
#about main{
    overflow: initial;
}
#product-teams .product-teams-banner-box,
#product-service .index-banner-box, 
#product-service .index-video-box, 
#product-service .index-video,
#transportation-service .index-banner-box, 
#transportation-service .index-video-box, 
#transportation-service .index-video,
#digital-service .index-banner-box, 
#digital-service .index-video-box, 
#digital-service .index-video,
#transportation-teams .index-banner-box, 
#transportation-teams .index-video-box, 
#transportation-teams .index-video,
#digital-teams .index-banner-box, 
#digital-teams .index-video-box, 
#digital-teams .index-video,
#about .index-banner-box, 
#about .index-video-box, 
#about .index-video{
    position: sticky;
    top: 0;
}
.main-section-box{
    background-color: #fff;
    position: relative;
    z-index: 1;
}


@media only screen and (max-width: 1200px){
    .banner-slogan-s1{
        font-size: 40px;
    }
    .banner-slogan-s2{
        font-size: 40px;
    }
}
@media only screen and (max-width: 1000px){
    .index-banner-box{
        height: inherit;
    }
    .index-banner-video{
        position: relative;
    }
    .banner-slogan-s1{
        font-size: 30px;
    }
    .banner-slogan-s2{
        font-size: 30px;
    }
}
@media only screen and (max-width: 768px){
    .banner-slogan-s1{
        font-size: 24px;
    }
    .banner-slogan-s2{
        font-size: 24px;
    }
}
@media only screen and (max-width: 550px){
    .banner-slogan-s1{
        font-size: 18px;
        line-height: 1.2;
    }
    .banner-slogan-s2{
        font-size: 18px;
        line-height: 1.2;
        margin-top: 5px;
    }
}
@media only screen and (max-width: 400px){
    .banner-slogan-s1{
        font-size: 16px;
    }
    .banner-slogan-s2{
        font-size: 16px;
    }
    .index-banner-slogan-box{
        bottom: calc(50% - 25px);
    }
}











@media only screen and (min-width: 1000px){
    .index-banner-slogan{
        opacity: 0;
    }
    .banner-slogan-s1{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .banner-slogan-s2{
        animation: fadeInRight 1s ease 0.1s 1 both;
    }
    .banner-slogan-s3{
        animation: fadeInRight 1s ease 0.4s 1 both;
    }
}