/* イメージカルーセル全体のコンテナ */
.image-carousel-container {
    position: relative;
    width: 100%;
}

/* カルーセル本体 */
.image-carousel {
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
    user-select: none;
}

/* カルーセル内部のスライド領域 */
.image-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* 各画像アイテム */
.image-carousel-item {
    flex: 0 0 100%;
}

/* 商品画像 */
.image-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ナビゲーションボタン */
.image-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: none;
    outline: none;
    z-index: 10;
}

.image-carousel-prev {
    left: 10px;
}

.image-carousel-next {
    right: 10px;
}

.image-carousel-arrow {
    width: 10px;
    height: 10px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    display: block;
}

.image-carousel-prev-arrow {
    transform: rotate(-135deg);
}

.image-carousel-next-arrow {
    transform: rotate(45deg);
}

/* ドットナビゲーション */
.image-carousel-dots {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    gap: 8px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.image-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    padding: 0;
}

.image-carousel-dot.active {
    background-color: white;
}

/* 商品ボックス用のスタイル */
.product_box {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* モバイル用の調整 */
@media (max-width: 767px) {

    
    .image-carousel-nav {
        width: 30px;
        height: 30px;
    }
    
    .image-carousel-dots {
        padding: 8px 0;
    }
    
    .image-carousel-dot {
        width: 5px;
        height: 5px;
    }

    .image-carousel-arrow {
        width: 5px;
        height: 5px;
        border-top: 2px solid #333;
        border-right: 2px solid #333;
        display: block;
    }
}