/* .section1 스타일 */
.section1 {
    position: relative;
    width: 100%; 
    height: 420px;
    background-image: url('../img/main-banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #ebebeb;
}

.swiper-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    max-width: 1200px;
    overflow: hidden;
    padding: 30px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid #ddd;
}

.swiper-slide .btn1, 
.swiper-slide .btn2, 
.swiper-slide .btn3 {
    padding: 30px 50px;
    display: flex;
    background-color: #fff;
    width: 100%;
    align-items: center;
    text-align: left;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.section1 .btn1 .left, 
.section1 .btn2 .left, 
.section1 .btn3 .left {
    width: 50%;
}

.section1 .btn1 .small_banner, 
.section1 .btn2 .small_banner, 
.section1 .btn3 .small_banner {
    width: 50%;
}

.swiper-pagination {
    position: absolute;
    bottom: 20px; /* 페이지네이션 위치 조정 */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 10; /* 페이지네이션을 최상위로 */
}

.swiper-pagination-bullet {
    background: #ddd; /* 기본 페이지네이션 색상 */
}

.swiper-pagination-bullet-active {
    background: #000699 !important; /* 활성 페이지네이션 색상 */
}

.swiper-slide h2 {
    font-size: 25px;
    font-weight: 600;
    color: #333236;
    margin-top: 15px;
}

.swiper-slide pre {
    font-size: 20px;
    line-height: 1.3;
    margin-top: 15px;
}

.swiper-slide a {
    font-size: 20px;
    padding: 10px 30px;
    background-color: #050c9c;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    border-radius: 30px;
    gap: 15px;
    margin-top: 15px;
}

/* .section2 스타일 */
.section2 {
    display: flex;
    flex-direction: column;
    gap: 20px; 
    width: 100%;
    max-width: 1200px;
    margin: 80px auto;
}

.section2 a {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    text-decoration: none;
}

.btn_banner {
    width: 100%; 
    height: auto; 
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 90%;
    z-index: 10;
    justify-content: space-between;
}

.text-overlay span {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.text-overlay img {
    width: 40px; 
    height: auto; 
}

/* .section3 스타일 */
.section3 {
    padding: 50px 0;
    text-align: center;
    background-color: #000699;
}

.section3 h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.section3 p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.section3 .btn_wrap {
    display: flex;
    justify-content: center;
    gap: 20px; 
    padding-top: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.section3 .btn_wrap a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background-color: #fff;
    width: 50%;
    text-decoration: none;
}

.section3 .btn_wrap a .top {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.section3 .btn_wrap a span {
    font-size: 20px;
    font-weight: bold;
    color: #b60303;
}

.section3 .btn1, 
.section3 .btn2, 
.section3 .btn3, 
.section3 .btn4 {
    position: relative;
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) calc(100% - 30px); 
    background-size: auto 90px;
    height: 180px;
    align-items: flex-start;
    justify-content: flex-start;
}

.section3 .btn1 {
    background-image: url('../img/main-icon-1.png');
}

.section3 .btn2 {
    background-image: url('../img/main-icon-2.png');
}

.section3 .btn3 {
    background-image: url('../img/main-icon-3.png');
}

.section3 .btn4 {
    background-image: url('../img/main-icon-4.png');
}

.section3 a img {
    margin-left: 10px;
    width: 15%;
}

/* .section4 스타일 */
.section4 {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 50px 0;
    text-align: center;
}

.section4 h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section4 p {
    font-size: 16px;
    margin-bottom: 20px;
}

.section4 ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none; 
    padding: 0; 
    margin: 0; 
    width: 100%;
}

.section4 ul li {
    position: relative;
    margin:  50px 0 ; 
    width: 33%;
}

.section4 ul li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -50px; /* 선과 요소 간의 간격 조정 */
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 100px; 
    background: #ddd; 
}

.section4 ul li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit; 
    font-size: 20px;
    font-weight: 600;
}

