@charset "utf-8";

#slider {
    width: 100%;
    height: auto;
    /* background-color: cyan; */
    /* z-index: 1;
    position: absolute;
    top: 0;
    left: 0; */
    position: relative;
}

#slider img {
    width: 100%;
    position: relative;
}

#slider .text_wrap {
    position: absolute;
    left: 35px;
    bottom: 35px;
}

#slider .text_wrap span {
    color: #fff7eb;
    font-size: 64px;
}



/* 섹션 1 */

#section1 {
    width: 817px;
    height: 1324px;
    margin: 0 auto;
}

#logo2 {
    text-align: center;
}

#logo2 img {
    width: 162px;
    height: 162px;
    margin-top: 176px
}

#section1 h3 {
    padding-top: 33px;
    text-align: center;
    font-size: 40px;
    color: #3E290C;
}

#section1 p {
    padding-top: 33px;
    text-align: center;
    color: #3E290C;
}

#section1 article {
    width: 262px;
    height: 262px;
    float: left;
    overflow: hidden;
    margin-top: 80px;
    background-color: aliceblue;
    border-radius: 30px;
}

#section1 article img {
    height: 100%
}

#section1 article:nth-of-type(4) img,
#section1 article:nth-of-type(5) img {
    width: 100%
}

#section1 article:nth-of-type(2) {
    height: 300px;
    margin: 41px 14px 0px;
}

#section1 article:nth-of-type(4) {
    height: 262px;
    margin: 23px 0px 0px;
}

#section1 article:nth-of-type(5) {
    height: 300px;
    margin: 23px 14px 0px;
}

#section1 article:nth-of-type(6) {
    height: 262px;
    margin: 23px 0px 0px;
}

/* 섹션2 */
#section2 {
    width: 1440px;
    height: 1200px;
    margin: 0 auto;
}

#section2 h3 {
    padding-top: 60px;
    margin: 0px 12px 0px;
    text-align: left;
    font-size: 40px;
    color: #3E290C;
}

#section2 article {
    width: 335px;
    height: 404px;
    float: left;
    margin: 48px;
    margin: 48px 12px 0px;
    margin-top: 45px;

    text-align: right;
}


#section2 article .imgbox {
    height: 335px;
    width: 335px;
    border-radius: 10px;
    overflow: hidden;
}

#section2 article .imgbox {
    width: 100%;
}

#section2 article h6 {
    text-align: left;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #3E290C;
}

#section2 article p {
    text-align: left;
    margin-top: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #7c7163;
}

/* 섹션3 */
#section3 {
    width: 1440px;
    height: 1020px;
    margin: 0 auto;
}

#section3 h3 {
    padding-top: 60px;
    margin: 0px 12px 0px;
    text-align: left;
    font-size: 40px;
    color: #3E290C;
}

.experience-img {
    position: relative;
    margin: 45px 12px 0px;
    border-radius: 30px;
    overflow: hidden;
    width: 690px;
    height: 690px;
    float:left;
}


.experience-text {
    position: absolute;
    left: 35px;
    bottom: 45px;
    color: #fff7eb;
    font-size: 40px;
}

.experience-text p {
    color: #fff7eb;
    font-size: 16px;
    margin-top: 10px;

}

.gallery {
    display: flex;
    gap: 13px;
    width: 50%;
    height: 218px;
    float:right;
    margin-top: 45px;
}

.gallery img {
    max-width: 100%;
    height: auto;
    border-radius: 30px;

}



.haha {
    width: 50%;
    height: 48px;
    float:right;
    margin-top: 423px;
}


.btn_brown {
    padding: 10px 20px;
    background-color: #fff7eb;
    color: #3E290C;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width:120px;
    height: 48px;
    border-color: #3E290C;
}

.btn {
   
    padding: 10px 20px;
    background-color: #fff7eb;
    color: #3E290C;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width:120px;
    height: 48px;
    border-color: #3E290C;
}


.btn_brown:hover {
    background-color: #3E290C;
    color: #fff7eb;
}
.btn:hover {
    background-color:#3E290C;
    color: #fff7eb;
}


/* 섹션4 */
#section4 {
    width: 1440px;
    height: 1000px;
    margin: 0 auto;
    border-radius: 10px;
}



#section4 h3 {
    padding-top: 60px;
    margin: 0px 12px 0px;
    text-align: left;
    font-size: 40px;
    color: #3E290C;
}

.main_image {
    position: relative;
    margin: 45px 12px 0px;
    border-radius: 10px;
    overflow: hidden;
}


.main_image img{vertical-align: bottom;
width: 100%;}


.main_image_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: rgba(255, 249, 240, 0.5);
    color: #3E290C;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 10px;
    width: 180px;
    height: 51px;
}

.main_image_text:hover {
    background-color: #3E290C;
    color:#fff7eb
}