/* Sticky first two columns */
.sticky-col {
    position: sticky;
    background-color: white;
    z-index: 1;
    left: 0;
}

.sticky-col-left {
    left: 0;
    width: 175px;
    min-width:175px;
}

.sticky-col-left-2 {
    left: 175px; 
    width:50px;
    min-width:50px;
    z-index: 2;
}

.gantt-table {
    table-layout: fixed;
    min-width: max-content;
}

.table-responsive {
    scroll-behavior: smooth;
}

.gantt-table th,
.gantt-table td {
    white-space: nowrap;
    
}

.gantt-bar-cell {
    --day-width: 40px;
    position: relative;
    z-index: 1;
    background-color: transparent;
    padding: 4px 0;
    width: var(--day-width);
    vertical-align: middle;
    overflow: hidden;
}

    /* 右端に細いラインを引くだけ（背景は透明） */
    .gantt-bar-cell::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 1px;
        background-color:azure; /* ライン色 */
        pointer-events: none;
        z-index: 1; /* バーの背面に表示 */
    }

/* バー全体 */
.gantt-bar {
    color: white;
    border-radius: 20px;
    padding: 6px 12px;
    height: 32px;
    line-height: 20px;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color:silver; /* デフォルト色 */
    position: relative;
    z-index: 2; /* 線より上に表示 */
}

.progress-bar {
    border-radius: 20px;
    z-index: 3;
}