@charset "utf_8";

* {
    margin: 0;
    padding: 0;
    font-style: normal;
    text-decoration: none;
    color: black;
}

.behind {
    width: 1px;
    height: 1px;
    position: absolute;
    left: 1px;
    overflow: hidden;
    z-index: -1000;
}

li {
    float: left;
    list-style: none;
}

#wrap {
    width: 100%;
    font-family: 'Noto Sans KR', sans-serif;
}

a:hover {}

/*******************헤더****************/


#header {
    width: 100%;
    height: 78px;
    background-color: #fff;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

#header a:hover {
    opacity: 1;
}

.header_center {
    max-width: 1280px;
    height: 78px;
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.header_center > div {
    float: left;
}

.logo {
    margin-left: 40px;
    margin-right: 40px;
}



.lnb_center {
    width: calc(100% - 500px);
}

.lnb_center ul {
    /*    width: 336px;*/
    max-width: 500px;
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
}

.lnb_center li {
    line-height: 78px;
    font-size: 16px;
    position: relative;
}

.lnb_center li:hover .line_black {
    transform: translateX(-50%) scaleX(1);
}

.line_black {
    width: 65px;
    height: 2px;
    background-color: #000;
    position: absolute;
    top: 72%;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    border-radius: 2px;
    transition: all 0.5s;
}

.lnb_center li:nth-child(3) .line_black {
    width: 90px;
}


.lnb_right {
    width: 244px;
    height: 28px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.lnb_right ul {
    width: 244px;
    height: 28px;
}

.lnb_right li {
    width: 28px;
    height: 28px;
    margin-left: 40px;
    position: relative;
}

.lnb_right li:last-child {
    margin-right: 40px;
}

.lnb_right img {
    cursor: pointer;
}

.box {
    position: absolute;
    bottom: -150%;
    left: 50%;
    transform: translateX(-50%);


    width: 70px;
    height: 30px;
    border-radius: 20px;
    background-color: #000000;

    line-height: 30px;
    text-align: center;
    color: #fff;
    font-size: 12px;

    transition: all 0.2s ease-in-out;
    opacity: 0;
}

.triangle {
    width: 0;
    height: 0;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #000000;
    border-left: 8px solid transparent;
    z-index: 1;
    position: absolute;
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
}

.box_2 {
    width: 60px;
}

.lnb_right li:hover .box {
    transform: translateX(-50%);
    opacity: 1;
}

/*******************네브****************/


#lnb {
    width: 100%;
    height: 78px;
    background-color: #fff;
    position: fixed;
    display: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.btn {
    width: 20px;
    height: 20px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    
    cursor: pointer;
    float: left;
    padding-right: 20px;
    padding-left: 40px;
}

.btn span {
    width: 20px;
    height: 2px;
    background-color: #000;
    border-radius: 2px;
    position: absolute;
    transition: all 0.5s ease-in-out;
}

.line1 {
    top: 0px;
}

.line2 {
    top: 9px;
}

.line3 {
    bottom: 0px;
}

.deg45 {
    top: -4px;
    transform: translateY(13px) rotate(45deg) scale(1.3, 1);
}

.opcity {
    opacity: 0;
}

.deg-45 {
    bottom: -4px;
    transform: translateY(-13px) rotate(-45deg) scale(1.3, 1);
}

.logo_p {
    background: url(../img/logo_marshall_2.PNG) center no-repeat;
    width: 176px;
    height: 78px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);

}

.menu {
    width: 100%;
    position: relative;
    top: 0px;
}

.menu > li {
    text-indent: 60px;
    width: 100%;
    font: 16px/60px 'Noto Sans KR';
    background: #fff;
    cursor: pointer;

}

.menu > li:first-child {
    height: 20px;
}

.menu > li:hover .sub {
    height: 120px;

}

.menu > li:nth-child(4):hover > .sub {
    height: 160px;

}

.sub {
    background: #fff;
    height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;

}

.sub > li {
    float: none;
    width: 100%;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    padding-left: 20px;
}

.sub li:hover {
    background-color: #eee;
}

.menu > li:last-child {
    display: flex;
    justify-content: flex-end;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
}

.menu > li:last-child div {
    float: left;
    position: relative;
    margin: 40px 20px;
}

.menu > li:last-child .icon_3 {
    margin-right: 40px;
}

.icon_1 {
    background: url(../img/icon_shop.PNG) center no-repeat;
    width: 28px;
    height: 40px;
}

.icon_2 {
    background: url(../img/icon_login.PNG) center no-repeat;
    width: 28px;
    height: 40px;
}

.icon_3 {
    background: url(../img/icon_join.PNG) center no-repeat;
    width: 28px;
    height: 40px;
}


/******************바디*****************/




/***********************************/

#footer {
    width: 100%;
    margin-top: 100px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

#footer li:hover {
    opacity: 0.5;
}

.footer_top {
    max-width: 1280px;
    margin: 0 auto;
    height: 78px;
}

.favicon {
    background: url(../img/footer_logo.JPG) center no-repeat;
    width: 78px;
    height: 78px;
    float: left;
}

.fnb {
    font: 16px/78px 'Noto Sans KR';
    width: 40%;
    height: 78px;
    float: left;
    display: flex;
    justify-content: space-around;
}

