/* ==================================================
 * 施設予約ページ
 * ================================================== */

.reservation-page {
    max-width: 1100px;
    margin: 0 auto;
}


/* ==================================================
 * ページ冒頭
 * ================================================== */

.reservation-page-intro {
    margin-bottom: 28px;
}

.reservation-page-intro-label {
    margin: 0 0 6px;
    color: #2474b5;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.reservation-page-intro-text {
    margin: 0;
    color: #444;
    font-size: 17px;
    line-height: 1.8;
}

/* ==================================================
 * ページ内メニュー
 * ================================================== */

.reservation-jump-label {
    margin: 0 0 10px;
    color: #333;
}

.reservation-jump-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.reservation-jump-buttons .wp-block-button {
    margin: 0;
}

.reservation-jump-buttons .wp-block-button__link {
    padding: 9px 18px;
    border: 1px solid #4d91c9;
    border-radius: 999px;
    background: #fff;
    color: #236fa8;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.reservation-jump-buttons .wp-block-button__link:hover {
    background: #edf7ff;
    color: #165f97;
    transform: translateY(-1px);
}


/* ==================================================
 * セクション見出し
 * ================================================== */

.reservation-section-heading {
    margin: 44px 0 18px;
    padding: 0 0 10px 14px;
    border-left: 5px solid #2c83c3;
    border-bottom: 1px solid #d7e7f3;
    color: #234b68;
    font-size: 24px;
    line-height: 1.5;
}


/* ==================================================
 * 共通カード
 * ================================================== */

.reservation-card {
    box-sizing: border-box;
    margin-bottom: 20px;
    padding: 24px 26px;
    border: 1px solid #dce8f1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(40, 75, 100, 0.06);
}

.reservation-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    color: #285f87;
    font-size: 21px;
    line-height: 1.5;
}

.reservation-card p {
    font-size: 17px;
    line-height: 1.9;
}

.reservation-card p:last-child {
    margin-bottom: 0;
}


/* ==================================================
 * 予約メインカード
 * ================================================== */

.reservation-main-card {
    padding: 30px;
    border-color: #bcd8eb;
    background: #f6fbff;
}

.reservation-main-card h3 {
    font-size: 22px;
}

.reservation-main-button {
    margin: 22px 0 18px;
}

.reservation-main-button .wp-block-button__link {
    padding: 14px 28px;
    border-radius: 8px;
    background: #247db8;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(36, 125, 184, 0.18);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.reservation-main-button .wp-block-button__link:hover {
    background: #1c699d;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(36, 125, 184, 0.23);
}


/* ==================================================
 * 関連案内カード
 * ================================================== */

.reservation-guide-columns {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: 100%;
    margin: 20px 0 28px;
}

.reservation-guide-columns > .wp-block-column {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}

.reservation-guide-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
}

.reservation-guide-card .wp-block-buttons {
    margin-top: auto;
    padding-top: 14px;
}

.reservation-sub-button .wp-block-button__link {
    padding: 10px 16px;
    border: 1px solid #4c91c8;
    border-radius: 7px;
    background: #fff;
    color: #236fa8;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.reservation-sub-button .wp-block-button__link:hover {
    background: #edf7ff;
}


/* ==================================================
 * システム案内
 * ================================================== */

.reservation-system-note {
    background: #fbfdff;
}

.reservation-emphasis {
    padding: 12px 14px;
    border-radius: 8px;
    background: #eef7fd;
    color: #245a80;
}


/* ==================================================
 * 重要なお知らせ
 * ================================================== */

.reservation-important-card {
    border-color: #ecd9a1;
    background: #fffdf5;
}

.reservation-important-card h3 {
    color: #8a6721;
}

.reservation-subheading {
    margin: 24px 0 10px;
    padding-left: 10px;
    border-left: 3px solid #d6a932;
    color: #66501f;
    font-size: 17px;
}

.reservation-schedule-list {
    margin: 14px 0 18px;
    padding-left: 1.5em;
    line-height: 1.9;
}

.reservation-note {
    color: #555;
    font-size: 14px;
    line-height: 1.8;
}

