#theader { z-index: 995; position: relative; width: 100%; height: 92px; background: #fff; border-bottom: 1px solid #ececec; }
#theader .contwrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.dc_logo { display: flex; align-items: center; flex-shrink: 0; }
.dc_logo img { display: block; width: auto; height: 48px; }

#theader nav { height: 100%; }
#theader nav .menu1 { display: flex; align-items: center; height: 100%; gap: 20px; }
#theader nav .menu1 li { height: 100%; display: flex; align-items: center; }
#theader nav .menu1 a { position: relative; display: flex; align-items: center; height: 100%; color: #1c2430; }
#theader nav .menu1 a span { font-weight: 600; font-size: 16px; line-height: 1; letter-spacing: 0.14em; color: #1c2430; font-family: 'Pretendard';}
#theader nav .menu1 a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 26px; height: 2px; background: #c4a24a; transform: scaleX(0); transform-origin: center; transition: transform 0.25s; }
#theader nav .menu1 a.on::after,
#theader nav .menu1 a:hover::after { transform: scaleX(1); }

@media (max-width: 1440px) {
    #theader { height: 84px; }
    .dc_logo img { height: 44px; }
    #theader nav .menu1 { gap: 20px; }
    #theader nav .menu1 a span { font-size: 14px; letter-spacing: 0.1em; }
    #theader nav .menu1 a::after { bottom: 22px; }
}
@media (max-width: 1279px) {
    #theader { height: 76px; }
    #theader nav .menu1 { gap: 18px; }
    #theader nav .menu1 a span { letter-spacing: 0.06em; }
    #theader nav .menu1 a::after { bottom: 18px; }
}
@media (max-width: 1023px) {
    #theader { height: 64px; }
    #theader .contwrap { width: calc(100% - 80px); max-width: none; }
    .dc_logo img { height: 36px; }

    #theader nav { display: none; position: absolute; left: 0; top: 64px; width: 100%; height: auto; background: #fff; border-bottom: 1px solid #ececec; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06); }
    #theader.active nav { display: block; }
    #theader nav .menu1 { display: block; height: auto; }
    #theader nav .menu1 li { height: auto; display: block; border-top: 1px solid #f2f2f2; }
    #theader nav .menu1 a { height: auto; padding: 15px 22px; }
    #theader nav .menu1 a span { font-size: 13px; letter-spacing: 0.12em; }
    #theader nav .menu1 a::after { display: none; }
    #theader nav .menu1 a.on span { color: #b49228; }
}
@media (max-width: 767px) {
    #theader .contwrap { width: calc(100% - 60px); }
    .dc_logo img { height: 32px; }
}
@media (max-width: 460px) {
    #theader .contwrap { width: calc(100% - 40px); }
}

.hamburgerBtn { z-index: 10; position: absolute; right: 28px; top: 50%; transform: translateY(-50%); width: 22px; height: 16px; display: none; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburgerBtn > div { position: relative; width: 100%; height: 2px; background: #1c2430; transition: all 0.3s ease; }
#theader.active .hamburgerBtn > div:nth-child(1) { transform: rotate(45deg); transform-origin: top left; }
#theader.active .hamburgerBtn > div:nth-child(2) { opacity: 0; }
#theader.active .hamburgerBtn > div:nth-child(3) { top: 1px; transform: rotate(-45deg); transform-origin: bottom left; }
@media (max-width: 1023px) {
    .hamburgerBtn { display: flex; }
}
@media (max-width: 767px) {
    .hamburgerBtn { right: 20px; }
}
@media (max-width: 460px) {
    .hamburgerBtn { right: 14px; }
}
