@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
body{
    font-family: 'Noto Sans KR', sans-serif;
}
.inner{
    width: 1100px;
    margin: 0 auto;
}
img { display: inline-block; max-width:100%; height:auto; vertical-align: middle; }
.img_box   {width: 100%;}
.mo_none{display: block; }
.mo_block{display: none; }

.mo_none_g{display: block;}
.mo_block_g{display: none;}

.mo_none_s{display: block;}
.mo_block_s{display: none;}

.mo_none9{display: block;}
.mo_block9{display: none;}

.hide{
    display: none;
}
.show{
    display: block;
}


@media screen and (max-width: 768px){
    .mo_none{display: none; }
    .mo_block{display: block; }
}
@media screen and (max-width: 950px){
    .mo_none9{display: none;}
    .mo_block9{display: block;}
}
@media screen and (max-width: 1400px){
    .mo_none_g{display: none;}
    .mo_block_g{display: block;}
}
@media screen and (max-width: 499px){
    .mo_none_s{display: none;}
    .mo_block_s{display: block;}
}

html,body{font-size: 10px; margin: 0; padding: 0; height: 100%;}


/* header */

#header {
    position: fixed;
    top: 0;
    left: 0; right: 0;
    z-index: 99;
    transition: 0.3s;
    overflow: hidden;
    text-align: center;
    height: 10.5rem;
}
/* #header.trans{
    background:linear-gradient(to bottom, transparent 10.5rem, #fbfbfb 1rem, #fbfbfb 100% );
} */
#header.on{
    background:linear-gradient(to bottom, #fff 10.5rem, #fbfbfb 1rem, #fbfbfb 100% );
    height: 36rem;
} 
#header.on .main_menu .main_menu_li > a{
    color: #000;
}
#header.active .main_menu .main_menu_li > a{
    color: #000;
}
#header.s_h .sub_bar{
    filter: brightness(1) invert(0);
}
#header h1{
    position: absolute;
    left: 6rem;
    top: 0;
    line-height: 10.5rem;
}
#header .main_menu{
    display: flex;
    align-items: flex-start;
    justify-content: center;
	margin-left:25%;
	overflow:hidden;
	width:60%;
}
#header .main_menu .main_menu_li {width:25%; float:left;}
#header .main_menu .main_menu_li > a{
    font-size: 2rem;
    color: #fff;
    letter-spacing: -0.02em;
    font-weight: 500;
    margin: 0;
    line-height: 10.5rem;
    display: inline-block;
    position: relative;
}
#header .main_menu .main_menu_li > a::after{
    position: absolute;
    content: '';
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0.5rem;
    background: #630006;
    transition: 0.3s;
}
#header .main_menu .main_menu_li > a:hover::after{
    width: 100%;
}
#header .main_menu .main_menu_li a:hover{
    color: #630006;
}
#header .main_menu .sub_menu{
    padding: 3rem 0;
}
#header .main_menu .sub_menu li{
    font-size: 1.7rem;
    letter-spacing: -0.04em;
    color: #222;
    margin-bottom: 1rem;
}
#header .main_menu .sub_menu li:hover{
    color: #91201d;
}
#header .main_menu .sub_menu li:last-child{
    margin-bottom: 0;
}
#header .sub_bar{
    display: none;
    filter: brightness(0) invert(1);
}
#header .sub_bar.on{
    filter:none;
}
#header .respon_menu{
    position: fixed;
    right: -20rem;
    top: 0;
    bottom: 0;
    height: 100vh;
    width: 80%;
    z-index: 9999;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    overflow-y: scroll;
}
#header .respon_menu.active{
    opacity: 1;
    visibility: visible;
    right: 0; 
}
#header .respon_menu .close_btn{
    cursor: pointer;
    position: absolute;
    right: 4rem;
    top: 4rem;
    cursor: pointer;
    width: 7%;
}
#header .respon_menu .sub_menu_box{
    margin-top: 15rem;
}
#header .s_m {
    border-bottom: 1px solid #ddd;
}
#header .s_m p{
    padding: 2.5rem 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
#header .s_m p.on .down_ic{
    transform: rotate(-180deg);
}
#header .s_m p a{
    font-size: 3.2rem;
    letter-spacing: -0.04em;
    color: #222;
    font-weight: 700;
}
#header .s_m p .down_ic{
    position: absolute;
    right: 5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.3s;
    width: 6%;
    cursor: pointer;
}
#header .s_m ul{
    padding: 2.3rem 0;
    display: none;
    background: #fbfbfb;
}
#header .s_m ul li{
    font-size: 2.6rem;
    letter-spacing: -0.04em;
    padding: 0 5rem;
    color: #000;
    font-weight: 400;
    margin: 2.3rem 0;
    text-align: left;
}

