/* css/document.css */


:root {
    --primary-color: #007e41;
    --secondary-color: #6c757d;
    --accent-color: #5BCF60;
    --light-bg: #f0fff0;
    --dark-text: #343a40;
    --white: #ffffff;
    --nav-text-color: #343a40;
}


h1 {
    color: var(--primary-color);
    font-size: 2.8em;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
}

h2 {
    color: var(--dark-text);
    font-size: 2.0em;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

h3 {
    color: var(--dark-text);
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
}

p {
    margin-bottom: 1.5em;
    text-align: justify;
}

ul, ol {
    list-style-position: outside;
    margin-left: 25px;
    margin-bottom: 1.5em;
    padding: 0;
}

ul li, ol li {
    margin-bottom: 0.8em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* レスポンシブ対応 (コンテンツ部分のみ) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.0em;
        margin-bottom: 20px;
    }
    h2 {
        font-size: 1.6em;
        margin-top: 30px;
    }
    h3 {
        font-size: 1.3em;
        margin-top: 20px;
    }
    p {
        margin-bottom: 1em;
    }
    ul, ol {
        margin-left: 20px;
        margin-bottom: 1em;
    }
}
