/* ポップアップバナーのスタイル */
.timed-popup-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-width: 90vw;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    z-index: 10000;
    padding: 25px;
    display: none; /* 初期状態は非表示 */
    border: 1px solid #e0e0e0;
    font-family: 'Noto Sans JP', sans-serif;
}

.timed-popup-banner .banner-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.timed-popup-banner .banner-close:hover {
    color: #333;
}

.timed-popup-banner .banner-title {
    color: #005B99;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 5px;
}

.timed-popup-banner .banner-content {
    background: #eef8ff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
}

.timed-popup-banner .contact-method {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.timed-popup-banner .phone-number {
    font-size: 32px;
    color: #d32f2f;
    font-weight: bold;
    line-height: 1.2;
    margin: 5px 0;
}

.timed-popup-banner .reception-time {
    font-size: 12px;
    color: #666;
}

.timed-popup-banner .banner-footer {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
}

.timed-popup-banner .email-link {
    color: #0089e7;
    text-decoration: underline;
    font-weight: bold;
}

.timed-popup-banner .web-meeting {
    display: inline-block;
    background: #e4f5e9;
    color: #2e7d32;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-top: 10px;
    font-weight: bold;
}

.timed-popup-banner .web-meeting::before {
    content: '🏷️';
    margin-right: 5px;
}

.timed-popup-banner .note {
    margin-top: 10px;
    font-size: 13px;
    color: #333;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timed-popup-banner.show {
    display: block;
    animation: fadeInUp 0.5s ease-out forwards;
}

/* モバイル対応 */
@media screen and (max-width: 767px) {
    .timed-popup-banner {
        bottom: 15px;
        right: 5%;
        width: 90%;
        padding: 20px 15px;
    }
    .timed-popup-banner .banner-title {
        font-size: 18px;
    }
    .timed-popup-banner .phone-number {
        font-size: 26px;
    }
}
