.detail-content::-webkit-scrollbar {
    width: 4px;
}
.detail-content::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.5);
    border-radius: 2px;
}

.pc-only {
    display: block;
}
.mobile-only {
    display: none;
}

.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #031c38;
    height: 60px;
    border-bottom: 1px solid #073061;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-logo {
    width: 186px;
    height: 44px;
    object-fit: contain;
    margin-left: clamp(60px, 6vw, 120px);
    display: block;
}

.header-fixed.header-blur {
    background-color: rgba(250, 250, 250, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid white;
}

.swiper-container {
    width: 100%;
    position: relative;
    max-height: 700px;
    aspect-ratio: 1920/700 !important;
    height: auto !important;
    min-height: 250px;
    overflow: hidden;
    background-color: #031c38;
    padding: 0 !important;
    margin: 60px 0 0 0;
    border: none !important;
}

.swiper-container .swiper-wrapper {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.swiper-container .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.swiper-container .swiper-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.swiper-pagination {
    position: absolute;
    bottom: clamp(10px, 2vw, 15px) !important;
    left: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: clamp(5px, 1vw, 10px);
    width: 100%;
}
.swiper-pagination-bullet {
    width: clamp(15px, 2vw, 30px);
    height: clamp(5px, 1vw, 10px);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    width: clamp(20px, 3vw, 50px);
    height: clamp(5px, 1vw, 10px);
    background-color: #ffffff;
    border-radius: 6px;
}

.swiper-button-prev, .swiper-button-next {
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%);
    width: clamp(20px, 3vw, 30px);
    height: clamp(20px, 3vw, 30px);
    color: #0b4891;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 10;
}
.swiper-button-prev {
    left: clamp(10px, 2vw, 15px) !important;
}
.swiper-button-next {
    right: clamp(10px, 2vw, 15px) !important;
}
.swiper-button-prev:after, .swiper-button-next:after {
    font-size: clamp(12px, 2vw, 18px) !important;
}

.slide-overlay {
    position: absolute;
    top: clamp(20px, 8vw, 120px);
    left: clamp(15px, 4vw, 60px);
    color: #ffffff;
    z-index: 5;
    width: 45%;
    min-width: 280px;
    box-sizing: border-box;
    padding: clamp(8px, 2vw, 10px) clamp(15px, 3vw, 20px);
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.slide-title-main {
    font-size: clamp(36px, 4vw, 50px);
    font-weight: bold;
    margin-bottom: clamp(8px, 3vw, 30px);
    line-height: 1.2;
    word-wrap: break-word;
}
.slide-desc {
    font-size: clamp(16px, 1.5vw, 18px);
    line-height: 1.6;
    margin-bottom: clamp(12px, 4vw, 50px);
    opacity: 0.9;
    word-wrap: break-word;
}
.slide-contact-btn {
    padding: clamp(6px, 2vw, 12px) clamp(14px, 3vw, 30px);
    background-color: #1677ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: clamp(14px, 2vw, 16px);
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}
.slide-contact-btn:hover {
    background-color: #0f62d0;
}

@media (max-width: 1483px) {
    .swiper-container {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
    }
    .slide-overlay {
        top: clamp(15px, 5vw, 80px) !important;
        left: clamp(20px, 4vw, 50px) !important;
        width: 45% !important;
        min-width: 260px !important;
        box-sizing: border-box !important;
    }
    .slide-title-main {
        font-size: clamp(34px, 3.8vw, 48px) !important;
        margin-bottom: clamp(8px, 2.8vw, 28px) !important;
    }
    .slide-desc {
        font-size: clamp(14px, 1.4vw, 16px) !important;
        margin-bottom: clamp(10px, 3.8vw, 48px) !important;
    }
    .slide-contact-btn {
        font-size: clamp(12px, 1.9vw, 14px) !important;
        padding: clamp(6px, 1.9vw, 11px) clamp(13px, 2.9vw, 28px) !important;
    }
}

.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:hover, .anchor-btn.active {
    background-color: #004080;
}

.swiper-solution {
    width: 100%;
    margin: 20px auto 0;
    padding: 15px 0;
    overflow: hidden !important;
    height: 240px;
    position: relative;
}
.swiper-solution .swiper-wrapper {
    display: flex;
    align-items: center;
    width: max-content !important;
    animation: scroll 20s linear infinite;
}
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.swiper-solution:hover .swiper-wrapper {
    animation-play-state: paused;
}
.swiper-solution .swiper-slide {
    width: 380px !important;
    flex-shrink: 0 !important;
    height: 200px !important;
    margin-right: 20px !important;
}
.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-box-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);
}

@media (max-width: 768px) {
    .swiper-container {
        aspect-ratio: 1920/700 !important;
        min-height: 250px;
        max-height: 500px;
        height: auto !important;
    }
    .header-logo {
        margin-left: clamp(15px, 5vw, 60px);
    }
    .slide-overlay {
        top: clamp(15px, 6vw, 60px);
        left: clamp(10px, 3vw, 30px);
        width: 80% !important;
        min-width: 220px !important;
        box-sizing: border-box !important;
        padding: 10px 15px;
    }
    .slide-title-main {
        font-size: 22px !important;
        margin-bottom: 12px !important;
        line-height: 1.2;
    }
    .slide-desc {
        font-size: 16px !important;
        margin-bottom: 15px !important;
        line-height: 1.6;
    }
    .slide-contact-btn {
        font-size: 14px !important;
        padding: 8px 20px !important;
        border-radius: 4px;
    }
    .swiper-pagination-bullet {
        width: 15px !important;
        height: 5px !important;
    }
    .swiper-pagination-bullet-active {
        width: 25px !important;
        height: 5px !important;
    }
    .swiper-button-prev, .swiper-button-next {
        width: 25px !important;
        height: 25px !important;
    }
    .swiper-button-prev:after, .swiper-button-next:after {
        font-size: 14px !important;
    }
    .swiper-solution {
        height: 160px;
        margin: 15px auto 0;
        padding: 10px 0;
    }
    .swiper-solution .swiper-slide {
        width: 220px !important;
        height: 140px !important;
        margin-right: 10px !important;
    }
    .swiper-solution .swiper-wrapper {
        animation-duration: 24s;
    }
    .slide-title {
        font-size: 14px;
        padding: 6px 12px;
    }
    .detail-box {
        padding: 8px 12px;
        height: 60%;
    }
    .detail-col {
        width: 47%;
        font-size: 12px;
        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: 769px) and (max-width: 1024px) {
    .swiper-container {
        aspect-ratio: 1920/700 !important;
        max-height: 600px;
        height: auto !important;
    }
    .header-logo {
        margin-left: clamp(60px, 3vw, 120px);
    }
    .slide-overlay {
        top: clamp(40px, 8vw, 100px);
        left: clamp(30px, 5vw, 60px);
        width: 45% !important;
        min-width: 280px !important;
        box-sizing: border-box !important;
    }
    .slide-title-main {
        font-size: 22px !important;
    }
    .slide-desc {
        font-size: 14px !important;
    }
    .slide-contact-btn {
        font-size: 14px !important;
    }
    .swiper-solution .swiper-slide {
        width: 320px !important;
    }
    .swiper-solution .swiper-wrapper {
        animation-duration: 24s;
    }
}

@media (min-width: 2560px) {
    .swiper-container {
        max-height: 700px !important;
        aspect-ratio: 1920/700 !important;
        height: auto !important;
    }
    .slide-overlay {
        left: clamp(60px, 4vw, 120px);
        width: 45% !important;
        min-width: 300px !important;
        box-sizing: border-box !important;
    }
}