/* Q&Aページ専用スタイル */
.qa-page-section {
    padding: 4rem 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.qa-page-section .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.qa-page-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.qa-page-section .section-title {
    color: #fd7e14;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.qa-page-section .section-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Q&Aコンテンツ */
.qa-content {
    max-width: 900px;
    margin: 0 auto;
}

/* カテゴリセクション */
.qa-category {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
}

.qa-category-title {
    color: #fd7e14;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #fd7e14;
    position: relative;
}

.qa-category-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #e56b00;
}

/* Q&Aアイテム */
.qa-item {
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.qa-item:hover {
    box-shadow: 0 2px 10px rgba(253, 126, 20, 0.1);
}

.qa-item:last-child {
    margin-bottom: 0;
}

/* 質問部分 */
.qa-question {
    background: linear-gradient(135deg, #fd7e14 0%, #e56b00 100%);
    color: white;
    padding: 1.5rem 2rem;
    cursor: pointer;
    position: relative;
}

.qa-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.qa-question::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.qa-question:hover::after {
    transform: translateY(-50%) rotate(45deg);
}

/* 回答部分 */
.qa-answer {
    background: #fafafa;
    padding: 2rem;
    border-top: 2px solid #fd7e14;
}

.qa-answer p {
    margin: 0;
    color: #333;
    line-height: 1.7;
    font-size: 1rem;
}

/* お問い合わせセクション */
.qa-contact-section {
    background: linear-gradient(135deg, #fd7e14 0%, #e56b00 100%);
    color: white;
    border-radius: 12px;
    padding: 3rem;
    margin-top: 3rem;
    text-align: center;
}

.contact-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    backdrop-filter: blur(5px);
}

.contact-item strong {
    color: white;
    font-weight: 600;
}

/* アコーディオン機能のためのJavaScript用スタイル */
.qa-item.collapsed .qa-answer {
    display: none;
}

.qa-item.expanded .qa-question::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .qa-page-section {
        padding: 2rem 0;
    }
    
    .qa-page-section .section-title {
        font-size: 2rem;
    }
    
    .qa-category {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .qa-category-title {
        font-size: 1.5rem;
    }
    
    .qa-question {
        padding: 1.2rem 1.5rem;
    }
    
    .qa-question h3 {
        font-size: 1rem;
        padding-right: 2rem;
    }
    
    .qa-question::after {
        right: 1.5rem;
        font-size: 1.3rem;
    }
    
    .qa-answer {
        padding: 1.5rem;
    }
    
    .qa-contact-section {
        padding: 2rem 1.5rem;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .contact-info {
        gap: 0.8rem;
    }
    
    .contact-item {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .qa-page-section .container {
        padding: 0 1rem;
    }
    
    .qa-category {
        padding: 1.5rem 1rem;
    }
    
    .qa-question {
        padding: 1rem;
    }
    
    .qa-question h3 {
        font-size: 0.95rem;
        padding-right: 1.5rem;
    }
    
    .qa-question::after {
        right: 1rem;
        font-size: 1.2rem;
    }
    
    .qa-answer {
        padding: 1.2rem;
    }
    
    .qa-answer p {
        font-size: 0.9rem;
    }
    
    .qa-contact-section {
        padding: 1.5rem 1rem;
    }
    
    .contact-title {
        font-size: 1.3rem;
    }
}

/* 印刷用スタイル */
@media print {
    .qa-page-section {
        background: white;
        padding: 0;
    }
    
    .qa-category {
        background: white;
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .qa-question {
        background: #f0f0f0 !important;
        color: #333 !important;
    }
    
    .qa-question::after {
        display: none;
    }
    
    .qa-answer {
        background: white;
        border-top: 1px solid #ddd;
    }
    
    .qa-contact-section {
        background: #f8f9fa !important;
        color: #333 !important;
        border: 1px solid #ddd;
    }
    
    .contact-title {
        color: #333 !important;
    }
    
    .contact-item {
        background: white !important;
        border: 1px solid #ddd;
    }
} 