.fnb li {
    width: 25%;
    height: 78px;
    text-align: center;

}

.fnb li:first-child {}

.fnb li:last-child {
    margin-right: 0;
}

.sns {
    width: 270px;
    height: 78px;
    float: right;
}

.sns li {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 30px;
    z-index: 1;
}

.sns li:first-child {
    margin-left: 30px;
}

.footer_center {
    max-width: 900px;
    /*    height: 268px;*/
    height: 78px;
    margin: 60px auto;

    /*
    border-top: 1px solid #ddd;
    border-bottom:  1px solid #ddd;
    border-left: 0;
    border-right: 0;
    border-style: dashed;
*/

    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.footer_box > div {
    margin-top: 43px;
}

.fcontent_left {
    /*    width: 336px;*/
    width: 40%;
    height: 78px;
    float: left;
    font: bold 21px/21px 'Noto Sans KR';
}

.fcontent_text {
    width: 360px;
    margin: 16px auto;
    font-family: 'Noto Sans KR';
}

.fcontent_left span {
    font: 12px/21px '';
}

.fcontent_left a {
    text-decoration: underline;
}

.fcontent_left a:hover {
    opacity: 0.5;
}

.fcontent_right {
    /*    width: 508px;*/
    width: 60%;
    height: 78px;

}

.fright_box {
    width: 496px;
    height: 45px;
    margin: 16px auto;
}

.input {
    width: 375px;
    height: 45px;

    border: 1px sloid #ddd;
    border-radius: 5px;

    float: left;
    
}

.input {
    text-align: center;
}

.sumit_box {
    width: 110px;
    height: 48px;
    background-color: #000;
    float: left;
    border: 1px solid #000;
    border-radius: 5px;
    margin-left: 5px;

    color: #fff;
    font: 16px/45px 'Noto Sans KR';
    text-align: center;
    cursor: pointer;
}

.footer_pay {
    max-width: 1280px;
    margin: 0 auto;
    height: 78px;
}

.footer_pay ul {
    max-width: calc(1280px - 80px);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto;
}

.footer_pay img {
    margin-top: 25px;
}

.footer_bottom {
    width: 100%;
    margin: 0 auto;
    height: 78px;
    border-top: 1px solid #ddd;
}

.footer_bottom p {
    width: calc(100% - 80px);
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}













































/***********************************/



@media all and (max-width:1023px) {
    
    #footer {
    margin-top: 140px;
}
    
    .sub_banner p {
        font-size: 16px;
    }

    .fnb {
        width: 400px;
    }

    .footer_center {
        width: calc(100% - 40px);
        margin: 50px auto;
        height: 156px;
    }

    .fcontent_left {
        width: 100%;
    }

    .fcontent_right {
        width: 100%;
        margin-bottom: 0;

    }

}


@media all and (max-width:767px) {


    #header {
        display: none;
    }

    #lnb {
        display: inline-block;
    }

    .favicon {
        display: none;
    }

    .footer_top {
        height: 164px;
    }

    .fnb {
        width: 100%;
        border-bottom: 1px solid #ddd;
    }

    .sns {
        width: 100%;
        margin: 0 auto;
        left: 0;
        top: 0;
        margin: 0;
        padding: 0;
    }

    .sns li {
        position: relative;
        top: 50%;
        left: 50%;
        transform: translateX(-450%) translateY(-50%);
        margin-right: 30px;
        z-index: 1;
    }

    .sns li:last-child {
        margin-right: 0;
    }


    .footer_center {
        width: 100%;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        padding: 40px 0;
        margin: 0;
    }

    .fcontent_right {
        width: 70%;
        margin: 0 auto;
    }
    
    .footer_center p {
    
    }
    
    .footer_center span {
        padding-left: 15px;
    }

    .fright_box {
        width: 100%;
    }

    .input {
        width: calc(100% - 110px - 11px);
        margin: 0 auto;
        text-align: center;
    }

    .footer_pay {
        max-width: calc(450px - 80px);
        height: 164px;
    }

    .footer_pay li {
        margin-top: 15px;
    }

    .footer_bottom {
        height: 164px;
    }
    
    .footer_pay ul {
        max-width: 90%;
    }

    .footer_pay li:nth-child(3) {
        display: none;
    }

    .footer_pay li:nth-child(8) {
        display: none;
    }

}

@media all and (max-width:414px) {

    .logo_p {
        margin-left: 25px;
    }
    
    #footer {
        margin-top: 100px;
    }
    
    .fnb a{
        font-size: 0.8em;
    }
    .fcontent_text {
        height: 0;
        width: 90%;
        text-align: center;
    }
    
    .fright_box {
        padding: 0;
        margin: 0;
    }
    
    .fcontent_text p {
        font-size: 0.8em;
    }
    .fcontent_text span {
        font-size: 0.3em;
        padding-left: 0;
    }
    
    .input {
        width: 100%;
        font-size: 0.8em;
        height: 40px;
        margin-bottom: 10px;
        box-sizing: border-box;
    }
    
    .sumit_box {
        width: 100%;
        margin-left: 0;
        height: 40px;
        font-size: 0.8em;
    }
    
    .fnb {
        font-size: 15px;
    }
    .footer_bottom {
        height: 300px;
    }
}
