.swiper {
    width: 100%;
    margin: 0 auto;
}

.swiper .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* 슬라이드 너비를 100%로 설정 */
}

.swiper .slide1, .swiper .slide2, .swiper .slide3 {
    position: relative;
    width: auto; /* 슬라이드 너비를 자동으로 조정 */
}

.swiper .slide1 a, .swiper .slide2 a, .swiper .slide3 a {
    width: 100%; /* 링크가 슬라이드 전체를 차지 */
    display: block;
}

.swiper .banner1, .swiper .banner2, .swiper .banner3 {
    height: auto; /* 이미지 높이를 자동 조정 */
    display: block;
    position: relative; /* 이미지에 상대 위치 적용 */
}

.swiper .overlay1, .swiper .overlay2, .swiper .overlay3 {
    position: absolute;
    bottom: 10%;
    left: 27%;
}

.swiper .text-overlay {
    color: white;
    padding: 10px;
      position: absolute;
    border-radius: 5px;
    text-align: left;
}

.swiper .text-overlay span {
    font-size: 24px;
    color: #fff;
}

.swiper .text-overlay p {
    font-size: 30px;
    margin-top: 15px;
    font-weight: 500;
    color: #fff;
}
.section1, .section5 {
    background-color: #f3f3f3;
}
.section1 {
    margin-top: 30px;
}
.section1 .contents {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
    align-items: stretch;
    gap: 30px;
}

.section1 .contents .left{
    width: 50%;
    gap: 30px;
}
.section1 .contents .left,
.section1 .contents .right {
    flex: 1; /* 같은 비율로 공간 차지 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.section1 .list_wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: center;
    
}
.section1 .list_wrap span {
    cursor: pointer; /* 마우스 커서를 포인터로 변경 */
    border-radius: 5px;
    padding: 5px; /* 패딩 추가 */
    width: 20%;  background-color: #fff; 
    border: 1px solid #ddd;
}

