/* FAQページ専用スタイル */
.faq-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.faq-hero-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0;
}

.faq-section {
    padding: 60px 0;
    background: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #666;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 15px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.faq-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-right: 10px;
}

.faq-category.seitai {
    background: #e3f2fd;
    color: #1976d2;
}

.faq-category.training {
    background: #f1f8e9;
    color: #388e3c;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 8px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

.pagination-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq-hero-title {
        font-size: 2rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .pagination-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}