.section4 ul li a img {
    margin-bottom: 30px;
    width: auto; /* 원하는 고정 크기로 설정 */
    height: 80px;
}
.small_banner_mo {
    display: none;
}
.btn_banner_mo {
    display: none;
}
.section3 .btn_wrap .btn1_mo, .section3 .btn_wrap .btn2_mo, .section3 .btn_wrap .btn3_mo,  .section3 .btn_wrap .btn4_mo {
    display: none;
}
@media screen and (max-width: 767px) { 
    .section1 {
        height: 300px;
    }
    .swiper-slide .btn1, .swiper-slide .btn2, .swiper-slide .btn3 {
        padding: 15px 15px;
        align-items: center;
        text-align: left;
        height: 215px;
        gap: 10px;
    }
    .swiper-slide h2 {
        font-size: 18px;
        margin-top: 0;
    }
    .swiper-slide pre {
        font-size: 16px;
        margin-top: 10px;
    }
    .small_banner_mo {
        display: block;
        width: 50%;
    }
    .small_banner {
        display: none;
    }
    .swiper-container {
        padding: 30px 10px;
    }
    .swiper-slide a {
        font-size: 15px;
        padding: 10px 15px;
        background-color: #050c9c;
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        color: #fff;
        border-radius: 30px;
        gap: 10px;
        margin-top: 10px;
    }
    .swiper-pagination {
        position: absolute;
        text-align: center;
        transition: .3s opacity;
        transform: translate3d(0, 0, 0);
        z-index: 1 !important;
    }
    .btn_banner {
        display: none;
    }
    .btn_banner_mo {
        display: flex;
        width: 100%;
}
    .section2 {
        gap: 15px;
        width: 90%;
        max-width: 100%;
        margin: 60px auto;
    }
    .text-overlay span {
        font-size: 18px;
    }
    .text-overlay img {
        width: 30px;
    }
    .section3 .btn_wrap {
        gap: 20px;
        padding-top: 30px;
        max-width: 100%;
        width: 90%;
        margin: 0 auto;
    }
    .section3 .btn_wrap a {
        display: inline-flex;
        padding: 15px 15px;
        background-color: #fff;
        width: 50%;
        text-decoration: none;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .section3 .btn_wrap a .top {
        font-size: 16px;
        font-weight: bold;
        align-items: flex-end;
        display: block;
        text-align: left;
        line-height: 1.3;
    }
    .btn1_mo, .btn2_mo, .btn3_mo {
        display: flex;
    }
    .section3 .btn_wrap .btn1, .section3 .btn_wrap .btn2, .section3 .btn_wrap .btn3,  .section3 .btn_wrap .btn4 {
        display: none;
    }
    .section3 .btn_wrap .btn1_mo, .section3 .btn_wrap .btn2_mo, .section3 .btn_wrap .btn3_mo, .section3 .btn_wrap .btn4_mo {
        display: block;
        position: relative;
        background-repeat: no-repeat;
        background-position: calc(100% - 10px) calc(100% - 10px); 
        background-size: auto 50px;
        height: 180px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .section3 .btn1_mo {
        background-image: url('../img/main-icon-1.png');
    }
    
    .section3 .btn2_mo {
        background-image: url('../img/main-icon-2.png');
    }
    
    .section3 .btn3_mo {
        background-image: url('../img/main-icon-3.png');
    }
    
    .section3 .btn4_mo {
        background-image: url('../img/main-icon-4.png');
    }
    
    .section3 a img {
        margin-left: 10px;
        width: 15%;
    }
    .section3 .btn_wrap a span:nth-of-type(1) {
        font-size: 16px;
        font-weight: bold;
        color: unset;
    }
    .section3 .btn_wrap a span {
        font-size: 16px;
        font-weight: 800;
        color: #b60303;
    }
    .section3  .flex {
       display: flex;
       align-items: center;
    }
    .section4 {
        max-width: 100%;
        margin: 0 auto;
        padding: 50px 0;
        text-align: center;
    }
    .section4 .btn_wrap{
        width: 90%;
        margin: 0 auto;
    }
    .section4 .btn_wrap ul{
        display: flex;
        gap: 15px;
    }
    .section4 h2 {
        font-size: 20px;
    }
    .section4 p {
        font-size: 16px;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    .section4 ul li:not(:last-child)::after {
        display: none;
    }
    .section4 ul li a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: inherit;
        font-size: 16px;
        font-weight: 600;
        padding: 20px 15px ;
        border: 1px solid #dadada;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
        height: 160px;
        line-height: 1.2;
    }
    .section4 ul li a img {
        margin-bottom: 15px;
        width: auto;
        height: 60px;
    }
}