.section1 {
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 40px;
}
.section1 .banner{
    background-color: #1d80ff;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
}
.section1 .right  {
    width: 50%;
}
.section1 .left  {
    width: 50%;
    text-align: center;
}
.section1 .left .banner {
    width: 100%;
}
.section1 .right p {
    font-family: "MB" !important;
    font-size: 22px;
    color: #fff;
    font-weight: 400;
}
.section1 .right pre {
    font-family: "NanumSquare";
    font-size: 18px;
    color: #fff;
    line-height: 1.5;
    margin-top: 20px;
}
.section2{
    width: 100%;
    max-width: 1200px;
    margin: 20px auto ;
    display: flex;
    gap: 40px;
}
.section2 .left {
    width: 45%;
    background-color: #dcd4d0;
    border-radius: 25px;
    padding: 30px 30px;
    background-image: url('../img/main/img-2.png');
    background-repeat: no-repeat;
    background-position: right 15px bottom 25px;
    background-size: auto 40%;
}

.section2 .left h2{
    font-size: 22px;
    line-height: 1.3;
    font-family: "MB" !important;
}

.section2 .left a{
    background-color: #fff;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #b9b5b3;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    font-family: "NanumSquare";
    margin-top: 15px;
}
.section2 .right{
    width: 55%;
}
.section2 .left a img{
    width: 30%;
    margin-left: 15px;
}
.section3 {
    background-color: #f0f0f0;
    padding: 50px 0;
}
.section3 .slide_wrap {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.top {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    justify-content: space-between;
    align-items: center;
}
.top h2{
    font-size: 22px;
    line-height: 1.3;
    font-family: "MB" !important;
}
.top a{
    background-color: #fff;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #b9b5b3;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    font-family: "NanumSquare";
    margin-top: 15px;
}
.section3 .swiper-wrapper {
    display: flex;
}

.section3 a {
    position: relative;
    display: block;
}
.section3 .swiper-slide {
    flex: 0 0 30%; 
    max-width: 30%;
    margin: 0 auto; 
    border-radius: 30px;
    border-bottom: 0;
}

.section3 .swiper-wrapper {
    display: flex; 
}

.section3 a img {
    width: 100%; 
    object-fit: cover; 
    border-radius: 15px; 
}
.section3 .swiper {
    overflow: hidden;
}

.section3 .swiper-wrapper {
    margin: 0; 
}

.section3 .swiper-slide {
    flex: 0 0 auto; 
}
.section3 .text-overlay1, .section3 .text-overlay2, .section3 .text-overlay3, .section3 .text-overlay4, .section3 .text-overlay5 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
    align-items: flex-start;
}

.section3 .text-overlay1 h3, .section3 .text-overlay2 h3, .section3 .text-overlay3 h3, .section3 .text-overlay4 h3, .section3 .text-overlay5 h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 800;
    font-family: "NanumSquare";
}

.section3 .text-overlay1 pre, .section3 .text-overlay2 pre, .section3 .text-overlay3 pre, .section3 .text-overlay4 pre, .section3 .text-overlay5 pre {
    font-size: 18px;
    line-height: 1.3;
    white-space: normal;
    font-family: "NanumSquare";
}
.section4 {
    margin: 40px auto;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}
