@charset "utf-8";
* {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
li {
    list-style: none;
}

img {
    border: none;
}

header,
nav,
section,
footer {
    display: block;
}

body {
    font-family: "맑은 고딕", malgunGothic, arial, sans-serif;
    font-size: 15px;
    color: #333;
}

.clear::after {
    clear: both;
    content: "";
    display: block;
}


.modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    font-size: 18px;
    z-index: 10;
    display: none;
}

.modal .modal_inner{
    position: absolute;
    top:50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: #fff;
    transform: translate(-50%, -50%);
}
    

.modal .modal_inner .motitle{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
        
}

.modal .modal_inner .mocon{
    padding: 20px;
    
}

.modal .modal_inner button{
    position: absolute;
    width: 100px;
    height: 30px;
    background: #aaa;
    color: #fff;
    cursor: pointer;
    right: 20px;
    bottom: 20px;
}

    

.wrap {
    width: 1200px;
    margin: 0 auto;
}


/*헤더*/

header {
    width: 1200px;
    height: 100px;
    position: relative;
    z-index: 1;
}

header h1 {
    float: left;
    padding-top: 30px;
    display: block;
}

header nav {
    width: 800px;
    float: right;
    padding-top: 30px;
}

header nav ul.gnb {
    float: left;
    width: 100%;
}

header nav ul.gnb> li {
    width: 200px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    float: left;
    position: relative;
    background: #ccc;
}

header nav ul.gnb> li > a {
    width: 100%;
    height: 100%;
    display: block;
    background: #d4d4d4;
    font-weight: bold;
}

header nav ul.gnb> li:hover > a {
    background: #222;
    color: #fff;
}

header nav ul.gnb> li > ul.sub {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 160px;
    background: #f9f9f9;
    display: none;
}

header nav ul.gnb> li > ul.sub >li {
    width: 100%;
    height: 40px;
    text-align: center;
}

header nav ul.gnb> li > ul.sub>li>a {
    width: 100%;
    height: 100%;
    display: block;
}

header nav ul.gnb> li > ul.sub>li:hover >a {
    background: #ccc;
    color: #fff;
    font-weight: bold;
}


/*슬라이더 */

.slider {
    width: 1200px;
    height: 300px;
    overflow: hidden;
}

.slider ul.slider_all {
    position: relative;
}

.slider ul.slider_all>li {
    position: absolute;
    top: 0;
    left: 0;
}

.slider ul.slider_all>li>a {
    width: 100%;
    height: 100%;
}



.slider ul.slider_all>li span.txt1 {
    position: absolute;
    display: block;
    width: 400px;
    height: 40px;
    line-height: 40px;
    background: rgba(0,0,0,0.5);
    padding: 20px;
    text-align: center;
    color: #fff;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 40px;    
}

/*컨텐츠*/

.contents {
    width: 1200px;
    height: 200px;
}

.contents h2 {
    width: 100px;
    background: #a5a5a5;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 15px;
    display: block;
    cursor: pointer;
    border-radius: 10px 10px 0px 0;
}

.contents h2:hover {
    background: #cb9;
}

.contents section.con1 {
    width: 500px;
    height: 200px;
    float: left;
    position: relative;
}


/*con1 공통되는 부분*/

.contents section.con1 h2 {
    position: absolute;
    top: 0;
    left: 0;
}

.contents section.con1 h2.on {
    background: #cc9;
}

.contents section.con1 ul {
    position: absolute;
    top: 30px;
    left: 0;
    display: none;
}

.contents section.con1 ul.on {
    display: block;
}


/*공지사항*/

.contents section.con1 ul.notice {
    position: relative;
    top: 40px;
    left: 0;
}

.contents section.con1 ul.notice li {
    width: 100%;
    height: 40px;
    line-height: 40px;
    position: relative;
}

.contents section.con1 ul.notice li a {
    width: 100%;
    height: 100%;
    display: block;
}

.contents section.con1 ul.notice li:hover a {
    font-weight: bold;
}

.contents section.con1 ul.notice li span.day {
    position: absolute;
    right: 10px;
    top: 0
}


/*갤러리*/

.contents section.con1 h2.r100 {
    position: absolute;
    left: 101px;
    top: 0;
}

.contents section.con1 ul.gallery {
    position: absolute;
    left: 0;
    top: 50px;
}

.contents section.con1 ul.gallery li {
    float: left;
    padding-left: 5px;
}


/*배너 */

.contents section.con2 {
    width: 350px;
    height: 200px;
    float: left;
}


/*바로가기*/

.contents section.con3 {
    width: 350px;
    height: 200px;
    float: left;
}

.contents section.con3 ul.baro {
    width: 100%;
}

.contents section.con3 ul.baro li {
    width: 300px;
    height: 70px;
    text-align: center;
    line-height: 80px;
    background: #c6c6c6;
    margin: 0 auto;
    margin-top: 6px;
    border-radius: 20px;
}

.contents section.con3 ul.baro li a {
    display: block;
    width: 100%;
    height: 100%
}

.contents section.con3 ul.baro li:hover {
    background: #cc9;
    font-weight: bold;
}


/*footer */

footer {
    width: 1200px;
    height: 100px;
    float: left;
    font-size: 14px;
}

footer h3 {
    float: left;
    width: 200px;
    padding-top: 30px;
}

footer ul.copyright {
    width: 700px;
    float: left;
    padding-top: 15px;
}

footer ul.copyright li {
    float: left;
    line-height: 25px;
    padding-left: 25px;
}

footer ul.sns {
    width: 300px;
    float: left;
    height: 100px;
    line-height: 100px;
}

footer ul.sns li {
    float: left;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 50px;
    margin-left: 15px;
    margin-top: 10px;
}

footer ul.sns li a {
    display: block;
}

footer ul.sns li:hover {
    background: #cc9;
}