/* FAQ全体のコンテナ */
.faq-container {
    max-width: 1200px;
	width:95%;
    margin: 2em auto;
}

/* 各質問の枠組み */
.faq-item {
    background-color: #fff;
    border: 1px dotted #D70035; /* 繊細なドット線 */
    margin-bottom: 35px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 質問部分 */
.faq-question {
    padding: 18px 20px;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* デフォルトの三角を消す */
    position: relative;
    display: flex;
    align-items: center;
    color: #333;
}

/* 質問部分（開いている時）の背景色 */
.faq-item[open] .faq-question {
    background-color: #fff799;
    color: #D70035;
}

/* Qアイコン */
.faq-icon-q {
    color: #D70035;
    font-size: 1.2em;
    margin-right: 15px;
    font-weight: 900;
}

/* 開閉矢印の自作 */
.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: #D70035;
    transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

/* 回答部分の枠 */
.faq-answer {
    padding: 20px;
    border-top: 1px solid #FFEBF0;
    display: flex;
    line-height: 1.6;
    background-color: #fff;
}

/* Aアイコン */
.faq-icon-a {
    color: #D70035;
    background-color: #FFEBF0;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    margin-top: 2px;
    font-size: 0.85em;
}

/* サマリーのデフォルトの三角（Safari対策） */
.faq-question::-webkit-details-marker {
    display: none;
}