@charset "UTF-8";
@font-face {
    font-family: 'HakgyoansimAllimjangTTF-B';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimAllimjangTTF-B.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'HSYuji-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/HSYuji-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    color: inherit;
    display: block;
    text-decoration: none;
}
ul li {
    list-style: none;
}

body {
    font-family: 'pretendard','맑은 고딕';
}



h3 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 28px;
    font-family: 'HSYuji-Regular';
    letter-spacing: 5px;
}
h3 i {
    font-size: 24px;
    margin: 5px;
    margin-top: -10px;
}

header {
    position: relative;
    width: 1440px;
    height: 320px;
    background-color: #fff;
    margin: 0 auto;
    box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.3);
}
.logo {
    width: 180px;
    height: 140px;
}
.logo img {
    position: relative;
    width: 180px;
    left: 620px;
    top: 20px;
}
.gnb {
    margin-left: 200px;
    display: flex;
    line-height: 50px;
}
.gnb>li {
    width: 120px;
    height: 160px;
    margin-left: 120px;
}
.gnb>li>a {
    width: 80px;
    text-align: center;
    margin-top: 35px;
    transition: opacity 0.3s ease;
}
.gnb img {
    width: 72px;
}
.gnb>li:hover>a {
    font-weight: bold;
}
.gnb>li:first-child:hover img {
    content: url(../image/char2.png);
}
.gnb>li:nth-child(2):hover img {
    content: url(../image/goods2.png);
    margin-top: -21px;
}
.gnb>li:nth-child(3):hover img {
    content: url(../image/illust2.png);
}
.gnb>li:nth-child(4):hover img {
    content: url(../image/contact2.png);
}
.gnb p {
    margin-top: -10px;
}
.gnb_bg {
    position: absolute;
    width: 1440px;
    height: 50px;
    top: 320px;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 5;
    display: none;
    border-radius: 0 0 20px 20px;
}
.submenu {
    position: absolute;
    width: 600px;
    height: 50px;
    z-index: 6;
    display: none;
}
.submenu>li {
    position: relative;
    float: left;
    width: 150px;
    height: 50px;
    top: 15px;
    left: 0;
    cursor: pointer;
}
.submenu>li:hover {
    font-weight: bold;
    text-decoration: underline;
}
/* 반응형 */
@media only screen and (max-width:768px) {

    header {
        width: 768px;
    }
    .logo img {
        width: 180px;
        position: relative;
        top: 20px;
        left: 310px;
    }
    .gnb {
        margin-left: 0;
        justify-content: space-evenly;
    }
    .gnb_bg {
        width: 0;
        height: 0;
    }
    .gnb>li {
        width: 90px;
        height: 96px;
        justify-content: space-evenly;   
        margin-left: 0;
        font-size: 18px;
        
    }
    .gnb>li>a {
        width: 90px;
        text-align: center;
    }
    .gnb img {
        width: 80px;
    }
    .gnb>li:nth-child(2):hover img {
        margin-top: -23px;
    }
    .submenu>li {
        display: none;
    }
}
#slide {
    width: 1440px;
    height: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    /* background: url(../image/slideimg__.jpg); */
}
.slidelist a {
    position: absolute;
    width: 100%;
    height: 600px;
    top: 0;
    left: 0;
}
.slidelist igm {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
/* 반응형 */
@media only screen and (max-width:768px) {
    #slide {
        width: 768px;
        height: 360px;
        overflow: hidden;
    }
    .slidelist a {
        width: 768px;
        height: 360px;
    }
    .slidelist img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.intro {
    position: relative;
    width: 1440px;
    height: 1100px;
    background-color: #ccc;
    margin: 0 auto;
    border-top: 1px solid #fff;
    background: url(../image/intro_img_.jpg);
}

.intro_text {
    position: absolute;
    top: 16%;
    left: 30%;
    text-align: center;
    line-height: 32px;
    font-size: 20px;
}

.intro_text>a {
    margin-left: 13%;
    margin-top: 50px;
    padding-top: 8px;
    width: 420px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
    border-radius: 40px;
}
.intro p {
    font-size: 20px;
}
.intro_text>a:hover {
    background-color: rgba(0, 0, 0, 0.2);
}
/* 반응형 */
@media only screen and (max-width:768px) {
    .intro {
        width: 768px;
        height: 1200px;
        overflow: hidden;
        background: url(../image/Minfo.jpg);
    }
    .intro img {
        width: 100%;
        object-fit: cover;
        
    }
    .intro_text {
        position: absolute;
        top: 16%;
        left: 13%;
        text-align: center;
        line-height: 32px;
    }
    .intro a {
        margin-left: 130px;
        width: 300px;
        padding-top: 8px;

    }
}
.rolling {
    display: flex; 
    overflow: hidden;
    min-width: 1440px;
}
.rolling .rolling-list ul {
    padding : 0px;
    display: flex;
}
.rolling .rolling-list ul li { 
    box-sizing: border-box; 
    display: flex; 
    align-items: center; 
    flex-shrink: 0; 
}

.rolling-list.original {
    animation: rollingleft1 90s linear infinite;
}
.rolling-list.clone {
    animation: rollingleft2 90s linear infinite;
}

@keyframes rollingleft1 {
    0% { transform: translateX(0); }
    50% { transform: translateX(-100%); }
    50.01% { transform: translateX(100%); }
    100% { transform: translateX(0); }
}

@keyframes rollingleft2 {
    0% { transition: translateX(0); }
    100% { transform: translateX(-200%); }
} 
/* 롤링 */
.illust {
    position: relative;
    width: 1440px;
    height: 1040px;
    margin: 0 auto;
    padding: 120px 0;
}

.illust_img {
    width: 100%;
    padding: 40px;
}
.illust_img a {
    width: 420px;
    height: 520px;
    float: left;
    margin: 10px;
    overflow: hidden;
}
.illust_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition-duration: .4s;
}
.illust_img a:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.illust_add {
    position: absolute;
    text-align: center;
    bottom: 120px;
    left: 34.1%;
    width: 420px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #333;
    border-radius: 40px;
    padding-top: 14px;
}
.illust_add:hover {
    background-color: #eee;
}
/* 반응형 */
@media only screen and (max-width:768px) {
    .rolling {
        width: 768px;
        height: 300px;
        min-width: 768px;
    }
    .illust {
        width: 768px;
        height: 1600px;
        margin: 0 auto;
    }
    .illust>h3 {
        position: relative;
        top: 3%;
    }
    .illust_img a {
        width: 700px;
        height: 350px;
        margin: 10px -5px;
        border-radius: 20px;
    }
    .illust_img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .illust_add {
        margin-left: -20px;
        width: 300px;
        padding-top: 14px;
    }
}
.goods {
    width: 1440px;
    height: 1720px;
    min-width: 1440px;
    margin: 0 auto;
    text-align: center;
    padding: 100px 0;
}
.goods h3 {
    margin-bottom: 60px;
}
.goods_inner {
    display: flex;
}
.goods_cate li {
    width: 220px;
    height: 40px;
    background-color: #fff;
    border-radius: 50px;
    margin: 10px 0;
    font-weight: bold;
    font-size: 18px;
    margin-left: 34px;
    margin-right: 24px;
    transition-duration: .2s;
}
.goods_cate li:first-child {
    background-color: #ff00d9;
}
.goods_cate li:nth-child(2) {
    background-color: #e42e00;
}
.goods_cate li:nth-child(3) {
    background-color: #ff9d00;
}
.goods_cate li:nth-child(4) {
    background-color: #97e500;
}
.goods_cate li:last-child {
    background-color: #02ccfb;
}
.goods_cate li:hover {
    filter: hue-rotate(150deg)
    brightness(1.5);
    border: 1px solid #000;
}
.goods_cate li.active {
    background-color: #fff;
    border: 1px solid #333 !important;
}
.goods_cate a {
    padding-top: 8px;
}
.goodst {
    width: 1100px;
    height: 1400px;
}
.goodslist {
    width: 1100px;
    height: 1400px;
    display: flex;
    flex-wrap: wrap;
    /* ↑ displayflex를 쓴 다음 밑으로 내리는 코딩 */
}
.card {
    width: 342px;
    height: 700px;
    text-align: left;
    margin: 0 12px;
}
.card:first-child {
    position: relative;
}
.new {
    width: 63px;
    position: absolute;
    top: 15px;
    left: 10px;
}
.card:nth-child(3) {
    position: relative;
}
.card h4 {
    font-size: 16px;
    font-weight: normal;
    padding-top: 18px;
    padding-left: 5px;
}
.card p {
    font-weight: bold;
    font-size: 24px;
    padding-top: 10px;
    color: #006fff;
    padding-left: 5px;
}
.card_img {
    width: 342px;
    height: 480px;
    background-color: #ddd;
}
.card_img img {
    width: 342px;
    height: 480px;
    object-fit: cover;
    object-position: center;
}
.cart {
    display: inline-flex;
    align-items: center;
    border: none;
    background-color: transparent;
    float: right;
    margin-top: -15px;
}
.cart i {
    font-size: 18px;
    color: #333;
    padding-right: 5px;
}
@media only screen and (max-width:768px) {
    .goods {
        display: block;
        width: 752px;
        height: 2200px;
        padding: 0 60px;
        padding-top: 80px;
        min-width: 768px;
        margin-left: -5px;
    }
    .goods_inner {
        width: 660px;
        display: block;
    }
    .goods_category {
        display: flex;
        margin-bottom: 40px;
        
    } 
    .goodslist {
        width: 648px;
    }
    .goodst {
        width: 648px;
    }
    .goods_category li {
        width: 120px;
        height: 60px;
        font-size: 24px;
        font-weight: 900;
        padding-top: 8px;
        margin-left: 10px;
        margin-right: 0;
    }
    .card {
        width: 300px;
        height: 600px;
        padding: 0 5px;
    }
    .card h4 {
        font-weight: 700;
        font-size: 20px;
    }
    .card_img {
        width: 300px;
        height: 400px;
    }
    .card_img img {
        width: 100%;
        height: 100%;
    }
}

