/*
Theme Name: Vis Entrance
Author: m.iwakiri
--------------------------------------------------------------*/
body {
	font-family: 'Noto Sans JP', sans-serif;
	color: #aaa;
	background-color: #f5f5f5;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
img{
    max-width: 100%;
    height: auto;
}

#bg_sp{
    display: none;
}
#bg{
    display: block;
    position: absolute;
    height: 100vh;
    width: 100vw;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
#bg img{
    height: 100vh;
}

@media screen and (max-width: 767px) and (orientation: portrait){
    #bg{
        display: none;
    }

    #bg_sp{
        display: block;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        position:absolute;
        top:0;
        left:0;
        margin:0 auto;
        text-align:center;
    }
    #bg_sp img{
        object-fit:cover;
        width:100%;
        height:100vh;
        margin: 0 auto;
        text-align:center;
    }
    #bg_sp img.coverPosition{
        object-position:100% 50%;
    }
}

main{
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.7);
    top: 0;
    left: 0;
}


main > div{
    width: 60%;
    margin: 0 auto;
    padding: 20px 0 50px;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}
main ul{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
main ul li{
    width: 30%;
    padding: 0 5%;
}
main ul li:not(:last-of-type){
    border-right: 1px solid #ffffff;
}
main ul li a.button{
    display: none;
}
main p.recruit{
    text-align: center;
    margin: 2.0em 0;
}
main p.recruit a{
    display: inline-block;
    padding: 0.5em 0;
    line-height: 1.0;
    color: #000000;
    text-decoration: none;
    background-color: rgba(255,255,255,0.8);
    border-radius: 0.5em;
    width: 18.0em;
}
main p.recruit a small{
    display: block;
    font-size: 100%;
}
main p.recruit a span{
    font-size: 144%;
}
@media screen and (max-width: 767px) and (orientation: portrait){
    main{
        overflow-y: scroll;
    }
    main > div{
        width: 80%;
        top: 0;
        transform: none;
    }
    main ul{
        display: block;
    }
    main ul li{
        margin: 2.0rem 0;
        padding: 2.0rem 0;
        width: 100%;
    }
    main ul li:not(:last-of-type){
        border-right: none;
        border-bottom: 1px solid #ffffff;
    }
    main ul li a img{
        width: 80%;
        display: block;
        margin: 0 auto;
    }
    main ul li a.button{
        display: block;
        text-align: center;
        width: 60%;
        margin: 0 auto;
        padding: 0.5em 0;
        line-height: 1.0;
        color: #ffffff;
        text-decoration: none;
        background-color: rgba(0,0,0,0.6);
        border-radius: 0.5em;
    }
}