/* ヒーローセクション */
.faq-hero {
    background: linear-gradient(to bottom, #ffffff, #f8f9fc);
    padding: 120px 0 80px;
    text-align: center;
}

.faq-hero h1 {
    font-family: var(--font-en);
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.faq-hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--primary);
    opacity: 0.6;
}

.faq-intro {
    font-size: 1.2rem;
    line-height: 2;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

/* FAQコンテンツ */
.faq-content {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-content .container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: var(--white);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-lighter);
}

.faq-question .icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.faq-question .text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.6;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
    opacity: 0;
    margin: 0;
}

.faq-answer p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* アクティブ状態 */
.faq-item.active .faq-question {
    background: var(--bg-lighter);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1rem 1.25rem;
    margin-top: 0.75rem;
    opacity: 1;
    background: var(--bg-lighter);
    border-radius: 6px;
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    margin-bottom: 1rem;
}

/* お問い合わせセクション */
.faq-contact {
    padding: 80px 0;
    background-color: var(--bg-lighter);
    text-align: center;
}

.contact-lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faq-hero {
        padding: 100px 0 60px;
    }

    .faq-hero h1 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .faq-intro {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .faq-content {
        padding: 60px 0;
    }

    .faq-question {
        padding: 20px 25px;
    }

    .faq-question .text {
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0.875rem 1rem;
        margin: 0.625rem 1rem 0.875rem;
    }

    .faq-answer p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .contact-lead {
        font-size: 1.1rem;
    }
} 