@charset "UTF-8";


/* メイン部////////////////////////// */
#container{
    position: relative;
}
main{
    position: relative;
    background-color: #333;
}

/* フェードスライド */
#desktopSlide{
    width: 100%;
    height: auto;
}
#desktopSlide ul{
    position: relative;
}
#desktopSlide ul li{
    position: absolute;
}
#desktopSlide img{
    width: 100%;
    display: block;
}

/* メッセージスライド */
#message{
    position: absolute;
    width: 600px;
    height: 400px;
    overflow: hidden;
    top: 10%;
    right: 10%;
    color: #fff;
}
#message ul{
    position: absolute;
    display: flex;
    width: 2400px; /* スライド４枚分 */
}
#message ul li{
    width: 600px;
    padding-top:15px;
}
#message h2{
    font-size: 3.5rem;
    text-align: right;
    margin-bottom: 30px;
}
#message p{
    width: 60%;
    text-align: left;
    margin: 0 30px 0 auto;
}
/* ガイドブロック ///////////////////*/
#blockArea{
    position: absolute;
    display: flex;
    padding: 0 15px;
    justify-content: space-between;
    width: 100%;
    bottom: 18%;
    left: 0;
    overflow: hidden;
}
#blockArea div{
    width: 15vw;
    height: 15vw;
}
#blockArea div:nth-child(2n){
    margin-top: 2rem;
}

/* ムービングブロック ///////////////*/
#moveBlock div{
    position: absolute;
    width: 15vw;
    height: 15vw;
    text-align: center;
    color: RGBa(255, 255, 255, 0.7);
    font-size: 1.5rem;
    font-weight: bold;
    padding-top: 6vw;
    overflow: hidden;
}
.mb1{
    top: 480px;
    left: 100%;
    background-color: RGBa(150, 160, 150, 0.4);
}
.mb2{
    top: -1000px;
    left: 700px;
    background-color: RGBa(150, 140, 150, 0.3);
}
.mb3{
    top: 800px;
    left: -100%;
    background-color: RGBa(150, 160, 150, 0.2);
}
.mb4{
    bottom: 0;
    left: -20%;
    background-color: RGBa(150, 140, 150, 0.4);
}
.mb5{
    bottom: 100vw;
    left: 1021px;
    background-color: RGBa(150, 150, 150, 0.3);
}
.mb6{
    top: 480px;
    right: 100%;
    background-color: RGBa(150, 150, 150, 0.2);
}

/* 対象エリア ///////////////////////*/
#map{
    display: none;
}
/* マップボタン */
#mapBtn{
    position: absolute;
    background-color: RGBa(255, 255, 255, 0.3);
    width: 300px;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    margin: auto;
    padding: 0.7rem 0 0.3rem;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
}
#mapBtn p{
    font-weight: bold;
    color: #fff;
}
#mapBtn img{
    width: 1.5rem;
}
/*    マップ記事   */
#map{
    background: #f2f2f2;
}
article#contents{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 2rem;

}
#contents p {
    padding: 1rem 0;
}
#contents .gmap{
    display: block;
    background-color: #eee;
    border: 2px solid #ccc;
    border-radius: 3px;
}
#contents .left{
    width: 50%;
    margin-right: 2rem;
}
#contents .right{
    width: 45%;
    padding: 2rem;
    background-color: #eee;
}
#contents .right small,.right span{
    color: #f00;
}
/* google map */
.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
}
    .gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
/* 閉じるボタン */
#return{
    padding: 3rem 0 0;
}
#return a{
    display: block;
    width: 180px;
    text-align: center;
    position: relative;
    padding: 1.5rem 2rem 1rem;
    background-color: RGBa(0, 0, 0, 0.3);
    font-weight: bold;
    border-radius: 3px;
    color: #fff;
    margin: 0 auto;
}
#return img{
    position: absolute;
    top: 7px;
    left: 0;
    right: 0;
    margin: auto;
    width: 1rem;
}



/* mobile //////////////////////// */

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

    #container{
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }    
    main{
        position: relative;
        background-color: #040404;
        padding-bottom: 10rem;
    }

    /* メッセージスライド */
    #message{
        width: 400px;
        height: 400px;
        right: 2px;
    }
    #message ul{
        position: absolute;
        display: flex;
        width: 1600px;
    }
    #message ul li{
        width: 400px;
        padding-top:15px;
    }
    #message h2{
        font-size: 10vw;
        text-align: right;
        margin-bottom: 30px;
    }
    #message p{
        width: 60%;
        text-align: left;
        font-size: 4vw;
        margin: 0 8px 0 auto;
    }

    /* 対象エリア */
    #mapBtn{
        width: 50vw;
        background-color: RGBa(255, 255, 255, 0.2);
    }
    #mapBtn p{
        font-size: 0.7rem;
    }
    #mapBtn img{
        margin-top: 0.5rem;
        width: 0.65rem;
    }
    article#contents{
        display: block;
        width: 100%;
        padding: 1rem;
    }
    #contents .left{
        width: 100%;
        margin : 0;
    }
    #contents .right{
        width: 100%;
        margin-top: 1rem;
        padding: 0.5rem;
    }

    /* ムービングブロック */
    #moveBlock{
        position: absolute;
        top: 500px;
        left: -100%;
        width: 100%;
        display: grid;
        gap: 0.1rem;
        grid-template-columns: repeat(3, 1fr);
        padding: 0.2rem;
    }
    #moveBlock div{
        position: static;
        width: 99%;
        height: 10vw;
        margin: auto;
        text-align: center;
        color: RGBa(255, 255, 255, 0.7);
        font-size: 0.5rem;
        font-weight: bold;
        padding-top: 3vw;
    }
    .mb1{
        background-color: RGBa(150, 160, 150, 0.4);
    }
    .mb2{
        background-color: RGBa(150, 140, 150, 0.3);
    }
    .mb3{
        background-color: RGBa(150, 160, 150, 0.2);
    }
    .mb4{
        background-color: RGBa(150, 140, 150, 0.4);
    }
    .mb5{
        background-color: RGBa(150, 150, 150, 0.3);
    }
    .mb6{
        background-color: RGBa(150, 150, 150, 0.2);
    }
    .rotate{
        transition: all 2s;
        transform: rotateX(360deg);
    }

    /* 閉じるボタン */
    #return a{
        font-size: 0.7rem;
    }
    #return img{
        width: 0.65rem;        
    }
}

