#theader { z-index: 995; position: relative; top: 0; left: 0; width: 100%; background-color: #fff; }

#theader .top { width: 100%; height: 150px; border-bottom: 1px solid transparent; }
#theader .top .contwrap { height: 100%; }
#theader .top .logo { z-index: 1; position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: inline-block; height: 100%; writing-mode: vertical-lr; text-align: center; }
#theader .top .logo img { display: inline-block; width: 389px; }
#theader .top .topmenus { z-index: 2; position: absolute; top: 20px; right: 0; display: flex; flex-wrap: nowrap; font-size: 14px; color: #121111; }
#theader .top .topmenus * { font-size: inherit; color: inherit; }
#theader .top .topmenus a { position: relative; display: inline-block; padding: 0 10px; }
#theader .top .topmenus a:first-of-type { padding-left: 0; }
#theader .top .topmenus a:last-of-type { padding-right: 0; }

#theader .top .topmenus a::after { display: block; content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 50%; background-color: #b2b2b2; }
#theader .top .topmenus a:first-of-type:after { display: none; }

#theader .bottom { height: 55px; background-color: #ff0000; }
#theader .bottom .contwrap { height: 100%; }
#theader .bottom nav { position: relative; left: 50%; transform: translateX(-50%); height: 100%; }
#theader .bottom nav .menu1 { display: flex; flex-wrap: nowrap; justify-content: center; height: 100%; }
#theader .bottom nav .menu1 > li { height: 100%; }
#theader .bottom nav .menu1 > li > a { position: relative; display: block; padding: 0 40px; height: 100%; text-align: center; font-family: 'GmarketSans'; font-weight: 700; font-size: 20px; color: #fff; letter-spacing: 0.015em; -webkit-text-stroke: 1px black; }
#theader .bottom nav .menu1 > li > a > span { position: relative; top: 50%; transform: translateY(-50%); display: inline-block; transition: color 0.3s; }
#theader .bottom nav .menu1 > li:hover > a > span { color: #fff200; }

.header_block { display: none; }

#theader .mobottom { display: none; }

@media (max-width: 1535px) {
    #theader .top { height: 130px; }
    #theader .top .logo img { width: 337.13px; }
    #theader .top .topmenus { top: 15px; font-size: 13px; }

    #theader .bottom { height: 50px; }
    #theader .bottom nav .menu1 > li > a { padding: 0 35px; font-size: 18px; }
}

@media (max-width: 1279px) {
    #theader .top { height: 100px; }
    #theader .top .logo img { width: 259.33px; }

    #theader .bottom { height: 40px; }
    #theader .bottom nav .menu1 > li > a { padding: 0 20px; font-size: 16px; }
}

@media (max-width: 1023px) {
    #theader { position: fixed; }
    #theader.scrollh { box-shadow: 0 4px 4px -4px #000; }
    #theader.active { box-shadow: none; }

    #theader .top { height: 70px; }
    #theader.subVer .top { border-bottom: 1px solid #ddd; }
    #theader.active .top { border-bottom: 1px solid #ddd !important; }
    #theader .top .contwrap { width: 100%; max-width: 100%; }
    #theader .top .logo { left: 40px; transform: translateX(0); }
    #theader .top .logo img { width: 181.53px; }
    #theader .top .topmenus { display: none; }

    #theader .bottom { display: none; }
    #theader.active .mobottom { display: block; position: absolute; left: 0; top: 70px; width: 100%; background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 4px 4px -4px #000; }
    #theader .mobottom .menu1 { font-weight: normal; font-size: 14px; color: #333; }
    #theader .mobottom .menu1 * { font-size: inherit; color: inherit; }
    #theader .mobottom .menu1 a { display: block; padding: 13px 5px; text-align: center; }
    #theader .mobottom .menu1 a:hover { background-color: #eee; }

    #theader .mobottom .momenus { display: flex; justify-content: center; border-top: 1px solid #ddd; }
    #theader .mobottom .momenus a { width: 20%; padding: 10px 5px; text-align: center; font-size: 13px; color: #333; }

    .header_block { display: block; height: 70px; }
}
@media (max-width: 767px) {
    #theader .top .logo { left: 30px; }
}
@media (max-width: 460px) {
    #theader .top .logo { left: 20px; }
}

/* hamburgerBtn */
.hamburgerBtn { z-index: 10; position: absolute; right: 40px; top: 50%; transform: translateY(-50%); width: 20px; height: 15px; display: none; flex-direction: column; justify-content: space-between; cursor: pointer; }
.hamburgerBtn > div { position: relative; width: 100%; height: 2px; background-color: #000; 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: 0; transform: rotate(-45deg); transform-origin: bottom left; }
@media (max-width: 1023px) {
    .hamburgerBtn { display: flex; }
}
@media (max-width: 767px) {
    .hamburgerBtn { right: 30px; }
}
@media (max-width: 460px) {
    .hamburgerBtn { right: 20px; }
}