/* カレンダー全体のデザイン */
.calendar-container {
    max-width: 900px;
    margin: auto;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* ナビゲーションボタン（前後の月切り替え） */
.calendar-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

/* ナビゲーションボタンのスタイル */
#calendar-nav button {
    background: none;
    border: none;
    cursor: pointer;
    color: rgb(149, 69, 32) !important;
    /* 優先度を強制 */
    font-size: 1.2em;
    font-family: "Cormorant Garamond", serif;
}

/* カレンダーのタイトル */
#calendar-title {
    font-family: "serif";
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 15px;
}

/* カレンダーのテーブル */
table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: "Cormorant Garamond", serif;
}

/* 曜日ヘッダーとセル */
th,
td {
    padding: 10px;
    text-align: left;
    border: 1px solid #e2dddd;
    width: 14.28%;
    position: relative;
    vertical-align: top;
}

/* カレンダーの各セル（高さ統一） */
td {
    height: 75px;
    transition: background 0.3s ease-in-out;
}

/* 曜日ヘッダー */
th {
    background-color: rgb(255, 255, 255);
    color: rgb(55, 55, 55);
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: 1.0em;
}

/* 日付＆コンテンツの配置 */
.cell-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    /* 金額（×）を少し下に配置 */
    height: 100%;
    position: relative;
    padding-bottom: 0px;
}

/* 日付（左上配置） */
.date {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 0.9em;
    line-height: 1;
    font-family: "Cormorant Garamond", serif;
    color: #333;
    /* すべての文字色を黒に統一 */
}


/* 価格や「×」の表示 */
.price {
    display: flex;
    justify-content: center;
    align-items: end;
    font-size: 0.9em;
    font-weight: 650;
    font-family: "Cormorant Garamond", serif;
    margin-top: auto;
    padding-bottom: 0px;
    height: 100%;
}

/* --- セル全体の背景色調整 --- */
/* 土曜日のセル背景（薄い青系） */
td.saturday {
    background-color: #eff4fc !important;
    /* トレンド感のある淡いブルー */
}

/* 日曜日・祝日のセル背景（薄い赤系） */
td.sunday,
td.holiday {
    background-color: #fbf0f0 !important;
    /* 上品なパステルレッド */
}

/* 当日のセル背景（淡い黄色系） */
td.today {
    background-color: #fffae5 !important;
    /* ナチュラルな柔らかいイエロー */
}

/* --- 前月末日 & 次月月初のデザイン（グレー背景） --- */
td.prev-month,
td.next-month {
    background-color: #f0f0f0 !important;
    /* 優しいグレー */
    color: #aaa;
    /* 薄いグレーで区別 */
    height: 75px;
    /* 当月のセルと統一 */
    position: relative;
    /* .date を適用するために relative を設定 */
}

/* 予約不可（×）のデザイン */
.booked {
    color: rgb(150, 147, 147);
}

/* 予約可能（価格）のデザイン */
.available {
    color: midnightblue;
}