/* reset CSS */
* {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* wrap 1200px 중앙 정렬 */
#wrap {
    width: 100%;
}

.center {
    width: 1200px;
    margin: 0 auto;
    background-color: rgba(255, 255, 0, 0.6);
}

/* A */
#header {
    height: 100px;
    background-color: aliceblue;
    padding: 30px 0 0 20px;
    box-sizing: border-box;
}

#header h1 {
    float: left;
}

#header #gnb {
    float: right;
    padding-top: 30px;
}

#header #gnb li.mainList {
    width: 120px;
    float: left;
    padding: 10px;
    text-align: center;
}

#header #gnb li.mainList:hover {
    background-color: lightsalmon;
}

/* B overlap Menu:LNB */
#lnb {
    width: inherit;
    height: 150px;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    display: none;
    z-index: 999;
}

#lnb ul.subMenu {
    float: right;
    width: 140px;
}

#lnb ul.subMenu li.subList {
    padding: 5px 0 5px 10px;
    box-sizing: border-box;
}

#lnb ul.subMenu li.subList:hover {
    background-color: lightyellow;
}

/* B */
#slide {
    height: 300px;
    background-color: lightcoral;
}

/* C */
#contents {
    height: 200px;
    background-color: lightgoldenrodyellow;
}

#contents h2,
#contents h3 {
    display: none;
}

#contents article {
    width: 33.333%;
    border: 1px dotted dodgerblue;
    box-sizing: border-box;
    float: left;
}

/* D */
#footer {
    height: 100px;
    background-color: lightgray;
}