@charset "utf-8";

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

header {
    background-color: #4b7dec;
    height: 100px;
    position: relative;
    z-index: 1000;
}
.innerFrame{
    width: 1200px;
    margin: 0 auto;
}
header .innerFrame{
    display: flex;
    justify-content: space-between;
    position: relative;
    /* height:100px; */
}
.gnb a{
    display: flex;
    width:150px;
    height:50px;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 0.8rem;
}
.gnb>li:hover>a{
    background-color: #000;
    color:#fff;
}
.gnb ul>li:hover>a{
    background-color: #fff;
    color:#000;
}


.gnb ul a{
    height:40px;
}
.gnb{
    display: flex;
    margin-top: 50px;
    margin-right: 30px;
    overflow: hidden;
    height:50px;
    transition:all 0.8s ease 0s;
}
.gnb:hover{
    height:230px;
}
.gnb:after{
    content:"";
    position: absolute;
    width:100%;
    height:0px;
    left:0;
    top:100px;
    background-color: coral;
    z-index: -1;
    transition: all 0.8s ease 0s;
}
.gnb:hover:after{
    height:200px;
}
.logo{
    /* align-self: center; */
    margin-top: 30px;
}

.station{
    width:1200px;
    height:300px;
    overflow: hidden;
    margin:0 auto;
}
.train{
    height:300%;
    display: flex;
    flex-direction: column;
    transition: all 1s ease 0s;
}
.train>li{
    flex:1;
    line-height: 0;
}
.contents{
    width:1200px;
    height:200px;
    display: flex;
    margin:0 auto;
}
.contents>section{
    flex:1;
    padding:10px;
}
.contents>section h2{
    margin-bottom: 20px;
}
.notice li{
    display: flex;
    justify-content: space-between;
}
.gallery{
    display: flex;
    justify-content: space-between;
}
.direct{
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../img/direct.jpg") no-repeat 50% 50% / cover;
}
.direct a{
    padding:5px 20px;
    background-color: #4b7dec;
    color:#fff;
}
footer{
    height:100px;
    background-color: #000;
    color:#fff;
}
footer .innerFrame{
    width:1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height:100%;
}
.sns{
    display: flex;
}
.modal{
    position: fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background-color: #000;
    opacity: 0.7;
    z-index: 100000;
    display: none;
}
.modal.on{
    display: block;
}
.popup{
    position: fixed;
    left:300px;
    top:300px;
    width:300px;
    background-color: #fff;
    border:1px solid #000;
    z-index: 10000000;
    padding: 20px;
    display: none;
}
.popup.on{
    display: block;
}
.pctrl{
    display: flex;
    justify-content: flex-end;
}
#btn_close{
    padding:6px 14px;
    border:1px solid #000;
    cursor: pointer;
}
.popup p{
    margin: 20px 0;
}
