/* ========================================
   AI研修プログラムページ専用スタイル
======================================== */

/* ページヒーロー */
.page-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ai-hero {
    background: linear-gradient(135deg, var(--ai-color) 0%, #7B1FA2 50%, #4A148C 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://sspark.genspark.ai/cfimages?u1=wBrmDX67BXcHwn938RSsTNBp%2FjrlO6uqiLRS%2BvLG78sqW1X7IMpQ%2F%2F%2FCOYdGLI32DCAxHdl9%2FVjxA82kT9GA0YjqaRoBdI5SP7ZuhkhCxhjENasySZq05HfuJmhTyA6DJZ77iKKIWD%2BBqV8zgx0reTBFZ9KKr2fLMRLZQqcWHm2UoejabAahCQG6Cmw%3D&u2=GKPc03j3q71cPsfx&width=2560');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.badge-large {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* イントロダクション */
.ai-introduction {
    padding: 5rem 0;
    background: white;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
}

.intro-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.intro-features {
    margin-bottom: 2rem;
}

.intro-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.intro-feature i {
    color: var(--ai-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.intro-feature p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.intro-format {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    border-left: 4px solid var(--ai-color);
    border-radius: 8px;
    font-size: 1.1rem;
    margin-top: 2rem;
}

/* コース一覧 */
.courses-overview {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.course-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.course-card.beginner {
    border-top: 5px solid #4CAF50;
}

.course-card.intermediate {
    border-top: 5px solid #FF9800;
}

.course-card.advanced {
    border-top: 5px solid var(--ai-color);
}

.course-header {
    padding: 2rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.course-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.beginner .course-badge {
    background: #4CAF50;
    color: white;
}

.intermediate .course-badge {
    background: #FF9800;
    color: white;
}

.advanced .course-badge {
    background: var(--ai-color);
    color: white;
}

.course-name {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.course-overview {
    font-size: 1.1rem;
    color: var(--text-light);
}

.course-meta {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-item i {
    color: var(--ai-color);
    width: 20px;
}

.course-toggle {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--ai-color) 0%, #7B1FA2 100%);
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.course-toggle:hover {
    background: linear-gradient(135deg, #7B1FA2 0%, var(--ai-color) 100%);
}

.course-toggle i {
    transition: transform 0.3s ease;
}

.course-toggle.active i {
    transform: rotate(180deg);
}

.course-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.course-details.active {
    max-height: 3000px;
}

.course-section {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.course-section:last-child {
    border-bottom: none;
}

.course-section h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.course-section h4 i {
    color: var(--ai-color);
}

.curriculum-list,
.use-case-list,
.skill-list {
    list-style: none;
}

.curriculum-list li,
.use-case-list li,
.skill-list li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.curriculum-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--ai-color);
    font-weight: 700;
}

.use-case-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: 700;
}

.skill-list li::before {
    content: '⬆';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.course-section.skills {
    background: linear-gradient(135deg, #fff9f0 0%, #ffe8d6 100%);
}

/* 研修の特徴 */
.training-features {
    padding: 5rem 0;
    background: white;
}

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

.feature-box {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--ai-color) 0%, #7B1FA2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.feature-box p {
    line-height: 1.8;
    color: var(--text-light);
}

/* 受講の流れ */
.flow-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.flow-steps {
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.step-number {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--ai-color) 0%, #7B1FA2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

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

.flow-arrow {
    text-align: center;
    color: var(--ai-color);
    font-size: 2rem;
    margin: -1rem 0;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 300px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .intro-title {
        font-size: 1.8rem;
    }

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

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

    .flow-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .flow-arrow {
        margin: 0;
    }
}