@charset "utf-8";

/*reset*/

* {
    margin: 0;
    padding: 0;
}

ul,
li {
    list-style: none;
}

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

img {
    border: 0;
}

body {
    font-family: "맑은 고딕", MalgunGohic, arial, sans-serif;
    font-size: 16px;
    color: #666;
    overflow-y: scroll;
}

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


/* 분기점
큰pc 1024이상: 아래 코딩 내용대로 적용.
작은pc 1024이하:  @media screen and (max-width: 1024px) 
태블릿 768이하:@media screen and (max-width: 768px) 
모바일 480이하:@media screen and (max-width: 480px) 
*/

/**************************************************
큰 pc 1024이상의 화면 
***************************************************/

.wrap {
    width: 1200px;
    margin: 0 auto;
    max-width: 100%;
}


/*header*/

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

header h1 {
    padding-top: 30px;
    float: left;
    width: 20%;
    text-align: center;
}


/*
nav {
    float: right;
    width: 67%;
    padding-top: 30px;
}

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

nav ul.gnb>li {
    position: relative;
    float: left;
    width: 25%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #c88;
    font-weight: bold;
}

nav ul.gnb>li>a {
    display: block;
    color: #fff;
}

nav ul.gnb>li:hover {
    background: #c55;
}

nav ul.gnb>li ul.sub {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 160px;
    background: #eee;
    font-weight: bold;
}

nav ul.gnb>li ul.sub li {
    width: 100%;
    height: 40px;
}

nav ul.gnb>li ul.sub li a {
    display: block;
}

nav ul.gnb>li ul.sub li:hover {
    background: #c88;
    color: #fff;
}

*/

/*
nav {
    float: right;
    width: 67%;
    padding-top: 30px !important;
}

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

nav ul.gnb > li {
    position: relative;
    float: left;
    width: 25%;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
}

nav ul.gnb > li > a {
    display: block;
    width: 100%;
    background: #c88;
    color: #fff;
}

nav ul.gnb > li:hover > a {
    background: #f55;
}

nav ul.gnb > li ul.sub {
    width: 100%;
    background: #eee;
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 160px;
    background: #eee;
    font-weight: bold;
    display: none;
    display: none;
}

nav ul.gnb > li ul.sub li {
    height: 40px;
}

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

nav ul.gnb > li ul.sub li:hover {
    background: #f88;
    color: #fff;
}
*/

nav {
    position: relative;
    float: right;
    width: 67%;
    padding-top: 30px;
}

nav ul.gnb {
    width: 100%;
    font-weight: bold;
}

nav ul.gnb > li {
    width: 25%;
    float: left;
    display: block;
    text-align: center;
    background: #c88;
    line-height: 40px;
    position: relative;
/*    transition: 1s;*/
}

nav ul.gnb > li > a {
    display: block;
    width: 100%;
    height: 40px;
    color: #eee;
}

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

nav ul.gnb > li ul.sub {
    background: #eeddde;
    width: 100%;
    background: #eee;
    font-weight: bold;
    position: absolute;
    top: 40px;
    left: 0;
    display: none;
}

nav ul.gnb > li > ul.sub > li {
    width: 100%;
    height: 40px;
    transition: all 0.3s;
}

nav ul.gnb > li ul.sub li a {
    display: block;
    height: 40px;
}

nav ul.gnb > li ul.sub li:hover {
    background: #f88;
    color: #fff;
}

/*슬라이더*/

.slider {
    width: 100%;
    min-height: 250px;
    overflow: hidden;
}

.slider ul.slider_all {
    position: relative;

}

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

.slider ul.slider_all li img {
    width: 100%;
    height: auto;
}


/*컨텐츠*/
.contents {
    margin: 0;
    position: relative;
}

/* contents 공통*/
.contents h2 {
    width: 100px;
    height: 40px;
    line-height: 40px;
    background: #666;
    text-align: center;
    border-radius: 10px 10px 0 0;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}



/* section1 공통*/
.contents section.con1 h2 {
    position: absolute;
    top: 0;
    left: 0;
}

/*처음에는 아무것도 나오지 않다가
on이 붙으면 보이도록 한다. */

.contents section.con1 ul {
    display: none;
    height: 160px;
}


.contents section.con1 h2.on {
    display: block;
    background: #c88;
}

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



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

.contents section.con1 {
    position: absolute;
    width: 42%;
    height: 200px;
    float: left;

    /*애니메이션 코드 */
    position: relative;
    animation-name: con1;
    animation-duration: 0.5s;
    animation-delay: 0.3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
}

@keyframes con1 {
    0% {
        left: 0px;
        top: 500px;
        opacity: 0;

    }

    100% {
        left: 0px;
        top: 0px;
        opacity: 1;
    }
}


