@charset "utf-8";


* {
        margin: 0;
        padding: 0;
        list-style: none;
        box-sizing: border-box;
        font-family: 'Roboto', sans-serif;
}

body {
        background-color: var(--color-White);
        color: var(--color-text);
}

a {
        text-decoration: none;
        color: inherit;
}

.clearfix::after {
        display: block;
        content: "";
        clear: both;
}


/* header */
.header {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        background-color: var(--color-White);
        position: fixed;
        z-index: 3;
}

.header .menu .nav>li:hover {
        color: var(--color-accent);
        transition: 0.2s;
}


.header .menu .nav>li>a {
        display: inline-block;
        height: 80px;
        line-height: 80px;
        font-weight: 300;
}

.header .menu {
        width: 30%;
}

.header .menu .leftnav li {
        float: left;
        margin-left: 50px;
}

.header .menu .rightnav li {
        float: right;
        margin-right: 50px;
}

.logo {
        position: relative;
        width: 150px;
}

.logo img {
        width: 100%;
}

/* 모바일 햄버거 메뉴 */
.burger {
        position: relative;
        width: 25px;
        height: 16px;
        cursor: pointer;
        display: none;
}

.burger_line {
        position: absolute;
        width: 100%;
        height: 3px;
        border-radius: 2px;
        background-color: var(--color-accent);
        left: 0;
        transition: 0.2s;
}

.burger_line:first-child {
        top: 0;
}

.burger_line:nth-child(2),
.burger_line:nth-child(3) {
        top: 50%;
}

.burger_line:nth-child(4) {
        top: 100%;
}

.burger.active span:nth-child(1),
.burger.active span:nth-child(4) {
        opacity: 0;
}

.burger.active span:nth-child(2) {
        transform: rotate(45deg);
}

.burger.active span:nth-child(3) {
        transform: rotate(-45deg);
}

/*-----------main 구간-------------*/
.main {
        width: 100%;
        height: 500px;
        background: url("../images/images4/main.webp") no-repeat;
        background-size: cover;
}

.maintext {
        display: flex;
        flex-direction: column;
        align-items: center;
}

.main h3 {
        font-size: 40px;
        letter-spacing: 1px;
        margin-top: 250px;
        font-family: 'Montserrat', sans-serif;
}

.main p {
        font-size: 20px;
        font-weight: 200;
        line-height: 30px;
}


/*--------서브메뉴버튼---------*/

.subbtn {
        width: 100%;
        margin: 90px auto;
        animation-delay: 0.2s;
}

.subbtn h3 {
        text-align: center;
        font-size: 26px;
        font-family: 'Montserrat', sans-serif;
}

.subbtn ul {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px auto;
        color: var(--color-accent);
}

.subbtn ul li {
        padding: 0 30px;
        font-weight: 300;
        border-right: 2px solid var(--color-accent);
        cursor: pointer;
}

.subbtn ul li:last-child {
        border-right: 0;
}

.subbtn ul li span:hover {
        border-bottom: 2px solid var(--color-accent);
        transition: 0.2s;
}


/*----------------첫번째 줄 제품----------------*/

.contentBox {
        width: 1400px;
        margin: 0 auto;
}


.first_product ul {
        width: 94%;
        margin: 0 auto;
        padding-top: 20px;
        visibility: hidden;
}

.first_product ul li {
        float: left;
        height: 420px;
        width: 23.5%;
        margin-left: 2%;
        border: 1px solid var(--color-gray1);
        border-radius: 10px;
        position: relative;
        overflow: hidden;
}

.first_product ul li:first-child {
        margin-left: 0;
}

.icon>img {
        width: 20px;
        height: 20px;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 1;
}

.icon>img:nth-child(2) {
        width: 20px;
        height: 20px;
        position: absolute;
        top: 50px;
        left: 20px;
        z-index: 1;
}

.icon>img:nth-child(3) {
        width: 20px;
        height: 20px;
        position: absolute;
        top: 50px;
        left: 20px;
        z-index: 1;
}

.icon img {
        cursor: pointer;
}

.imgbox {
        height: 330px;
        text-align: center;
}

.imgbox img {
        width: 35%;
        max-width: 110px;
        margin: 40px;
}

.imgbox img:hover {
        transform: scale(1.1);
        transition: 0.3s;
}

/*----------------두번째 줄 제품----------------*/

.second_product {
        margin-top: 80px;
}

.second_product ul {
        width: 94%;
        margin: 0 auto;
        visibility: hidden;
}

