@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;
    }
}
#introimg {
    width: 1440px;
    margin: 0 auto;
}
#introimg a {
    width: 1440px;
}
#introimg img {
    width: 100%;
}

footer {
    width: 100%;
    height: 240px;
    background-color: #111;
    color: #999;
    min-width: 768px;
    border-radius: 50px 50px 0 0;
    margin: 0 auto;
    position: relative;
    margin-top: 100px;
}
.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) {
    #introimg {
        width: 720px;
        margin: 0 auto;
        margin-left: 25px;
    }
    #introimg a {
        width: 720px;
    }
    #introimg img {
        width: 100%;
    }
    footer {
        width: 100%;
        position: relative;
        margin-top: 50px;
    }

    .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;
        top: 50px;
        right: -50px;
    }
    .bnt {
        padding-left: 30px;
    }
}
