/* AllowanceQuest 追加ページ共通スタイル */

/* 基本スタイル */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
}

h1 {
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
    margin-top: 0;
}

h2 {
    color: #34495e;
    margin-top: 30px;
    border-left: 4px solid #3498db;
    padding-left: 10px;
}

h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
}

p {
    margin: 1em 0;
}

ul {
    padding-left: 20px;
    margin: 1em 0;
}

li {
    margin-bottom: 8px;
}

/* 戻るリンク */
.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* FAQ ページ固有スタイル */
.faq-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-question {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.faq-answer {
    color: #555;
    margin-top: 10px;
}

/* 使い方ガイド ページ固有スタイル */
.step {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.step-number {
    display: inline-block;
    background-color: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-weight: bold;
    margin-right: 10px;
}

.step-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.step-content {
    color: #555;
    margin-top: 10px;
}

/* ヘルプ ページ固有スタイル */
.help-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.help-section h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
}

.help-section ul {
    padding-left: 20px;
}

.help-section li {
    margin-bottom: 10px;
}

.troubleshooting-item {
    margin-bottom: 20px;
}

.troubleshooting-item strong {
    color: #e74c3c;
    display: block;
    margin-bottom: 5px;
}

/* 機能紹介 ページ固有スタイル */
.feature-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature-title {
    color: #2c3e50;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature-icon {
    font-size: 1.5em;
    margin-right: 10px;
    color: #3498db;
}

.feature-description {
    color: #555;
    margin-bottom: 10px;
}

.feature-benefits {
    margin-top: 15px;
    padding-left: 20px;
}

.feature-benefits li {
    margin-bottom: 8px;
    color: #555;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.2em;
    }

    .faq-item,
    .step,
    .help-section,
    .feature-card {
        padding: 15px;
    }
}

