/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    text-align: center;
    color: #fff;
    list-style: none;
    text-decoration: none;
}

@font-face {
    font-family: 'Allura', cursive;
}



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

.hidden {
    visibility: hidden;
    width: 0;
    height: 0;
    font: 0/0'';
    overflow: hidden;
}

wrap {
    width: 100%;
}

#header {
    width: 100%;
    height: 500px;
    background: url(../img/07/07_mothers_day_gifthub_hero_desktop.jpg) no-repeat center;
    background-size: cover;
}

#header_box {
    max-width: 1024px;
    height: 50px;
    margin: 0 auto;
}

#logo {
    width: 140px;
    height: 32px;
    position: relative;
    top: 10%;
    left: 5%;
    float: left;
    background: url(../img/01_logo.png);
    cursor: pointer;
}

#logo > a {
    width: 100%;
    height: 100%;
    display: block;
}

#logo:hover {
    opacity: 0.5;
}

#lnb_1 {
    width: 50%;
    float: right;
}

#lnb_1 > ul > li {
    width: 32%;
    height: 50px;
    line-height: 50px;
    float: left;
}

#lnb_1 > ul > li > a {
    color: #000;
    display: block;
    font: 0.8em /50px '나눔바른고딕';
}


#lnb_1 > ul > li > a:hover {
    background-color: rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}


#lnb_2 {
    border-top: solid 1px #000;
    width: 100%;
    height: 50px;
}

#lnb_2 > ul {
    max-width: 800px;
    height: 50px;
    margin: 0 auto;
}

#lnb_2 > ul > li {
    border-radius: 0 0 20px 20px;
    width: 20%;
    float: left;
}

#lnb_2 > ul > li:hover {
    background: rgba(0, 0, 0, 0.2);
   -webkit-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

#lnb_2 > ul > li > a {
    color: #000;
    display: block;
    font: 0.8em / 50px '나눔바른고딕';
}

#lnb_2 > ul > li > a:hover {
    font-weight: bold;
    color: #000;
}

.icon {
    width: 90px;
    height: 30px;
    position: fixed;
    right: 50px;
    top: 7%;
    z-index: 9999;
}

.icon li {
    float: left;
    margin-right: 30px;
    width: 30px;
    height: 30px;
    display: block;
    cursor: pointer;

}

.icon a {
    width: 100%;
    height: 100%;
    display: block;
}

.icon li:hover {
    opacity: 0.5;
}


.icon li:nth-child(1) {
    background-image: url(../img/00_icon-01.png);
}

.icon li:nth-child(2) {
    background-image: url(../img/00_icon-02.png);
    margin-right: 0;
}




#contentwrap {
    width: 100%;
    overflow: hidden;
}



section {
    max-width: 1024px;
    margin: 0 auto;
    overflow: hidden;
    /*overflow: hidden; 높이 자동 계산*/
}

section > h3 {
    margin-top: 20px;
}

#text_box {
    width: 100%;
    height: 130px;
}

#text_06 {
    margin: 20px auto;
    max-width: 800px;
    height: 100px;
}

#text_06 > a {
    font: bold 3em / 50px 'Allura';
    color: #000;
}




.img_main {
    width: 100%;
    height: 300px;
    padding: 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /*overflow: hidden; 높이 자동 계산*/
}


.img_main li {
    margin: 50px auto;
    width: 33.3333%;
    height: 200px;
    padding: 5px;
    float: left;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /*박스 영역의 패딩까지 포함*/
    cursor: pointer;
}

.img_main li:nth-child(4) {
    width: 100%;
    height: 464px;
}

.img_main li:nth-child(4) img {
    display: block;
    width: 1200px;
    height: 490px;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.img_main li:nth-child(4):hover {
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}



.img_main li:hover {
    -webkit-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.img_main > ul > li > a {
    width: 100%;
    height: 100%;
    display: block;
}







#footer {
    width: 100%;
    height: 150px;
    background-color: #000000;
}

#footer_box {
    max-width: 1024px;
    height: 150px;
    margin: 0 auto;
}

#footer_left {
    width: 30%;
    height: 150px;
    float: left;
}

#logo_2 {
    width: 140px;
    height: 32px;
    margin: 30px auto;
    background: url(../img/00_logo.png);
    cursor: pointer;
}

#logo_2:hover {
    opacity: 0.5;
}

#logo_2 > a {
    width: 100%;
    height: 100%;
    display: block;
}

#img > ul {
    width: 150px;
    height: 30px;
    margin: 10px auto;
}

#img > ul > li {
    width: 30px;
    height: 30px;
    float: left;
    margin-right: 10px;
    cursor: pointer;
}

#img > ul > li > a {
    width: 100%;
    height: 100%;
    display: block;
}

#img > ul > li:hover {
    opacity: 0.5;
}

#img > ul > li:nth-child(1) {
    background-image: url(../img/00_f.png);
}

#img > ul > li:nth-child(2) {
    background-image: url(../img/00_u.png);
}

#img > ul > li:nth-child(3) {
    background-image: url(../img/00_p.png);
}

#img > ul > li:nth-child(4) {
    background-image: url(../img/00_i3.png);
    margin-right: 0;
}


#footer_left {
    width: 30%;
}

#footer_right {
    width: 70%;
    height: 100px;
    float: left;
}

#text {
    width: 100%;
    height: 50%;
    font: 1em/75px '나눔바른고딕';
}

#input_1 {
    margin-top: 30px;
    width: 70%;
    height: 30%;
    color: #000;
}




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


    .icon {
        top: 20%;
        width: 30px;
        height: 90px;
    }

    .icon li {
        margin-bottom: 20px;
    }

    #footer {
        width: 100%;
        height: 300px;
    }

    #footer_left {
        width: 100%;
    }

    #footer_right {
        width: 100%;
    }

}

@media all and (max-width:639px) {
    #lnb_1 > ul > li > a {
        color: #000;
        display: block;
        font: 0.6em /50px '나눔바른고딕';
    }

    .img_main li {
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        grid-column: 1 / span 2;
        width: 100%;
    }

    .img_main li:nth-child(4) {
        height: 100%;
    }



    .icon {
        top: 20%;
        right: 2%;
    }

    .icon li {
        margin-bottom: 20px;
    }
}