.section1 .list_wrap span.active {
    background-color: #ff9c19; /* 강조 색상 */
    color: #fff; /* 텍스트 색상 */
}
.section1 .contents .left .box{
    display: flex;
    padding: 30px;
    border-radius: 15px;
    background-color: #fff;
    align-items: center;
    gap: 50px;
    justify-content: space-evenly;
    border: 1px solid #ddd;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
.section1 .contents .left .box span{
    font-size: 22px;
    color: #ff9c19;
    font-weight: 600;
}
.section1 .contents .left .box p{
    font-size: 20px;
    margin-top: 10px;
}
.section1 .contents .left .box a{
    font-size: 20px;
    margin-top: 20px;
    background: #ff9c19;
    color: #FFF;
    border: 4px solid #ffd8a7;
    border-radius: 30px;
    padding: 5px 15px;
    display: inline-block;
}
.section1 .contents .left .box img{
    width: 30%;
}
.section1 .contents .right{
    width: 50%;

}
.section1 .contents .right .top_text{
    font-size: 19px;
    color: #ababab;
    line-height: 1.3;
}
.section1 .contents .right .top_text2{
    font-size: 22px;
    font-weight: 600;
    margin-top: 10px;
    display: block;
}
.section1 .contents .right .btn_wrap{
    display: flex;
    gap: 10px;
}
.section1 .contents .right .btn_wrap a{
    width: 50%;
    margin-top: 15px;
    border: 1px solid #ddd;
    border-radius: 15px;
    background-color: #fff;
    padding: 30px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
.section1 .contents .right .btn_wrap a h2{
    font-size: 19px;
    color: #ff9c19;
    font-weight: 600;
    margin-bottom: 10px;
}
.section1 .contents .right .btn_wrap a pre{
    font-size: 18px;
    line-height: 1.1;
}
.section1 .contents .right .btn_wrap a .btn{
    text-align: right;
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    height: 50px;
}
.section1 .contents .right .btn_wrap a .btn span{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 18px;
    color: #ababab;
}
.section1 .contents .right .btn_wrap a:hover span {
    color: #ff9c19; 
}

.section1 .contents .right .btn_wrap a:hover .btn span img {
    content: url('../img/arrow-4.png'); 
}
.section1 .swiper-pagination {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center !important;
}
.section2{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
}
.section2 .contents {
    display: flex;
    align-items: stretch;
}
.section2 .left {
    width: 60%;
}
.section2 .left a{
    color: #fff;
    border: 1px solid #fff;
    padding: 5px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: 15px;
}
.section2 .left a img{
    width: 20%;
}
.section2 .banner-container {
    position: relative;
    width: 100%;
    display: none; 
    height: 300px;
}
.section2 .banner-container.active {
    display: block; 
}
.section2 .banner {
    width: 100%;
    height: 315px;
}

.section2 .text-overlay {
    position: absolute;
    bottom: 5%;
    left: 5%;
    color: white;
    padding: 10px;
    border-radius: 5px;
}

.section2 .text-overlay span {
    font-size: 22px;
    color: #fff;
}
.section2 .right {
    width: 40%;
    background-color: #008098;
    margin-left: -10px;
    z-index: 1;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    flex-wrap: wrap; 
    padding: 10px;
    justify-content: center;
}

.section2 .right .option {
    display: flex;
    flex-direction: column;
    width: 45%;
    margin: 2.5%;
    align-items: center;
}

.section2 .right .option img {
    width: 20%; 
    margin-bottom: 10px;
}
.section2 .right .option span{
    color: #fff;
    font-size: 18px;
    text-align: center;
    color: #fff;
}
.section3 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}
.section3 .top {
    display: flex;
    justify-content: right;
    margin-bottom: 20px;
}
.section3 .top a{
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
}
.section3 ul{
    border-top: 2px solid #ff9c19;
    border-bottom: 2px solid #ff9c19;
}
.section3 ul a{
    padding: 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section3 ul li:last-child a{
    border-bottom: 0;
}
.section3 ul a img {
    width: 2%;
    transition: content 0.5s; /* 부드러운 변화 효과 추가 */
}

.section3 ul a:hover img {
    content: url('../img/arrow-5.png'); /* 호버 시 이미지 변경 */
}
.section3 ul a h2{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.section3 ul a p{
    font-size: 18px;
    color: #8d8d8d;
}
.section4{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    display: flex;
}
.section4 .contents {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
}
.section4 .left {
    width: 100%;
}
.section4 .left a{
    color: #fff;
    border: 1px solid #fff;
    padding: 5px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: 15px;
}
.section4 .left a img{
    width: 20%;
}
.section4 .banner-container2 {
    position: relative;
    width: 100%;
    display: none; 
}
.section4 .banner-container2.active {
    display: block; 
}
.section4 .banner {
    width: 100%;
}

.section4 .text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.section4 .text-overlay h2 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 30px;
}
.section4 .text-overlay pre {
    font-size: 18px;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 30px;
}
.section4 .right {
    width: 100%;
    z-index: 1;
    display: flex;
    padding: 10px;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;

}

.section4 .right .option {
    display: inline-flex;;
    flex-direction: column;
    width: 45%;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}
.section4 .right .more {
    background-color: #daf0f2;
    border-radius: 5px;
    display: flex;
    padding: 5px 15px;
    
}
.section4 .right .more a{
    display: flex;
    font-size: 16px;
}
.section4 .right .option span{
    font-size: 18px;
    text-align: center;
}
.section4 .right .option.active {
    background-color: #008098; /* 강조할 배경색 */
}
.section4 .right .option.active span {
    color: #fff;
}
.section4 .right .option {
    background-color: #fff;
    border: 1px solid #ddd;
}
.section5 .contents {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}
.section5 h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}
.section5 .btn_wrap {
    display: flex;
    gap: 30px;
}
.section5 .btn_wrap a {
    width: 33%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    font-size: 18px;
    font-weight: 600;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    transition: background-color 0.3s, color 0.3s; /* 부드러운 전환 효과 추가 */
}

.section5 .btn_wrap a:hover {
    background-color: #ff9c19; /* 호버 시 배경색 */
    color: #fff; /* 호버 시 글씨색 */
    box-shadow:none;
    font-weight: 500;
}

.section5 .btn_wrap a:hover img {
    content: url('../img/arrow-7.png'); /* 호버 시 이미지 변경 */
}
.section6 {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    align-items: stretch; /* 자식 요소의 높이를 동일하게 */
    justify-content: space-between;
    gap: 30px;
}

.section6 .top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section6 .top h1 {
    font-size: 22px;
    font-weight: 600;
}

.section6 .top a {
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
}

.section6 .swiper-container {
    position: relative;
}

.swiper-pagination span {
}

.swiper-pagination .current {
    color: #007d96; /* 강조 색상 */
}

.section6 .left, 
.section6 .right {
    width: 50%; /* 각 요소의 너비 50% */
    display: flex; /* Flexbox 사용 */
    flex-direction: column; /* 세로 방향으로 나열 */
    justify-content: space-between; /* 여유 공간을 나누어 배치 */
}

.section6 .left {
    overflow: hidden; /* 넘치는 부분 숨기기 */
    position: relative; /* 자식 요소의 절대 위치 설정을 위해 */
}

.section6 .right {
    overflow: hidden; /* 넘치는 부분 숨기기 */
}

.section6Swiper {
    width: 100%; /* 부모 요소에 맞춤 */
    height: auto; /* 높이는 자동 조절 */
    padding-bottom: 20px;
    border-bottom: 2px solid #747474;
    border-top: 2px solid #747474;
}

.section6 .swiper-wrapper {
    display: flex; /* 슬라이드가 가로로 나열되도록 설정 */
}

.section6 .swiper-slide {
    width: 100%; /* 각 슬라이드가 100% 너비를 차지 */
    box-sizing: border-box; /* 패딩 및 보더가 너비에 포함되도록 설정 */
}

.news-area {
    box-sizing: border-box;
}

.news-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    flex-direction: column;
}

