/* PC用スタイル（min-width: 769px） */
@media screen and (min-width: 769px) {
    .upslider {
        position: relative;
        width: 100%;
        aspect-ratio: 3000/1688;
        overflow: hidden;
    }

    .upslide {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        /* GSAPで制御するため、transform は削除 */
        z-index: 0;
        /* transition も削除（GSAPで制御） */
    }

    .upslide.active {
        opacity: 1;
        z-index: 1;
        /* transform は削除（GSAPで制御） */
    }

    .upslide-content {
        position: relative;
        z-index: 2;
        text-align: center;
    }

    .upslide-text {
        /* GSAPで制御するため、初期値のみ設定 */
        opacity: 0;
	transform: translateY(50px);
        /* transform と transition は削除（GSAPで制御） */
    }

    /*.upslide-nav {
        position: absolute;
        bottom: 20px;
        width: 100%;
        text-align: center;
        z-index: 10;
    }

    .upslide-nav button {
        padding: 10px 20px;
        margin: 0 5px;
        border: none;
        background-color: rgba(255,255,255,0.5);
        cursor: pointer;
        color: #000;
        font-size: 1em;
        border-radius: 5px;
        transition: background-color 0.3s, transform 0.3s;
    }

    .upslide-nav button.active, 
    .upslide-nav button:hover {
        background-color: rgba(255,255,255,1);
        transform: scale(1.1);
    }*/
}

/* スマホ用スタイル（max-width: 768px） */
@media screen and (max-width: 768px) {
    .upslider {
        position: relative;
        width: 100%;
        aspect-ratio: 960/640;
        overflow: hidden;
    }

    .upslide {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        opacity: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        /* GSAPで制御するため、transform は削除 */
        z-index: 0;
        /* transition も削除（GSAPで制御） */
    }

    .upslide.active {
        opacity: 1;
        z-index: 1;
        /* transform は削除（GSAPで制御） */
    }

    .upslide-content {
        position: relative;
        z-index: 2;
        text-align: center;
        padding: 0 20px;
    }

    .upslide-text {
        /* GSAPで制御するため、初期値のみ設定 */
        opacity: 0;
        /* transform と transition は削除（GSAPで制御） */
        font-size: 1.2em;
    }

    /*.upslide-nav {
        position: absolute;
        bottom: 20px;
        width: 100%;
        text-align: center;
        z-index: 10;
    }

    .upslide-nav button {
        padding: 8px 16px;
        margin: 0 3px;
        border: none;
        background-color: rgba(255,255,255,0.5);
        cursor: pointer;
        color: #000;
        font-size: 0.9em;
        border-radius: 5px;
        transition: background-color 0.3s, transform 0.3s;
    }

    .upslide-nav button.active, 
    .upslide-nav button:hover {
        background-color: rgba(255,255,255,1);
        transform: scale(1.1);
    }*/
}