/********* header CSS *********/

header{
    width:100%;
    position:fixed;
    top:0;
    left:0;
    transition: all 0.2s;
    z-index: 1000;
}

/* 메인배너 아래로 내려 갈 시 헤더 효과 */
header.on{
    background-color:#fff;
}

/* 스크롤 다운>헤더 없어짐 / 스크롤 업>헤더 나타남 */
header.up {
    transform: translateY(-100%);
}
header.down {
    transform: translateY(0);
    background: #fff;
}



.hd-wrap{
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}
.hd-wrap,
.pc-menu,
.pc-nav,
.hd-btn__wrap {
    display:flex;
    flex-flow:row wrap;
}

.hd-wrap{
    justify-content: space-between;
}

.pc-nav {
    width: 60%;
    justify-content: center;
    position: relative;
}

.pc-nav > li{
    font-size: 2rem;
    padding: 3.5rem 3rem;
    position: relative;
}
.pc-nav > li > a {
    color: #fff;
}

.sub-menu__wrap{
    visibility: hidden;
    position: absolute;
    top:100%;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
    text-align: center;
    background: #fff;
}
.sub-menu__wrap ul {
    padding-bottom: 1rem;
}
.sub-menu__wrap li a {
    font-size: 1.8rem;
    display: block;
    padding: 1rem 0;
}

/* 메뉴 슬라이드 다운 */
.pc-nav::before {
    content: "";
    position: absolute; 
    top:100%; 
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    width: 100vw;
    height: 0;
    transition: all 0.3s;
}
.show-menu .pc-nav::before {
    height: var(--submenu-height, 0px); 
}
.show-menu .sub-menu__wrap {
    visibility: visible;
    height: var(--submenu-height, 0px);
}


.hd-btn__wrap {
    width: 20%;
    align-items: center;
    justify-content: flex-end;
}
.hd-btn__wrap .hd-info a {
    color: #fff;
    font-size: 1.6rem;
}
.hd-btn__wrap .hd-info a:not(:first-child) {
    margin-left: 2rem;
}

.btn-menu {
    width: 4rem;
    height: 3rem;
    position: relative;
    margin-left: 3rem;
}
.btn-menu .bar {
    display: block; 
    width: 100%; 
    height: 0.2rem; 
    background: #fff; 
    position: absolute;
    top:0;
    left: 0;
}
.btn-menu .bar:nth-of-type(2) {
    top:50%;
    transform: translateY(-50%);
}
.btn-menu .bar:nth-of-type(3) {
    top:auto;
    bottom:0;
}

/* 헤더 스크롤 다운 스타일 모음 */
header.on .pc-nav > li > a,
header.on .hd-btn__wrap .hd-info a{
    color: #111;
}
header.on .btn-menu .bar {
    background: #111; 
}


/* 푸터 */
footer {
    padding: 4rem 0;
}
.ft-menu {
    display: flex; 
    flex-flow: row wrap;
}
.ft-menu li:not(:last-child) {
    margin-right: 2rem;
}
.ft-menu a {
    font-size: max(14px,1.8rem);
    color: #eee;
}
.ft-copyright {
    margin-top: 4rem;
    font-size: max(13px,1.6rem);
    color: #eee;
}
.ft-copyright .info {
    display: flex; 
    flex-flow: row wrap;
}
.ft-copyright * {
    color: #eee;
}
.ft-copyright li:not(:last-child) {
    margin-right: 1rem;
}
.ft-copyright p {
    margin-top: 1rem;
    font-size: max(13px,1.5rem);
}

/* 1600 = inner size */
@media screen and (max-width:1600px){
    .pc-nav > li{
        padding: 4rem 2rem;
    }
}

@media screen and (max-width:992px){
    /* .pc-nav {display: none;}
    .logo, 
    .hd-btn__wrap {
        width: 50%;
    } */
}

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

}


/********* footer CSS *********/

/* 1600 = inner size */
@media screen and (max-width:1600px){

}

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

}

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

}