/* ============================================
   CTA/お問い合わせセクション専用CSS
   ============================================ */

/* CTAセクション全体 */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* CTAコンテナ */
.cta-container {
    position: relative;
    z-index: 1;
}

/* CTAヘッダー */
.cta-header {
    text-align: center;
    margin-bottom: 60px;
}

.cta-title-jp {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    font-family: 'Yusei Magic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-title-en {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    font-family: 'Nunito', sans-serif;
}

.cta-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
}

/* CTAカードコンテナ */
.cta-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    max-width: 1440px;
    margin: 0 auto;
}

/* CTAカード */
.cta-card {
    background: white;
    border-radius: 20px;
    padding: 48px 36px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.cta-card:hover::before {
    transform: scaleX(1);
}

/* CTAカードアイコン */
.cta-card-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f1ff 0%, #e0e7ff 100%);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.cta-card-icon svg {
    color: #6366f1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-card:hover .cta-card-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    transform: scale(1.1) rotate(5deg);
}

.cta-card:hover .cta-card-icon svg {
    color: white;
}

/* CTAカードタイトル */
.cta-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    font-family: 'Yusei Magic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
}

/* CTAカードテキスト */
.cta-card-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 32px;
}

/* CTAボタン */
.btn-customize,
.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-customize {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.btn-contact {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.btn-customize::before,
.btn-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-customize:hover,
.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-customize:hover::before,
.btn-contact:hover::before {
    opacity: 1;
}

.btn-customize svg,
.btn-contact svg {
    transition: transform 0.3s ease;
}

.btn-customize:hover svg,
.btn-contact:hover svg {
    transform: scale(1.1);
}

/* ============================================
   レスポンシブ対応
   ============================================ */

/* タブレット */
@media (max-width: 768px) {
    .cta-section {
        padding: 80px 16px;
    }

    .cta-header {
        margin-bottom: 48px;
    }

    .cta-title-jp {
        font-size: 2rem;
    }

    .cta-title-en {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-card {
        padding: 40px 28px;
    }

    .cta-card-icon {
        width: 80px;
        height: 80px;
    }

    .cta-card-icon svg {
        width: 48px;
        height: 48px;
    }

    .cta-card-title {
        font-size: 1.35rem;
    }

    .cta-card-text {
        font-size: 0.9rem;
    }
}

/* スマートフォン */
@media (max-width: 480px) {
    .cta-section {
        padding: 60px 16px;
    }

    .cta-header {
        margin-bottom: 40px;
    }

    .cta-title-jp {
        font-size: 1.75rem;
    }

    .cta-title-en {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
        margin-bottom: 20px;
    }

    .cta-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .cta-cards {
        gap: 20px;
    }

    .cta-card {
        padding: 36px 24px;
        border-radius: 16px;
    }

    .cta-card-icon {
        width: 72px;
        height: 72px;
        margin-bottom: 20px;
    }

    .cta-card-icon svg {
        width: 44px;
        height: 44px;
    }

    .cta-card-title {
        font-size: 1.25rem;
        margin-bottom: 14px;
    }

    .cta-card-text {
        font-size: 0.875rem;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .btn-customize,
    .btn-contact {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* アニメーション強化 */
@media (prefers-reduced-motion: no-preference) {
    .cta-card {
        animation: fadeInUp 0.6s ease-out backwards;
    }

    .cta-card:nth-child(1) { animation-delay: 0.1s; }
    .cta-card:nth-child(2) { animation-delay: 0.2s; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
