/* =========================================
   1. 共通設定 (header-footer.css で管理)
   ========================================= */

:root {
    --color-gold: #c5a017;       /* FAQ用のゴールド */
}

/* =========================================
   FAQ独自スタイル
   ========================================= */
main {
    flex: 1;
    width: 100%;
}

.page-container {
    max-width: 1000px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.page-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: var(--color-main);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    color: var(--color-main);
}

.q-mark {
    font-size: 24px;
    margin-right: 15px;
    line-height: 1.2;
    flex-shrink: 0;
}

.q-text {
    padding-top: 2px;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    color: var(--color-text);
}

.a-mark {
    color: var(--color-gold);
    font-weight: bold;
    font-size: 24px;
    margin-right: 15px;
    line-height: 1.2;
    flex-shrink: 0;
}

.a-text {
    padding-top: 4px;
    line-height: 1.8;
}

.a-text a {
    color: var(--color-accent);
    text-decoration: underline;
    font-weight: bold;
}

.a-text a:hover {
    color: var(--color-accent-hover);
    text-decoration: none;
}

/* =========================================
   メディアクエリ (header-footer.css で管理)
   ========================================= */
@media screen and (max-width: 900px) {
    .page-title { 
        font-size: 24px; 
        margin-bottom: 30px; 
    }
    .faq-question { 
        font-size: 16px; 
    }
    .q-mark, 
    .a-mark { 
        font-size: 20px; 
        margin-right: 10px; 
    }
}
