.swiper-container {
    width: 100%;
    height: calc(100vw * 9 / 16);
    min-height: 200px;
    max-height: min(700px, calc(100vw * 9 / 16));
    position: relative;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.swiper-pagination {
    position: absolute;
    bottom: 25px !important;
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.swiper-pagination-bullet {
    width: 30px;
    height: 10px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    width: 50px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 6px;
}

.swiper-button-prev, .swiper-button-next {
    color: #0b4891;
    width: 30px;
    height: 30px;
}
.swiper-button-prev:after, .swiper-button-next:after {
    font-size: 18px;
}

.header-logo-wrapper {
    position: absolute;
    top: 20px;
    left: 0;
    z-index: 10;
    width: auto;
    padding: 0;
    background-color: transparent;
}

.header-logo {
    width: 80px;
    height: 28px;
    margin-left: 120px;
    display: block;
}

.slide-overlay {
    position: absolute;
    top: 184px;
    left: 120px;
    color: #ffffff;
    z-index: 5;
    max-width: 600px;
}

.pc-only {
    display: block;
}
.mobile-only {
    display: none;
}

.slide-title-main {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.slide-contact-btn {
    padding: 12px 30px;
    background-color: #1677ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.slide-contact-btn:hover {
    background-color: #0f62d0;
}

.anchor-nav {
    background-color: #002b5c;
    display: flex;
    justify-content: space-around;
    flex-wrap: nowrap;
    width: 100%;
    height: 50px;
}

.anchor-btn {
    padding: 8px 15px;
    background-color: transparent;
    color: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    flex: 1;
    text-align: center;
    transition: background-color 0.3s;
    border-left: 1px solid #fff;
}

.anchor-btn:last-child {
    border-right: 1px solid #fff;
}

.anchor-btn:hover, .anchor-btn.active {
    background-color: #004080;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px 18px;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 17px;
    text-align: left;
    z-index: 2;
    width: 100%;
    transition: opacity 0.3s ease;
}

.detail-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    padding: 8px 14px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
    display: flex;
    flex-direction: column;
}

.detail-title {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #fff;
    text-align: left;
}

.detail-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex: 1;
    overflow-y: auto;
}

.detail-col {
    width: 48%;
    font-size: 14px;
    line-height: 1.6;
}

.detail-col span {
    display: block;
    margin-bottom: 3px;
}

.slide-content:hover .detail-box {
    transform: translateY(0);
}

.slide-content:hover .slide-title {
    opacity: 0;
}

.slide-content:hover img {
    transform: scale(1.05);
}

.detail-content::-webkit-scrollbar {
    width: 4px;
}
.detail-content::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.5);
    border-radius: 2px;
}

.swiper-solution {
    width: 100%;
    margin: 20px auto 0;
    padding: 15px 0;
    overflow: hidden;
    height: 240px;
}

.swiper-solution .swiper-slide {
    width: 380px !important;
    flex-shrink: 0;
    height: 200px !important;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .header-logo {
        margin-left: 60px;
    }

    .slide-overlay {
        top: 120px;
        left: 60px;
    }

    .slide-title-main {
        font-size: 30px;
    }

    .swiper-solution .swiper-slide {
        width: 320px !important;
    }
}

@media (max-width: 768px) {
    .swiper-pagination-bullet {
        width: 18px;
        height: 7px;
    }

    .swiper-pagination-bullet-active {
        width: 25px;
        height: 7px;
    }

    .swiper-button-prev, .swiper-button-next {
        width: 25px;
        height: 25px;
    }
    .swiper-button-prev:after, .swiper-button-next:after {
        font-size: 14px;
    }

    .swiper-container {
        height: calc(100vw * 9 / 16);
        min-height: 200px;
        max-height: 600px;
    }

    .header-logo {
        margin-left: 15px;
        width: 60px;
        height: 21px;
    }

    .slide-overlay {
        top: 30%;
        left: 15px;
        max-width: calc(100% - 30px);
        padding-right: 10px;
    }

    .slide-title-main {
        font-size: 22px;
        margin-bottom: 8px;
        line-height: 1.1;
        font-weight: 600;
    }

    .slide-desc {
        font-size: 11px;
        line-height: 1.3;
        margin-bottom: 12px;
        opacity: 0.95;
    }

    .slide-contact-btn {
        padding: 6px 14px;
        font-size: 11px;
        border-radius: 3px;
        line-height: 1;
    }

    .swiper-solution {
        height: 160px;
        margin: 15px auto 0;
        padding: 10px 0;
    }
    .swiper-solution .swiper-slide {
        width: 220px !important;
        height: 140px !important;
    }

    .slide-title {
        font-size: 14px;
        padding: 6px 12px;
    }
    .detail-box {
        padding: 8px 12px;
        height: 60%;
    }
    .detail-title {
        font-size: 14px;
        margin-bottom: 4px;
    }
    .detail-col {
        width: 47%;
        font-size: 11px;
        line-height: 1.4;
    }

    .anchor-nav {
        display: none;
    }
    #backToTop {
        right: 15px;
        bottom: 20px;
        transform: scale(1);
        padding: 10px;
    }
    #backToTop img {
        width: 80px;
        height: 80px;
        display: block;
    }

    .pc-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
}

@media (min-width: 2560px) {
    .swiper-container {
        max-height: 800px;
    }
}