footer {
    width: 100%;
    height: 240px;
    background-color: #111;
    color: #999;
    min-width: 1440px;
    border-radius: 50px 50px 0 0;
    margin: 0 auto;
    position: relative;
}
.footpic {
    position: absolute;
    bottom: 190px;
    left: 80px;
}
.footpic {
    width: 20%;
}
.footpic img {
    width: 100%
}
.bnt {
    display: flex;
    text-align: center;
    padding-left: 80px;
    padding-top: 50px;
}
.bnt a {
    width: 100px;
    background-color: #333;
    border: 1px solid #aaa;
    border-radius: 50px;
    padding: 10px 0;
    margin: 5px;
}
.bnt a:hover {
    background-color: #777;
    background-color: #222;
    border: 1px solid #444;
}
.left {
    padding: 0px 84px;
    padding-top: 20px;
    line-height: 30px;
    float: left;
}
.right {
    list-style: none;
    font-size: 40px;
    float: right;
    margin-right: 100px;
    display: flex;
}
.right li {
    margin-right: 20px;
}

@media only screen and (max-width:768px) {
    footer {
        width: 100%;
        min-width: 768px;
        position: relative;
    }

    .left {
        /* padding: 100px 50px; */
        line-height: 36px;
        font-size: 18px;
        float: left;
        position: absolute;
        padding: 0px 35px;
        padding-top: 20px;
    }
    .right {
        position: absolute;
        list-style: none;
        font-size: 40px;
        display: flex;
        margin-right: 0;
        top: 50px;
        right: 50px;
    }
    .bnt {
        padding-left: 30px;
    }
    .footpic {
        display: none;
    }
}
