/* FAQページ専用スタイル */

.faq-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-medium);
    line-height: 2;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.faq-item__question {
    padding: 1.8rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-item__question:hover {
    background-color: var(--bg-cream);
}

.faq-item__label {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.faq-item__label--answer {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
}

.faq-item__question h3 {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-item__icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.is-open .faq-item__answer {
    max-height: 500px;
}

.faq-item__answer-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0 2rem 2rem;
}

.faq-item__answer p {
    flex: 1;
    line-height: 2;
    color: var(--text-medium);
    padding-top: 0.3rem;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
    .faq-item__question {
        padding: 1.5rem;
        gap: 1rem;
    }

    .faq-item__label {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .faq-item__question h3 {
        font-size: 1rem;
    }

    .faq-item__answer-inner {
        padding: 0 1.5rem 1.5rem;
        gap: 1rem;
    }

    .faq-item__answer p {
        font-size: 0.95rem;
    }
}
