/* カレンダー全体のラッパー */
.clinic-calendar-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 20px 0;
}

/* 個別の月 */
.calendar-month {
    width: 100%;
    max-width: 400px;
}

.calendar-month .cal-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* テーブルデザイン */
.clinic-cal-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.clinic-cal-table th, 
.clinic-cal-table td {
    border: 1px solid #e0e0e0;
    text-align: center;
    padding: 12px 5px;
    font-size: 14px;
    width: 14.28%;
}

.clinic-cal-table thead th {
    background-color: #566976; /* 画像のヘッダー色に近い色 */
    color: #ffffff;
    font-weight: normal;
}

/* 日曜・土曜の文字色 */
.clinic-cal-table td.sun { color: #ff4d4d; }
.clinic-cal-table td.sat { color: #4da6ff; }

/* 休診日の背景色（画像を参考にした淡いオレンジ） */
.clinic-cal-table td.closed {
    background-color: #ffe6cc !important;
}

/* 凡例（休診日マーク） */
.calendar-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    margin-top: 10px;
    color: #333;
}

.calendar-legend .legend-box {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #ffe6cc;
    border: 1px solid #e0e0e0;
}

td.sat {
    background-color: #F5FBFE;
}

td.sun {
    background-color: #FCF3F3;
}


/* スマホ表示対応 */
@media (max-width: 768px) {
    .clinic-calendar-wrapper {
        gap: 20px;
    }
}