/**
 * Mobile Sticky Banner Styles
 */

/* 1024px以下（iPad以下）でのみ表示 */
@media screen and (max-width: 1024px) {
    .mobile-sticky-banner-area {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 9999;
        pointer-events: auto;
        animation: slideUp 0.3s ease-out;
    }

    .mobile-sticky-banner {
        display: block;
        width: 100%;
        line-height: 0;
    }

    .mobile-sticky-banner img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0;
        padding: 0;
    }

    a.mobile-sticky-banner {
        display: block;
        width: 100%;
        line-height: 0;
        cursor: pointer;
    }

    /* バナーが表示されている時のbodyの下部余白 */
    body.has-mobile-sticky-banner {
        /* JavaScriptで動的に設定 */
    }

    /* スライドアップアニメーション */
    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }
}

/* 1025px以上では非表示 */
@media screen and (min-width: 1025px) {
    .mobile-sticky-banner-area {
        display: none;
    }
}