header {
    text-align: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eae6e6;
}
header a {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
header img {
    width: 120px;
}
.section1 {
    position: relative;
}

.section1 .banner {
    width: 100%; 
    height: auto; 
}

.section1 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.section1:hover .overlay {
    opacity: 1;
}

.text {
    margin: 0;
    font-size: 30px; 
    color: #5d3d32;
    line-height: 1.5;
}

.bold {
    font-weight: bold;
    font-size: 35px; 
    color: #5d3d32;
}

.bold2 {
    font-weight: bold;
    font-size: 22px; 
    color: #fff;
}

.overlay a {
    color: #fff;
    text-decoration: none;
    margin-top: 15px;
    text-align: left;
    background-color: #302b29;
    padding: 20px;
    font-size: 20px;
}

.overlay a img {
    margin-left: 15px;
}

.section1 .banner {
    width: 100%;
}
.section1 pre {
    font-family: "aPengodic"!important;
}
.section1 pre span{
    font-family: "aPengodic"!important;
}
.section2 {
    width: 100%;
    max-width: 1200px;
    margin: 100px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section2 .top, .section2 .bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    align-items: stretch;
}

.section2 .mid {
    display: flex;
    align-items: center;
    gap: 20px;
    align-items: stretch;
}

.section2 .banner {
    width: 50%;
}

.section2 .go {
    width: 50%;
    border: 1px solid #ddd;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    box-sizing: border-box;
}

.section2 .go h2 {
    font-size: 22px;
    font-weight: 800;
    color: #5d3d32;
}

.section2 .go pre {
    font-size: 20px;
    line-height: 1.3;
    margin-top: 10px;
}

.section2 .go a {
    display: inline-flex; /* inline-block으로 설정 */
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    text-decoration: none;
    padding: 10px 15px;
    background-color: #5d3d32;
    color: #fff;
    font-size: 18px;
    border-radius: 20px; /* 필요에 따라 조정 */
    white-space: nowrap; /* 텍스트가 줄바꿈되지 않도록 설정 */
    width: 25%;
}

.section2 .go a img {
    margin-left: 5px;
}



.section3 {
    background-color: #f6ebe7;
    padding: 60px 0 ;
}
.section3 h2{
    text-align: center;
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 40px;
    color: #56372b;
}
.section3 .left{
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    background-color: #fff;
    width: 30%;
}
.section3 .left .top {
    display: flex;
    justify-content: flex-start; 
    width: 100%;
}
.section3 .left .top span{
    background-color: #482523;
    color: #fff;
    padding: 5px 15px 5px 10px;
    border-bottom-right-radius: 2rem;
    font-size: 20px;
}
.section3 .brand_wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px; 
    border: 1px solid #ddd;
    margin-bottom: 20px;
    overflow: hidden; 
}

.section3 .left, .section3 .right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
}

.section3 .left {
    width: 30%;
    border-right: 1px solid #f6f5f4;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section3 .left img {
    width: 50%;
    margin: 10px auto 30px;
}

.section3 .left .img2 {
    width: 30%;
    margin: 10px auto 30px;
}

.section3 .right {
    width: 70%;
    padding: 1rem;
}

.section3 .right pre {
    font-size: 18px;
    line-height: 1.3;
}
.section4 {
    display: inline-block;
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 100px auto;
    align-items: stretch ;
    gap: 20px;
}
.section4 .btn1, .section4 .btn2, .section4 .btn3 {
    position: relative; 
}
.section4 .btn_img {
    width: 100%;
}

.section4 .overlay1 {
    position: absolute; 
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff; 
    text-align: center; 
    font-size: 20px;
    font-weight: 700;
}
.section4 .overlay2, .overlay3 {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
}
.section4 .text-overlay a {
    display: block;
    margin-top: 15px;
    color: #fff; 
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 20px;
}

.section4 .text-overlay a img {
    margin-left: 5px;
    vertical-align: middle;
}
.section4 .text-overlay p {
    color: #fff;
    font-weight: 600;
    font-size: 25px;
}
.section4 .text-overlay a{
    font-size: 18px;
    background-color: #fff;
    color: #807777;
    display: flex;
    font-weight: 800;
}
.section4 .right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.section5 {
    background-color: #f5f5f5;
    padding: 50px 0;
}
.section5 .btn_wrap{
    display: flex;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    justify-content: space-between;
    align-items: center;
}
.section5 .btn_wrap a{ 
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 33%;
    align-items: center
}
.section5 .btn_wrap a img{ 
    width: auto;
    text-align: center;
    margin-bottom: 30px;
    height: 20%;
}
.section5 .btn_wrap span{ 
    font-size: 20px;
    font-weight: 800;
    color: #5a3b3a;
    margin-bottom: 7px;
}
.section5 .btn_wrap p{ 
    font-size: 20px;
    font-weight: 600;
}
.section6  {
    width: 100%;
    margin: 100px auto;
    max-width: 1200px;
}
.section6 .btn_wrap {
    display: flex;
    gap: 20px; 
}