.news-txt {
    flex: 1;
    padding-right: 10px;
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-area h2 {
    font-size: 18px;
    padding: 15px;
}

.news-area span {
    font-size: 12px;
    color: #888;
}
.swiper .pagination-container {
    position: absolute;
    bottom: 5%;
    right: 30%;
    display: flex;
    align-items: center;
}
.section6 .pagination-container {
    position: absolute;
    bottom: 85px;
    right: 60px;
    display: flex;
    align-items: center;
}
.swiper .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* 동그라미의 너비 */
    height: 60px; /* 동그라미의 높이 */
    border-radius: 50%; /* 동그라미 모양 */
    border: 3px solid #ff9e16; /* 테두리 색상 */
    background-color: transparent; /* 배경색을 투명하게 설정 */
    overflow: hidden; /* 내용이 동그라미 밖으로 나가지 않도록 */
}
.swiper .swiper-pagination .current {
    color: #ff9e16;
}
.section6 .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* 동그라미의 너비 */
    height: 60px; /* 동그라미의 높이 */
    border-radius: 50%; /* 동그라미 모양 */
    border: 3px solid #168b9e; /* 테두리 색상 */
    background-color: transparent; /* 배경색을 투명하게 설정 */
    overflow: hidden; /* 내용이 동그라미 밖으로 나가지 않도록 */
}


.section6 .swiper-pagination .section6 .swiper-pagination-bullet {
    background-color: #fff; /* 동그라미 색상 */
    width: 10px; /* 동그라미 크기 */
    height: 10px; /* 동그라미 크기 */
    border-radius: 50%; /* 동그라미 모양 */
    margin: 0 3px; /* 동그라미 간격 */
}

