*{margin:0;padding: 0;}
ul{list-style: none;}
img{max-width: 100%;}
a{text-decoration: inherit;color:inherit;}

html{
    background-color: #fff;
    color: #333;
}

/* start */
.container{
    height:850px;
    display: flex;
}
header{
    width:200px;
    background-color: #8927dc;
    color:#fff;
}
.logo{
    
    margin:20px 0;
}
.gnb{
    width:180px;
    
    margin:0 auto;
}
.gnb a{
    width:180px;
    height:50px;
    display: flex;
    align-items: center;
}
.gnb ul{
    height:0;
    overflow: hidden;
    background-color: #9a62ca;
    transition: all 0.5s ease 0s;
}
.gnb>li:hover ul{
    height:210px;
}
.gnb li:hover>a{
    background-color: #000;
    color: #fff;
}
.spot{
    display: flex;
    width: 180px;
    margin:0 auto;
    margin-top:50px;
}
.spot>li{
    flex:1;
    text-align: center;
    text-decoration: underline;
}


.contents{
    width:400px;
}
.contents>section{
    margin:30px 0;
}
.banner{
    display: flex;
    align-items: center;
    padding:10px;
}
.bannertxt{
    width:300px;   
    margin:0 10px;
}
.notice li{
    display: flex;
    justify-content: space-between;
}
.gallery{
    display: flex;
    justify-content: center;
}
.gallery>li:nth-of-type(1){
    margin-right:10px;
}
.direct{
    display: flex;
    justify-content: space-between;
}
.station{
    width:calc(100% - 600px);
    height:850px;
    overflow: hidden;
}
.train{
    width:300%;
    height:100%;
    transition: all 0.6s ease 0s;
    display: flex;
}
.train>li{
    width:33.333%;
    height:100%;
}
.train>li img{
    width:100%;
    height:100%;
    object-fit: cover;
}
footer{
    height:120px;
    background-color: #000;
    color:#fff;
    display: flex;
    align-items: center;
}
.footmenu{
    display: flex;
}
.footmenu>li{
    margin-right: 20px;;
    text-decoration: underline;
}

.modal{
    position: fixed;
    width:100%;
    height:100%;
    left:0;
    top:0;
    background-color: #000;
    opacity: 0.8;
    z-index: 500;
    display: none;
}
.modal.on{
    display: block;
}
.popup{
    position: fixed;
    left:300px;
    top:300px;
    width:300px;
    padding:30px;
    background-color: #fff;
    border:3px solid #000;
    display: none;
    z-index: 501;
}
.popup.on{
    display: block;
}
.popup_ctl{
    display: flex;
    justify-content: flex-end;
    margin-top:20px;
}
.btn_close{
    border:2px solid #000;
    padding:10px 30px;
    cursor: pointer;
}