.section6 .btn_link1, .section6 .btn_link2 {
    position: relative;
    display: inline-block;
}

.section6 .btn_img {
    width: 100%;
    height: auto;
}

.section6 .text-overlay1, .section6 .text-overlay2 {
    position: absolute;
    top:50%;
    left: 5%;
    transform: translateY(-50%);
    padding: 10px;
}
.section6 .text-overlay1 p, .section6 .text-overlay2 p{
    color: #fff;
    font-weight: 600;
    font-size: 24px;
}
.section6 .text-overlay1 span, .section6 .text-overlay2 span{
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}
.section1 .banner_mo {
    display: none;
}
.section2 .banner_mo {
    display: none;
}
@media screen and (max-width: 767px) {
    header {
        padding: 1rem;
    }
    header img {
        width: 90px;
    }
    .section1 .banner_mo {
        display: block;
        width: 100%;
    }
    .section1 .banner {
        display: none;
    }
    .section1 .overlay {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 10px;
        box-sizing: border-box;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
    }
    .text {
        font-size: 20px;
        line-height: 1.5;
    }
    .bold {
        font-size: 22px;
    }
    .overlay a {
        margin-top: 15px;
        padding: 15px;
        font-size: 16px;
    }
    .bold2 {
        font-size: 17px;
    }
    .section2 {
        width: 90%;
        max-width: 100%;
        margin: 40px auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .section2 .banner_mo {
        display: block;
        width: 48%;
        height: auto;
    }
    .section2 .banner {
        display: none;
    }
    .section2 .go {
        width: 48%;
        border: 1px solid #ddd;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 15px;
        box-sizing: border-box;
    }
    .section2 .go h2 {
        font-size: 16px;
        line-height: 1.3;
    }
    .section2 .go pre {
        font-size: 16px;
    }
    .section2 .go a {
        margin-top: 7px;
        padding: 5px 10px;
        font-size: 16px;
        width: 100%;
    }
    .section2 .top, .section2 .bottom {
        gap: 15px;
    }
    .section2 .mid {
        display: flex;
        align-items: center;
        gap: 15px;
        align-items: stretch;
    }
    .section3 {
        background-color: #f6ebe7;
        padding: 40px 0;
    }
    .section3 .brand_wrap {
        width: 90%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    .section3 h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    .section3 .left {
        justify-content: flex-start;
    }
    .section3 .right pre {
        font-size: 16px;
        line-height: 1.3;
    }
    .section4 {
        width: 90%;
        max-width: 100%;
        margin: 50px auto;
        gap: 15px;
        flex-direction: column;
    
    }.section4 .right {
        gap: 15px;
    }
    .section4 .text-overlay p {
        font-size: 20px;
    }
    .section4 .text-overlay a {
        font-size: 16px;
    }
    .section4 .overlay2, .overlay3 {
        position: absolute;
        top: 50%;
        left: 7%;
        transform: translateY(-50%);
        color: #fff;
        text-align: center;
        font-size: 20px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 85%;
    }
    .section4 .right .text-overlay a {
        margin-top: 0;
    }
    .section5 {
        background-color: #f5f5f5;
        padding: 40px 0;
    }
    .section5 .btn_wrap {
        width: 100%;
        max-width: 100%;
        align-items: center;
        overflow-x: auto;
        text-wrap: wrap;
        gap: 50px;
        padding: 0 20px;
        white-space: nowrap;
        -ms-overflow-style: none;  /* IE, Edge */
        scrollbar-width: none;  /* Firefox */
    }
    
    .section5 .btn_wrap::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .section5 .btn_wrap a img {
        width: 40px;
        text-align: center;
        margin-bottom: 15px;
        height: 20%;
    }
    .section5 .btn_wrap span {
        font-size: 15px;
        font-weight: 800;
        color: #5a3b3a;
        margin-bottom: 7px;
    }
    .section5 .btn_wrap p {
        font-size: 15px;
        font-weight: 600;
    }
    .section6 {
        width: 90%;
        margin: 50px auto;
        max-width: 100%s;
    }
    .section6 .btn_wrap {
        display: flex;
        gap:15px;
        flex-direction: column;
    }
    .section6 .text-overlay1 p, .section6 .text-overlay2 p {
        font-size: 18px;
    }
    .section6 .text-overlay1 span, .section6 .text-overlay2 span {
        font-size: 16px;
        margin-top: 5px;
    }
}