/* =====================================================
   FAQ Section Styles
   ===================================================== */

.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #0066cc;
}

.faq-question i {
    font-size: 0.875rem;
    color: #666;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 2000px;
    padding: 0 28px 28px 28px;
}

.faq-answer p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
}

.faq-answer ul {
    margin: 16px 0;
    padding-left: 24px;
}

.faq-answer ul li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #444;
}

.faq-answer strong {
    color: #0066cc;
    font-weight: 600;
}

.faq-highlight {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #0066cc;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: 500;
    color: #1a1a1a;
}

/* FAQ内のテーブル */
.faq-pricing-table,
.faq-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.938rem;
}

.faq-pricing-table th,
.faq-pricing-table td,
.faq-comparison-table th,
.faq-comparison-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.faq-pricing-table th,
.faq-comparison-table th {
    background: #f5f5f5;
    font-weight: 600;
    color: #333;
}

.faq-comparison-table td.highlight {
    background: #e3f2fd;
    font-weight: 600;
    color: #0066cc;
}

/* FAQ Timeline */
.faq-timeline {
    margin: 24px 0;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-left: 20px;
    border-left: 3px solid #0066cc;
}

.timeline-month {
    min-width: 80px;
    font-weight: 700;
    color: #0066cc;
    font-size: 1.125rem;
}

.timeline-content {
    flex: 1;
    color: #444;
    line-height: 1.6;
}

/* FAQ Stats */
.faq-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.faq-stats .stat-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.faq-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 8px;
}

.faq-stats .stat-label {
    font-size: 0.875rem;
    color: #666;
}

/* FAQ Security */
.faq-security {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.security-item {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.security-item i {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 12px;
}

.security-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.security-item p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

/* FAQ Consultation Flow */
.faq-consultation-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
}

.flow-step {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.flow-step .step-num {
    width: 40px;
    height: 40px;
    background: #0066cc;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.flow-step h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.flow-step p {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
}

/* FAQ Guarantee */
.faq-guarantee {
    background: #e8f5e9;
    border: 2px solid #4caf50;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.faq-guarantee h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 16px;
}

.faq-guarantee ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-guarantee ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #333;
}

.faq-guarantee ul li i {
    color: #4caf50;
    margin-right: 12px;
    font-size: 1.125rem;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    border-radius: 16px;
    color: #ffffff;
}

.faq-cta-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #ffffff;
}

.faq-cta .btn {
    background: #ffffff;
    color: #0066cc;
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.faq-cta .btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 20px 16px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 16px 20px 16px;
    }
    
    .faq-pricing-table,
    .faq-comparison-table {
        font-size: 0.813rem;
    }
    
    .faq-pricing-table th,
    .faq-pricing-table td,
    .faq-comparison-table th,
    .faq-comparison-table td {
        padding: 8px 6px;
    }
    
    .faq-stats,
    .faq-security {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .faq-consultation-flow {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .faq-cta {
        padding: 30px 20px;
    }
    
    .faq-cta-text {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .faq-question {
        font-size: 0.938rem;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-month {
        margin-bottom: 8px;
    }
}