.reservation-note-important {
    padding: 12px 14px;
    border-left: 4px solid #d9a72d;
    border-radius: 6px;
    background: #fff7dd;
    color: #5e4b1d;
}


/* ==================================================
 * 使用料
 * ================================================== */

.reservation-fee-notes {
    margin: 18px 0;
    padding-left: 1.5em;
    line-height: 1.9;
}

.reservation-fee-heading {
    margin: 30px 0 14px;
    color: #285f87;
    font-size: 20px;
}

.reservation-fee-heading span {
    font-size: 14px;
    font-weight: 400;
}


/* ==================================================
 * 使用料表
 * ================================================== */

.reservation-fee-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.reservation-fee-table {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #cfdfea;
    border-radius: 10px;
    background: #fff;
}

.reservation-fee-table th,
.reservation-fee-table td {
    padding: 13px 12px;
    border-right: 1px solid #dbe6ee;
    border-bottom: 1px solid #dbe6ee;
    text-align: center;
    vertical-align: middle;
}

.reservation-fee-table thead th {
    background: #eaf5fc;
    color: #285f87;
    font-size: 14px;
    font-weight: 700;
}

.reservation-fee-table tbody th {
    background: #f5fafc;
    color: #34566e;
    font-weight: 700;
}

.reservation-fee-table tbody th span {
    font-size: 12px;
    font-weight: 400;
}

.reservation-fee-table td {
    color: #333;
    font-variant-numeric: tabular-nums;
}

.reservation-fee-table th:last-child,
.reservation-fee-table td:last-child {
    border-right: 0;
}

.reservation-fee-table tbody tr:last-child th,
.reservation-fee-table tbody tr:last-child td {
    border-bottom: 0;
}


/* ==================================================
 * お部屋の詳細リンク
 * ================================================== */

.reservation-room-guide {
    margin: 22px 0 26px;
    padding: 18px 20px;
    border-radius: 10px;
    background: #f4f9fc;
}

.reservation-room-guide p {
    margin-top: 0;
    margin-bottom: 12px;
}

.reservation-room-button .wp-block-button__link {
    padding: 10px 18px;
    border: 1px solid #4c91c8;
    border-radius: 7px;
    background: #fff;
    color: #236fa8;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.reservation-room-button .wp-block-button__link:hover {
    background: #edf7ff;
}

/* ==================================================
 * スマートフォン
 * ================================================== */

@media (max-width: 781px) {

    .reservation-page-intro-text {
        font-size: 17px;
    }

    .reservation-jump-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .reservation-jump-buttons .wp-block-button,
    .reservation-jump-buttons .wp-block-button__link {
        width: 100%;
    }

    .reservation-jump-buttons .wp-block-button__link {
        box-sizing: border-box;
        text-align: center;
    }

    .reservation-section-heading {
        margin-top: 36px;
        font-size: 21px;
    }

    .reservation-card {
        padding: 20px 18px;
        border-radius: 11px;
    }

    .reservation-main-card {
        padding: 22px 18px;
    }

    .reservation-main-card h3 {
        font-size: 20px;
    }

    .reservation-main-button,
    .reservation-main-button .wp-block-button,
    .reservation-main-button .wp-block-button__link {
        width: 100%;
    }

    .reservation-main-button .wp-block-button__link {
        box-sizing: border-box;
        padding: 13px 16px;
        text-align: center;
    }

.reservation-guide-columns {
    flex-direction: column;
    gap: 12px;
}

.reservation-guide-columns > .wp-block-column {
    width: 100%;
}

    .reservation-guide-card {
        min-height: 0;
    }

    .reservation-sub-button,
    .reservation-sub-button .wp-block-button__link {
        width: 100%;
    }

    .reservation-sub-button .wp-block-button__link {
        box-sizing: border-box;
        text-align: center;
    }

    .reservation-fee-table-wrap {
        margin-right: -4px;
        padding-bottom: 5px;
    }

    .reservation-fee-table {
        font-size: 13px;
    }

    .reservation-fee-table th,
    .reservation-fee-table td {
        padding: 11px 9px;
    }
}