.section6 .right ul {
    border-bottom: 2px solid #747474;
    border-top: 2px solid #747474;
    margin-top: 20px; /* .top과 ul 간격 조정 */
    padding: 10px 0; /* 패딩으로 높이 증가 */
}

.section6 ul li {
    border-bottom: 1px solid #ddd;
}

.section6 ul a {
    padding: 15px;
    font-size: 18px;
    display: block;
}

.section6 ul li:last-child  {
    border-bottom: 0;
}
.swiper .overlay1_mo, .swiper .overlay2_mo, .swiper .overlay3_mo {
    display: none;
}
.top_text_mo {
    display: none;
}
.section2 .contents_mo {
    display: none;
}
.section4 .overlay4_mo {
    display: none;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .swiper .banner1, .swiper .banner2, .swiper .banner3 {
        width: 522px;
        max-width: 522px;
    }
    .swiper .pagination-container {
        position: absolute;
        bottom: 5%;
        right: 27%;
    }
    .btn_wrap1, .btn_wrap2  {
        width: 100%;
    }
    .swiper .overlay1, .swiper .overlay2, .swiper .overlay3 {
        position: absolute;
        bottom: 10%;
        left: 18%;
    }
}
@media (min-width: 320px) and (max-width: 767px) {
    .swiper .banner1, .swiper .banner2, .swiper .banner3 {
        width: 522px;
        max-width: 522px;
    }
    .swiper .pagination-container {
        position: absolute;
        bottom: 5%;
        right: 27%;
    }
    .btn_wrap1, .btn_wrap2  {
        width: 100%;
    }
    .swiper .overlay1, .swiper .overlay2, .swiper .overlay3 {
        position: absolute;
        bottom: 10%;
        left: 18%;
    }
}

