@font-face {
    font-family: 'yg-jalnan';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@keyframes marquee3 {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
@keyframes blk {
    0% {
        opacity: 0;
    }
    30% {
        opacity: 0;
    }
    31% {
        opacity: 1;
    }
    99% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;

}

header .headerWrap {
    width: 100%;
    padding: 30px 20px 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: #ffce31;
}

header .headerWrap > div {
    width: 50%;
}

header .headerWrap > div a {
    display: inline-block;
}
header .headerWrap > div a img{
    max-width: 81%;
    padding-left: 33%;
    padding-top: 6%;
}
header .headerWrap > div > img {
    width: 100%;
    max-width: 100%;
}

header .headerWrap > ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 40%;
    align-items: center;
}

header .headerWrap > ul > li > a {
    text-align: center;
    color: #108bb7;
    font-size: 28px;
    font-family: "yg-jalnan";
    transition: all 0.3s;
    white-space: nowrap;
}

.header-menu:hover {
    color: #e04724;
    transition: all 0.3s;
}


.on{
    color: #eaa420 !important;
    transition: all 0.3s !important;
}

.mac_opt_con{
    display: flex;
    justify-content: center;
    align-items: center;
}

.mac_opt{
    width:11%;
    display: inline-block;
    margin-left: 40%;
}
.mac_opt_1{
    width: 18px;
    background-color: #35ceff;
    height: 18px;
    border-radius: 11px 11px 11px 11px;
    rotate: -58deg;
    transition: all 0.3s;
}
.mac_opt_2{
    width: 18px;
    background-color: #044fba;
    height: 18px;
    border-radius: 11px 11px 11px 11px;
    rotate: -58deg;
    transition: all 0.3s;
}
.mac_opt_3{
    width: 18px;
    background-color: #6c44d7;
    height: 18px;
    border-radius: 11px 11px 11px 11px;
    rotate: -58deg;
    transition: all 0.3s;
}
.mac_opt_4{
    width: 35px;
    background-color: #eaa420;
    height: 11px;
    border-radius: 11px 11px 11px 11px;
    rotate: -58deg;
    transition: all 0.3s;
}
/*.mac_opt_1:hover{*/
/*    width: 18px;*/
/*    height: 18px;*/
/*    margin-left:2px;*/
/*    margin-right:8px;*/
/*}*/
/*.mac_opt_2:hover{*/
/*    width: 18px;*/
/*    height: 18px;*/
/*    margin-left:3px;*/
/*    margin-right:8px;*/
/*}*/
/*.mac_opt_3:hover{*/
/*    width: 18px;*/
/*    height: 18px;*/
/*    margin-left:7px;*/
/*    margin-right:4px;*/
/*}*/
/*.mac_opt_4:hover{*/
/*    width: 22px;*/
/*    height: 22px;*/
/*}*/

.mac_opt img{
    max-width:100%;
}
.header_2{
    width: 100%;
    margin-top: -1px;
}

/*nav*/
nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: fixed;
    left: 94%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
}
.main_66 {
    max-width: 5%;
    margin-bottom: -0.5%;
}
.main_77 {
    max-width: 5%;
    margin-bottom: -0.5%;
}
.main_88 {
    max-width: 5%;
    margin-bottom: -0.5%;
}
#tttt {
    opacity: 1;
    z-index: 9999;
}
.tothetop {
    position: fixed;
    right: 0%;
    top: 72%;
    z-index: 9999;
    opacity: 1;
}
.tothetop img {
    max-width: 70%;
    animation: ddm_m 1s infinite ease;
}
/*nav@*/
.ddm_logo{
    margin-bottom: -24%;
    margin-top: -39%;
}
.last_li > a > img{
    animation: 1s blk infinite linear;
}
@media screen and (max-width:1023px) {
    header .headerWrap > ul > li > a {
        font-size: 1.2em;
    }

    .con1_header img {
        max-width: 20%;
    }

    header .headerWrap > ul {
        width : 120% !important;
        margin-bottom: -1%;
    }

    .con1_header {
        padding-bottom: 7%;
        padding-top: 7%;
        width: 100%;
        width: 90%;
    }
    header .headerWrap > div a img{
        max-width: 65%;
    }
    .mac_opt_1,.mac_opt_2,.mac_opt_3{
        width: 13px;
        height: 13px;
        border-radius: 11px 11px 11px 11px;
        rotate: -58deg;
        transition: all 0.3s;
    }
    .tothetop > a > img {
        max-width: 82% !important;
    }
    .last_li{
        width: 23% !important;
    }
    .header_2 {
        max-width: 100%;
    }
    .header_3{
        max-width: 63%;
    }
    .header_4{
        max-width: 43%;
    }
    .header_5{
        max-width: 43%;
    }
    .header_6{
        max-width: 85%;
        margin-bottom: -3%;
    }
    header .headerWrap > div a img {
        max-width: 74%;
        padding-left: 11%;
    }
    .last_li > a> img{
        max-width: 57%;
    }
    header .headerWrap > ul {
        width: 120% !important;
        margin-bottom: -4%;
    }
    .last_li {
        width: 37% !important;
        position: absolute;
        top: 12%;
        right: -3%;
    }
    nav {
        left: 87%;
        z-index: 10001;
    }
    .main_66 {
        max-width: 10%;
    }
    .main_77 {
        max-width: 10%;
    }
    .main_88 {
        max-width: 10%;
    }
}

@media screen and (max-width: 599px) {
    /*폼 구간 끝*/
    :root {
        --swiper-navigation-size: 29px !important;
    }

    header .headerWrap {
        padding: 20px 20px 10px;
    }

    header .headerWrap > ul {
        width: 150% !important;
    }

    header .headerWrap > div a img {
        max-width: 65%;
    }

    header .headerWrap > div {
        width: 46%;
    }

    .mac_opt_con {
        position: absolute;
        top: 13%;
        right: 2%;
    }

    .mac_opt_con {
        margin-top: 0;
    }

    .mac_opt div {
        width: 11px;
        height: 11px;
        margin-right: 7px;
    }

    .mac_opt div:hover {
        width: 11px;
        height: 11px;
        margin-left: 0px;
        margin-right: 7px;
    }
    .mac_opt {
        width: 11%;
        display: inline-block;
        margin-left: 19%;
    }
    header .headerWrap {
        padding: 20px 20px 10px;
        flex-direction: column;
    }
    header .headerWrap > ul {
        width: 110% !important;
    }
    header .headerWrap > div a img {
        padding-bottom: 5%;
    }
    .tothetop {
        right: -11% !important;
        top: 77% !important;
    }
    .tothetop > a > img {
        max-width: 50% !important;
    }
    .last_li {
        width: 31% !important;
    }
    header .headerWrap > ul > li:nth-of-type(5) {
        margin-right: 1%;
    }
    .last_li > a > img {
        max-width: 100%;
    }
    header .headerWrap > div a img {
        max-width: 68%;
    }
    header .headerWrap > div a img {
        max-width: 74%;
        padding-left: 18%;
    }
    header .headerWrap {
        padding: 23px 20px 10px;
        flex-direction: column;
        padding-bottom: 4%;
    }
    nav {
        left: 85%;
        z-index: 10001;
    }
    .main_66 {
        max-width: 12%;
    }
    .main_77 {
        max-width: 12%;
    }
    .main_88 {
        max-width: 12%;
    }
}