@charset "utf-8";

/* hero */

.hero{
    position: relative;
    width: 100%;
    height: 100vh;
    margin-bottom: 60px;
}

video{
    width: 100%;
    height: 100vh;
    object-fit: cover;
    vertical-align: bottom;
}

.hero .hero_logo{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.hero .hours{
    display: flex;
    align-items: center;
    width: 90%;
    height: 15vh;
    position: absolute;
    left: 50%;
    bottom: 18vh;
    transform: translate(-50%,0);
    background: #254a7ed8;
    text-align: center;
    color: #fff;
    .hours_contents {
        margin: 0 auto;
    }
    p:nth-child(2){
        font-size: 1.5em;
    }
}

.hero .hero_menu ul {
    display: flex;
    position: absolute;
    bottom: 0;
    a{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 15vh;
        background-color: #9EE1F1;
        font-size: 0.8em;
        border: #fff solid 0.5px;
    }
    img{
        width: 35%;
    }
}

@media screen and (min-width:767px){
    .hero{
        margin-bottom: 80px;
    }
    .hero .hero_logo{
        width: 20%;
    }
    .hero .hero_menu{
        height: 20vh;
    }
}

@media screen and (min-width:960px){
    video{
        height: 80vh;
    }
    .hero .hero_logo{
        width: 10%;
    }
    .hero_flex{
        display: flex;
    }
    .hero .hours{
        height: 20vh;
        position: static;
        transform: translate(0,0);
        padding: 3%;
        background: #254A7E;
        width: 60%;
    }
    .hero .hero_menu ul{
        position: static;
        a{
            height: 20vh;
            padding: 20px 0;
        }
    }
    .hero .hero_menu ul a:hover{
        background: #0072B8;
        font-size: 1em;
        img{
            width: 40%;
        }
    }

}

/* pick up */

.pickup h2{
    text-align: center;
    margin-bottom: 30px;
    color: #254A7E;
    font-size: 1em;
}

.slider {
    position: relative;
    margin-bottom: 30px;
}

.slide-arrow {
    cursor: pointer;
    margin: auto;
    position: absolute;
    top: 50%;
    transform: translate(0,-50%);
    width: 40px;
    z-index: 9;
}

.prev-arrow {
    left: 2px;
}

.next-arrow {
    right: 2px;
}

.slider img{
    margin: 0 5px;
}

@media screen and (min-width:767px){
    .pickup h2{
        margin-bottom: 50px;
    }
    .slider {
        width: 70%;
        margin: 0 auto 30px;
    }
    .prev-arrow {
        left: -55px;
    }
    
    .next-arrow {
        right: -55px;
    }
}
@media screen and (min-width:960px){
    .slider {
        max-width: 1000px;
    }
}



/* news */

.news{
    background: url(../img/top_img/umi.jpg);
    background-repeat: round;
    background-size: cover;
    padding-top: 60px;
    margin-bottom: 60px;
}

.news h2{
    text-align: center;
    margin-bottom: 10px;
    color: #fff;
}

.news .news_box{
    width: 90%;
    margin: 0 auto;
}

.news p{
    color: #fff;
}

.news_container{
    border-bottom: #fff solid 1px;
    padding: 20px 0;
}

.news .news_content{
    display: flex;
    gap: 5%;
    img{
        width: 40%;
        object-fit:contain;
        object-position: top;
    }
}

.news .wave{
    width: 100%;
    height: 100px;
    background-image: url(../img/top_img/nami.png);
    background-size: 100%;
    background-position: bottom;
    background-repeat: no-repeat;
}

@media screen and (min-width:767px){
    .news{
        padding-top: 80px;
    }
    .news h2{
        margin-bottom: 30px;
    }
    .news_box{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .news_container{
        width: 48%;
    }
    .news .wave{
        height: 200px;
    }
}
@media screen and (min-width:960px){
    .news .news_box{
        max-width: 1000px;
    }
}


/* about */

.about{
    width: 90%;
    margin: 0 auto 60px;
}

.about h2,.access h2{
    color: #254A7E;
    text-align: center;
    margin-bottom: 30px;
}

.about p{
    padding-top: 5%;
    margin-bottom: 30px;
}

@media screen and (min-width:767px){
    .about h2,.access h2{
        margin-bottom: 50px;
    }
    .about_flex{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 50px;
    }
    .about img{
        width: 48%;
        object-fit: contain;
    }
    .about p{
        width: 48%;
        padding: 0;
        margin: 0;
    }
}
@media screen and (min-width:960px){
    .about{
        max-width: 1000px;
    }
}

/* access */

.access{
    padding: 60px 0;
    background: #DCEFF5;
    position: relative;
}


.access_flex{
    width: 90%;
    margin: 0 auto;
}

.access .access_content{
    padding: 5%;
    p{
        margin-bottom: 5%;
    }
}

.access .access_content ul{
    margin-bottom: 30px;
}

@media screen and (min-width:767px){
    .access{
        padding-bottom: 100px;
    }
    .access_flex{
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        margin-bottom: 50px;
    }
    .access_content{
        width: 48%;
        ul{
            margin: 0;
        }
    }
    .map{
        width: 50%;
    }
}
@media screen and (min-width:960px){
    .access_flex{
        max-width: 1000px;
    }
}