   :root {
            --primary: #BF3131;
            --secondary: #7D0A0A;
            --third: #EAD196;
            --bg: #f7f7f7;
            --text: #1d1d1d;
            --text-secondary: #666666;
            --white: #ffffff;
            --overlay: rgba(0, 0, 0, 1);
            --font-h1: 42px;
            --font-h2: 32px;
            --font-h3: 24px;
            --font-p: 16px;
            --font-btn: 16px;
            --image-height: 500px;
            --padding-large: 80px;
            --padding-medium: 50px;
            --padding-small: 30px;
            --padding-xsmall: 15px;
        }


.n4-section {
    background-color: var(--bg);
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    color: var(--text);
}

.n4-container {
    max-width: 1000px;
    margin: 70px auto;
}

.n4-title {
    font-size: var(--font-h2);
    color: var(--primary);
    text-align: center;
    margin-bottom: 20px;
}

.n4-intro {
    font-size: var(--font-p);
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

.n4-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



.top-jlpt{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-jlpt a{
    padding: 10px 16px;
      background: linear-gradient(to right, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 16px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: .3s ease-in-out;
}
.top-jlpt a:hover{
    box-shadow: 0px 2px 8px rgba(253, 37, 37, 1);
    transform: translateY(-3px);
}

.n4-subtitle {
    font-size: var(--font-h3);
    color: var(--secondary);
    margin: 20px 0 10px;
}

.n4-text {
    font-size: var(--font-p);
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 15px;
}

.n4-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.n4-list li {
    font-size: var(--font-p);
    color: var(--text);
    margin-bottom: 10px;
}

.n4-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.n4-table th, .n4-table td {
    border: 1px solid var(--third);
    padding: 12px;
    text-align: left;
    font-size: var(--font-p);
}

.n4-table th {
    background-color: var(--primary);
    color: var(--white);
}

.n4-table tbody tr:nth-child(even) {
    background-color: var(--bg);
}

.n4-table tbody tr:hover {
    background-color: var(--third);
}

.n4-chart {
    max-width: 100%;
    height: 300px;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .n4-title {
        font-size: 28px;
    }

    .n4-subtitle {
        font-size: 20px;
    }

    .n4-text, .n4-list li, .n4-table th, .n4-table td {
        font-size: 14px;
    }

    .n4-content {
        padding: 20px;
    }

    .n4-table {
        font-size: 12px;
    }

    .n4-table th, .n4-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .n4-section {
        padding: 20px 10px;
    }

    .n4-title {
        font-size: 24px;
    }

    .n4-subtitle {
        font-size: 18px;
    }

    .n4-table {
        display: block;
        overflow-x: auto;
    }
}