/* カーソル（Drag）のスタイル修正 */

#js-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #333;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
    visibility: hidden;
}

/* カーソルが表示される条件 */
.cursor_drag:hover #js-cursor {
    opacity: 1;
    visibility: visible;
}

/* ホバー時のスタイル */
#js-cursor.hov_ {
    opacity: 1;
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.2);
}

/* スライダーエリアでのカーソル表示 */
.cursor_drag .splide:hover ~ #js-cursor,
.cursor_drag:hover #js-cursor {
    opacity: 1;
    visibility: visible;
}

/* モバイルデバイスでは非表示 */
@media screen and (max-width: 750px) {
    #js-cursor {
        display: none !important;
    }
}

/* タッチデバイスでは非表示 */
@media (hover: none) {
    #js-cursor {
        display: none !important;
    }
}