/* ==================================================
   Faq
================================================== */

.faq {
    padding: 30px 0 60px;
    background: rgba(163, 148, 204, 0.08);
}

.faq__inner {
    width: min(calc(100% - 80px), 1120px);
    margin: 0 auto;
}

.faq__eyebrow {
    margin-bottom: 12px;
    color: #9b8a67;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
}

.faq__title {
    margin: 0;
    color: #2f2f2f;
    font-size: clamp(2.7rem, 2.4vw, 3.4rem);
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.faq__title-decoration img {
    display: block;
    width: 230px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}


.faq__list {
    max-width: 640px;
    margin: 24px auto 0;
}

.faq__item {
    border-bottom: 1px solid rgba(181, 147, 81, 0.3);
}

.faq__question {
    width: 100%;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;

    font-family: inherit;
    text-align: left;
    position: relative;
}

.faq__question span:last-child {
    color: #4a454f;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.6;
}

.faq__icon {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(163, 148, 204, 0.12);
    border-radius: 10px;

    color: #B59351;
    font-size: 2rem;
    font-weight: 1000;
    line-height: 1;

    flex-shrink: 0;
}

.faq__answer {
    display: none;
    padding-left: 58px;
}

.faq__answer p {
    margin: 4px 0 24px;
    color: #5f5a63;
    font-size: 1.6rem;
    line-height: 1.9;
}

.faq {
    padding: 30px 0 60px;
    background: #ffffff;
}

.faq__icon {
    position: relative;
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    position: absolute;
    background: #B59351;
    border-radius: 999px;
}

/* 横線 */
.faq__icon::before {
    width: 16px;
    height: 2.2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 縦線 */
.faq__icon::after {
    width: 2.2px;
    height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 開いている時は－にする */
.faq__question.active::after {
    transform: translateY(-70%) rotate(135deg);
}

.faq__question::after {
    content: "";
    position: absolute;
    right: 28px;
    top: 50%;

    width: 10px;
    height: 10px;

    border-top: 2px solid #B59351;
    border-right: 2px solid #B59351;

    transform: translateY(-50%) rotate(45deg);

    transition: transform .25s ease;
}

.faq__question.active .faq__icon::after {
    display: none;
}

/* Smartphone
-------------------------------------------------- */

@media (max-width: 767px) {

    .faq {
        padding: 20px 0 50px;
    }

    .faq__inner {
        width: min(calc(100% - 40px), 480px);
    }

    .faq__eyebrow {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }

    .faq__title {
        font-size: 2.6rem;
    }

    .faq__title-decoration {
        margin-top: 8px;
        margin-bottom: 12px;
    }

    .faq__title-decoration img {
        width: 180px;
    }

    .faq__icon {
        width: 36px;
        height: 36px;
    }

    .faq__icon::before {
        width: 14px;
    }

    .faq__icon::after {
        height: 14px;
    }

    .faq__question span:last-child {
        font-size: 1.6rem;
        line-height: 1.6;
    }

    .faq__answer p {
        font-size: 1.4rem;
        line-height: 1.9;
    }

    .faq__question::after {
        right: 4px;
        width: 8px;
        height: 8px;
        border-top-width: 1.5px;
        border-right-width: 1.5px;
    }

}