.contents section.con1 ul.notice {
    width: 100%;
    position: absolute;
    top: 40px;
    left: 0;
}

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

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

.contents section.con1 ul.notice li a {}

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


.contents section.con1 ul.gallery {
    width: 100%;
    position: absolute;
    top: 40px;
    left: 0;
}

.contents section.con1 ul.gallery li {
    width: 32%;
    float: left;
    margin-left: 1%;
    margin-top: 4%;
    transition: 0.3s;
}

.contents section.con1 ul.gallery li img {
    width: 100%;
}



.contents section.con1 ul.gallery li a {}

.contents section.con1 ul.gallery li:hover {
    opacity: 0.7;
}


.contents section.con2 {
    width: 29%;
    height: 200px;
    float: left;
    /*애니메이션 코드 */
    position: relative;
    animation-name: con2;
    animation-duration: 0.5s;
    animation-delay: 0.6s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
}

@keyframes con2 {
    0% {
        left: 0px;
        top: 500px;
        opacity: 0;
    }

    100% {
        left: 0px;
        top: 0px;
        opacity: 1;
    }
}

.contents section.con2 img {
    margin-top: 5px;
    width: 100%;
    height: auto;
    transition: 0.5s;
}

.contents section.con2 img:hover {
    opacity: 0.8;
}

.contents section.con3 {
    float: left;
    width: 29%;
    height: 200px;
    /*    애니메이션코드 */
    position: relative;
    animation-name: con3;
    animation-duration: 0.5s;
    animation-delay: 0.9s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;

}

@keyframes con3 {
    0% {
        left: 0px;
        top: 500px;
        opacity: 0;
    }

    100% {
        left: 0px;
        top: 0px;
        opacity: 1;
    }
}


.contents section.con3 ul.baro {}

.contents section.con3 ul.baro li {
    width: 80%;
    height: 70px;
    text-align: center;
    line-height: 70px;
    margin: 3% auto;
    box-sizing: border-box;
    border-radius: 20px;
    background: #eee;
    transition: all 0.3s;
}

.contents section.con3 ul.baro li a {
    display: block;
}

.contents section.con3 ul.baro li:hover {
    background: #c88;
    color: #fff;
}

/*footer */

footer {
    position: relative;
    width: 100%;
    height: 100px;
    float: left;

    /*애니메이션 코드 */
    position: relative;
    animation-name: footani;
    animation-duration: 0.5s;
    animation-delay: 1.2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
}

@keyframes footani {
    0% {
        left: 0px;
        top: 500px;
        opacity: 0;
    }

    100% {
        left: 0px;
        top: 0px;
        opacity: 1;
    }
}


footer h3 {
    float: left;
    width: 16%;
    padding-top: 30px;
    overflow: hidden;
    text-align: center;
}

footer ul.copy {
    float: left;
    width: 54%;
    height: 100px;
    padding: 20px;
    box-sizing: border-box;
}

footer ul.copy li {
    float: left;
    padding-right: 50px;
}

/*sns*/

footer ul.sns {
    float: left;
    width: 30%;
    height: 100px;
    text-align: center;
    margin: 0 auto;
    box-sizing: border-box;
}

footer ul.sns li {
    float: left;
    width: 33.3%;
    margin-top: 7%;
    margin-left: 0;
    margin-right: 0;

}

footer ul.sns li span {
    display: block;
    width: 60px;
    height: 60px;
    text-align: center;
    margin: 0 auto;
    transition: 0.3s;
}

footer ul.sns li span:hover {
    filter: grayscale(100%);
}

footer ul.sns li span.sns1 {
    background: url("../images/tw.png") no-repeat 50% 50%;
    -webkit-background-size: 100%;
    background-size: 100%;
}


footer ul.sns li span.sns2 {
    background: url("../images/fb.png") no-repeat 50% 50%;
    -webkit-background-size: 100%;
    background-size: 100%;
}

footer ul.sns li span.sns3 {
    background: url("../images/ins.png") no-repeat 50% 50%;
    -webkit-background-size: 100%;
    background-size: 100%;

}



/**************************************************
작은pc 1024이하:  @media screen and (max-width: 1024px) 
***************************************************/

