/* スタンダードクラス */
.pageslider-default-notice {
    position: absolute;
    /* デフォルトのポジション */
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    margin: -45px 0 0 -45px;

    background-color: transparent;

    border: none;
    box-sizing: border-box;

    pointer-events: none;
    z-index: 20;
    animation: notice-animation 2.5s ease forwards;

    background-image: url("../sample/img/pageslider_notice_popup.png");
    background-size: 90px 90px;
    background-position: center center;
    background-repeat: no-repeat;    
}

/* 右スライド画像クラス */
.pageslider-notice-right-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 150px;
    margin: -75px 90px 75px -90px;
    background-color: white;

    border-radius: 9px;
    border: solid 2px #333;
    text-align: center;
    font-size: 12px;
    line-height: 2.5;
    box-sizing: border-box;

    pointer-events: none;
    z-index: 20;
    animation: notice-animation 2.5s ease forwards;

    background-image: url("../sample/img/pageslider_right_slide_notice.svg");
    background-size: 110px 110px;
    background-position: center 30px;
    background-repeat: no-repeat;
}

.pageslider-notice-right-slide::after {
    content: '横にスライドします';
    font-size: 17px;
    font-family: sans-serif;
    font-weight: bold;
}

@media screen and (max-width: 380px) {
    /* 380px以下に適用されるCSS（小型スマホ用） */
    .pageslider-notice-right-slide {
        width: 150px;
        height: 150px;
        margin: -75px 75px 75px -75px;
    }
    /* .pageslider-notice-right-slide::after {
        content: none;
    } */
    .pageslider-notice-right-slide::after {
        content: '横にスライドします';
        font-size: 14px;
        font-family: sans-serif;
        font-weight: bold;
    }
}

/* 左スライド画像クラス */
.pageslider-notice-left-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 150px;
    margin: -75px 90px 75px -90px;

    background-color: white;

    border-radius: 9px;
    border: solid 2px #333;
    text-align: center;
    font-size: 12px;
    line-height: 2.5;
    box-sizing: border-box;

    pointer-events: none;
    z-index: 20;
    animation: notice-animation 2.5s ease forwards;

    background-image: url("../sample/img/pageslider_left_slide_notice.svg");
    background-size: 110px 110px;
    background-position: center 30px;
    background-repeat: no-repeat;
}

.pageslider-notice-left-slide::after {
    content: '横にスライドします';
    font-size: 17px;
    font-family: sans-serif;
    font-weight: bold;
}

@media screen and (max-width: 380px) {
    /* 380px以下に適用されるCSS（小型スマホ用） */
    .pageslider-notice-left-slide {
        width: 150px;
        height: 150px;
        margin: -75px 75px 75px -75px;
    }
    /* .pageslider-notice-left-slide::after {
        content: none;
    } */
    .pageslider-notice-left-slide::after {
        content: '横にスライドします';
        font-size: 14px;
        font-family: sans-serif;
        font-weight: bold;
    }
}

/* 右ポジションのクラス */
.pageslider-notice-position-right {
    top: 50%;
    left: 75%;
}

/* 左ポジションのクラス */
.pageslider-notice-position-left {
    top: 50%;
    left: 25%;
}

@media screen and (max-width: 380px) {
    /* 380px以下に適用されるCSS（小型スマホ用） */
    /*右ポジションのクラス */
    .pageslider-notice-position-right {
        top: 50%;
        left: 70%;
    }

    /* 左ポジションのクラス */
    .pageslider-notice-position-left {
        top: 50%;
        left: 30%;
    }
}


@keyframes notice-animation {
    0% {
        opacity: 1;
        transform: translateY(+40px);
    }
    20%, 80% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(0);
    }
}
