/* 사용폰트 연결 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');

@font-face {
    font-family: 'TheJamsil5Bold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil5Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
/* css변수 만들기 */
:root{
    font-size: 14px;
    --point-color1:#3c66b0;
    --point-color2:#333;
    --font-fam1:'Noto Sans KR', sans-serif;
    --font-fam2:'TheJamsil5Bold';
}

/* 리셋 */
*{padding:0; margin:0; position: relative;}

/* 공통스타일 */
body{
    font-family: var(--font-fam1);
}
ol,ul,li{list-style: none;}
a{text-decoration: none; color: inherit;}
.container{
    margin: 0 auto;
    max-width: 1400px;
    width: 90%;
}
.section-title{
    margin: 0 auto;
    max-width: 1400px;
    width: 90%;
}
input,textarea{
    background-color: var(--color-f2);
    outline: none;
    padding: 10px;
}
img{display: block;}

h1,h2,h3,h4,h5,h6{
    text-transform: uppercase;
}
h1{font-size: 40px; font-family: var(--font-fam2);}
h2{font-size: 25px; font-family: var(--font-fam2);}
h3{font-size: 20px;}
h4{font-size: 18px;}
h5{font-size: 16px;}
h6{font-size: 14px;}
p{font-size: 16px;}

@media(max-width: 800px){
    h1{font-size: 30px;}
    h2{font-size: 20px;}
    h3{font-size: 18px;}
    h4{font-size: 16px;}
    h5{font-size: 14px;}
    h6{font-size: 12px;}
    p{font-size: 14px;}
}
.btn{
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    cursor: pointer;
}
.btn-point{
    background-color: var(--point-color1);
    color: white;
}
.btn-white{
    background-color: white;
    border: 1px solid #eee;
    color: #666;
}
.btn-line{
    width: 150px;
}
/* 헤더 */
header{
    position: fixed; top: 0; left: 0; z-index: 100;
    width: 100%; height: 80px;
    padding: 0 30px; box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    transition: 0.5s;
    
}


header .line{
    position: absolute;
    bottom: 0; left:0;
    background-color: #eee;
    width: 100%; height: 2px;
    opacity: 0;
}
header .bg{
    position: absolute;
    left: 0;
    top: 100%;
    background-color: white;
    width: 100%;
    height: 400px;
    display: none;
}


header .logo img{
    width: 150px;
    filter: brightness(0) invert(1);
}

header .menu{
    display: flex; z-index: 200;
    position: absolute; top: 0; left: 50%;
    transform: translateX(-50%);
}
header .menu-li{
    display: flex; justify-content: center; align-items: center;
    line-height: 80px; width: 150px; font-size: 16px;
    font-weight: 500;
}
header .menu-li>a{font-family: var(--font-fam2);}
header .menu-li:hover{
    color: var(--point-color1);
}
header .menu-li:hover .menu-line{
    opacity: 1;
}
header .menu-li:hover .sub{
    background-color: #eee;
}
header .menu-line{
    position: absolute;
    bottom:0; left: 0;
    background-color: var(--point-color1);
    width: 100%; height: 1px;
    opacity: 0;
    transition: 0.5s;
}
header .sub{
    background-color: white;
    text-align: center;
    position: absolute; top: 100%; left: 0;
    width: 100%; height: 400px;
    font-size: 14px; color: #333;
    padding: 20px 0; box-sizing: border-box; line-height: 40px;
    display: none;
}
header .sub-li:hover{
    color: var(--point-color1);
}

