@charset "utf-8";

/*
	Layout CSS
	Header, Footer, Sub 페이지의 layout에 해당하는 것들을 모아두었습니다.
*/


/* SKIP */

#skip a {
    position: absolute;
    left: -9999px;
}


/* ROOT */

#root {
    position: relative;
    width: 100%;
}


/* Content Layout */

.layout {
    max-width: 1100px;
    margin: 0 auto;
}


/* Header */

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #fff;
    box-shadow: 0 0px 38px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 0px 38px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0px 38px rgba(0, 0, 0, 0.1);
    z-index: 500;
}

#header .header_wrap {
    position: relative;
    max-width: 1100px;
    width: 97%;
    min-width: 320px;
    margin: 0 auto;
    padding: 3rem 0;
}

#header .header_wrap .header_logo{
    text-align: center;
}

/* navi */

#lnb {
    position: relative;
    width: 100%;
    height: auto;
    border-top: 1px solid #eee;
}

#lnb .btn_all_lnb {
    display: none;
    width: 35px;
}

#lnb .btn_all_lnb img {
    width: 100%
}

#lnb .lnb_wrap {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: block;
}

#lnb .navi_none {
    display: none !important;
}

.bg_navi {
    display: none;
    position: absolute;
    top: 50px;
    width: 100%;
    height: 150px;
    border-top: 1px solid #dcdcdc;
    background: #fff;
    z-index: 9999;
}

.NAV {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
}

.NAV>li {
    flex: 1;
    position: relative;
}

.NAV a {
    display: block;
}

.NAV>li>a {
    font-size: 1.9rem;
    padding: 15px 0;
    transition: .3s;
}

.NAV .sNAV {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    font-size: 0.9em;
    width: 100%;
    background: #fff;
    position: absolute;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
}

.NAV .sNAV li {
    width: 100%;
}

.NAV .sNAV a {
    font-size: 1.7rem;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.NAV .sNAV li:last-child a{
    border-bottom: none;
}

.NAV > li:hover > a{
    background: #1f3652;
    color: #fff;
}

.NAV .sNAV a:hover {
    background: #f9f9f9;
}

.NAV .None {
    display: none !important;
}


/* 숨김속성 */


/* Depth3 */

.NAV .depth2 {
    position: relative;
}

.NAV .depth2 .sNAV {
    left: 100%;
    top: 0;
}


/* body */

.sub {
    position: relative;
    margin-top: 191px;
}


/* sub location*/

#sub_loca {
    width: 100%;
    border-bottom: 1px solid #ddd
}

#sub_loca .loca_wrap {
    width: 100%;
    margin: 0 auto;
    border-left: 1px solid #eee;
}

#sub_loca .loca_wrap li {
    float: left;
    position: relative;
    background: url(/img/common/acco_arr.png) no-repeat 95% 50%;
    background-size: auto 7px;
    border-right: 1px solid #eee;
    font-size: 1.133em;
    line-height: 20px
}

#sub_loca .loca_wrap li a {
    display: block;
    padding: 20px;
}

#sub_loca .loca_wrap li.home {
    background: 0 none;
}

#sub_loca .loca_wrap li.home img {
    height: 20px
}

#sub_loca .loca_wrap li.depth01 {
    width: 300px;
}

#sub_loca .loca_wrap li.depth02 {
    width: 300px;
}

#sub_loca .loca_wrap li .loca_list {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 100;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05);
}

#sub_loca .loca_wrap li .loca_list a {
    display: block;
    padding: 12px 15px;
    border-top: 1px solid #eee;
    font-size: 0.882em;
}

#sub_loca .loca_wrap li .loca_list a.on {
    color: #54b0ea;
}

#sub_loca .loca_wrap li .loca_list a:hover {
    background: #f9f9f9;
}


/* sub layout -------------------------------------------------------------------------------------------------------------------------------------*/


/* sub visual */

#sub_visual{
    background: url(/img/Demo/sub/smv.jpg) center center no-repeat;
    background-size: cover;
}

#sub_visual h2 {
    text-align: center;
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: bold;
    padding: 7.5rem 0;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 1);
}


/* sub navi*/

#sub_wrap {
    width: 100%;
    height: auto;
    padding-top: 162px;
    background: url(/img/Demo/common/sub_tit_bg.gif) no-repeat 50% 0;
}

#sub_wrap .sub_title {
    max-width: 1200px;
    width: 98%;
    height: 100px;
    margin: 0 auto;
    font-size: 2.308em;
    line-height: 1em;
    font-weight: 700;
    color: #224669;
}

#sub_wrap .snb {}

