@charset "UTF-8";
/* ==========================================================================
   よくあるご質問（FAQ）アコーディオン ※JSなし（details / summary）
   読み込み元：/assets/inc/vb/2026/faq.inc（inc内で読み込み）
   ページごとに読み込むCSSが異なるため、このファイル単体で表示が完結するように記述
   ========================================================================== */

.c-faq,
.c-faq *,
.c-faq *::before,
.c-faq *::after {
    box-sizing: border-box;
}

.c-faq {
    width: 100%;
    padding: 100px 16px;
    background-color: #fdf1ea;
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
    text-align: left;
}

.c-faq__inner {
    max-width: 1040px;
    margin: 0 auto;
}

/* 見出し（ページ内の .title と同じ見た目） */
.c-faq__heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #853000;
    font-size: 44px;
    font-weight: 600;
    line-height: 62px;
    text-align: center;
}

.c-faq__heading::before,
.c-faq__heading::after {
    content: "";
    flex: 1 1 0;
    max-width: 300px;
    height: 2px;
    background-color: #853000;
}

.c-faq__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 48px;
}

.c-faq__item {
    margin: 0;
    border: 1px solid #f2d3c6;
    border-radius: 10px;
    background-color: #fff;
}

/* 質問行（クリック領域） */
.c-faq__q {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 22px 32px 22px 28px;
    cursor: pointer;
    list-style: none;
}

.c-faq__q::-webkit-details-marker {
    display: none;
}

.c-faq__q::marker {
    content: "";
}

.c-faq__q:focus-visible {
    outline: 3px solid #853000;
    outline-offset: 2px;
    border-radius: 10px;
}

.c-faq__q-text {
    flex: 1;
    padding-top: 8px;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
}

/* Q / A マーク */
.c-faq__mark {
    display: flex;
    flex: 0 0 48px;
    justify-content: center;
    align-items: center;
    height: 48px;
    border-radius: 50%;
    background-color: #d71920;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    /* Noto Sans JPは文字が下寄りに描画されるため、文字を上へ補正して円の中央に配置 */
    padding-bottom: 0.13em;
}

.c-faq__mark--a {
    border: 2px solid #d71920;
    background-color: #fff;
    color: #d71920;
}

/* ＋ / − アイコン */
.c-faq__toggle {
    position: relative;
    flex: 0 0 24px;
    height: 24px;
    margin-top: 12px;
}

.c-faq__toggle::before,
.c-faq__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    margin-top: -1.5px;
    border-radius: 2px;
    background-color: #d71920;
    transition: transform 0.2s ease;
}

.c-faq__toggle::after {
    transform: rotate(90deg);
}

.c-faq__item[open] .c-faq__toggle::after {
    transform: rotate(0deg);
}

/* 回答 */
.c-faq__a {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin: 0 32px 0 28px;
    padding: 22px 0 26px;
    border-top: 1px dashed #f2d3c6;
}

.c-faq__a-body {
    flex: 1;
    padding-top: 10px;
    color: #333;
    font-size: 16px;
    line-height: 1.9;
}

.c-faq__a-body p {
    margin: 0;
}

.c-faq__a-body a {
    color: #333;
    font-weight: 700;
    text-decoration: underline;
}

.c-faq__a-body a:hover {
    opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
    .c-faq__toggle::before,
    .c-faq__toggle::after {
        transition: none;
    }
}

/* タブレット */
@media screen and (max-width: 1040px) {
    .c-faq__heading {
        font-size: 40px;
        line-height: 56px;
    }
}

/* SP */
@media screen and (max-width: 767px) {
    .c-faq {
        padding: 60px 16px;
    }

    .c-faq__heading {
        font-size: 24px;
        line-height: 32px;
    }

    .c-faq__list {
        gap: 12px;
        margin-top: 32px;
    }

    .c-faq__q {
        gap: 12px;
        padding: 16px;
    }

    .c-faq__q-text {
        padding-top: 6px;
        font-size: 15px;
        line-height: 1.7;
    }

    .c-faq__mark {
        flex-basis: 36px;
        height: 36px;
        font-size: 17px;
    }

    .c-faq__toggle {
        flex-basis: 18px;
        height: 18px;
        margin-top: 9px;
    }

    .c-faq__a {
        gap: 12px;
        margin: 0 16px;
        padding: 16px 0 20px;
    }

    .c-faq__a-body {
        padding-top: 7px;
        font-size: 14px;
        line-height: 1.8;
    }
}
