/* custom.css */

/* 通常のテーブルスタイル */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: left;
}


td.text-center {
    vertical-align: middle;
}


.border-left {
    border-left: 1px solid #000; /* 右側に黒色の線を挿入 */
}


.paid {
    color: green; /* ここで望む色に調整 */
}

.unpaid {
    color: red; /* ここで望む色に調整 */
}

.table-container {
    width: 60%;
    margin: 0 auto; /* 中央寄せ */
}
.recent-text { color: red; }


.recent {
    background-color: #fffccc; /* 薄い赤色 */
}

/* レスポンシブスタイル */
@media only screen and (max-width: 768px) {
    table.table {
        margin-bottom: 1em; /* 相対的な単位を使用 */
    }

    table.table thead {
        display: none; /* 見出しを非表示にする */
    }

    .table-responsive .table td[colspan="12"] {
        text-align: center !important;
    }
    /*
    .table-responsive .table .no-work-list {
        text-align: center !important;
    }
     */
    th, td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        text-align: center;
        width: 100%;
        padding: 8px; /* 適切な余白サイズに調整 */
    }

    th::before, td::before {
        content: attr(data-label);
        font-weight: normal;
        display: inline-block;
        box-sizing: border-box;
    }

    img.img-fluid {
        margin-top: 1px; /* 画像の上の余白を調整 */
    }


    /* 詳細、編集、削除ボタンの隙間調整 */
    a.btn.btn-outline-primary,
    a.btn.btn-outline-success,
    a.btn.btn-outline-danger {
        margin-right: 1px;  /* マージンを調整 */
    }
    /* 日付セルのフォントサイズを大きくする */
    th[data-label="日付"] {
        font-size: 100px;
    }

    .bold-data-label::before {
        font-weight: bold;
        content: attr(data-label);
        }

    td.text-end a {
        margin-right: 0;
        display: inline-block; /* ブロック要素として表示 */
        flex: none; /* flex を無効にする */
        }
    /* 日付セル用のスタイル */
    .table td.date-cell {
        font-size: 20px; /* スマートフォン用の日付セルのフォントサイズ */
        font-weight: none; /* スマートフォン用の日付セルの太字 */
        color: #000000; /* スマートフォン用の日付セルのテキスト色 */
    }

.btn-custom-width {
    width: 120px; /* 好みの幅に設定 */
}







}