.second_product ul li {
        float: left;
        height: 420px;
        width: 23.5%;
        margin-left: 2%;
        border: 1px solid var(--color-gray1);
        border-radius: 10px;
        position: relative;
        overflow: hidden;
}

.second_product ul li:first-child {
        margin-left: 0;
}

.second_product ul li>img {
        width: 20px;
        height: 20px;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 1;
}

.imgbox2 {
        height: 330px;
        text-align: center;
}

.imgbox2 img {
        width: 50%;
        max-width: 156px;
        margin-top: 110px;
}

.imgbox2 img:hover {
        transform: scale(1.1);
        transition: 0.3s;
}

/*----------------추가줄 제품----------------*/

.third_product {
        margin-top: 80px;
}

.third_product ul {
        width: 94%;
        margin: 0 auto;
        visibility: hidden;
}

.third_product ul li {
        float: left;
        height: 420px;
        width: 23.5%;
        margin-left: 2%;
        border: 1px solid var(--color-gray1);
        border-radius: 10px;
        position: relative;
        overflow: hidden;
}

.third_product ul li:first-child {
        margin-left: 0;
}

.third_product ul li>img {
        width: 20px;
        height: 20px;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 1;
}

.imgbox3 {
        height: 330px;
        text-align: center;
}

.imgbox3 img {
        width: 80px;
        margin-top: 70px;
}

.imgbox3 img:hover {
        transform: scale(1.1);
        transition: 0.3s;
}

.more_btn {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 50px auto;
}

.more_btn p {
        width: 160px;
        height: 40px;
        text-align: center;
        font-weight: 300;
        padding: 10px 30px;
        border-radius: 30px;
        background-color: var(--color-accent2);
        cursor: pointer;
}

.more_btn p:hover {
        background-color: var(--color-White);
        border: 2px solid var(--color-accent);
        color: var(--color-accent);
        padding: 8px;
}


/*----------------상품 공통 소스(정보부분)----------------*/
.info {
        height: 90px;
        font-size: 14px;
        position: relative;
        border-top: 1px solid var(--color-gray1);
}

.info:hover {
        background-color: var(--color-accent2);
        transition: 0.5s;
}

.info>p {
        text-align: left;
        font-weight: 400;
        padding: 15px 20px;
        font-size: 16px;
}

.info span {
        padding: 5px 20px;
        font-weight: 300;
}


.cartbtn {
        position: absolute;
        top: 40px;
        right: 20px;
}

.cartbtn p {
        width: 50px;
        height: 30px;
        text-align: center;
        font-weight: 300;
        line-height: 26px;
        background-color: var(--color-accent);
        border: 2px solid var(--color-accent);
        border-radius: 20px;
        color: var(--color-White);
        cursor: pointer;
}

.cartbtn p:hover {
        background-color: var(--color-White);
        border-radius: 20px;
        color: var(--color-accent);
}




/*----------------세번째 Nut thin----------------*/

.nutthin {
        width: 94%;
        margin: 0 auto;
}

.nutthin h3 {
        text-align: center;
        font-size: 26px;
        margin: 130px 0 80px;
        font-family: 'Montserrat', sans-serif;
}

.nutthin ul {
        display: flex;
        margin-bottom: 80px;
        justify-content: space-between;
        animation-delay: 0.2s;
}

.nutthin ul li {
        text-align: center;
        font-size: 14px;
        font-weight: 400;
        cursor: pointer;
}

.nutthin ul li img {
        width: 45%;
}

.nutthin ul li img:hover {
        transform: scale(1.1);
        transition: 0.3s;
}

.nutthin ul li p {
        padding: 10px 0;
}


/*-----------footer-----------*/


footer {
        width: 100%;
        padding: 30px;
        font-size: 14px;
        font-weight: 200;
        display: flex;
        justify-content: space-around;
        background-color: var(--color-accent2);
}

footer p {
        font-size: 16px;
        margin-bottom: 15px;
}



