.questions {
    padding: 84px 0;
}

.questions .container {
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.questions_title_button {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.questions_all {
    width: 50%;
}

.questions summary {
    background: #fefefe;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #d9d9d9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 30px;
    line-height: 120%;
    color: #151515;
}

details summary {
    cursor: pointer;
    transition: 0.5s ease-out;
}

details[open] summary {
    margin-bottom: 10px;
    border-bottom: none;
}

.n_questions summary::before,
.n_questions summary::after {
    top: 20px;
}

.questions_item_text {
    padding-bottom: 30px;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    color: #151515;
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 30px;
}

.questions_span {
    height: 32px;
    width: 32px;
    aspect-ratio: 1 / 1;
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d9d9d9;
    border: 1px solid #d9d9d9;
    position: relative;
    transition: 0.3s;
}

.questions_span::after,
.questions_span::before {
    content: "";
    width: 45%;
    height: 1px;
    background: #000;
    position: absolute;
    left: 30%;
    top: 50%;
    transition: 0.3s;
}

.questions_span::before {
    transform: rotate(90deg);
}

[open] summary .questions_span {
    background: #000;
}

[open] summary .questions_span::before,
[open] summary .questions_span::after {
    transform: rotate(0);
    background: #d9d9d9;
}

@media screen and (max-width: 1080px) {
    .questions {
        padding: 56px 0;
    }

    .questions_title_button {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 20px;
    }

    .questions_title_button .button {
        width: 100%;
    }

    .questions .container {
        flex-direction: column;
        gap: 20px;
    }

    .questions_all {
        width: 100%;
    }
}

@media screen and (max-width: 672px) {
    .questions {
        padding: 48px 0;
    }

    .questions_item_text {
        padding: 14px 10px 24px;
    }
}
