/* 全体のスタイル */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
}

.faq-title {
    text-align: center;
    font-size: 32px;
    color: #0066cc;
    margin-bottom: 40px;
    position: relative;
}

.faq-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #0066cc, #4db2bc);
    margin: 15px auto 0;
}

/* カテゴリータブ */
.faq-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.faq-category {
    padding: 12px 25px;
    margin: 0 10px 10px;
    background-color: #f0f8ff;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.faq-category.active {
    background: linear-gradient(to right, #0066cc, #4db2bc);
    color: white;
}

/* FAQアイテム */
.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
}

.faq-question:after {
    content: "+";
    font-size: 24px;
    color: #0066cc;
    transition: transform 0.3s;
}

.faq-item.active .faq-question:after {
    content: "-";
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

.faq-answer p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.faq-answer ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.faq-answer li {
    margin-bottom: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq-title {
        font-size: 26px;
    }
    
    .faq-question {
        font-size: 16px;
        padding: 15px;
    }
    
    .faq-category {
        padding: 10px 15px;
        font-size: 14px;
    }
}