@media only screen and (max-width:1399px) and (min-width:1024px) {

        .header .menu .leftnav li {
                float: left;
                margin-left: 20px;
                font-size: 16px;
        }

        .header .menu .rightnav li {
                float: right;
                margin-right: 20px;
                font-size: 16px;
        }

        .main {
                height: 400px;
        }


        .main h3 {
                font-size: 32px;
                margin-top: 220px;
        }

        /*--------서브메뉴버튼---------*/

        .subbtn {
                margin: 50px 0;
        }

        .subbtn h3 {
                font-size: 24px;
        }


        /*----------------첫번째 줄 제품----------------*/

        .contentBox {
                width: 1000px;
                margin: 0 auto;
        }


        .first_product ul {
                width: 97%;
                margin: 0 auto;
                padding-top: 20px;
        }

        .first_product ul li {
                float: left;
                height: 400px;
                width: 24.25%;
                margin-left: 1%;
        }

        .imgbox {
                height: 300px;
        }

        .imgbox img {
                width: 35%;
                max-width: 110px;
                margin: 80px 40px 40px;
        }


        /*----------------두번째 줄 제품----------------*/

        .second_product {
                margin-top: 80px;
        }

        .second_product ul {
                width: 97%;
                margin: 0 auto;
        }

        .second_product ul li {
                float: left;
                height: 400px;
                width: 24.25%;
                margin-left: 1%;
        }

        .imgbox2 {
                height: 300px;
        }

        .more_btn {
                display: flex;
                justify-content: center;
                align-items: center;
                margin: 50px auto;
        }


        .info {
                height: 100px;
                border-radius: 0 0 10px 10px;
        }

        .info>p {
                padding: 18px 20px;
        }

        .info span {
                padding: 5px 20px;
                margin-top: 30px;
        }


        .cartbtn {
                top: 48px;
        }

        .cartbtn p {
                width: 50px;
                height: 30px;
                line-height: 26px;
        }

        .third_product ul {
                width: 97%;
                margin: 0 auto;
        }

        .third_product ul li {
                float: left;
                height: 400px;
                width: 24.25%;
                margin-left: 1%;
        }

        .imgbox3 {
                height: 300px;
        }

        .imgbox3 img {
                width: 90px;
                margin-top: 50px;
        }


        .nutthin h3 {
                margin: 90px 0 80px;
        }



        footer {
                padding: 15px 0;
                font-size: 12px;
        }

        footer p {
                font-size: 14px;
                margin: 0 4px 12px;
        }

        footer a {
                margin: 0 5px 12px;
        }


}

/*1399-1024구간 끝*/


@media only screen and (max-width:1023px) and (min-width:700px) {

        .header .menu .leftnav li {
                float: left;
                margin-left: 15px;
                font-size: 14px;
        }

        .header .menu .rightnav li {
                float: right;
                margin-right: 15px;
                font-size: 14px;
        }

        .main {
                height: 400px;
        }

        .main h3 {
                font-size: 30px;
                margin-top: 200px;
        }

        /*--------서브메뉴버튼---------*/
        .subbtn {
                margin: 50px 0;
        }

        .subbtn h3 {
                font-size: 24px;
        }

        .subbtn ul {
                margin: 20px auto;
        }

        .subbtn ul li {
                padding: 0 10px;
        }

        /*----------------첫번째 줄 제품----------------*/


        .contentBox {
                width: 680px;
                margin: 0 auto;
        }

        .first_product {
                margin-top: 0;
        }

        .first_product ul {
                width: 90%;
                margin: 0 auto;
                padding: 0;
        }

        .first_product ul li {
                float: left;
                height: 400px;
                width: 45%;
                margin-left: 0%;
                margin: 2.5%;
        }

        .first_product ul li:nth-child(1) {
                margin-left: 2.5%;
        }


        .imgbox {
                height: 300px;
        }

        .imgbox img {
                width: 30%;
                max-width: 110px;
                margin: 50px 40px 40px;
        }

        /*----------------두번째 줄 제품----------------*/
        .second_product {
                margin-top: 0;
        }

        .second_product ul {
                width: 90%;
                margin: 0 auto;
                padding: 0;
        }

        .second_product ul li {
                float: left;
                height: 400px;
                width: 45%;
                margin-left: 0%;
                margin: 2.5%;
        }

        .second_product ul li:nth-child(1) {
                margin-left: 2.5%;
        }

        .imgbox2 {
                height: 300px;
        }

        .imgbox2 img {
                width: 40%;
        }


        /*추가 줄 */
        .third_product {
                margin-top: 0;
        }

        .third_product ul {
                width: 90%;
                margin: 0 auto;
                padding: 0;
        }

        .third_product ul li {
                float: left;
                height: 400px;
                width: 45%;
                margin-left: 0%;
                margin: 2.5%;
        }

        .third_product ul li:nth-child(1) {
                margin-left: 2.5%;
        }

        .imgbox3 {
                height: 300px;
        }

        .imgbox3 img {
                width: 20%;
                margin-top: 85px;
        }



        .info {
                height: 100px;
                border-radius: 0 0 10px 10px;
        }

        .info>p {
                padding: 18px 20px;
        }

        .info span {
                padding: 5px 20px;
                margin-top: 30px;
        }

        /*-------nutThin 구간------*/

        .nutthin {
                width: 94%;
                margin: 0 auto;
        }

        .nutthin h3 {
                margin: 90px 0 80px;
        }


        .nutthin ul li {
                font-size: 12px;
        }

        .nutthin ul li img {
                width: 50%;
        }


        footer {
                padding: 15px 0;
                font-size: 12px;
                margin-top: 20px;
        }

        footer div {
                width: 30%;
                padding: 0 10px;
        }

}