#sub_wrap .snb .snb_wrap {
    max-width: 1200px;
    width: 100%;
    min-width: 320px;
    margin: 15px auto;
}

#sub_wrap .snb .snb_wrap li {
    float: left;
    width: 220px;
    margin-right: -1px;
}

#sub_wrap .snb .snb_wrap li a {
    display: block;
    position: relative;
    border: 1px solid #ddd;
    background: #eee;
    font-size: 1.154em;
    line-height: 40px;
    text-align: center;
}

#sub_wrap .snb .snb_wrap li a:hover {
    background: #f2f3f4;
    border: 1px solid #859bbc;
    color: #859bbc;
    z-index: 50;
}

#sub_wrap .snb .snb_wrap li a.on {
    background: #fff;
    border: 1px solid #4880d5;
    color: #4880d5;
    z-index: 50;
}


/* body_title */

.sub h3 {
    font-size: 2.4rem;
    font-weight: 500;
    color: #222;
    margin: 30px 0 10px;
    position: relative;
    padding-top: 7px;
}

.sub h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: #222;
}

.sub h4 {
    position: relative;
    clear: both;
    margin: 30px 0 15px;
    font-size: 1.538em;
    line-height: 1.3em;
    font-weight: 500;
    color: #222;
    padding-left: 20px;
}

.sub h4:first-of-type {
    margin: 25px 0 15px
}

.sub h4::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    border: 2px solid #ddd;
}

.sub h4::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #0072bc;
    top: 18px;
    left: 8px;
}

.sub h5 {
    clear: both;
    position: relative;
    margin: 20px 0 10px;
    padding-left: 10px;
    font-size: 1.385em;
    line-height: 1.3em;
    font-weight: 500;
    color: #222;
}

.sub h5::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 2px;
    height: 10px;
    margin-right: 7px;
    background: #0072bc;
    transform: rotate(20deg);
}

.sub h5:first-of-type {
    margin: 15px 0 10px
}


/* body*/

#body_wrap {
    width: 100%;
    height: auto;
    min-height: 550px;
    margin: 5rem auto 15rem;
}

#body_wrap .body_title_wrap {
    position: relative;
    width: 100%;
}

#body_wrap .body_title_wrap .body_title {
    padding: 20px 0 10px;
    border-bottom: 1px solid #ddd;
    font-size: 1.538em;
    line-height: 1.4em;
}

#body_wrap .body_title_wrap .location {
    position: absolute;
    top: 30px;
    right: 0px;
    font-size: 0.85em;
    color: #888;
    line-height: 20px;
}

#body_wrap .body_title_wrap .location .home {
    display: inline-block;
    width: 12px;
    height: 20px;
    background: url(/img/common/loca_home.png) no-repeat 0 5px;
    background-size: 12px auto;
    text-indent: -9999px;
    vertical-align: top
}

#body_wrap .body_title_wrap .location span {
    display: inline-block;
    width: auto;
    padding-left: 17px;
    background: url(/img/common/loca_arr.png) no-repeat 8px 7px;
    background-size: auto 8px;
    vertical-align: top
}

#body_wrap .body_content {
    /* padding: 30px 0; */
}

#top_arr {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6) url(/img/common/top_arr.png) no-repeat 50% 50%;
    background-size: 20px auto;
    text-indent: -9999px;
    z-index: 99999;
}


/* Footer */

#footer{
    font-size: 14px;
}

#footer .ft_top{
    background: #1f3652;
}

#footer .ft_top .layout{
    display: flex;    
}

.ft_top .layout > div{
    width: 50%;
}

.ft_top .info_left{
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: url(/img/Demo/common/ft_logo01.png) 95% 80% no-repeat;
    padding: 2.5rem 0;
}

.ft_top .info_right{
    padding-left: 3rem;
    background: url(/img/Demo/common/ft_logo02.png) 95% 80% no-repeat;
    padding: 2.5rem 0 0 3rem;
}

.ft_top h2,
.ft_top b{
    color: #fff;
    font-weight: 700;
}

.ft_top h2{
    text-transform: uppercase;
    margin-bottom: 5px;
    font-size: 1.6rem;
}

.ft_top li{
    display: flex;
    margin-bottom: 10px;
}

.info_left b{
    width: 13rem;
}

.info_right b{
    width: 7.5rem;
}

.ft_top span{
    color: #ddd;
    width: calc(100% - 13rem);
}

#footer .copy{
    text-align: center;
    text-transform: uppercase;
    color: #777;
    padding: 1.5rem 0;
}

#footer .copy span{
    color: #222;
    font-weight: 700;
}


/* ----------------------------------------- Media Query ----------------------------------------- */

