* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f5ed;
    color: #333;
    font-family: "游ゴシック体", "YuGothic", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.page {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 40px 15px;
}

.page-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px;
    border: 1px solid #d6d1c3;
    background-color: #fff;
    text-align: center;
}

.page-title {
    margin-bottom: 27px;
    color: #005bac;
    font-size: 28px;
    font-weight: 700;
}

.lecture-table-wrap {
    margin-bottom: 35px;
    overflow-x: auto;
}

.lecture-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

.lecture-table th,
.lecture-table td {
    padding: 10px 12px;
    border: 1px solid #d6d1c3;
    vertical-align: top;
}

.lecture-table th {
    background-color: #d3e5f6;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.lecture-table .lecture-date {
    white-space: nowrap;
}

/* 月別の背景色 */
.lecture-table tr.month-1 td {
    background-color: #fff4f4;
}

.lecture-table tr.month-2 td {
    background-color: #fff8ee;
}

.lecture-table tr.month-3 td {
    background-color: #fbf8ec;
}

.lecture-table tr.month-4 td {
    background-color: #fdf6f0;
}

.lecture-table tr.month-5 td {
    background-color: #fffbe8;
}

.lecture-table tr.month-6 td {
    background-color: #fdf3f8;
}

.lecture-table tr.month-7 td {
    background-color: #fff6ea;
}

.lecture-table tr.month-8 td {
    background-color: #faf4ee;
}

.lecture-table tr.month-9 td {
    background-color: #faf6ee;
}

.lecture-table tr.month-10 td {
    background-color: #fffaf2;
}

.lecture-table tr.month-11 td {
    background-color: #fdf1f1;
}

.lecture-table tr.month-12 td {
    background-color: #f8f3f9;
}

.apply-button {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    background-color: #5b9fd9;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-decoration: none;
    white-space: nowrap;
}

.apply-button:hover {
    opacity: 0.85;
}

.page-back a {
    color: #005bac;
}

@media screen and (max-width: 768px) {
    .page-box {
        padding: 40px 15px;
    }

    .page-title {
        font-size: 23px;
    }

    .lecture-table {
        font-size: 13px;
    }
}
