.short-stay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 80px 0;
    padding: 0 12px;
}

.short-stay-cont {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    margin-bottom: 5px;
}


.day-service {
    margin: 80px auto;
    padding: 0 16px;
    width: 100%;
}

.calendar-wrapper {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    margin-top: 24px;
}

.calendar-responsive {
    position: relative;
    width: 100%;
    padding-top: 90%;
    /* 高さ：幅 = 600:800 → 75%で16:9比率に近い */
    overflow: hidden;
}

.calendar-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

.week-status {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
}

.week-status thead th {
    background-color: #ECC442;
    color: white;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

.week-status th,
.week-status td {
    border: 0.5px solid #ccc;
    padding: 8px;
    text-align: center;
    font-size: 1.2em;
    font-weight: normal;
}

.status-available {
    color: #11AFF5;
    font-weight: bold;
}

.status-lastroom {
    color: #ff8c00;
    font-weight: bold;
}

.status-full {
    color: #FF6161;
    font-weight: bold;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.week-status {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #ccc;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .week-status {
        min-width: 700px;
        /* ← 横スクロールさせるために必要 */
        width: auto;
    }
}

/* ヘッダーの角丸 */
.week-status thead th:first-child {
    border-top-left-radius: 10px;
}

.week-status thead th:last-child {
    border-top-right-radius: 10px;
}

/* ボディの角丸 */
.week-status tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.week-status tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.week-status tbody tr:first-child th {
    background-color: #E8E8E8;
}

.week-status tbody tr:last-child th {
    background-color: #E8E8E8;
}

.week-status th:first-child {
    width: 150px;
    text-align: center;
    vertical-align: middle;
    font-weight: 500;
}

.day-service-cont {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.short-stay-txt {
    margin-bottom: 32px;
}

.day-service-txt {
    margin-bottom: 32px;
}

.day-service-main-ttl {
    font-size: 32px;
    font-weight: bold;
}

.day-service-sub-ttl {
    font-size: 24px;
    font-weight: 600;
}

.day-service-sub-ttl {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.day-service-sub-ttl::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, -50%);
    width: 120%;
    /* ← ここで線の長さを調整 */
    height: 2px;
    background-color: #3C633A;
    /* 線の色 */
}

.day-service-status {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 80px;
}

.day-service-status p {
    align-items: center;
    gap: 0.5em;
    font-size: 16px;
}


.day-service-status .circle {
    color: #7ed8ff !important;
    font-weight: 900;
    font-size: 32px;
}

.day-service-status .cross {
    color: #ff7c7c !important;
    font-weight: 900;
    font-size: 32px;
}

.day-service-status .triangle {
    color: #facd7f !important;
    font-weight: 900;
    font-size: 32px;
}


.day-service-status {
    width: 100%;
    max-width: 720px;
    padding: 16px 24px;
    background-color: #EFEFEF;
    border-radius: 10px;
}

.day-service-status p {
    font-size: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

@media (max-width: 768px) {
    .day-service-status p {
        font-size: 16px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
        margin: 0;
    }

    .day-service-status {
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
        gap: 24px;
    }
}

.status-available,
.status-full {
    font-size: 32px !important;
    font-weight: 900 !important;
}

.week-status td {
    height: 100px;
    /* 任意の高さに変更 */
    vertical-align: middle;
    /* テキストを縦中央揃え（必要なら） */
    text-align: center;
    /* 横中央揃え（必要なら） */
}


@media (max-width: 768px) {
    .short-stay-cont .day-service-status {
        display: flex;
    }

    .day-service-status .circle {
        color: #7ed8ff !important;
        font-weight: 900;
        font-size: 24px;
    }

    .day-service-status .triangle {
        color: #facd7f !important;
        font-weight: 900;
        font-size: 24px;
    }

    .day-service-status .cross {
        color: #ff7c7c !important;
        font-weight: 900;
        font-size: 24px;
    }

    .short-stay-cont .day-service-status {
        gap: 14px;
    }
}

.calendar-cont {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

.calendar-cont .wpsbc-calendar {
    width: 100% !important;
    font-size: 18px !important;
    border-collapse: collapse !important;
    table-layout: fixed !important;
}

.calendar-cont .wpsbc-calendar th,
.calendar-cont .wpsbc-calendar td {
    padding: 10px !important;
    border: 1px solid #ccc !important;
    text-align: center !important;
    vertical-align: middle !important;
    word-wrap: break-word !important;
}

.wpsbc-container .wpsbc-calendars-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.wpsbc-calendar {
    width: 100%;
    max-width: 1000px !important;
}

.wpsbc-container.wpsbc-calendar-1 .wpsbc-legend-item-icon-2 div:first-of-type {
    background-color: #ff7c7c !important;
    border-radius: 50px;
    width: 72px;
    height: 72px;
    top: 16%;
    left: 16%;
}

.wpsbc-container.wpsbc-calendar-1 .wpsbc-legend-item-icon-1 div:first-of-type {
    background-color: #7ed8ff !important;
    border-radius: 50px;
    width: 72px;
    height: 72px;
    top: 16%;
    left: 16%;
}

.wpsbc-container.wpsbc-calendar-1 .wpsbc-legend-item-icon-3 div:first-of-type {
    background-color: #facd7f !important;
    border-radius: 50px;
    width: 72px;
    height: 72px;
    top: 16%;
    left: 16%;
}

@media (max-width: 768px) {
    .wpsbc-container.wpsbc-calendar-1 .wpsbc-legend-item-icon-2 div:first-of-type {
        width: 40px;
        height: 40px;
        top: 13%;
        left: 11%;
    }

    .wpsbc-container.wpsbc-calendar-1 .wpsbc-legend-item-icon-1 div:first-of-type {
        width: 40px;
        height: 40px;
        top: 13%;
        left: 11%;
    }

    .wpsbc-container.wpsbc-calendar-1 .wpsbc-legend-item-icon-3 div:first-of-type {
        width: 40px;
        height: 40px;
        top: 13%;
        left: 11%;
    }
}

span.wpsbc-date-number {
    color: #fff;
    font-weight: 600;
}

.wpsbc-container .wpsbc-calendars .wpsbc-calendar table tr td .wpsbc-date-inner .wpsbc-date-number {
    font-size: 24px !important;

}

main h2 {
    font-size: 1.25rem;
    display: none;
}