/* ============================================================
   FAQ アコーディオン スタイル
   配置場所: テーマフォルダ直下 or /css/faq-style.css
   ============================================================ */

.faq-accordion {
    max-width: 800px;
    margin: 2em auto;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

/* --- 質問（summary）--- */
.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    line-height: 1.5;
    user-select: none;
    transition: background .2s;
    list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question:hover { background: #f7f9ff; }

.faq-q-badge {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #3b82f6;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-arrow {
    margin-left: auto;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform .3s;
    color: #3b82f6;
}
details[open] > .faq-question .faq-arrow {
    transform: rotate(180deg);
}

/* --- 回答 --- */
.faq-answer {
    padding: 0 20px 16px 60px;
    background: #fafbff;
    font-size: 14px;
    color: #444;
    line-height: 1.8;
    border-top: 1px solid #e8edf5;
}

.faq-a-badge {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: 28px;
    margin-right: 8px;
    margin-top: 14px;
    float: left;
}

.faq-answer-text {
    overflow: hidden;
    padding-top: 14px;
    padding-left: 36px;
}

/* --- FAQなし --- */
.faq-empty {
    color: #888;
    font-size: 14px;
}
