.maintenance-hidden {
    margin-top: 20px;
    font-size: 12px;
}

.maintenance-hidden a {
    color: #fff;
    /* same as the box background → invisible */
    text-decoration: none;
    /* hide the underline too */
    cursor: default;
    /* no pointer cursor to give it away */
}

* {
    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;
}

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

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

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

.maintenance-text {
    margin: 31px 0 35px;
    font-size: 16px;
    font-weight: 500;
}

.maintenance-contact {
    margin-bottom: 35px;
    font-size: 14px;
    line-height: 1.8;
}

.maintenance-contact-gap {
    margin-top: 20px;
}

.maintenance-text a,
.maintenance-contact a,
.lecture-table a {
    color: #005bac;
    text-decoration: underline;
    word-break: break-all;
}

.maintenance-text a:hover,
.maintenance-contact a:hover,
.lecture-table a:hover {
    text-decoration: none;
}

/* ページボタン */
.page-buttons-title {
    margin-bottom: 15px;
    color: #005bac;
    font-size: 20px;
    font-weight: 700;
}

.page-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.page-button {
    display: inline-block;
    min-width: 220px;
    padding: 14px 24px;
    border-radius: 4px;
    background-color: #5b9fd9;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.page-button[hidden] {
    display: none;
}

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

/* 講演会情報 */
.lecture {
    margin-bottom: 35px;
}

.lecture-title {
    margin-bottom: 15px;
    color: #005bac;
    font-size: 20px;
    font-weight: 700;
}

.lecture-table-wrap {
    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: #f8f5ed;
    font-weight: 700;
    white-space: nowrap;
}

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

.sp-only {
    display: none;
}

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

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

    .maintenance-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .lecture-title,
    .page-buttons-title {
        font-size: 18px;
    }

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

    .page-button {
        width: 100%;
    }

    .sp-only {
        display: inline;
    }
}

@media screen and (max-width: 360px) {
    .maintenance-title {
        font-size: 18px;
    }
}