/*1023-700구간 끝*/

@media only screen and (max-width:699px) {

        /*햄버거 메뉴 제작*/

        .burger {
                display: block;
                z-index: 4;
                position: absolute;
                top: 32px;
                right: 16px;
        }

        header {
                height: 80px;
        }

        .header .menu {
                width: 100%;
                position: absolute;
                text-align: center;
                background-color: var(--color-White);
                display: none;
        }

        .header .menu:nth-child(1) {
                top: 80px;
        }

        .header .menu:nth-child(3) {
                top: 320px;
        }

        .header .menu .leftnav>li {
                float: none;
                margin-left: 0;
        }

        .header .menu .rightnav>li {
                float: none;
                margin-right: 0;
        }

        .logo {
                width: 100px;
                top: 0px;
                left: -36%;
        }

        .main {
                height: 300px;
        }

        .main h3 {
                font-size: 22px;
                margin-top: 180px;
        }

        .main p {
                font-size: 14px;
                line-height: 20px;
        }


        /*--------서브메뉴버튼---------*/
        .subbtn {
                width: 100%;
                margin: 26px 0;
        }

        .subbtn h3 {
                width: 100%;
                font-size: 18px;
        }

        .subbtn ul {
                margin: 16px auto;
                flex-wrap: wrap;
        }

        .subbtn ul li {
                padding: 0 20px;
                font-size: 14px;
                margin: 5px 0;
        }

        /*----------------첫번째 줄 제품----------------*/

        .contentBox {
                width: 100%;
                margin: 0 auto;
        }

        .first_product {
                margin-top: 0;
        }

        .first_product ul {
                width: 80%;
                margin: 0 auto;
                padding: 0;
        }

        .first_product ul li {
                float: none;
                height: 400px;
                width: 100%;
                margin: 20px auto;
        }

        .first_product ul li:nth-child(1) {
                margin-left: 0;
        }

        .first_product ul li:nth-child(1) {
                margin: 20px auto;
        }

        .imgbox {
                height: 300px;
        }

        .imgbox img {
                width: 28%;
                max-width: 110px;
                margin: 20px;
        }


        /*----------------두번째 줄 제품----------------*/

        .second_product {
                margin-top: 0px;
        }

        .second_product ul {
                width: 80%;
                margin: 0 auto;
                padding: 0;
        }

        .second_product ul li {
                float: none;
                height: 400px;
                width: 100%;
                margin: 20px auto;
        }

        .second_product ul li:nth-child(1) {
                margin-left: 0;
        }

        .second_product ul li:nth-child(1) {
                margin: 20px auto;
        }

        .imgbox2 {
                height: 300px;
        }

        .imgbox2 img {
                width: 35%;
        }


        /*추가 줄 */

        .third_product {
                margin-top: 0;
        }

        .third_product ul {
                width: 80%;
                margin: 0 auto;
                padding: 0;
        }

        .third_product ul li {
                float: none;
                height: 400px;
                width: 100%;
                margin: 20px auto;
        }

        .third_product ul li:nth-child(1) {
                margin-left: 0;
        }

        .third_product ul li:nth-child(1) {
                margin: 20px 0;
        }

        .imgbox3 {
                height: 300px;
        }

        .imgbox3 img {
                width: 25%;
                margin-top: 54px;
        }

        .info {
                height: 100px;
                border-radius: 0 0 10px 10px;
        }

        .nutthin {
                width: 80%;
                margin: 0 auto;
        }

        .nutthin h3 {
                margin: 40px 0;
                font-size: 20px;
        }

        .nutthin ul {
                display: flex;
                flex-wrap: wrap;
        }

        .nutthin ul li {
                font-size: 12px;
                padding: 10px 0;
                width: 50%;
        }

        .nutthin ul li img {
                width: 40%;
        }

        footer {
                padding: 15px 0;
                font-size: 12px;
        }

        footer .box1,
        footer .box2 {
                display: none;
        }

        footer div {
                padding: 0 14px;
        }

        footer .box3 {
                width: 40%;
        }

        footer .box4 {
                width: 40%;
        }

        footer .box5 {
                width: 20%;
        }




}