@charset "utf-8";
*{margin:0;padding:0;}
a{text-decoration: inherit;color:inherit;}
ul{list-style: none;}
img{max-width:100%;}
html{
    background-color: #fff;
    color:#333;
}
header{
    width:1200px;
    height:100px;
    margin:0 auto;
    display: flex;;
    justify-content: space-between;
    position: relative;
    z-index: 100;
}
.logo{
    display: flex;
    align-items: center;
}
.gnb{
    display: flex;
    margin-top:50px;
    margin-right:25px;
    height:50px;
    overflow: hidden;
    transition: all 0.5s ease 0s;
}
.gnb:hover{
    height: 160px;
}
.gnb:after{
    content:"";
    position: absolute;
    left:0;
    top:100px;
    width:100%;
    height:150px;
    background-color: #9520f5;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition:all 0.5s ease 0s;
}
.gnb:hover:after{
    opacity: 1;
    pointer-events: auto;
}
.gnb>li>a{
    display: flex;
    width:180px;
    height:50px;
    align-items: center;
    padding-left: 10px;;
    font-weight: bold;
}
.gnb li:hover>a{
    background-color: #000;
    color:#fff;
}
.gnb ul{
    color:#fff;
}
.gnb>li>ul>li>a{
    display: flex;
    width:180px;
    height:30px;
    align-items: center;
    padding-left: 10px;;
}
.station{
    width:1200px;
    height:300px;
    margin:0 auto;
    /* overflow: hidden; */
}
.train{
    width:100%;
    height:100%;
    position: relative;
}
.train>li{
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s ease 0s;
}
.train>li.on{
    opacity: 1;
    pointer-events: auto;
}
.train>li img{
    width:100%;
    height:100%;
    object-fit: cover;
}

.contents{
    display: flex;
    width:1200px;
    height:200px;
    margin:0 auto;
}
.contents>section{
    flex:1;
    padding:10px;
}
.contents h2{
    margin:10px 0;
}

.notice li{
    display: flex;
    justify-content: space-between;
    font-size: 14px;;
}
.notice li a{
    /* width:60%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
}
.gallery{
    display: flex;
    justify-content: space-between;
}
.gallery img{
    width:120px;
    height:120px;
    object-fit: cover;
}
.gallery img:hover{
    opacity: 0.8;
}
.direct{
    background: url("../img/direct.jpg") no-repeat 50% 50% / cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
.direct a{
    background-color: #9520f5;
    padding:10px 35px;
    color:#fff;
}
footer{
    width:1200px;
    height:100px;
    margin:0 auto;
    background-color: #000;
    color:#fff;
    display: flex;
    justify-content: space-between;
    align-items: center;    
}
.foot_menu{
    display: flex;
    margin-bottom:10px;
    justify-content: center;
}
.info{
    flex-grow: 1;
}
.copy{
    text-align: center;
}
.foot_menu>li{
    margin-right:20px;
    text-decoration: underline;
}
footer form{margin-right:20px;}

.popup{
    position: fixed;
    left: 50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:400px;
    padding:30px;
    background-color: #fff;
    border:2px solid #000;
    display: none;
}
.popup.on{
    display: block;
}
.popup h2{
    margin-bottom:20px;
}
.popup_ctl{
    margin-top:30px;
    display: flex;
    justify-content: flex-end;
}
.btn_close{
    cursor: pointer;
    border:1px solid #000;
    padding:10px 30px;
}