/* ========================================
   CTA (Call-to-Action) 最適化
   ======================================== */

/* 固定CTAバナー */
.fixed-cta-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #4a90e2 0%, #357ABD 100%);
    padding: 1rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fixed-cta-banner.show {
    transform: translateY(0);
}

.fixed-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.fixed-cta-text {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.fixed-cta-text span {
    display: inline-block;
    margin-left: 0.5rem;
    color: #ffd700;
    font-weight: 700;
}

.fixed-cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.fixed-cta-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.fixed-cta-btn-primary {
    background: #fff;
    color: #4a90e2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.fixed-cta-btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fixed-cta-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.fixed-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.fixed-cta-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.fixed-cta-close:hover {
    opacity: 1;
}

/* スライダーのCTAボタン強化 */
.slide-btn {
    position: relative;
    overflow: hidden;
}

.slide-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.slide-btn:hover::before {
    width: 300px;
    height: 300px;
}

.slide-btn i {
    position: relative;
    z-index: 1;
}

.slide-btn span {
    position: relative;
    z-index: 1;
}

/* CTAボタンのパルスアニメーション */
.slide-btn-primary {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(74, 144, 226, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(74, 144, 226, 0.8);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .fixed-cta-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .fixed-cta-text {
        font-size: 0.95rem;
    }
    
    .fixed-cta-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .fixed-cta-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .fixed-cta-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .fixed-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .fixed-cta-btn {
        width: 100%;
        justify-content: center;
    }
}
