@charset "utf-8";

.faq-section {
    padding: 160px 0 100px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0.2em;
}

.page-lead {
    text-align: center;
    margin-bottom: 60px;
    font-size: 14px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

/* 質問部分 */
.faq-question {
    width: 100%;
    padding: 20px;
    padding-right: 50px; 
    text-align: left;
    background: #f9f9f9;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: flex-start;
    line-height: 2.5rem;
}

.faq-question::before {
    content: "Q.";
    color: #e60012;
    margin-right: 10px;
    flex-shrink: 0;
    margin-top: 0px;
}

/* プラス・マイナスのアイコン */
.faq-question::after {
    content: "";
    position: absolute;
    right: 20px;
    top:50%;
    width: 12px;
    height: 2px;
    background: #000;
    transform: translateY(-50%);
    transition: transform 0.3s;
}

.faq-question:not(.is-active)::after {
    box-shadow: 0 0 0 0 transparent;
    border-left: 2px solid #000; /* 縦棒を作ってプラスに見せる */
    width: 2px;
    height: 12px;
    right: 25px;
}

.faq-question.is-active {
    background: #eee;
}

/* 回答部分 */
.faq-answer {
    display: none; /* 初期は隠す */
    padding: 20px 20px 30px 45px;
    line-height: 1.8;
    font-size: 15px;
    color: #444;
    position: relative;
}

.faq-answer::before {
    content: "A.";
    position: absolute;
    left: 20px;
    font-weight: 700;
    color: #000;
}

@media (max-width: 768px) {
    .faq-section { padding-top: 100px; }
}