@media only screen and (max-width: 1200px) {
    /* Content Layout */
    .layout {
        padding: 0 10px;
        box-sizing: border-box;
    }
}

@media only screen and (max-width: 1110px) {
    /* Header */
    #lnb .lnb_wrap {
        display: block;
    }
    .NAV {
        flex-direction: row;
    }
    /* Sub */
    #sub_wrap .snb,
    #sub_wrap .snb .snb_wrap li {
        width: 25%
    }
    /* body */
    .sub {
        margin-top: 181px;
    }
}

@media only screen and (max-width: 1000px) {
    
    /* Header */
    #header {
        background: #fff;
    }
    #header .header_wrap {
        background: #fff;
    }
    #header.lnb_mobile {
        width: 100%;
        /*height:1500px;*/
        /*background:none;*/
        z-index: 6000 !important;
    }
    #header .header_wrap {
        padding: 15px 0;
    }
    #header .header_wrap .header_logo a {
        font-size: 1.714em;
        line-height: 35px
    }
    #header .header_wrap .header_sub_logo {
        display: none;
    }
    #header .gnb {
        display: none;
    }
    #lnb {
        float: none;
        width: 100%;
        clear: both;
        border: 0 none;
    }
    #lnb .btn_all_lnb {
        display: block;
        position: absolute;
        top: -55px;
        right: 15px;
        width: 31px;
        height: 28px;
        text-indent: -9999px;
        z-index: 5000;
        transition: all 0.3s
    }
    #lnb .btn_all_lnb span {
        display: block;
        position: absolute;
        top: 12px;
        left: 0;
        width: 100%;
        height: 3px;
        margin-top: -1px;
        background: #333;
        z-index: 5000;
    }
    #lnb .btn_all_lnb span.top {
        top: 0;
        left: 0;
    }
    #lnb .btn_all_lnb span.bot {
        top: 24px;
        left: 0;
    }
    #header.lnb_mobile #lnb .btn_all_lnb span {
        color: #fff
    }
    #header.lnb_mobile #lnb .btn_all_lnb span.midd {
        opacity: 0;
    }
    #header.lnb_mobile #lnb .btn_all_lnb span.top {
        transform: rotate(45deg) translate(13px, 4px);
    }
    #header.lnb_mobile #lnb .btn_all_lnb span.bot {
        transform: rotate(-45deg) translate(13px, -4px);
    }
    #lnb .lnb_wrap {
        position: absolute;
        left: -280px;
        width: 280px;
        height: 100vh;
        /* padding-top: 50px; */
        background: #fff;
        /* border-top: 1px solid #eee; */
        margin: 0;
        z-index: 99999;
        transition: .5s;
    }
    #lnb .lnb_wrap.open {
        left: 0;
    }
    
    #lnb .bg_navi {
        display: block;
        top: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        border: none;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }
    #lnb .bg_navi.open {
        opacity: 1;
        visibility: visible;
    }
    .NAV {
        background: #1f3652;
        flex-direction: column;
    }
    .NAV .depth2 .sNAV {
        left: 0;
    }
    .NAV li:hover>.sNAV {
        display: none;
        position: initial;
    }
    .NAV>li {
        width: 100%;
    }
    .NAV>li>a{
        color: #fff;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    }
    .NAV .sNAV {
        border: none;
        background: #f9f9f9;
        position: relative;
        border-radius: 0;
        box-shadow: 0;
    }

    /* body */
    .sub {
        margin-top: 100px;
    }
}

@media only screen and (max-width: 900px) {

    /* Footer */
    #footer .ft_top .layout{
        flex-direction: column;
    }

    .ft_top .layout > div{
        width: 100%;
    }

    .ft_top .info_left{
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .ft_top .info_right{
        padding: 2.5rem 0;
    }
}

@media only screen and (max-width: 800px) {
    /* Footer */
    #footer {
        padding: 15px 0;
    }
}

@media only screen and (max-width: 700px) {

    /* Header */
    #header .header_wrap .header_logo img{
        width: 350px;
    }

    #lnb .btn_all_lnb{
        top: -53px;
    }

    /* Sub */
    #sub_loca .loca_wrap li,
    #sub_loca .loca_wrap li.depth01,
    #sub_loca .loca_wrap li.depth02 {
        width: 50%;
    }
    #sub_loca .loca_wrap li.depth02 {
        border-right: none;
    }

    /* body */
    .sub {
        margin-top: 79px;
    }
}

@media only screen and (max-width: 480px) {

    /* Footer */
    .ft_top .info_left{
        background-size: 45px;
    }
    
    .ft_top .info_right{
        background-size: 90px;
    }
}