@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;
}

nav ul.gnb > li > a {
    display: block;
    width: 100%;
    height: 40px;
    color: #eee;
    transition: 0.3s ease-in-out;
}

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;
}

nav ul.gnb > li ul.sub li a {
    display: block;
    height: 40px;
    transition: 0.2s ease-in-out;
}

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

.mo_btn {
    position: absolute;
    display: block;
    width: 45px;
    height: 34px;
    right: 0;
    margin-top: 30px;
    right: 30px;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    z-index: 1;
}

.mo_btn span {
    position: absolute;
    top: 0;
    display: block;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #666;
    z-index: 1;
    transition: 0.2s;
}

.mo_btn span:nth-child(1) {
    top: 0;
}

.mo_btn span:nth-child(2) {
    top: 13px;
}

.mo_btn span:nth-child(3) {
    top: 13px;
}

.mo_btn span:nth-child(4) {
    top: 26px;
}

.mo_btn.active span:nth-child(1),
.mo_btn.active span:nth-child(4) {
    opacity: 0;
}

.mo_btn.active span:nth-child(2) {
    transform: rotate(45deg);
}

.mo_btn.active span:nth-child(3) {
    transform: rotate(-45deg);
}


/*슬라이더*/

.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 {
    width: 42%;
    height: 200px;
    float: left;
    opacity: 1;
}

@keyframes move {
    0% {
        top: 500px;
        opacity: 0;
    }
    100% {
        top: 0px;
        opacity: 1;
    }
}

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

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

.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: 42%;
    position: absolute;
    top: 40px;
    left: 0;
}

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

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

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

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

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

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

.contents section.con2 img {
    position: relative;
    margin-top: 5px;
    width: 100%;
    height: auto;
    animation: move 0.3s ease forwards;
        opacity: 0.8!important;

}

.contents section.con2 img:hover {
    opacity: 1!important;
}

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

.contents section.con3 ul.baro {}

.contents section.con3 ul.baro li {
    position: relative;
    width: 80%;
    height: 70px;
    text-align: center;
    line-height: 70px;
    margin: 3% auto;
    box-sizing: border-box;
    border-radius: 20px;
    background: #eee;
    animation: move 0.3s ease forwards;
    animation-delay: 0.08s;
    transition: 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;
    animation: move 0.3s ease-in-out;
    animation-delay: 0.2s;
}

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;
}

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%;
}

footer ul.sns li span.sns1:hover,
footer ul.sns li span.sns2:hover,
footer ul.sns li span.sns3:hover
{
    filter: grayscale(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: 42%;
        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;
        top: 50px;
        right: -300px;
        width: 25%;
        opacity: 0;
        height: 0;
        visibility: hidden;
        transition: 0.3s;
    }
    nav.visible {
        opacity: 1;
        height: 100%;
        visibility: visible;
        top: 50px;
        right: 20px;
        /*animation: move 0.2s ease forwards;*/
    }
    /*
    @keyframes move {
        0%{opacity: 0; transform: translateX(25%); }
        100%{opacity: 1; transform: translateX(0); }
    }
*/
    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;
    }
    .mo_btn {
        opacity: 1;
        visibility: visible;
    }
    /*슬라이더*/
    .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;
    }
}