@charset "utf-8";

/* top_버튼 */
#goupbtn {
    position: fixed;
    width: 65px;
    right: 5vw;
    height: 65px;
    bottom: 50px;
    z-index: 99999;
    cursor: pointer;
    transition: .3s;
    font-weight: bold;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
}

#goupbtn span {
    display: block;
    font-size: 25px;
    line-height: 65px;
    text-align: center
}

@media all and (max-width:768px) {
    /* top_버튼 ******************************* */
    #goupbtn {
        display: none;
    }
}

/* header ********************** */
header {
    width: 100vw;
    height: 80px;
    z-index: 10;
    position: fixed;
    background: rgba(0, 0, 0, .6);
}

/* 로고 */
header #logo {
    width: 150px;
}

/* 네비 */
header nav > ul > li > a {
    width: 150px;
    height: 80px;
    text-align: center;
    line-height: 80px;
    display: block;
    color: #fff;
    font-size: 1.1em;
    transition: .5s;
    cursor: pointer;
}

header nav > ul > li:hover > a {
    color: #0082e2;
    font-family: 'SCDream6';
}

/* 서브네비 */
header nav .sub_nav {
    top: 100%;
    left: 50%;
    width: 100%;
    background: #fff;
    text-align: center;
    transform: translateX(-50%);
    display: none;
    border: 1px solid #ddd;
}

header nav .sub_nav li a {
    color: #333;
    display: block;
    padding: 15px 0;
    font-size: .9em;
    font-family: 'SCDream5';
}

header nav .sub_nav li a:hover {
    color: #0082e2;
}

/* 모바일_사이드네비 */
#no_menu {
    display: none;
}

header #side_menu {
    width: 30px;
    height: 20px;
    cursor: pointer;
    margin-left: 10px;
}

header #side_menu span {
    width: 100%;
    height: 2px;
    display: block;
    transition: .3s;
    border-radius: 5px;
    background: #fff;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: .3s;
}

header #side_menu:hover span {
    background: #fff;
}


header #side_menu span:nth-child(2) {
    top: 50%;
    transform: translate(-50% -50%);
}

header #side_menu span:nth-child(3) {
    top: 100%;
}

header #side_menu.on span:nth-child(1) {
    left: 0;
    top: 50%;
    transform: rotate(45deg);
}

header #side_menu.on span:nth-child(2) {
    display: none;
}

header #side_menu.on span:nth-child(3) {
    left: 0;
    transform: rotate(-45deg);
    top: 50%;
}

/* footer ********************** */
footer {
    width: 100vw;
    color: #bbb;
    background: #333;
}

footer a {
    color: #bbb;
}

footer > div  {
    width: inherit;
}

/* 이메일무단수집거부 */
.email_collection {
    visibility:hidden;
    overflow-y: scroll;
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    z-index: 999999999;
    opacity:0;
    background: rgba(0,0,0,.6);
    transform: translateZ(0);
    -webkit-overflow-scrolling: touch;

}

.email_collection.on {
    opacity:1;
    visibility:visible;
}

.email_collection.on .email_collection_inner {
    opacity:1;
    -webkit-transform: translateY(0);
    transform:translateY(0);
}

.email_collection_inner {
    width: 900px;
    font-size:13px;
    line-height:1.8em;
    font-weight:300;
    position: relative;
    box-sizing:border-box;
    margin:200px auto;
    padding:30px;
    background:#fff;
    max-width:calc(100%-20px);
    opacity: 0;
    -webkit-transform: translateY(-100px);
    transform:translateY(-100px);
    transition: opacity .3s linear,transform .3s ease-out;
}

.email_close_btn {
    border:0;
    float:right;
    color:#fff;
    cursor:pointer;
    padding:5px 10px;
    box-sizing:border-box;
    background-color:#333;
    transition: .3s;
}

.email_top {
    width: 100%;
    padding: 30px;
    background: #f6f6f6;
    border: 1px solid #ddd;
}

.email_close_btn:hover {
    background-color:#0082e2;
}

.email_collection h2 {
    font-size: 1.5em;
    font-family: 'SCDream6';
}

.email_collection h3 {
    font-size: 1.3em;
    font-family: 'SCDream5';
}
.email_collection p {
    margin-left: 10px;
}
/* email end */

html.on {
    overflow:hidden;
}

body.on {
    overflow:hidden;
}

/* footer_top */
footer #ft_top {
    font-size: .9em;
    padding: 2vh 0;
    border-bottom: 1px solid #797979;
}

footer #ft_top .left ul li {
    margin-right: 30px;
}

footer #ft_top .right ul li {
    margin-left: 10px;
}

