

/* FAQ Section Style */

.section-inner.faq{
    background:var(--bg-gray);

}

section#faq {
        padding: 50px 20px 50px 20px;
        margin-top:0px;
        max-width:100%;
        margin-bottom:0px;
        box-sizing:border-box;
       background:var(--bg-gray);
}
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    box-sizing:border-box;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 50px 20px 25px;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* デフォルトの矢印を消す */
    position: relative;
    transition: background 0.3s;
}

.faq-question:hover {
    background-color: #f0f7ff;
}

/* カスタム矢印（＋マーク） */
.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--main-teal); /* シーエスワン様のイメージカラーに合わせて調整してください */
    transition: transform 0.3s;
}

/* 開いている時のスタイル */
.faq-item[open] .faq-question {
    border-bottom: 1px solid #eee;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg); /* ＋を×（または45度回転）にする */
}

.faq-answer {
    padding: 10px 25px;
    line-height: 1.8;
    color: #555;
    background: #fff;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* iOSなどでデフォルトの矢印を消すための記述 */
.faq-question::-webkit-details-marker {
    display: none;
}
@media screen and (max-width:768px){
    section#faq {
        padding: 30px 20px 30px 20px;
        margin-top:0px;
}
#goods .section-inner {
    padding: 40px 20px;
}
#goods section.page3{
    padding:0px;
}
#faq{
    font-size:var(--spfontsize);
}
}