@media screen and (max-width: 1024px) {
    .wrap {
        max-width: 100%;
    }

    header {}

    header h1 {
        overflow: hidden;
    }

    header h1 img {
        width: 100%;
    }

    .slider {
        width: 100%;
        min-height: 200px;
    }

    .slider ul.slider_all {}

    .slider ul.slider_all li {}

    .slider ul.slider_all li img {}

    .contents {}

    .contents section.con1 {}


    .contents section.con1 ul.gallery {
        width: 100%;
        position: absolute;
        top: 40px;
        left: 0;
    }

    .contents section.con1 ul.gallery li {
        width: 32%;
        float: left;
        margin-left: 1%;
        margin-top: 5%;
    }

    .contents section.con1 ul.gallery li img {
        width: 100%;
    }


    /*    footer*/

    footer {}

    footer h3 {

        width: 16%;
    }

    footer h3 img {
        width: 100%;
        display: block;
        margin: 0 auto;
    }

    footer ul.copy {
        float: left;
        width: 59%;
        height: 100px;
        padding: 10px;
        box-sizing: border-box;
        font-size: 13px;
    }

    footer ul.copy li {
        float: left;
        padding-right: 30px;
        line-height: 1.2em;
    }

    footer ul.sns {
        float: left;
        width: 25%;
        height: 100px;
        text-align: center;
        margin: 0 auto;
        overflow: hidden;
    }

}


/***************************************************
태블릿 768이하:@media screen and (max-width: 768px) 
*****************************************************/

@media screen and (max-width: 768px) {
    .wrap {
        max-width: 100%;
    }

    header {}

    header h1 {
        width: 20%;
    }

    header h1 img {
        width: 100%;
    }


    /*내비게이션*/
    nav {
        position: absolute;
        right: 0;
        top: 0px;
        width: 25%;
    }

    nav ul.gnb {
        width: 100%;
        font-weight: bold;
    }

    nav ul.gnb > li {
        position: relative;
        width: 100%;
        float: none;
        display: block;
        text-align: center;
        background: #c88;
    }

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

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

    nav ul.gnb > li ul.sub {
        background: #eeddde;
        width: 100%;
        background: #eee;
        font-weight: bold;
        position: relative;
        top: 0;
    }

    nav ul.gnb > li > ul.sub > li {
        width: 100%;
        height: 40px;
    }

    nav ul.gnb > li ul.sub li a {
        display: block;
        height: 40px;
    }

    nav ul.gnb > li ul.sub li:hover {
        background: #f88;
    }



    /*슬라이더*/

    .slider {
        width: 100%;
        min-height: 120px;
    }

    /*컨텐츠*/
    .contents {
        float: none;
        position: relative;
        width: 100%;
        height: auto;
    }

    .contents section.con1 {
        float: none;
        width: 100%;
        height: 200px;

    }

    .contents section.con1 ul.notice {
        width: 100%;
        height: 200px;
    }

    .contents section.con1 ul.notice li {}

    .contents section.con1 ul.notice li a {}


    .contents section.con1 ul.gallery {
        width: 100%;
        height: auto;
    }

    .contents section.con1 ul.gallery li {
        margin-left: 2%;
        margin-top: 2%;
        width: 27%;
    }


    .contents section.con1 ul.gallery li img {
        width: 80%;
        height: auto;
    }



    .contents section.con2 {
        float: none;
        width: 100%;
        height: auto;
    }

    .contents section.con3 {
        float: none;
        width: 100%;
        height: auto;
        min-height: 100%;
    }




    /*footer*/
    footer {
        min-height: 150px;
    }

    footer h3 {
        display: none;
    }

    footer ul.copy {
        float: left;
        width: 60%;
        height: 100px;
    }

    footer ul.sns {
        float: left;
        width: 40%;
        height: 100px;
    }


    footer ul.sns li {
        margin-left: 0;
        margin-right: 0;
    }

    footer ul.sns li span {
        display: block;
        text-align: center;
        margin: 0 auto;
    }

}


/**********************************************************
모바일 480이하:@media screen and (max-width: 480px) 
********************************************************/

@media screen and (max-width: 480px) {
    .wrap {
        max-width: 100%;
    }

    header {
        max-height: 80px;
    }

    header h1 {
        width: 40%;
    }

    header h1 img {
        width: 90%;
    }


    nav {}

    .slider {
        min-height: 80px;
    }


    .contents {
        height: auto;
    }


    .contents section.con1 {
        float: none;
        width: 100%;
    }


    .contents section.con1 ul.gallery {
        width: 100%;
        margin-left: 5px;
        height: auto;
    }

    .contents section.con1 ul.gallery li {
        margin-top: 5%;
    }

    .contents section.con1 ul.gallery li img {
        width: 100%;
    }



    footer {
        background: #eee;
        height: auto;
    }

    footer ul.copy {
        float: left;
        width: 100%;
        height: 100px;
        background: #e9e9e9;

    }

    footer ul.sns {
        float: left;
        width: 100%;
        min-height: 100px;
    }


}

@media screen and (max-width: 360px) {
    .slider {
        min-height: 70px;
    }

}
