/* バナーラッパー */
.rbd-banner-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    transform: translateY(0); /* 初期状態で表示 */
}

/* バナーが非表示の状態 */
.rbd-banner-wrapper.hidden {
    transform: translateY(100%);
}

/* バナーコンテナ */
.rbd-banner-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* バナーコンテンツ */
.rbd-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}


/* モバイル対応 */
@media (max-width: 768px) {
    .rbd-banner-container {
        padding: 0;
        width: 100%;
        justify-content: center;
    }
    
    .rbd-banner-content {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .rbd-banner-content img,
    .rbd-banner-content iframe,
    .rbd-banner-content ins {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
    }
    
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .rbd-banner-content {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* PC表示用の調整 */
@media (min-width: 1025px) {
    .rbd-banner-wrapper {
        background-color: #ffffff;
    }
    
    .rbd-banner-container {
        padding: 0;
    }
}

/* バナー内のiframe調整 */
.rbd-banner-content iframe,
.rbd-banner-content ins {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

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

.rbd-banner-wrapper.show {
    animation: slideUp 0.5s ease forwards;
}