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

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

.container{
    height:860px;
    background-color: #ddd;
    display: flex;
}
footer{
    height:100px;
    background-color: #000;
}
header{
    width:200px;
    background-color: #b3a66f;
    height:860px;
}
.logo{
    margin:20px 0;
    text-align: center;
}
.gnb{
    width: 180px;
    margin:0 auto;
}
.gnb a{
    width:180px;
    height:50px;
    display: flex;
    align-items: center;
}
.gnb ul{
    height:0;
    overflow: hidden;
    transition: all 0.6s ease 0s;
    background-color: ivory;
}
.gnb>li:hover ul{
    height:220px;
}
.gnb li:hover>a{
    background-color: #000;
    color:#fff;
}

.contents{
    width:400px;
    height:860px;
    /* display: flex;
    flex-direction: column;
    justify-content: space-around; */
    padding:0 20px;
    box-sizing: border-box;
}
.contents>section{
    margin:100px 0;
}
.notice li{
    display: flex;
    justify-content: space-between;
}
.gallery{
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.gallery>li:nth-of-type(1){
    margin-right:10px;
}

.direct{
    display: flex;
    justify-content: space-between;
    text-align: center;
}


.station{
    width:calc(100% - 600px);
    height:860px;
    overflow: hidden;
}
.train{
    width:100%;
    height:300%;
    transition: all 0.5s ease 0s;
}
.train>li{
    width: 100%;
    height:33.333%;
}
.train>li img{
    width:100%;
    height:100%;
    object-fit: cover;
}
footer{
    display: flex;
    color:#fff;
    justify-content: space-between;
    align-items: center;
}

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