/* ========================================
   よくある質問ページ専用スタイル
   ======================================== */
.faq-page {
    padding: 20px 0;
}

/* FAQリスト */
.faq-list {
    margin-top: 40px;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 質問部分 */
.faq-question {
    background: var(--light-gray);
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background-color 0.3s ease;
    position: relative;
}

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

.faq-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-label-q {
    background: var(--primary-color);
    color: var(--white);
}

.faq-label-a {
    background: var(--secondary-color);
    color: var(--text-color-1);
}

.faq-question-text {
    flex: 1;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color-2);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* 回答部分 */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding-top 0.4s ease, padding-bottom 0.4s ease;
    background: var(--white);
    padding: 0 20px;
}

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

.faq-answer-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-answer-text {
    flex: 1;
    line-height: 1.8;
    color: var(--text-color-2);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px;
        gap: 10px;
    }
    
    .faq-label {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .faq-question-text {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px;
    }
}