header .right{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}
header .lan{
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
header .ham-btn{
    width: 28px; height: 28px;
    cursor: pointer;
}
header .ham-btn .ham{
    width: 28px; height: 1px; background-color: white;
    position: absolute; top: 50%; left: 0;
}
header .ham-btn .ham1{transform: translateY(-8px);}
header .ham-btn .ham3{transform: translateY(8px);}

@media(max-width: 1024px){
    header .menu{
        display: none;
    }
    header .bg{opacity: 0;}
}

header.headac{
    background-color: white;
    color: var(--point-color1);
}
header.headac .logo img{
    filter: brightness(1) invert(0);
}
header.headac .ham-btn .ham{
    background-color: var(--point-color1);
}

header.black{
    background-color: var(--point-color1);
    opacity: 0.8;
}

header.hover{
    background-color: white;
    color: var(--point-color1);
    opacity: 1;
}
header.hover .line{
    opacity: 1;
}
header.hover .ham-btn .ham{
    background-color: var(--point-color1);
}
header.hover .logo img{
    filter:brightness(1) invert(0)
}

/* 퀵메뉴 */
.quick-menu{
    position:fixed;top:50%;right:0;transform:translateY(-50%);z-index:100;
    width:60px;cursor:pointer;
    font-family: var(--font-fam2);
}
.quick-menu >div{width:60px; height:70px;}
.quick-menu .wrap{
    transition:0.5s;left:0;
    background-color:rgba(0,0,0,.3);gap:15px;
    width:160px;height:100%;transition:0.5s; display:flex;align-items:center}
.quick-menu  .icon{width:60px;
display:flex;align-items:center;justify-content:center}
.quick-menu  .icon img{width:30px;}
.quick-menu  span{ color:white}
.quick-menu .quick:hover .wrap{left:-100px;background-color:var(--point-color1)}
.quick-menu .quick{z-index:10}
.quick-menu .top-btn{width:60px; height:70px;
background-color:white;
    display:flex;align-items:center;justify-content:center;
    color:var(--gray-color-66);
    z-index:-1;
    box-shadow:0 0 10px -5px rgba(0,0,0,0.5);
}

@media (max-width:600px){
    .quick-menu{
        transform:translateY(0);
        top:auto;bottom:20px;right:0px;
    }
    .quick-menu .quick{display:none}
    .quick-menu .top-btn{
        width:40px; height:40px;
    border-radius:50%;}
}


/* 푸터 */
footer .foot1{
    width: 100%;
    height: 400px;
    background-color: rgb(38, 63, 106);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer .foot1 .container{
    width: 100%;
    display: flex;
    gap: 50px;
}
footer .foot1 .container li{
    width: 100%;
    line-height: 30px;
    flex: 1;
}
footer .foot1 h3{
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}
footer .foot1 .map-menu{
    padding-top: 10px;
}
footer .foot1 li:nth-child(1){
    flex: 1.5;
}
footer .foot1 li:nth-child(1) .map-menu{
    float: left;
    margin-right: 80px;
}
footer .foot1 li:nth-child(2){
    flex: 1.5;
}
footer .foot1 li:nth-child(2) .map-menu{
    float: left;
    margin-right: 80px;
}

footer .foot2{
    width: 100%;
    height: 250px;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}
footer .foot2 .container{
    display: flex;
    justify-content: space-between;
    width: 100%;
}
footer .foot2 .logo{
    width: 100%;
    flex: 1;
}
footer .foot2 .logo img{
    float: right;
    width: 150px;
    filter: brightness(0) invert(1);
}
footer .foot2 .text-box{
    flex:5;
    margin-left: 50px;
    display: flex;
    flex-direction: column;
    gap:20px;
}
footer .foot2 .btn{
    flex:1;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    padding: 10px;
    box-sizing: border-box;
    cursor: pointer;
}

footer .foot2 .list{
    position: absolute;
    background-color: white;
    color: #333;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    z-index: 10;
    width: 100%;
    box-sizing:border-box;
    max-height: 300px;
}
footer .foot2 .family{
    padding: 10px;
    text-align: start;
    border-bottom: 1px solid #eee;
}
@media(max-width: 1024px){
    footer .foot1{
        display: none;
    }
}
@media(max-width: 1000px){
    footer .foot2{

    }
    footer .foot2 .container{
        display: grid;
        grid-template-columns: 50% 50%;
        width: 90%;
    }
    footer .foot2 .logo{
        width: 100%;
    }
    footer .foot2 .logo img{
        float: none;
        grid-row:1;
        
    }
    footer .foot2 .text-box{
        grid-row:2;
        grid-column: span 2;
        width: 100%;
        margin-left: 0px;
    }
}
@media(max-width: 800px){
    footer .foot2 .container{
        grid-template-columns: repeat(1,1fr);
        gap: 10px;
    }
    footer .foot2 .text-box{
        grid-row:3;
    }
    footer .foot2 .btn{
        grid-row: 2;
        height: 35px;
    }
}

/* 사이트맵 */
.site-map{
    background-color: white;
    position: fixed;
    top:0;
    left:100%;
    z-index: 110;
    width: 100%;
    height: 100%;
    transition: 0.5s;
    display: flex;
}
.site-map .left{
    width: 500px; height: 100%; overflow: hidden;}
.site-map .left img{
    position: absolute;
    top:0; left: 100%;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.site-map .left img:first-child{
    left: 0;
}

.site-map .btn-x{
    width: 80px; height: 80px;
    position: absolute;
    top: 0; right: 0;
}
.site-map .btn-x::before{
    position: absolute;
    top: 50%; left:25%;
    content:'';
    display: block;
    transform: rotate(-45deg);
    width: 50px;
    height: 1px;
    background-color: #333;
    cursor: pointer;
}
.site-map .btn-x::after{
    position: absolute;
    top: 50%; left: 25%;
    content:'';
    display: block;
    transform: rotate(45deg);
    width: 50px;
    height: 1px;
    background-color: #333;
    cursor: pointer;
}

.site-map .menu-ul{
    position: absolute;
    width: 200px; left: 100px; top:200px;
}

.site-map .menu-li{
    font-size: 30px;
    height: 100px;
}
.site-map .menu-li::before{
    content: '';
    display: block;
    position: absolute; width: 0%; height: 3px;
    background-color: var(--point-color1);
    bottom: 50px;
    transition: 0.5s;
}
.site-map .menu-li:hover::before{
    width: 55%;
}
.site-map .menu-li>a{
    font-family: var(--font-fam2);
}

.site-map .sub-ul{
    position: absolute;
    left: 100%; top: 0;
    width: 200px; height: 450px;
    font-size: 18px;
    line-height: 40px;
    transition: 0.5s;
    display: none;
}
.site-map .menu-li:nth-child(2) .sub-ul{top: -100%;}
.site-map .menu-li:nth-child(3) .sub-ul{top: -200%;}
.site-map .menu-li:nth-child(4) .sub-ul{top: -300%;}
.site-map .menu-li:nth-child(5) .sub-ul{top: -400%;}

.site-map.active{
    left: 0;
}
@media(max-width: 1024px){
    .site-map{display: block;}
    .site-map .left{display: none;}
    .site-map .menu-ul{
        width: 100%;
        left: 0;
    }
    .site-map .menu-li{
        border-top: 1px solid #ddd;
        height: 100%;
        padding-top: 10px;
        padding-bottom: 10px;
        text-indent: 20px;
    }
    .site-map .menu-li::before{
        content: 0;
        display: block;
        width: 12px; height: 12px;
        border-top: 1px solid #999;
        border-right: 1px solid #999;
        background-color: transparent;
        transform: rotate(45deg);
        position: absolute;right: 30px;
        top: 16px;
        margin-top: 10px;
    }
    .site-map .menu-li:hover::before{
        width: 12px;
    }
    .site-map .sub-ul{
        position: relative;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
    }
    .site-map .menu-li .sub-ul{top: 0%;}
    .site-map .menu-li:nth-child(3) .sub-ul{top: 0%;}
    .site-map .menu-li:nth-child(4) .sub-ul{top: 0%;}
    .site-map .menu-li:nth-child(5) .sub-ul{top: 0%;}
}

/* 링크 포인트 */
.link-point{
    width: 5px; height: 5px;
    border-radius: 50%;
    background-color: var(--point-color1);
    display: block;
    position: absolute;
    top: 10px; right: 10px;
    z-index: 1;
}