@media screen and (max-width: 767px) {
    .swiper {
        width: 90%;
        height: 100%;
        max-width: 100%;
    }
        /* .slide1 {
        width: unset !important;
    } */
    .swiper .banner1, .swiper .banner2, .swiper .banner3 {
        width: 100%;
    }
    .swiper .pagination-container {
        position: absolute;
        bottom: 0%;
        right: 20%;
        display: flex;
        align-items: center;
    }
    .swiper .overlay1, .swiper .overlay2, .swiper .overlay3 {
        display: none;
    }
    .swiper .overlay1_mo, .swiper .overlay2_mo, .swiper .overlay3_mo {
        display: block;
        position: absolute;
        bottom: 30%;
        left: 6%;
    }
    .swiper .text-overlay span {
        font-size: 16px;
        color: #fff;
    }
    .swiper .text-overlay p {
        font-size: 17px;
        margin-top: 5px;
        font-weight: 500;
        color: #fff;
    }
    .swiper .swiper-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 3px solid #ff9e16;
        background-color: transparent;
        overflow: hidden;
    }
    .section1{
        margin-top: 20px;
    }
    .section1 .contents {
        width: 90%;
        max-width: 100%;
        padding: 20px 0;
        flex-direction: column;
    }
    .section1 .contents .left {
        width: 100%;
        gap: 20px;
    }
    .section1 .contents .right {
        width: 100%;
    }
    .section1 .list_wrap {
        display: flex;
        align-items: center;
        justify-content: flex-start; /* Align items to the left */
        overflow: auto; /* Allows scrolling */
        text-align: center;
        scrollbar-width: none; /* Hide scrollbar in Firefox */
    }
    
    /* Hiding scrollbar for WebKit browsers */
    .section1 .list_wrap::-webkit-scrollbar {
        display: none; /* Hides the scrollbar */
    }
    .section1 .list_wrap span {
        cursor: pointer;
        border-radius: 5px;
        padding: 5px 10px;
        width: fit-content;
        background-color: #fff;
        border: 1px solid #ddd;
        font-size: 18px;
    }
    .top_text {
        display: none;
    }
    .top_text_mo {
        display: block;
        font-size: 19px;
        text-align: center;
        color: #ababab;
    }
    .section1 .contents .right .top_text2 {
        font-size: 22px;
        font-weight: 600;
        margin-top: 10px;
        display: block;
        text-align: center;
    }
    .section1 .contents .right .btn_wrap a {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 15px;
        border: 1px solid #ddd;
        border-radius: 15px;
        background-color: #fff;
        padding: 20px;
        box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
    }
    .section1 .contents .right .btn_wrap a .btn {
        text-align: right;
        display: flex;
        justify-content: flex-end;
        margin-top: 30px;
        height: unset;
        align-items: center;
    }
    .section2 {
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
        padding: 30px 0;
 
    }
    .section2 .contents_mo {
        display: block;
    }
    .section2 .contents{
        display: none;
    }
    .section2 .left {
        width: 100%;
    }
    .section2 .banner {
        width: 100%;
        height: unset;
    }
    .section2 .right {
        width: 100%;
        margin-left: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        padding: 10px;
        justify-content: center;
        margin-top: -15%;
        position: relative;
    }
    
    .section2 .right a {
        display: flex;
        flex-direction: column;
        width: calc(33.33% - 20px); /* Adjust for margins */
        margin: 10px; /* Adds spacing around items */
        align-items: center;
        box-sizing: border-box; /* Ensure padding/margins don't affect width */
    }
    
    .section2 .right a img {
        width: 50%;
        margin-bottom: 10px;
    }
    .section2 .right a span{
        color: #fff;
        font-size: 17px;
        text-align: center;
        color: #fff;
    }
    .section3 {
        width: 90%;
        max-width: 100%;
        padding: 10px 0;
    }
    .section3 .top a {
        font-size: 16px;
    }
    .section3 .top {
        margin-bottom: 15px;
    }
    .section3 ul a img {
        width: 6%;
        transition: content 0.5s;
    }
    .section4 {
        width: unset;
        max-width: unset;
        padding:unset;
        display: unset;
    }
    .section4 .contents {
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
        padding: 20px 0;
    }
    .section4 .right {
        width: 100%;
        z-index: 1;
        display: flex;
        padding: 10px;
        justify-content: unset;
        gap: 5px;
        margin-bottom: 20px;
        overflow-x: auto; 
        white-space: nowrap; 
    }
    /* 스크롤바 숨기기 */
    .section4 .right::-webkit-scrollbar {
        display: none; 
    }

    .section4 .right .option {
        display: flex;
        flex-direction: column;
        width: fit-content;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
    }
    .section4 .right .option span {
        padding: 7px;
    }
    .section4 .right .more a {
        align-items: center;
    }
    .section4 .overlay4_mo {
        display: block;
    }
    .section4 .overlay4{
        display: none;
    }
    .section4 .text-overlay {
        width: 100%;
    }
    .section4 .text-overlay h2 {
        font-size: 20px;
        color: #fff;
        margin-bottom: 5px;
    }
    .section4 .text-overlay P {
        font-size: 16px;
        color: #fff;
    }
    .section4 .left a {
        margin-left: 0;
        margin-top:  15px;
        font-size: 15px;
    }
    .section5 .contents {
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
        padding: 20px 0;
    }
    .section5 .btn_wrap {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
    .section5 .btn_wrap a {
        width: 100%;
        padding: 20px;
    }
    .section5 .btn_wrap a img{
        width: 6%;
    }
    .section6 {
        width: 90%;
        max-width: 100%;
        margin: 20px auto;
        display: flex;
        flex-direction: column;
    }
    .section6 .left, .section6 .right {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .section6 .right ul {
        border-bottom: 2px solid #747474;
        border-top: 2px solid #747474;
        margin-top: unset;
        padding: 10px 0;
    }
    .section6 .top a {
        font-size: 16px;
    }
}