/**
 * カテゴリー別離脱ポップアップスタイル
 */
.tobeshin-exit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
}

.tobeshin-exit-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.tobeshin-exit-popup__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    background: transparent;
    border-radius: 8px;
    padding: 0;
    box-shadow: none;
    z-index: 100000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
}

.tobeshin-exit-popup__close {
    position: absolute;
    top: 0px;
    right: 220px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
    transition: background 0.2s, transform 0.2s;
    font-weight: bold;
    padding: 0;
    margin: 0;
}

.tobeshin-exit-popup__close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.tobeshin-exit-popup__close:active {
    transform: scale(0.95);
}

.tobeshin-exit-popup__link {
    display: block;
    width: 50%;
    text-decoration: none;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tobeshin-exit-popup__banner-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .tobeshin-exit-popup__content {
        max-width: 95%;
        padding: 0;
    }
    
    .tobeshin-exit-popup__link {
        width: 70%;
    }
    
    .tobeshin-exit-popup__close {
        width: 32px;
        height: 32px;
        font-size: 24px;
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 480px) {
    .tobeshin-exit-popup__content {
        max-width: 98%;
    }
    
    .tobeshin-exit-popup__link {
        width: 85%;
    }
    
    .tobeshin-exit-popup__close {
        width: 28px;
        height: 28px;
        font-size: 20px;
        top: 6px;
        right: 6px;
    }
}

