body {
    margin: 0;
}

.footer {
    margin-top: auto;
}

.job-list {
    list-style-type: none;
    padding: 0;
    margin: 20px auto; /* 上下のマージンを追加 */
    width: 80%; /* 幅を80%に変更 */
    background: linear-gradient(
        to right,
        #000000 0%,
        rgb(159, 129, 36) 100%
    ); /* グラデーション背景 */
    border-radius: 8px; /* 角丸の追加 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* 影を追加 */
    overflow: hidden; /* 角丸のためのオーバーフロー設定 */
    width: 50%;
}

.job-list .job {
    margin-bottom: 20px;
    background-color: #fff; /* 背景色を白に */
    transition: transform 0.2s; /* アニメーションの追加 */
}

.job-list .job:hover {
    transform: scale(1.01); /* ホバー時に拡大 */
}

.job-list table {
    width: 100%;
    border-collapse: collapse;
}

.job-list th,
.job-list td {
    border: 1px solid #ddd;
    padding: 8px;
    font-size: 1.8rem;
}

.job-list th {
    background-color: #4a89dc; /* テーブルヘッダーの色を変更 */
    color: white; /* テキスト色を白に */
    text-align: center;
}

.job-list td:first-child {
    font-weight: bold;
}

.job-list td {
    text-align: left; /* テキストを左寄せに */
}

h1,
h2 {
    text-align: center;
    color: #333; /* 色を濃いグレーに */
    margin-top: 0; /* 上のマージンを削除 */
}

@media screen and (max-width: 768px) {
    .job-list {
        width: 95%;
    }

    .job-list th {
        border: 1px solid #ddd;
        padding: 8px;
        font-size: 1rem;
    }

    .job-list td {
        border: 1px solid #ddd;
        padding: 8px;
        font-size: 0.8rem;
    }

    h1 {
        margin: 20px;
        text-align: center;
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 10px;
        text-align: center;
    }

    h3 {
        font-size: 1rem;
        font-weight: bold;
        margin-bottom: 10px;
        text-align: center;
    }

    p {
        margin: 0;
        font-size: 0.8rem;
    }

    th,
    td {
        margin: 0;
        font-size: 0.7rem;
    }

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        margin: 0;
    }
}
