/**
 * Q&Aページ専用スタイル
 * Nozomi Theme
 */

/* ページ全体の背景色 */
.info-section {
    background-color: #f8f8f8;
    padding: 80px 0;
}

/* ページタイトル */
.page-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 2.4rem;
    color: #1a4b84;
    text-align: center;
    margin: 0 0 60px;
    position: relative;
    padding-bottom: 20px;
}

.page-title-en {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #2a6cb8;
    margin-top: 8px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2a6cb8;
}

/* Q&Aセクション */
.qa-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.qa-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Q&Aカテゴリー */
.qa-category {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.qa-category-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.8rem;
    color: #1a4b84;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1a4b84;
}

/* Q&Aリスト */
.qa-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Q&Aアイテム */
.qa-item {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.qa-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.qa-item:last-child {
    margin-bottom: 0;
}

/* 質問 */
.qa-question {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f8f8;
    padding: 25px 30px;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.qa-question p {
    margin: 0;
    line-height: 1.6;
    color: #1a4b84;
    font-weight: 500;
    font-size: 1.1rem;
    flex: 1;
}

/* トグルボタン */
.qa-toggle {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.qa-toggle-icon {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #2a6cb8;
    border-bottom: 2px solid #2a6cb8;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.qa-item.active .qa-toggle-icon {
    transform: rotate(-135deg);
}

/* 回答 */
.qa-answer {
    display: none;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    padding: 25px 30px;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #e8e8e8;
}

.qa-item.active .qa-answer {
    display: flex;
}

.qa-answer p {
    margin: 0;
    line-height: 1.8;
    color: #333;
    font-size: 1.05rem;
}

/* Q&Aアイコン */
.qa-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Qアイコン */
.qa-question .qa-icon {
    background: #d4a373;
    color: #fff;
}

/* Aアイコン */
.qa-answer .qa-icon {
    background: #e9edc9;
    color: #1a4b84;
}

/* カテゴリータイトル */
.info-category-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.8rem;
    color: #1a4b84;
    margin: 60px 0 30px;
    padding-left: 15px;
    border-left: 4px solid #1a4b84;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .info-section {
        padding: 60px 0;
    }

    .page-title {
        font-size: 2rem;
        margin: 0 0 40px;
    }

    .page-title-en {
        font-size: 0.9rem;
        margin-top: 6px;
    }

    .info-category-title {
        font-size: 1.6rem;
        margin: 40px 0 25px;
    }

    .qa-question,
    .qa-answer {
        padding: 20px;
    }

    .qa-question p {
        font-size: 1rem;
    }

    .qa-answer p {
        font-size: 0.95rem;
    }

    .qa-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .info-section {
        padding: 40px 0;
    }

    .page-title {
        font-size: 1.8rem;
        margin: 0 0 30px;
    }

    .page-title-en {
        font-size: 0.8rem;
        margin-top: 5px;
    }

    .info-category-title {
        font-size: 1.4rem;
        margin: 30px 0 20px;
    }

    .qa-question,
    .qa-answer {
        padding: 15px;
    }

    .qa-question p {
        font-size: 0.95rem;
    }

    .qa-answer p {
        font-size: 0.9rem;
    }

    .qa-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
} 