@charset "utf-8";


/********** 전체설정 **********/
* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'amarillo';
    src: url('../font/Amarillo.ttf') format('truetype');
}

@font-face {
    font-family: 'nanum1';
    src: url('../font/NanumSquareR.ttf') format('truetype');
}

@font-face {
    font-family: 'ques';
    src: url('../font/Questrial-Regular.ttf') format('truetype');
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

#wrap {
    width: 100%;
}

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

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






/********** 헤더 **********/

header {
    min-width: 1200px;
    height: 696px;
    position: relative;
}

#top {
    width: 1200px;
    height: 70px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

#logo {
    float: left;
}

#logo a {
    width: 148px;
    height: 30px;
    display: block;
    margin: 10px 0 0 30px;
}

#gnb {
    width: 400px;
    height: 30px;
    margin-top: 35px;
    float: right;
}

#gnb > nav {
    float: left;
}

#gnb li {
    float: left;
}

#gnb a {
    font: bold 13px/29px 'nanum1';
}

#gnb1 {
    width: 200px;
    height: 30px;
    margin-top: 8px;
}

#gnb1 li {
    border-right: 1px solid #d43e3c;
    text-align: center;
    padding: 0 10px;
}

#gnb li:nth-child(3) {
    border: none;
}

#gnb1 a {
    display: block;
    color: #d43e3c;
}


#gnb2 {
    width: 200px;
    height: 30px;
}

#gnb2 a {
    text-align: center;
    padding: 0 6px;
}

.slide {
    min-width: 1200px;
    height: 696px;
    overflow: hidden;
}

.slide > ul > li {
    width: 100%;
    overflow: hidden;
}

.slide > ul > li > a {
    display: block;
    width: 1920px;
    height: 696px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.slide > ul > li > a > img {
    width: 100%;
    vertical-align: top;
}

#main_01 > li > p {
    font: 25px 'nanum1';
    position: absolute;
    left: 50%;
    transform: translateX(-215%);
    bottom: 50%;
}

#main_01 > li > h2 {
    font: bold 35px 'ques';
    position: absolute;
    left: 50%;
    transform: translateX(-140%);
    bottom: 43%;
    color: #d3690c;
}






/********** 주 메뉴 **********/

#lnb {
    width: 100%;
    height: 52px;
    background-color: #d43e3c;
}

.boxsub > ul {
    width: 1200px;
    height: 52px;
    margin: 0 auto;
}

.boxsub > ul > li {
    width: 300px;
    float: left;
    text-align: center;
    font: bold 18px/52px 'ques';
    position: relative;
}

.boxsub > ul > li a {
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

#lnb .boxsub > ul > li a:hover {
    color: #fcc17c;
}


.sub {
    position: absolute;
    z-index: 1;
    width: 100%;
    text-align: center;
    height: 0;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}


.sub a {
    font: 16px/55px 'ques';
}


#lnb:hover .sub {
    width: 100%;
    height: 220px;
    background-color: #d43e3c;
}







/********** 본문 **********/

section {
    width: 100%;
}

#contentwrap {
    width: 1200px;
    margin: 0 auto;
}

#pasta_main {
    width: 900px;
    height: 400px;
    margin: 0 auto;
}

#list {
    width: 900px;
    height: 850px;
    margin: 50px auto 0 auto;
}

#list li {
    width: 280px;
    height: 300px;
    float: left;
    margin: 50px 30px 0 0;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

#list li:nth-child(3n) {
    margin-right: 0;
}

/********** 하단 영역 **********/

footer {
    width: 100%;
    height: 115px;
    background-color: #54b189;
    position: absolute;
}


#footer_box {
    width: 1200px;
    height: 115px;
    margin: 0 auto;
}


#fnb {
    padding: 5px 0 0 240px;
}

#fnb > h2 {
    float: left;
    height: 110px;
    padding-top: 15px;
    box-sizing: border-box;
}

#fnb > h2 > a > img {
    vertical-align: middle;
}

#address {
    float: left;
    margin: 0 0 0 30px;
}

#address > address {
    font-style: normal;
    font: bold 16px/20px 'nanum1';
    color: #fff;
    margin-top: 20px;
}

address > span {
    color: #fcc17c;
}

small {
    color: #fff;
}