/* IT教育&コミュニティセクション */
.education-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.education-content {
    margin-top: 60px;
}

.education-category {
    margin-bottom: 80px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
}

.category-header i {
    font-size: 32px;
    color: var(--primary-color);
}

.category-header h3 {
    font-size: 28px;
    color: #2c3e50;
    font-weight: 700;
    margin: 0;
}

/* 教育カード */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.education-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(126, 217, 87, 0.2);
    border-color: var(--primary-color);
}

.education-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.education-card h4 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 700;
}

.education-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 16px;
}

.education-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.education-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.education-features i {
    color: var(--primary-color);
    font-size: 16px;
}

.education-link {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 32px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.education-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.education-link span {
    display: inline-block;
}

.education-link i {
    display: none;
}

/* コミュニティカード */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.community-card {
    background: white;
    padding: 36px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.community-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(45, 183, 245, 0.2);
    border-color: var(--secondary-color);
}

.community-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(126, 217, 87, 0.05) 0%, rgba(45, 183, 245, 0.05) 100%);
}

.partner-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.community-card h4 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 700;
}

.community-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.community-stats {
    display: flex;
    gap: 30px;
    margin: 24px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.community-stats .stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.community-stats .stat strong {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.community-stats .stat span {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.community-link:hover {
    gap: 12px;
    color: var(--primary-color);
}

/* 教育CTA */
.education-cta {
    margin-top: 60px;
    padding: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(126, 217, 87, 0.3);
}

.education-cta .cta-content h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 16px;
    font-weight: 700;
}

.education-cta .cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

.education-cta .btn {
    background: white;
    color: var(--primary-color);
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
}

.education-cta .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* レスポンシブ */
@media (max-width: 968px) {
    .education-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

    .community-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .category-header h3 {
        font-size: 24px;
    }

    .education-cta {
        padding: 36px 24px;
    }

    .education-cta .cta-content h3 {
        font-size: 24px;
    }

    .education-cta .cta-content p {
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .education-section {
        padding: 60px 0;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .community-stats {
        flex-direction: column;
        gap: 16px;
    }

    .partner-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
}
