/* ====================================
   CTA Component Styles
   共通CTAセクション（トップページ & 各詳細ページ）
   ==================================== */

/* CTA Section Base */
.cta,
.phase-cta {
    position: relative;
    margin-bottom: 10rem;
    width: 100%;
}

.cta__container,
.phase-cta__container {
    width: 80%;
    margin: 0 auto;
}

/* CTA Content */
.cta__content,
.phase-cta__content {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    padding: 4rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* CTA Title */
.cta__title,
.phase-cta__title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    font-weight: normal;
    line-height: 1.6;
}

/* CTA Text */
.cta__text,
.phase-cta__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
}

/* CTA Button */
.cta__button,
.phase-cta__button {
    display: inline-block;
    padding: 1.2rem 4rem;
    background: #4CAF50;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: bold;
    margin-bottom: 1rem;
}

.cta__button:hover,
.phase-cta__button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
    text-decoration: none;
    color: #fff;
}

/* CTA Note */
.phase-cta__note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    margin-top: 1rem;
}

/* トップページ用（カード全体リンク） */
.cta__content-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cta__content-link:hover {
    transform: translateY(-5px);
}

.cta__content-link:hover .cta__content {
    border-color: #4CAF50;
    box-shadow: 0 10px 40px rgba(76, 175, 80, 0.2);
}

.cta__content-link:hover .cta__button {
    background: #45a049;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 1000px) {
    .cta__container,
    .phase-cta__container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .cta__content,
    .phase-cta__content {
        padding: 3rem 2rem;
    }

    .cta__title,
    .phase-cta__title {
        font-size: 1.2rem;
    }

    .cta__text,
    .phase-cta__text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .cta__button,
    .phase-cta__button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}