.respon_menu_aside{
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    background: rgba(0,0,0,.8);
    opacity: 0;
    visibility: hidden;
    z-index:3;
}
.body_bg .respon_menu_aside{
    opacity: 1;
    visibility: visible;
}   


/* footer */
#footer{
    background: #222;
    padding: 5rem 0;
    height: 100%;
}
#footer .inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#footer .footer_01{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
#footer .footer_txt{
    margin-left: 5rem;
}
#footer p{
    font-size: 1.4rem;
    color: #888888;
    font-weight: 200;
    line-height: 2.3rem;
}
#footer .go_brand{
    font-size: 1.6rem;
    color: #222;
    background: #f1f1f1;
    width: 20rem;
    text-align: center;
    font-weight: 700;
}
#footer .go_brand a{
    display: inline-block;
    padding: 0.5rem 0;
    width: 100%;
}

#footer .f_tab3 {margin-top:20px;}
#footer .f_tab3 select {width:190px; height: 30px; line-height: 30px; border: #ddd 0px solid; vertical-align:top;}
#footer .f_tab3 input {background:#000; color:#fff; border:#ddd 0px solid; padding:0 15px; margin:0; cursor:pointer; height:30px; line-height:30px; vertical-align:top;}

#main_footer{
    background: #222;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    top: 4rem;
    opacity: 0;
}
#main_footer .inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#main_footer .footer_01{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
#main_footer .footer_txt{
    margin-left: 5rem;
}
#main_footer p{
    font-size: 1.4rem;
    color: #888888;
    font-weight: 200;
    line-height: 2.3rem;
}
#main_footer .go_brand{
    font-size: 1.6rem;
    color: #222;
    background: #f1f1f1;
    width: 20rem;
    text-align: center;
    font-weight: 700;
    padding: 0.5rem 0;
}
#main_footer .go_brand a{
    display: inline-block;
    padding: 1rem 0;
    width: 100%;
}


@media screen and (max-width: 1440px){
    html,body{font-size: 9px;}
    .inner{width: 86.3889vw;}
}
@media screen and (max-width: 1200px){
    html,body{font-size: 8px;}
    #header h1 img{
        width: 80%;
    }
}
@media screen and (max-width: 950px){
    html,body{font-size: 7.5px;}
    #header h1 img{
        width: 60%;
    }
    #header h1{
        left: 0;
    }
    #footer .f_logo_box{
        display: none;
    }
    #footer .footer_txt{
        text-align: center;
        margin-left: 0;
        width: 100%;
    }
    #footer .inner{
        flex-direction: column;
    }
    #footer .footer_01{
        margin-bottom: 3rem;
    }
  
}
@media screen and (max-width: 768px){
    html,body{font-size: 7px;}
   
    #main_footer .f_logo_box{
        display: none;
    }
    #main_footer .footer_txt{
        text-align: center;
        margin-left: 0;
        width: 100%;
    }
    #header .main_menu{
        display: none;
    }
    #header .sub_bar{
        display: block;
        position: absolute;
        right: 2.5rem;
        width: 4.5%;
        cursor: pointer;
		top:20px;
    }
    #header{
        display: flex;
        align-items: center;
    }  
    #main_footer .footer_01{
        margin-bottom: 3rem;
    }
    #main_footer .inner{
        flex-direction: column;
    }
    #main_footer{
        padding-bottom: 4rem;
    }
    #main_footer .footer_01{
        /* margin:1rem 0 3rem; */
		margin:0;
    }
}
@media screen and (max-width: 499px){
    #header{
        height: 7.5rem;
    }
    #header h1{
        left: -2.5rem;
        line-height: 7.5rem;
    }
    #main_footer .go_brand{
        font-size: 1.6rem;
        color: #222;
        background: #f1f1f1;
        width: 17rem;
        text-align: center;
        font-weight: 700;
        padding: 0.5rem 0;
        position: absolute;
        right: 0;
        top: 0;
    }
    #main_footer .footer_txt{
        text-align: left;
    }
    #main_footer{
        padding-bottom: 0;
    }
	#main_footer .f_tab3 {display:none;}
}
