/* FAQページ専用CSS */

.page-header {
    background: linear-gradient(135deg, #E63946 0%, #C8102E 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.2rem;
    letter-spacing: 3px;
    opacity: 0.9;
}

.faq-list {
    background-color: white;
}

.faq-item {
    max-width: 900px;
    margin: 0 auto 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--accent-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    background-color: var(--bg-light);
    cursor: pointer;
    transition: all 0.3s;
}

.faq-question:hover {
    background-color: #e8e8e8;
}

.question-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.toggle-icon {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--accent-color);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 25px 30px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.cta {
    background: linear-gradient(135deg, #E63946 0%, #C8102E 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta .btn {
    background-color: white;
    color: var(--accent-color);
}

.cta .btn:hover {
    background-color: #f0f0f0;
}

.cta .btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.cta .btn-outline:hover {
    background-color: white;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .faq-question {
        padding: 20px;
    }

    .question-text {
        font-size: 1rem;
    }

    .toggle-icon {
        font-size: 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 20px;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
