.schedule-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-header {
    background: linear-gradient(135deg, #4a6fa5, #357abd);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

.room-title {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.schedule-table {
    overflow: hidden;
}

.schedule-row {
    display: flex;
    min-height: 80px;
    border-bottom: 4px solid #333;
    transition: all 0.3s ease;
}

.schedule-row:last-child {
    border-bottom: none;
}

.time-cell {
    width: 280px;
    background-image: url(../images/common/bg_0.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-right: 4px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
}

.period-name {
    font-size: 17px;
    font-weight: bold;
    color: #111111;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.period-time {
    line-height: 28px;
    font-size: 15px;
    color: #6D2020;
    font-weight: bold;
}

.status-cell {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    position: relative;
}

.status-text {
    font-size: 18px;
    line-height: 32px;
    width: auto;
    height: auto;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
}

/* ステータス別の色分け（背景画像適用） */
.status-unavailable .status-cell {
    background: url(../images/common/bg_4.jpg) center/cover no-repeat !important;
}

.status-partial .status-cell {
    background: url(../images/common/bg_3.jpg) center/cover no-repeat !important;
}

.status-reserved .status-cell {
    background: url(../images/common/bg_1.jpg) center/cover no-repeat !important;
}

.status-available .status-cell {
    background: url(../images/common/bg_2.jpg) center/cover no-repeat !important;
}

.status-individual .status-cell {
    background-color: #018e40 !important;
}

/* 現在時限ハイライト（ボーダーライン方式） */
.schedule-row.current-period-border {
    border: 4px solid rgb(104, 246, 30) !important;
    position: relative;
}

.schedule-row.current-period-border .time-cell {
    width: 276px !important;
    border-right: 4px solid rgb(104, 246, 30);
}

/* 現在時限の上の行の下ボーダーを消す */
.schedule-row.prev-current-period {
    border-bottom: none !important;
}

/* 日付ナビゲーション横並びレイアウト */
.date-nav-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.date-nav-container .boxL {
    flex: 1;
    min-width: 200px;
}

.date-nav-container .wkmenu {
    flex-shrink: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
}

/* カレンダー入力フィールドのスタイル */
.form_1 {
    background-color: #CC2428;
    background-image: url(../images/cv/date.png);
    color: #fff;
    border: none;
    border-radius: 4px;
    width: 230px !important;
    cursor: pointer;
}

#calViewF1 {
    background-position: 10px 11px;
    font-weight: normal;
}

/* カレンダーフィールドの位置調整 */
.boxL {
    position: relative;
}

/* datepickerポップアップのz-index調整 */
.ui-datepicker {
    z-index: 9999 !important;
}

.comment {
    cursor: pointer;
}

.content {
    min-height: 0;
}

/* moreinfoアイコンのスタイル */
.status-cell .moreinfo {
    position: absolute;
    right: 3px;
    bottom: 3px;
    width: 16px;
    height: 16px;
    box-sizing: border-box;
    color: #ffffff;
    background-image: linear-gradient(to top, #13D9FC, #09749F);
    border: 1px solid #ffffff;
    padding: 3px 3px 2px 3px;
    border-radius: 2px;
    cursor: pointer;
    z-index: 10;
}

.status-cell .moreinfo::after {
    position: absolute;
    top: 5px;
    left: 5px;
    margin: auto;
    content: "";
    vertical-align: middle;
    box-sizing: border-box;
    width: 6px;
    height: 6px;
    border: 6px solid transparent;
    border-left: 6px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.cboxb4 {
    margin-top: 50px;
}

.th-icon-5 {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #018e40;
    vertical-align: middle;
    margin-right: 3px;
    margin-bottom: 5.5px;
}

.status_type_guide img {
    margin-bottom: -2px;
}