.ics-comparison-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.ics-comparison-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.ics-comparison-side {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ics-comparison-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ics-left-side {
    left: 0;
    clip-path: inset(0 50% 0 0);
}

.ics-right-side {
    right: 0;
    clip-path: inset(0 0 0 50%);
}

.ics-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 40px;
}

.ics-content {
    color: white;
    max-width: 500px;
    text-align: center;
}

.ics-content h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.ics-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ics-content li {
    margin-bottom: 12px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.ics-slider-control {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.ics-slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 1.5rem;
    user-select: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .ics-comparison-slider {
        height: 600px;
    }
    
    .ics-content-overlay {
        padding: 20px;
    }
    
    .ics-content h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .ics-content li {
        font-size: 0.9rem;
        margin-bottom: 10px;
        padding: 8px 12px;
    }
    
    .ics-slider-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .ics-comparison-slider {
        height: 500px;
    }
    
    .ics-content h3 {
        font-size: 1.3rem;
    }
    
    .ics-content li {
        font-size: 0.85rem;
    }
}
