/* 基本的なスタイル */


#show-calendar {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

/* 背景オーバーレイ */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* ポップアップカレンダー本体 */
#calendar-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2;
    width: 300px;
}

/* カレンダーヘッダー */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header h3 {
    margin: 0;
    font-size: 18px;
}

.calendar-header button {
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
}

/* カレンダーテーブル */
.calendar-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.calendar-table th, .calendar-table td {
    padding: 8px;
    vertical-align: middle;
}

.calendar-table th {
    color: #666;
    font-weight: normal;
}

.calendar-table td {
    cursor: pointer;
}

/* 今日の日付のスタイル */
.calendar-table .today {
    background-color: #ffc107;
    color: #fff;
    border-radius: 50%;
}

/* ファイルの末尾に追記 */

/* 選択できない日付（期間外、休園日） */
.calendar-table td.disabled {
    color: #ccc;
    background-color: #f5f5f5;
    cursor: not-allowed;
    text-decoration: line-through; /* 取り消し線 */
}
/* disabledな日付はhoverしても色を変えない */
.calendar-table td.disabled:hover {
    background-color: #f5f5f5;
}