/* 生成AI実践トレーニングページ専用スタイル */

/* 3カラムコースグリッド */
.training-course-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
}

/* 第一部カード */
.course-card.part1 .course-header {
    background: linear-gradient(135deg, #1565c0 0%, #42a5f5 100%);
}

/* 第二部カード */
.course-card.part2 .course-header {
    background: linear-gradient(135deg, #7b1fa2 0%, #ce93d8 100%);
}

/* 第三部カード */
.course-card.part3 .course-header {
    background: linear-gradient(135deg, #de620f 0%, #ff9800 100%);
}

/* パートラベル */
.course-part-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.8rem;
    letter-spacing: 0.1em;
}

/* コースタイトル調整（3カラム時のサイズ） */
.training-course-grid .course-title {
    font-size: 1.6rem;
    line-height: 1.5;
}

/* コースコンテンツ調整 */
.training-course-grid .course-content {
    padding: 2rem;
}

.training-course-grid .course-features li {
    font-size: 0.95rem;
    padding: 0.8rem 0;
}

.training-course-grid .price-amount {
    font-size: 2.2rem;
}

/* 全3部セットバンドル */
.training-bundle {
    background: linear-gradient(135deg, rgba(222, 98, 15, 0.1) 0%, rgba(255, 152, 0, 0.08) 100%) !important;
    border: 2px solid rgba(222, 98, 15, 0.3) !important;
    padding: 2.5rem !important;
}

.training-bundle .bundle-content h3 {
    color: #de620f !important;
    font-size: 1.8rem !important;
}

.training-bundle .bundle-content h3 i {
    margin-right: 0.5rem;
}

.training-bundle .final-price {
    color: #de620f !important;
    font-size: 2.5rem !important;
}

/* 研修ポイントグリッド（6つ） */
.training-features-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* 導入の流れセクション */
.ai-steps-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(1px);
}

.ai-steps-section h2 {
    color: #1a237e;
    margin-bottom: 4rem;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
}

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

.step-item {
    text-align: center;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    flex: 1;
    max-width: 300px;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, #de620f, #ff9800);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.step-icon {
    margin-bottom: 1.5rem;
}

.step-icon i {
    font-size: 3rem;
    color: #de620f;
}

.step-item h3 {
    font-size: 1.5rem;
    color: #1a237e;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-item p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

.step-arrow {
    color: #de620f;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ポイント説明文 */
.training-features-grid .case-study-item p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 1rem;
    text-align: left;
}

/* よくある質問セクション */
.ai-faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.85) 0%, rgba(243, 229, 245, 0.85) 100%);
    backdrop-filter: blur(1px);
}

.ai-faq-section h2 {
    color: #1a237e;
    margin-bottom: 4rem;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(79, 195, 247, 0.05);
}

.faq-question span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a237e;
    line-height: 1.6;
    padding-right: 1rem;
}

.faq-question i {
    color: #de620f;
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* テキストエリアスタイル */
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.1);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .training-course-grid {
        grid-template-columns: 1fr !important;
    }

    .training-features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .steps-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .step-item {
        max-width: 100%;
        width: 100%;
    }

}

@media (max-width: 768px) {
    .training-course-grid .course-title {
        font-size: 1.4rem;
    }

    .training-course-grid .price-amount {
        font-size: 2rem;
    }

    .training-bundle .bundle-content h3 {
        font-size: 1.4rem !important;
    }

    .training-bundle .final-price {
        font-size: 2rem !important;
    }

    .training-features-grid {
        grid-template-columns: 1fr !important;
    }

    .ai-steps-section {
        padding: 60px 0;
    }

    .ai-steps-section h2 {
        font-size: 1.8rem;
    }

    .step-item {
        padding: 2rem 1.5rem;
    }

    .ai-faq-section {
        padding: 60px 0;
    }

    .ai-faq-section h2 {
        font-size: 1.8rem;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-question span {
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.2rem;
        font-size: 0.95rem;
    }
}