.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    display: flex;
    flex-flow: column;
    align-items: center;
    z-index: 10000;
    transition: all .8s;
}

.header.scroll {
    background-color: #fff;
}

.header .topWrap {
    width: 100%;
    height: 110px;
    display: flex;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
    justify-content: space-between;
    align-items: center;
    transition: all .8s;
    padding: 0 60px;
}

.header .topWrap .leftWrap {
    margin-right: 140px;
}

.header.sub .topWrap {
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.2); */
}

.header .heBtn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .heBtn img {
    transition: all .8s;
}

.header .heBtn img:last-child {
    position: absolute;
}

.header:not(.scroll):not(.active):not(.sub) .heBtn img:last-child,
.header.sub .heBtn img:first-child,
.header.scroll .heBtn img:first-child,
.header.active .heBtn img:first-child {
    opacity: 0;
}

.header .topWrap .menu {
    display: flex;
    align-items: center;
    /* gap: 0 55px; */
    margin-right: 60px;
    height: 100%;
}

.header .menu>li {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
}

.header .menu>li>a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'preB';
    font-size: 20px;
    padding: 0 30px;
    height: 100%;
    color: #fff;
    position: relative;
    transition: all .5s;
}

.header .menu>li>a:before {
    content: '';
    width: 0;
    top: calc(100% - 3px);
    left: 50%;
    transform: translateX(-50%);
    transition: all .5s;
    height: 3px;
    background-color: #ba8945;
    position: absolute;
}

.header.scroll .menu>li>a,
.header.active .menu>li>a {
    color: #fff;
}

/* .header.scroll .menu>li>a:before,
.header.active .menu>li>a:before {
    background-color: #fff;
} */

/* .header .menu>li:hover a {
    color: #00868a;
} */

.header .menu>li:hover>a:before {
    /* width: 100%; */
}

.header.sub .topWrap .menu a,
.header.scroll .topWrap .menu a,
.header.active .topWrap .menu a {
    color: #111;
}

.header .depth2 {
    position: absolute;
    top: calc(80%);
    width: 120%;
    left: -10%;
    background-color: #fff;
    padding: 10px 0;
    border-radius: 20px;
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.1);
    display: none;
}

.header .depth2 li {
    text-align: center;
}

.header .depth2 li a {
    font-family: 'preM';
    font-size: 18px;
    color: #636363;
    position: relative;
    letter-spacing: -0.1em;
    display: block;
    padding: 10px 0;
}

.header .depth2 li a:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: all .5s;
}

.header .depth2 li a:hover:before {
    width: 100%;
}

.header .depth2 li a:hover {
    /* color: #fff; */
    font-family: 'preB';
}

.header.scroll {
    background-color: #fff;
}

.header.scroll .topWrap {
    border-color: transparent;
}

.header .topWrap .rightWrap {
    display: flex;
    align-items: center;
    gap: 0 24px;
    height: 100%;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    /* 세로 정렬 */
    /* gap: 30px 0; */
    background-color: #222222;
    /* height: 567px; */
    padding: 60px 160px;
}

.footer hr {
    width: 85%;
    height: 1px;
    background-color: #cccccc1f;
}

.footer .topWrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 35px;
    margin-bottom: 35px;
    border-bottom: 1px solid #676463;
}

.footer .topWrap .topBtn {
    position: absolute;
    bottom: 0;
    right: 0;
}