.content_faq_category {
    margin-bottom: 48px;

    .content_faq_category_title {
        font-size: 2rem;
        font-size: clamp(2rem, 2.5vw, 2.8rem);
        font-weight: 600;
        color: var(--c2);
        margin-bottom: 16px;
    }
}

.content_faq_list {
    display: flex;
    flex-direction: column;
}

.content_faq_question {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: baseline;
    gap: clamp(8px, 2.04vw, 24px);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    line-height: 1.5;
    padding: clamp(12px, 2vw, 16px) 16px;
    border-bottom: 1px solid #707070;

    &::-webkit-details-marker {
        display: none;
    }
}

.content_faq_question:after {
    content: "";
    display: inline-block;
    width: clamp(12px, 2vw, 20px);
    flex-shrink: 0;
    aspect-ratio: 1;
    background-image: url(../images/common/faq_arrow.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: auto;
    transform: rotate(0);
    transition: transform 0.3s;
}

.content_faq_element[open] .content_faq_question:after {
    transform: rotate(180deg);
}

.content_faq_answer {
    font-size: clamp(1.4rem, 1.75vw, 1.6rem);
    line-height: 1.8;
    transition: opacity 0.4s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(-12px);
    padding: clamp(12px, 2vw, 16px) 16px;
    padding-right: 1em;
    background-color: var(--c3);

    p {
        display: flex;
        align-items: baseline;
        gap: clamp(12px, 2.04vw, 24px);
    }

}

.content_faq_element[open] .content_faq_answer {
    opacity: 1;
    transform: translateY(0);
}

.content_faq_question::before,
.content_faq_answer p::before {
    display: block;
    font-family: var(--en);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: #fff;
    font-weight: 500;
    line-height: 1;
    border-radius: 100vw;
    text-align: center;
    align-content: center;
    width: 2em;
    aspect-ratio: 1;
    flex-shrink: 0;
}

.content_faq_question::before {
    content: 'Q';
    background-color: var(--c2);
}

.content_faq_answer p::before {
    content: 'A';
    background-color: #E55544;
}

@media screen and (max-width: 768px) {
    .content_faq_category {
        margin-bottom: 40px;

        .content_faq_category_title {
            font-size: 1.6rem;
            margin-bottom: 8px;
        }
    }

    .content_faq_question,
    .content_faq_answer {
        padding-left: 0;
        padding-right: 0
    }

    ;

    .content_faq_question::before,
    .content_faq_answer p::before {
        width: 20px;
        ;
    }


}