footer #ft_top .right ul li a {
    width: 30px;
    height: 30px;
    background: #bbb;
    border-radius: 50%;
}

footer #ft_top .right ul li i {
    color: #000;
    font-size: 18px;
}

/* tooter_bottom */
footer #ft_bottom {
    padding: 3.5vh 0;
}

/* left */
footer #ft_bottom .left span {
    display: block;
    margin: 15px 0;
}

footer #ft_bottom .left span:last-child {
    font-size: .7em;
}

footer #ft_bottom .left .ft_left__tit {
    opacity: .5;
    font-size: 2.5em;
    font-weight: bold;
}

footer #ft_bottom .left .ft_left__tit span {
    margin: 0;
}

/* right */
footer #ft_bottom .right {
    padding-left: 60px;
    border-left: 2px solid #797979;
}

/* 패밀리사이트 */
footer #ft_bottom .right #family_Site_inner #family_Site {
    padding: 22px 0;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .5);
}

footer #ft_bottom .right #family_Site_inner #family_Site > a {
    width: 85%;
    height: 100%;
    transition: .3s;
}

footer #ft_bottom .right #family_Site_inner #family_Site:hover {
    background: #ffffffa4;
}

footer #ft_bottom .right #family_Site:hover a {
    color: #333;
}

footer #ft_bottom .right #family_Site_inner ul {
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    background: #333;
    border-bottom: none;
    border: 1px solid rgba(255, 255, 255, .5);
    display: none;
}

footer #ft_bottom .right #family_Site_inner ul.on {
    display: block;
}

footer #ft_bottom .right #family_Site_inner ul li {
    width: 100%;
    height: 100%;
}

footer #ft_bottom .right #family_Site_inner ul li:hover {
    background: #ffffffa4;
}
footer #ft_bottom .right #family_Site_inner ul li:hover a {
    color: #333;
}

footer #ft_bottom .right #family_Site_inner ul li a {
    width: 90%;
    height: 100%;
    display: flex;
    align-items: center;
    transition: .3s;
}

footer #ft_bottom .right > div:nth-child(2) {
    margin: 15px 0;
}

footer #ft_bottom .right span {
    display: block;
    margin: 6px 0;
}


/* 반응형 ********************** */
@media (max-width: 1300px) {
    .inner {
        width: 90%;
    }
}

@media (max-width: 1150px) {
}

@media (max-width: 1024px) {
    /* 로고 */
    header #logo {
        width: 130px;
    }

    header nav > ul > li > a {
        width: 110px;
        font-size: 1em;
    }

    /* 이메일무단수집거부 */
    .email_collection_inner {
        width: 90vw;
    }
}

@media (max-width: 768px) {
    /* 네비 */
    header nav {
        width: 70%;
        height: 100vh;
        background: #fff;
        position: absolute;
        top: 0;
        right: -100%;
        margin-top: 80px;
        transition: .5s;
    }

    header nav.active {
        right: 0;
    }

    header nav > ul {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start !important;
    }

    header nav > ul > li {
        width: 100%;
    }

    header nav > ul > li > a {
        width: 100%;
        color: #333;
        text-align: left;
        padding-left: 30px;
        font-family: 'SCDream6';
        border-bottom: 1px solid #d1d1d1;
    }

    /* 서브네비 */
    header nav .sub_nav {
        top: 0;
        text-align: left;
        padding-left: 30px;
        position: relative;
        display: none;
        border: 1px solid #eee;
    }

    /* 모바일_사이드네비 */
    #no_menu {
        display: block;
    }

    /* footer */
    footer #ft_bottom {
        align-items: start;
        flex-direction: column;
    }

    footer #ft_bottom .left span {
        margin: 10px 0;
    }

    footer #ft_bottom .left .ft_left__tit {
        margin-bottom: 10px;
    }

    footer #ft_bottom .right {
        border: none;
        padding-left: 0;
        margin-top: 15px;
    }

    footer #ft_bottom .right #family_Site_inner #family_Site {
        padding: 18px 0;
    }

    /* 이메일무단수집거부 */
    .email_collection_inner {
        font-size: 11px;
    }

    .email_top {
        padding: 15px;
    }

    .email_collection h2 {
        font-size: 1.3em;
        font-family: 'SCDream6';
    }
    
    .email_collection h3 {
        font-size: 1.1em;
        font-family: 'SCDream5';
    }

    .email_collection p {
        margin-left: 8px;
    }
}

@media (max-width: 530px) {
    /* 로고 */
    header #logo {
        width: 110px;
    }
}

@media (max-width: 480px) {
    /* footer  */
    footer #ft_top .left ul li {
        margin-right: 15px;
    }
    
    footer #ft_top .right ul li {
        margin-left: 7px;
    }
} 