/* ================================================================
   よくある質問ページ
   Figma: node-id=1245:4631 (PC) / 1779:17569 (SP)
================================================================ */

.cr-faq-page {
    padding-bottom: 160px;
}

/* ---- カテゴリグループ ---- */

.cr-faq-group {
    margin-top: 64px;
}

.cr-faq-group-title {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.16em;
    color: #191919;
}

/* ---- FAQリスト ---- */

.cr-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 24px;
}

.cr-faq-item {
    background: #f8f8f8;
}

/* ---- Q 行（ボタン） ---- */

.cr-faq-item-button {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 24px;
    padding: 16px 24px;
}

.cr-faq-q,
.cr-faq-a {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 26px;
    line-height: 24px;
    display: flex;
    align-items: center;
    width: 20px;
    justify-content: center;
}

.cr-faq-q {
    color: #9e9e9e;
}

.cr-faq-a {
    color: #ff0024;
}

.cr-faq-a.barlow,
.cr-faq-q.barlow {
    /* font-family: "Noto Sans JP", sans-serif; */
}

.cr-faq-question {
    margin: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    color: #191919;
}

h3.cr-faq-question {
    margin: 0;
}

/* ---- +/- アイコン ---- */

.cr-faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cr-faq-icon-line {
    position: absolute;
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #191919;
    transition: transform 0.25s ease;
}

.cr-faq-icon-line-y {
    transform: rotate(90deg);
}

.cr-faq-item.is-open .cr-faq-icon-line-y {
    transform: rotate(0deg);
}

/* ---- A 行（回答エリア） ---- */

.cr-faq-answer-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    background: #f8f8f8;
}

.cr-faq-item.is-open .cr-faq-answer-wrap {
    max-height: 2000px;
}

.cr-faq-item.is-open .cr-faq-item-button {
    border-bottom: 1px solid #dbe5e8;
}

.cr-faq-answer-inner {
    display: flex;
    gap: 24px;
    padding: 16px 24px;
}

.cr-faq-answer-body {
    flex: 1;
    color: #191919;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.08em;
}

.cr-faq-answer-body p {
    margin: 0;
}

.cr-faq-answer-body p + p {
    margin-top: 10px;
}

.cr-faq-answer-body a {
    text-decoration: underline;
}


/* ================================================================
   レスポンシブ
================================================================ */

@media screen and (max-width: 768px) {
    .cr-faq-page {
        padding-bottom: 80px;
    }

    .cr-faq-group {
        margin-top: 48px;
    }

    .cr-faq-group-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .cr-faq-list {
        padding-left: 0;
        gap: 4px;
    }

    .cr-faq-item-button {
        padding: 12px 16px;
        gap: 12px;
    }

    .cr-faq-q,
    .cr-faq-a {
        font-size: 22px;
    }

    .cr-faq-question {
        font-size: 15px;
        line-height: 1.5;
    }

    .cr-faq-answer-inner {
        padding: 12px 16px 14px;
        gap: 12px;
    }

    .cr-faq-answer-body {
        font-size: 15px;
    }
}
