/* =========================================================
   Doctorside: FAQのアコーディオン（開閉式）デザイン
========================================================= */
.ds-faq-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

.ds-faq-item {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
}

/* 質問部分（クリックできる場所） */
.ds-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    color: #222222;
    padding: 24px 0;
    cursor: pointer;
    list-style: none; /* デフォルトの矢印を消す */
    transition: color 0.2s;
}

/* Safari向けのデフォルト矢印消去 */
.ds-faq-question::-webkit-details-marker {
    display: none;
}

/* 質問の頭に「Q.」をつける */
.ds-faq-question::before {
    content: "Q.";
    color: #00c9a7;
    font-size: 18px;
    margin-right: 12px;
}

/* 開閉用のプラス/マイナスアイコン（CSSで作成） */
.ds-faq-question::after {
    content: "+";
    font-size: 20px;
    color: #94a3b8;
    margin-left: auto;
    font-weight: normal;
    transition: transform 0.3s;
}

/* 開いた時はアイコンを「×」っぽく回す */
.ds-faq-item[open] .ds-faq-question::after {
    transform: rotate(45deg);
    color: #222222;
}

/* 回答部分 */
.ds-faq-answer {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    padding: 0 0 24px 34px; /* Q.の幅分だけ字下げして綺麗に揃える */
    animation: ds-fade-in 0.3s ease-out;
}

/* ふわっと開くアニメーション */
@keyframes ds-fade-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .ds-faq-question { font-size: 15px; padding: 20px 0; }
    .ds-faq-answer { font-size: 14px; padding: 0 0 20px 32px; }
}