/* トレーニングページ専用スタイル */

/* トレーニング特徴セクション */
.training-features-section {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.features-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.highlight-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* コースカタログセクション */
.courses-catalog {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.course-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.course-catalog-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.course-catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.course-catalog-card.featured {
    border: 2px solid var(--primary-color);
}

.course-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.course-badge.beginner {
    background-color: #dbeafe;
    color: #1e40af;
}

.course-badge.intermediate {
    background-color: #fef3c7;
    color: #92400e;
}

.course-badge.advanced {
    background-color: #fce7f3;
    color: #9f1239;
}

.featured-ribbon {
    position: absolute;
    top: 15px;
    right: -5px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.featured-ribbon::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    border-left: 5px solid #991b1b;
    border-bottom: 5px solid transparent;
}

.course-catalog-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.course-duration-badge,
.course-price-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.course-duration-badge {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.course-price-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.course-summary {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.course-details h4 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.course-details p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.course-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.course-details ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.course-details ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.training-note {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--bg-white);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.training-note p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* トレーニング形式セクション */
.training-formats {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.format-card {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--primary-color);
}

.format-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.format-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.format-benefits h4,
.format-suitable h4 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.format-benefits ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.format-benefits ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.format-benefits ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.format-suitable p {
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
}

/* 受講者の声セクション */
.testimonials {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.testimonial-avatar {
    font-size: 3rem;
}

.testimonial-info h4 {
    color: var(--text-dark);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.course-taken {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-text::before {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

/* 受講までの流れセクション */
.enrollment-flow {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-step {
    flex: 1;
    min-width: 180px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
}

.flow-step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.flow-step h3 {
    color: var(--text-dark);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.flow-step p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQセクション */
.faq-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.7;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .features-highlight {
        grid-template-columns: 1fr;
    }

    .course-catalog-grid {
        grid-template-columns: 1fr;
    }

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

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

    .flow-steps {
        flex-direction: column;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .course-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .training-features-section,
    .courses-catalog,
    .training-formats,
    .testimonials,
    .enrollment-flow,
    .faq-section {
        padding: 3rem 0;
    }

    .course-catalog-card,
    .format-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .flow-step {
        padding: 1.5rem 1rem;
    }
}