#wrap {
    width: 1200px;
    margin: 0 auto;
}
.section1 {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.swiper-container {
    width: 100%;
    height: 300px; 
    position: relative;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    object-fit: cover;
}

.swiper-pagination {
    position: absolute;
    right: 10px;
    bottom: 50px;
    width: auto;
    height: auto;
}
.swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    position: absolute;
    right: 10px;
    bottom: 5px;
    width: auto;
    height: auto;
}
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5); 
    margin: 0 5px;
    border-radius: 50%; /* 동그라미 모양 */
}
span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #b7485d;
}
.swiper-pagination-bullet-active {
    background-color: #fff; 
}
.section2_1{
    margin-top: 20px;
}
.section2_1{
    padding: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 20px;
}
.section2_2 {
    padding: 20px 0 50px 0;
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.section2_1 h2, .section2_2 h2 {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}


.section2_1 .left {
    background-color: #ffe4cf;
    padding: 25px 15px;
    width: 65%;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: space-evenly;
}
.section2_2 .left {
    background-color:#e6f9ff;
    padding: 25px 15px;
    width: 65%;
    display: flex;
    flex-direction: column;
    height: auto;
    justify-content: space-evenly;
}
.section2_1 .box_wrap, .section2_2 .box_wrap {
    display: flex;
    justify-content: center;
    align-items: stretch; 
    width: 100%;
}
.section2_1 .left_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 30%;
    margin: 0 10px;
    box-sizing: border-box;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #eac3a9;
    height: auto; 
}
.section2_2 .left_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 30%;
    margin: 0 10px;
    box-sizing: border-box;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #c9ebf0;
    height: auto; 
}
.section2_1 .left_box p, .section2_2 .left_box p {
    margin: 10px 0;
    text-align: center;
}
.section2_1 .left_box p.p1 {
    font-weight: 800;
    font-size: 18px;
    color: #9c4409;
}
.section2_2 .left_box p.p1 {
    font-weight: 800;
    font-size: 18px;
    color: #2d98aa;
}


.section2_1 .left_box p.p2, .section2_2 .left_box p.p2 {
    font-size: 15px;
    line-height: 1.3;
    height: auto; 
}


.section2_1 .right, .section2_2 .right {
    width: 35%;
}


.section2_1 .right .right_box1 {
    padding: 30px 40px 100px 25px;
    background-color: #fffdd7;
    border: 1px solid #e7e4b5;
    text-align: left !important;
    height: 100%;
    position: relative; 
}
.section2_2 .right .right_box1 {
    padding: 30px 40px 100px 25px;
    background-color: #e6ffea;
    border: 1px solid #d3f1d7;
    text-align: left !important;
    height: 100%;
    position: relative; 
}

.section2_1 .right .right_box1::after {
    content: '';
    background-image: url('../img/main-icon-2.png');
    background-size: contain; 
    background-repeat: no-repeat; 
    position: absolute; 
    right: 20px; 
    bottom: 20px; 
    width: 80px; 
    height: 80px;
}
.section2_2 .right .right_box1::after {
    content: '';
    background-image: url('../img/main-icon-1.png');
    background-size: contain; 
    background-repeat: no-repeat; 
    position: absolute; 
    right: 20px; 
    bottom: 20px; 
    width: 80px; 
    height: 80px;
}

.section2_1 .right .right_box1 .p2,.section2_2 .right .right_box1 .p2 {
    font-size: 16px;
    line-height: 1.3;
}


.section2_1 .right .right_box1 a {
    padding: 10px 15px;
    display: inline-flex;
    background-color: #fff;
    align-items: center;
    text-align: center;
    border-radius: 30px;
    border: 1px solid #dcd9a7;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 15px;
}
.section2_2 .right .right_box1 a {
    padding: 10px 15px;
    display: inline-flex;
    background-color: #fff;
    align-items: center;
    text-align: center;
    border-radius: 30px;
    border: 1px solid #d5efd8;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 15px;
}


.section2_1 .right .right_box1 a img, .section2_2 .right .right_box1 a img {
    width: 8%;
    margin-left: 8px;
}
.section1_mo {
    display: none;
}
@media (min-width: 768px) and (max-width: 1200px) {
    #wrap {
        width: 767px;
        margin: 0 auto;
    }
    .swiper-slide img {
        width: 767px;
        object-fit: cover;
    }

    .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
        position: absolute;
        right: 10px;
        bottom: -1px !important;
        width: auto;
        height: auto;
    }
    .swiper-container.swiper-initialized.swiper-horizontal.swiper-backface-hidden{
        height: 180px;
    }
    .section2_1, .section2_2  {
        flex-direction: column !important;
        display: flex;
        align-items: center;
        padding: 20px 20px;
       
    }
    .section2_1 .left {
        background-color: #ffe4cf;
        padding: 25px 15px;
        width: 65%;
        display: flex;
        flex-direction: column;
        height: auto;
        justify-content: space-evenly;
        width: 100%;
    }
    .section2_2 .left {
        background-color: #e6f9ff;
        padding: 25px 15px;
        width: 65%;
        display: flex;
        flex-direction: column;
        height: auto;
        justify-content: space-evenly;
        width: 100%;
    }
    .section2_1 .box_wrap, .section2_2 .box_wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-direction: column;
    }
    .section2_1 .right, .section2_2 .right {
        width: 100%;
    }.section2_1 .left_box, .section2_2 .left_box {
        width: 100%;
    }
 
}

@media (max-width: 767px){
    #wrap {
        width: 100%;
       
        margin: 0 auto;
    }
    .section1_mo {
        display: block;
    }
    .section1 {
        display: none;
    }
    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
        position: absolute;
        right: 10px;
        bottom: 7px !important;
        width: auto;
        bottom: unset;
    }
    .swiper-container.swiper-initialized.swiper-horizontal.swiper-backface-hidden{
        height: unset;
        position: relative;
        padding-bottom: 30px;
    }

    .section2_1, .section2_2  {
        flex-direction: column !important;
        display: flex;
        align-items: center;
        padding: 20px 20px 50px 20px;
       
    }
    .section2_1 .left {
        background-color: #ffe4cf;
        padding: 25px 15px;
        width: 65%;
        display: flex;
        flex-direction: column;
        height: auto;
        justify-content: space-evenly;
        width: 100%;
    }
    .section2_2 .left {
        background-color: #e6f9ff;
        padding: 25px 15px;
        width: 65%;
        display: flex;
        flex-direction: column;
        height: auto;
        justify-content: space-evenly;
        width: 100%;
    }
    .section2_1 .box_wrap, .section2_2 .box_wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-direction: column;
    }
    .section2_1 .right, .section2_2 .right {
        width: 100%;
    }.section2_1 .left_box, .section2_2 .left_box {
        width: 100%;
    }
    .section2_1 h2, .section2_2 h2 {
        font-size: 18px;
    }
    
}

