/* ==========================================================================
   Office AI Reskilling Page Styles
   事務向けAI活用リスキリング講座
   ========================================================================== */

.reskilling-page {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --accent: #10b981;
    --accent-dark: #059669;
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --border: #e2e8f0;
    --shadow: rgba(15, 23, 42, 0.08);
}

/* Page Hero */
.reskilling-page .page-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.reskilling-page .page-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.reskilling-page .page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.reskilling-page .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.reskilling-page .breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.reskilling-page .breadcrumb a:hover {
    color: var(--primary);
}

.reskilling-page .page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--text-primary);
}

.reskilling-page .page-hero-lead {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.9;
    max-width: 640px;
}

/* Section Common */
.reskilling-page .section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.reskilling-page .section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.4;
    color: var(--text-primary);
}

/* Features Section */
.reskilling-page .features-section {
    padding: 80px 0;
    background: var(--bg);
}

.reskilling-page .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.reskilling-page .feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.reskilling-page .feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 40px var(--shadow);
    transform: translateY(-4px);
}

.reskilling-page .feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.reskilling-page .feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.reskilling-page .feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Curriculum Section */
.reskilling-page .curriculum-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.reskilling-page .curriculum-header {
    text-align: center;
    margin-bottom: 48px;
}

/* Tab Navigation */
.reskilling-page .curriculum-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.reskilling-page .tab-button {
    background: var(--bg);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reskilling-page .tab-button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.reskilling-page .tab-button.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

/* Tab Content */
.reskilling-page .curriculum-tab-content {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.reskilling-page .curriculum-tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reskilling-page .curriculum-type-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary);
}

/* Curriculum Table */
.reskilling-page .curriculum-table-container {
    overflow-x: auto;
    background: var(--bg);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
}

.reskilling-page .curriculum-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.reskilling-page .curriculum-table th,
.reskilling-page .curriculum-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.reskilling-page .curriculum-table th {
    background: var(--primary);
    color: var(--text-white);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.reskilling-page .curriculum-table th:first-child {
    border-radius: 16px 0 0 0;
}

.reskilling-page .curriculum-table th:last-child {
    border-radius: 0 16px 0 0;
}

.reskilling-page .curriculum-table tbody tr:hover {
    background: var(--primary-light);
}

.reskilling-page .curriculum-table tbody tr:last-child td {
    border-bottom: none;
}

.reskilling-page .curriculum-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 16px;
}

.reskilling-page .curriculum-table tbody tr:last-child td:last-child {
    border-radius: 0 0 16px 0;
}

.reskilling-page .curriculum-table .col-num {
    width: 50px;
    text-align: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 16px;
}

.reskilling-page .curriculum-table .col-title {
    width: 22%;
    font-weight: 600;
    color: var(--text-primary);
}

.reskilling-page .curriculum-table .col-content {
    width: 48%;
    color: var(--text-secondary);
    line-height: 1.7;
}

.reskilling-page .curriculum-table .col-output {
    width: 20%;
    color: var(--text-secondary);
}

/* Footer Note */
.reskilling-page .curriculum-footer {
    text-align: center;
    margin-top: 32px;
    color: var(--text-muted);
    font-size: 13px;
}

.reskilling-page .curriculum-footer p {
    margin-bottom: 4px;
}

/* CTA Section */
.reskilling-page .cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reskilling-page .cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.reskilling-page .cta-section .section-label {
    color: rgba(255, 255, 255, 0.8);
}

.reskilling-page .cta-section .section-title {
    color: var(--text-white);
    font-size: 36px;
}

.reskilling-page .cta-section .section-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    line-height: 1.8;
}

.reskilling-page .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.reskilling-page .btn svg {
    width: 18px;
    height: 18px;
}

.reskilling-page .btn-white {
    background: var(--bg);
    color: var(--primary);
}

.reskilling-page .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .reskilling-page .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reskilling-page .page-hero {
        padding: 48px 0;
    }

    .reskilling-page .page-hero h1 {
        font-size: 28px;
    }

    .reskilling-page .features-section,
    .reskilling-page .curriculum-section {
        padding: 60px 0;
    }

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

    .reskilling-page .curriculum-tabs {
        gap: 8px;
    }

    .reskilling-page .tab-button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .reskilling-page .curriculum-type-title {
        font-size: 20px;
    }

    .reskilling-page .curriculum-table {
        font-size: 13px;
    }

    .reskilling-page .curriculum-table th,
    .reskilling-page .curriculum-table td {
        padding: 12px 14px;
    }

    .reskilling-page .cta-section {
        padding: 60px 0;
    }

    .reskilling-page .cta-section .section-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .reskilling-page .curriculum-table .col-num {
        width: 35px;
    }

    .reskilling-page .curriculum-table .col-title {
        width: 30%;
    }

    .reskilling-page .curriculum-table .col-output {
        display: none;
    }

    .reskilling-page .curriculum-table .col-content {
        width: auto;
    }
}
