/* ========================================
   CTA（Call To Action）ボタン最適化
   ======================================== */

/* セクション内CTA */
.section-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: ctaGlow 3s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% {
        transform: rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: rotate(180deg);
        opacity: 1;
    }
}

.section-cta-content {
    position: relative;
    z-index: 1;
}

.section-cta-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.section-cta-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.section-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* 固定CTAボタン関連のスタイルは削除されました */

/* CTAボタンバリエーション */
.btn-cta-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-dark);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-cta-primary:hover::before {
    left: 100%;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--color-primary);
    padding: 0.9rem 2rem;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-cta-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* 電話CTAボタン */
.btn-cta-phone {
    background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-cta-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.6);
}

.btn-cta-phone i {
    animation: phoneBounce 1.5s ease-in-out infinite;
}

@keyframes phoneBounce {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .section-cta-title {
        font-size: 1.2rem;
    }
    
    .section-cta-buttons {
        flex-direction: column;
    }
    
    .fixed-cta-content {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .fixed-cta-text {
        text-align: center;
    }
    
    .fixed-cta-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary,
    .btn-cta-phone {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .section-cta {
        padding: var(--spacing-md);
    }
    
    .section-cta-title {
        font-size: 1rem;
    }
    
    .section-cta-text {
        font-size: 0.9rem;
    }
    
    .fixed-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary,
    .btn-cta-phone {
        width: 100%;
        justify-content: center;
    }
}