.section4 .btn_wrap{
    display: flex;
}
.section4 .btn_wrap a{
    width: 20%;
    display: flex;
    align-items: center;
    flex-direction: column;
    border: 1px solid #b9b5b3;
    padding: 40px;
    justify-content: center;
    font-size: 18px;
    font-family: "NanumSquare";
    font-weight: 800;
    text-align: center;
    line-height: 1.3
}
.section4 .btn_wrap a:hover{
    background-color: #1d80ff;
    color: #fff;
}
.section4 .btn_wrap a:nth-child(1),
.section4 .btn_wrap a:nth-child(2),
.section4 .btn_wrap a:nth-child(3),
.section4 .btn_wrap a:nth-child(4){
    border-right: 0;
}
.section4 .btn_wrap a:nth-child(1){
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.section4 .btn_wrap a:nth-child(5){
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
.section4 .btn_wrap a img{
    height: 50%;
    width: auto;
    margin-bottom: 30px;
}
.section4 .btn_wrap2 {
    display: flex;
    margin-top: 40px;
    gap: 30px;
}
.section4 .btn_wrap2 div{
    width: 50%;
    border: 1px solid #b9b5b3;
    border-radius: 20px;
    padding: 30px;
    font-size: 20px;
    color: #1d80ff;
    font-family: "MB" !important;
    display: inline-flex;
    flex-direction: column;
    height: 300px;
}
.section4 .btn_wrap2 div:hover{
    color: #fff;
    background-color: #1d80ff;
}
.section4 .btn_wrap2 div:hover a{
    color: #333;
    background-color: #fff;
}
.section4 .btn_wrap2 div a{
    background-color: #1d80ff;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    font-family: "NanumSquare";
    margin-top: 15px;
    color: #fff;
    width: 30%;
    
}
.section4 .btn_wrap2 div a img{
    width: 30%;
    margin-left: 15px;
}
.section4 .btn_wrap2 .btn1 {
    background-image: url('../img/main/img-3.png');
    background-repeat: no-repeat;
    background-position: right 15px bottom 15px;
    background-size: auto 50%;
}
.section4 .btn_wrap2 .btn2 {
    background-image: url('../img/main/img-4.png');
    background-repeat: no-repeat;
    background-position: right 15px bottom 15px;
    background-size: auto 50%;
}
.section5 {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
}
.section5 .btn_wrap{
    display: flex;
    gap: 30px;
}
.section5 .btn_group2{
    display: flex;
    flex-direction: column;
    padding: 30px;
    gap: 15px;

}
.section5 .btn_wrap .box{
    width: 50%;
    border-radius: 20px;
    border: 1px solid #b9b5b3;
    position: relative;
    transition: transform 0.3s ease;
}
.section5 .btn_wrap .box:hover {
    transform: translateY(-10px); /* 마우스 오버 시 위로 10px 이동 */
}
.section5 .btn_wrap .box .btn_top{
    font-size: 20px;
    font-family: "MB" !important;
    color: #fff;
    padding: 30px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.section5 .btn_wrap .box:nth-child(1) .btn_top{
    background-color: #ff765f;
 
}
.section5 .btn_wrap .box:nth-child(2) .btn_top{
    background-color: #10c16e;
  
}
.section5 .btn_wrap .box:nth-child(1) .plus {
    border-radius: 50%;
    background-color: #ff765f;
    color: #fff;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    right: 30px;
    top: 25%;
    transform: translateY(-50%);
    font-size: 50px;
    font-weight: 200;
}
.section5 .btn_wrap .box:nth-child(2) .plus {
    border-radius: 50%;
    background-color: #10c16e;
    color: #fff;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    right: 30px;
    top: 25%;
    transform: translateY(-50%);
    font-size: 50px;
    font-weight: 200;
}
.section5 .btn_wrap a  {
    font-size: 18px;
    line-height: 1.3;
}
.section6 {
    background-color: #f0f0f0;
    padding: 50px 0;
}

.section6 .slide_wrap {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;    padding:0 0 30px ;
}
.section6 .swiper-wrapper {
    display: flex;
}

.section6 a {
    position: relative;
    display: block;
}
.section6 .swiper-slide {
    flex: 0 0 30%; 
    max-width: 30%;
    margin: 0 auto; 
    border-radius: 20px;
    border-bottom: 0;
    background-color: #fff;
    border: 1px solid #b9b5b3;
    padding: 15px 15px 80px;
}

.section6 .swiper-wrapper {
    display: flex; 
}

.section6 a img {
    width: 100%; 
    object-fit: cover; 
    border-radius: 15px; 
}
.section6 .swiper {
    overflow: hidden;
}

.section6 .swiper-wrapper {
    margin: 0; 
}

.section6 .swiper-slide {
    flex: 0 0 auto; 
    height: 260px;
}

.swiper-pagination {
    position: relative;
    width: 100%;
    height: 5px; /* 바의 높이 */
    background-color: #dedede; /* 배경색 */
}

.progress {
    height: 100%;
    background-color: #979797; /* 프로그레스 바의 색상 */
    transition: width 0.3s ease; /* 애니메이션 효과 */
    position: absolute; /* 위치 절대값 설정 */
    left: 0; /* 왼쪽 정렬 */
    top: 0; /* 상단 정렬 */
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 0) !important;
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
}
.section6 a {
    position: relative;
    display: block;
    background-image: url('../img/main/plus-2.png'); 
    background-position: right 15px bottom 15px;
    background-repeat: no-repeat; 
    background-size: 25px 25px;
}

.section6 a p {
    font-size: 19px;
    font-weight: 800;
    font-family: "NanumSquare";
    line-height: 1.3;
}
.section6 a pre {
    font-size: 18px;
    font-family: "NanumSquare";
    line-height: 1.3;
    margin-top: 15px;
}
.section7 {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
}
.section7 .top{
    border-bottom: 2px solid #b9b5b3;
    padding-bottom: 15px;
    margin: 0;
}
.section7 .top {
}
.top a {
    margin-top: 0;
}
.section7 .left{
    display: flex;
    flex-direction: column;
    width: 50%;
}
.section7 .left span{
    border-bottom: 1px solid #b9b5b3;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    font-family: "NanumSquare";
}


.section7 .right {
    width: 45%;
    background-color: #dcd4d0;
    border-radius: 25px;
    padding: 30px 30px;

}

.section7 .right h2{
    font-size: 22px;
    line-height: 1.3;
    font-family: "MB" !important;
}
.section7 .right p{
    font-size: 18px;
    line-height: 1.3;
    margin-top: 15px;
}

.section7 .right a{
    background-color: #fff;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border: 1px solid #b9b5b3;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 15px;
    justify-content: center;
}
.section7 .right .btn_img{
    text-align: right;
}
.section7 .right .btn_img img{
    width:50%;
}
.section7 .right a img{
    margin-left: 20px;
    width: 10%;
}
.span_mo {
    display: none;
}
.btn_group_mo {
    display: none;
}
.section4 .btn_wrap_mo {
    display: none;
}
.section4 .btn_wrap2_mo {
    display: none;
}
.section5 .btn_wrap_mo {
    display: none;
}
@media screen and (max-width: 767px) {
    .section1 {
        width: 90%;
        max-width: 100%;
        margin: 20px auto 40px;
    }
    .section1 .banner {
        background-color: #1d80ff;
        border-radius: 20px;
        padding: 25px;
        display: flex;
        align-items: center;
    }
    .section1 .banner .left{
        display: none;
    }
    .section1 .banner {
        background-image: url('../img/mo/img-1.png');
        background-position: right bottom; /* 오른쪽 아래 위치 */
        background-repeat: no-repeat; /* 이미지를 반복하지 않음 */
        background-size: 30% auto; /* 이미지를 원래 크기로 표시 (필요에 따라 크기를 변경 가능) */
    }
    .section1 .right p {
        font-family: "MB" !important;
        font-size: 20px;
        color: #fff;
        line-height: 1.3;
        font-weight: 400;
    }
    .section1 .right {
        width: 100%;
    }
    .section1 .right pre {
        font-family: "NanumSquare";
        font-size: 16px;
        color: #fff;
        line-height: 1.5;
        margin-top: 20px;
    }
    .section2 {
        width: 90%;
        max-width: 100%;
        margin: 20px auto;
        display: flex;
        gap: 40px;
        flex-direction: column;
    }
    .section2 .left {
        width: 100%;
        background-color: #f2f2f2;
        border-radius: 25px;
        padding: 30px 30px;
        background-image: url(../img/main/img-2.png);
        background-repeat: no-repeat;
        background-position: right 15px bottom 25px;
        background-size: auto 40%;
    }
    .section2 .left h2 {
        font-size: 20px;
    }
    .section2 .left a {
        background-color: #fff;
        padding: 5px 15px;
        display: inline-flex;
        align-items: center;
        border: 1px solid #b9b5b3;
        border-radius: 30px;
        font-size: 16px;
        font-weight: 600;
        font-family: "NanumSquare";
        margin-top: 15px;
    }
    .span_mo {
        display: block;
        font-size: 15px;
        line-height: 1.3;
        margin-top: 10px;
    }
    .section2 .right img{
        width: 180%;
    }
    .top {
        display: flex;
        width: 90%;
        max-width: 100%;
        margin: 0;
        justify-content: space-between;
        align-items: center;
        margin: 0 auto;
    }
    .section3 .slide_wrap.swiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
         display: none;
    }
    .btn_group_mo {
        display: flex;
        flex-wrap: wrap;
        width: 90%;
        gap: 10px;
        margin: 30px auto;
    }
    .btn_group_mo a{
        flex: 1 1 calc(33% - 10px);
    }
    .top h2 {
        font-size: 18px;
        line-height: 1.3;
        font-family: "MB" !important;
    }
    .top a {
        background-color: #fff;
        padding: 6px 15px;
        display: inline-flex;
        align-items: center;
        border: 1px solid #b9b5b3;
        border-radius: 30px;
        font-size: 16px;
        font-weight: 600;
        font-family: "NanumSquare";
    }
    .section4 .btn_wrap_mo {
        display: flex;
    }
    .section4 .btn_wrap {
        display: none;
    }
    .section4 {
        margin: 40px auto;
        width: 90%;
        max-width: 100%;
        margin: 40px auto;
    }
    .section4 .btn_wrap_mo {
        display: flex; /* Flexbox 레이아웃 활성화 */
        flex-wrap: wrap; /* 다음 줄로 넘김 */
        justify-content: space-between; /* 버튼 간의 간격 조정 */
        margin-top: 30px;
    }
    
    .section4 .btn_wrap_mo a {
        flex: 0 0 calc(33.33% - 10px); /* 각 버튼의 너비를 33.33%로 설정하고 간격 고려 */
        margin-bottom: 10px; /* 아래쪽 마진 추가 (선택 사항) */
    }
    
    .section4 .btn_wrap_mo img {
        width: 100%; /* 이미지 너비를 100%로 설정하여 부모 요소에 맞추기 */
        height: auto; /* 비율을 유지하며 높이 자동 조정 */
    }
    
    .section4 .btn_wrap2 {
       display: none;
    }
    .section4 .btn_wrap2_mo div{
        border: 1px solid #b9b5b3;
        border-radius: 20px;
        padding: 15px;
        font-size: 18px;
        color: #1d80ff;
        font-family: "MB" !important;
        display: inline-flex;
        flex-direction: column;
        height: 180px;
        flex:  1 1 calc((50% - 20px));
    }
    .section4 .btn_wrap2_mo div a {
        background-color: #1d80ff;
        padding: 10px 10px;
        display: inline-flex;
        align-items: center;
        border-radius: 30px;
        font-size: 15px;
        font-weight: 600;
        font-family: "NanumSquare";
        margin-top: 15px;
        color: #fff;
        width: 100%;
    }
    .section4 .btn_wrap2_mo .btn1, .section4 .btn_wrap2_mo .btn2  {
        background-size: auto 30%;
    }
    .section4 .btn_wrap2_mo .btn1{
        background-color: #1d80ff;
        color: #fff;

    }
    .section4 .btn_wrap2_mo .btn1 a{
        background-color: #fff;
        color: #1d80ff;
    }
    .section4 .btn_wrap2_mo {
        display: flex;
        margin-top: 40px;
        gap: 20px;
    }
    .section4 .btn_wrap2_mo .btn1 {
        background-image: url('../img/main/img-3.png');
        background-repeat: no-repeat;
        background-position: right 15px bottom 15px;
        background-size: auto 30%;
    }
    .section4 .btn_wrap2_mo .btn2 {
        background-image: url('../img/main/img-4.png');
        background-repeat: no-repeat;
        background-position: right 15px bottom 15px;
        background-size: auto 30%;
    }
    .section4 .btn_wrap2_mo div a img{
        width: 30%;
        margin-left: 15px;
    }
    .section5 {
        width: 90%;
        max-width: 100%;
        margin: 40px auto;
    }
    .section5 h2{
       display: none;
    }
    .section5 .btn_wrap a pre {
        display: none;
    }
    .section5 .btn_wrap_mo {
        display: flex;
        gap: 10px;
    }
    .section5 .btn_wrap_mo .box  {
        flex: 1 1 calc(50% - 15px);
    }
    .section5 .btn_wrap_mo .box:nth-child(1)  {
        background-color: #ff765f;
        width: 50%;
        padding: 15px;
    }
    .section5 .btn_wrap_mo .box:nth-child(2)  {
        background-color: #10c16e;
        width: 50%;
        padding: 15px;
    }
    .section5 .btn_wrap_mo a:nth-child(1) .plus {
        border-radius: 50%;
        background-color: #ff765f;
        color: #fff;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: absolute;
        right: 15px;
        top: 75%;
        transform: translateY(-50%);
        font-size: 23px;
        font-weight: 200;
    }
    .section5 .btn_wrap_mo a:nth-child(2) .plus {
        border-radius: 50%;
        background-color: #10c16e;
        color: #fff;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        position: absolute;
        right: 15px;
        top: 75%;
        transform: translateY(-50%);
        font-size: 23px;
        font-weight: 200;
    }
    .section5 .btn_wrap_mo a {
        width: 50%;
        border-radius: 20px;
        border: none;
        position: relative;
        height: 100px;
    }
    .section5 .btn_wrap_mo a .btn_top {
        font-size: 18px;
        font-family: "MB" !important;
        color: #fff;
        border-radius: 15px;
        height: 100%;
        line-height: 1.3;
    }
    .section6 .slide_wrap {
        position: relative;
        width: 90%;
        max-width: 100%;
        margin: 20px auto;
        padding: 0 0 30px;
    }
    .section6 .swiper-slide {
        max-width: 60%;
    }
    .section6 a p {
        font-size: 18px;
        font-weight: 800;
        font-family: "NanumSquare";
        line-height: 1.3;
    }
    .section6 .swiper-slide {
        flex: 0 0 auto;
        height: 430px;
    }
    .section7 {
        width: 90%;
        max-width: 100%;
        margin: 40px auto;
        display: flex;
        gap: 30px;
        flex-direction: column-reverse;
    }
    .section7 .right {
        width: 100%;
        background-color: #dcd4d0;
        border-radius: 25px;
        padding: 25px 20px;
    }
    .section7 .right {
        width: 100%;
        background-color: #dcd4d0;
        border-radius: 25px;
        padding: 25px 20px;
    }
    .section7 .left {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    .section7 .top, .section4 .top {
        display: flex;
        width: 100%;
        max-width: 100%;
        margin: 0;
        justify-content: space-between;
        align-items: center;
    }
    .section7 .left span {
        line-height: 1.3;
    }
  
    .section5 .btn_wrap {
        display: none;
    }
}