:root {
    --color-primary: #07628e;
    --color-primary-light: #99b2be;
    --color-danger: #f87171;
    --color-danger-light: #fdacac;
    --color-text-dark: #404040;
    --color-text-muted: #707070;
    --color-text-light: #b2b2b2;
    --color-border-light: #ededed;
    --color-white: #ffffff;
    --color-bg-body: #e3e3e3;
}

body {
    font-size: 0.8rem;
    background-color: var(--color-bg-body);
    font-family: "ヒラギノ角ゴ ProN W6", HiraKakuProN-W3, 游ゴシック,
        "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;
    height: 100%;
}
.number {
    text-align: right;
}
.btn,
.form-control,
.form-select {
    font-size: 0.8rem !important;
}
.container-fluid {
    height: 100%;
}
.login_bk {
    background-color: var(--color-white);
}

/* theme color */
.c_07628e {
    color: var(--color-primary);
}
.c_99b2be {
    color: var(--color-primary-light);
}
.c_f87171 {
    color: var(--color-danger);
}
.c_fdacac {
    color: var(--color-danger-light);
}
.c_404040 {
    color: var(--color-text-dark);
}
.c_707070 {
    color: var(--color-text-muted);
}
.c_b2b2b2 {
    color: var(--color-text-light);
}
.c_ededed {
    color: var(--color-border-light);
}
.c_ffffff {
    color: var(--color-white);
}
.c_red {
    color: red;
}
.text-underline-link {
    text-decoration: underline;
}

/* background-color */
.bk_c_07628e {
    background-color: var(--color-primary);
}
.bk_c_ffffff {
    background-color: var(--color-white) !important;
}
.bk_c_f87171 {
    background-color: var(--color-danger);
}

/* btn */
.btn_07628e {
    border-radius: 3.3rem;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn_07628e:hover {
    border-radius: 3.3rem;
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
}
.btn_99b2be {
    border-radius: 3.3rem;
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
}
.btn_707070 {
    border-radius: 3.3rem;
    background-color: var(--color-text-muted);
    border-color: var(--color-text-muted);
}

/* 追加ボタン */
.btn_add {
    background-image: url(../img/img_btn_add_big.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_add:hover {
    background-image: url(../img/img_btn_add_big_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 削除ボタン */
.btn_del {
    background-image: url(../img/img_btn_del_big.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_del:hover {
    background-image: url(../img/img_btn_del_big_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* Excel出力ボタン */
.btn_output_excel {
    background-image: url(../img/img_btn_output_excel.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_output_excel:hover {
    background-image: url(../img/img_btn_output_excel_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 作業指示書出力ボタン */
.btn_work_direction_output {
    background-image: url(../img/img_btn_work_direction_output.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_work_direction_output:hover {
    background-image: url(../img/img_btn_work_direction_output_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 作業指示書取消ボタン */
.btn_work_direction_cancel {
    background-image: url(../img/img_btn_work_direction_cancel.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_work_direction_cancel:hover {
    background-image: url(../img/img_btn_work_direction_cancel_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 編集ボタン */
.btn_edit {
    background-image: url(../img/img_btn_edit.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_edit:hover {
    background-image: url(../img/img_btn_edit_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_recover {
    background: var(--color-primary);
    border-radius: 20px;
    color: white;
    margin-left: 20px;
}
.btn_recover:hover {
    background-color: var(--color-primary-light);
    border-radius: 20px;
    color: white;
    margin-left: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 登録ボタン */
.btn_register {
    background-image: url(../img/img_btn_register.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_register:hover {
    background-image: url(../img/img_btn_register_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 確定ボタン */
.btn_confirm {
    background-image: url(../img/img_btn_confirm.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_confirm:hover {
    background-image: url(../img/img_btn_confirm_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 追加・編集ボタン */
.btn_add_edit {
    background-image: url(../img/img_btn_add-edit.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_add_edit:hover {
    background-image: url(../img/img_btn_add-edit_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 追加・編集ボタン */
.btn_keep {
    background-image: url(../img/img_btn_keep.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_keep:hover {
    background-image: url(../img/img_btn_keep_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 担当者割り当てボタン */
.btn_charge {
    background-image: url(../img/img_btn_charge.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_charge:hover {
    background-image: url(../img/img_btn_charge_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 一括設定ボタン */
.btn_all_regist {
    background-image: url(../img/img_btn_all_regist.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_all_regist:hover {
    background-image: url(../img/img_btn_all_regist_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 一括解除ボタン */
.btn_all_unlock {
    background-image: url(../img/img_btn_all_unlock.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_all_unlock:hover {
    background-image: url(../img/img_btn_all_unlock_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* ファイル選択ボタン */
.btn_choose_file {
    background-image: url(../img/img_tbl_btn_choose_file.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_choose_file:hover {
    background-image: url(../img/img_tbl_btn_choose_file_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* 削除ボタン */
.btn_delete {
    background-image: url(../img/img_btn_delete.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.btn_delete:hover {
    background-image: url(../img/img_btn_delete_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* テーブル内削除アイコン */
.btn_icon_delete {
    background-image: url(../img/img_tbl_icon_delete.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 1.3rem;
}
/* テーブル内担当者編集ボタン */
.btn_charge_change {
    background-image: url(../img/img_tbl_btn_charge_change.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    width: 100%;
    height: 30px;
}
.btn_charge_change:hover {
    background-image: url(../img/img_tbl_btn_charge_change_hover.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    width: 100%;
    height: 30px;
}

/* テーブル内担当者編集ボタン */
.btn_pic_add {
    background-image: url(../img/img_btn_pic_add.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 40px;
}
/* テーブル内担当者編集ボタン */
.btn_pic_del {
    background-image: url(../img/img_btn_pic_del.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 40px;
}
/* テーブル内担当者編集ボタン */
.btn_pic_change {
    background-image: url(../img/img_btn_pic_chenge.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 40px;
}
/* テーブル内担当者編集ボタン */
.btn_pic_download {
    background-image: url(../img/img_btn_pic_download.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 40px;
}

/* 建物別評価：追加ボタン */
.btn_arrow_return {
    background-image: url(../img/img_btn_arrow_return.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 40px !important;
}
/* 建物別評価：除外ボタン */
.btn_arrow_exclusion {
    background-image: url(../img/img_btn_arrow_exclusion.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 40px !important;
}

/* 報告書一覧：明細追加ボタン */
.btn_detail_add {
    background-image: url(../img/img_btn_detail_add.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 40px !important;
    width: 7rem;
}
/* 報告書一覧：明細削除ボタン */
.btn_detail_delete {
    background-image: url(../img/img_btn_detail_delete.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 40px !important;
    width: 7rem;
}

/* 報告書一覧：PDF追加ボタン */
.btn_add_large {
    background-image: url(../img/img_btn_add_large.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 40px !important;
    width: 7rem;
}

.div_hidden {
    display: none;
}

/* border */
.noborder {
    border: white;
}

/* width */
/* .logo_size_70{width: 70%;} */
.width_5rem {
    width: 5rem;
}
.width_10rem {
    width: 10rem;
}
.width_20rem {
    width: 20rem;
}

.wdth_side_menu {
    width: 30px;
}

/* margin */
.ml_1rem {
    margin-left: 1rem;
}
.mr_1rem {
    margin-right: 1rem;
}

/* height */
.hght_2rem {
    height: 2rem;
}
.hght_3rem {
    height: 3rem;
}
.hght_header {
    height: 70px;
}

/* error_message */
.error_message {
    color: red;
}

/* 報告書テーブル幅 */
.cellwidth2 {
    width: 25%;
}
.cellwidth3 {
    width: 38%;
}

/* table */
tr {
    vertical-align: middle;
}
.dshbrd_day_tbl {
    border-collapse: separate;
    border-spacing: 0 10px;
}
.dshbrd_day_tbl_td_day {
    width: 5rem !important;
    border-radius: 25px 0 0 25px;
}
.dshbrd_day_tbl_td_notice {
    font-weight: bold;
    border-radius: 0 25px 25px 0;
    width: 250px !important;
    height: 80px !important;
}
.dshbrd_notice_panel {
    border-radius: 25px;
    overflow: hidden;
    margin-top: 10px;
    margin-right: 20px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    max-height: 400px;
}
.dshbrd_notice_panel > .table-responsive {
    flex: 1 1 auto;
    overflow-y: auto;
}
@media (min-width: 768px) {
    .dshbrd_notice_panel {
        max-height: none;
        min-height: 0;
    }
    .dshbrd_notice_panel > .table-responsive {
        flex: 1 1 0;
        min-height: 0;
    }
}
.dshbrd_header {
    position: relative;
}
.dshbrd_header_with_alert {
    padding-bottom: 1.75rem;
}
.dshbrd_alert_center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}
.dshbrd_alert_compact {
    border-radius: 8px;
}
.dshbrd_alert_content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}
@media (max-width: 991.98px) {
    .dshbrd_alert_center {
        position: static;
        transform: none;
        margin: 0 auto 0.5rem;
        white-space: normal;
    }
    .dshbrd_header_with_alert {
        padding-bottom: 0;
    }
}
.dshbrd_panel_title {
    margin-bottom: 0.75rem;
}
.dshbrd_notice_col {
    padding-top: 8px;
}
.dshbrd_week_nav {
    gap: 0.5rem;
}
.dshbrd_week_nav_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex-shrink: 0;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: opacity 0.2s;
}
.dshbrd_week_nav_btn:hover {
    opacity: 0.65;
}
.dshbrd_week_nav_btn:disabled {
    opacity: 0.3;
    cursor: wait;
}
.dshbrd_week_nav_arrow {
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
}
.dshbrd_week_nav_arrow_left {
    border-width: 18px 24px 18px 0;
    border-color: transparent var(--color-primary) transparent transparent;
}
.dshbrd_week_nav_arrow_right {
    border-width: 18px 0 18px 24px;
    border-color: transparent transparent transparent var(--color-primary);
}
@media (max-width: 1199.98px) {
    #week-schedule-panels > div:not(:first-child) {
        display: none;
    }
}
@media (min-width: 768px) {
    .dshbrd_main_area {
        margin-left: 70px !important;
        width: calc(100% - 70px);
    }
}
.dshbrd_notice_list_table {
    border-collapse: separate;
    border-spacing: 0;
}
.dshbrd_notice_list_table thead th {
    font-weight: bold;
    color: #ffffff;
    border-bottom: 2px solid var(--color-primary-light);
    padding: 0.6rem 0.75rem;
    position: sticky;
    top: 0;
    z-index: 3;
    background-color: var(--color-primary-light);
}
.dshbrd_notice_list_table tbody td {
    border-bottom: 2px solid var(--color-primary);
    padding: 0.8rem 0.75rem;
    background-color: transparent !important;
}
.dshbrd_notice_status_row {
    --bs-table-bg: #f1f1f1;
    --bs-table-accent-bg: #f1f1f1;
}
.dshbrd_notice_status_row td {
    color: var(--color-primary);
    background-color: #f1f1f1 !important;
    border-bottom: 1px solid var(--color-primary);
    padding: 0.1rem 0.75rem !important;
    text-align: center;
    line-height: 1.1;
    height: 22px !important;
}
.dshbrd_notice_status_row_future {
    --bs-table-bg: #f1f1f1;
    --bs-table-accent-bg: #f1f1f1;
}
.dshbrd_notice_status_row_future td {
    color: #000000;
    background-color: #f1f1f1 !important;
}
.dshbrd_notice_future_text {
    color: #000000 !important;
}
.dshbrd_notice_list_table > tbody > tr > td:first-child::before,
.dshbrd_day_tbl > tbody > tr > td:first-child::before {
    content: none;
}
.dshbrd_notice_list_table > tbody > tr > td:first-child:hover,
.dshbrd_day_tbl > tbody > tr > td:first-child:hover {
    text-decoration: none;
}
.dshbrd_notice_add_btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 999px;
    padding: 0.35rem 1.35rem;
    font-weight: bold;
    line-height: 1.2;
    margin-right: 35px;
}
.dshbrd_notice_add_btn:hover,
.dshbrd_notice_add_btn:focus {
    color: var(--color-white);
    background-color: var(--color-primary);
}
.dshbrd_notice_period_col {
    width: 22%;
    text-align: right !important;
    padding-right: 1rem !important;
}
.valid_tbl_icon {
    background-color: var(--color-primary);
    border-radius: 32px;
    width: 7rem;
    height: 2.5rem;
    text-align: center;
    color: white;
    line-height: 40px;
    font-weight: bold;
    font-size: 1rem;
}
.invalid_tbl_icon {
    background-color: var(--color-primary-light);
    border-radius: 32px;
    width: 2.7rem;
    height: 2.7rem;
    text-align: center;
    color: white;
}

.table_border_radius {
    /* border: 1px solid red; */
    border-radius: 5px;
    border-spacing: 15px; /* border-collapse: separate; */
}
.table_border_radius tr td {
    border: none; /* border-bottom: 1px solid black;*/ /*border-right: 1px solid black; */
}
.table_border_radius tr td:first-child {
    border-left: none;
}
.table_border_radius tr td:last-child {
    border-right: none;
}
.table_border_radius tr:first-child td {
    border-top: none;
}
.table_border_radius tr:last-child td {
    border-bottom: none;
}
tbody,
td,
tfoot,
th,
thead,
tr {
    border-color: inherit;
    border-style: hidden;
    border-width: 0;
}

.cell-danger {
    --bs-table-bg: #f8d7da;
    --bs-table-striped-bg: #eccccf;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dfc2c4;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #e5c7ca;
    --bs-table-hover-color: #000;
    color: #000;
    border-color: #dfc2c4;
    background-image: none !important;
}
.table-light {
    --bs-table-hover-bg: aquamarine !important;
}
.table-secondary {
    --bs-table-bg: var(--color-primary-light);
    --bs-table-striped-bg: #d7d8da;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #cbccce;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #d1d2d4;
    --bs-table-hover-color: #000;
    color: #fff;
    border-color: #cbccce;
}

/* テーブルrowカウンター */
table {
    counter-reset: rowCount;
}
table > tbody > tr {
    counter-increment: rowCount;
}
table > tbody > tr > td:first-child::before {
    content: counter(rowCount);
}
table > tbody > tr > td:first-child:hover {
    text-decoration: underline;
}

/* 予算管理履歴（#modal_budget_history）は行番号（CSSカウンター）を表示しない */
#modal_budget_history table.budget-history-table > tbody > tr > td:first-child::before {
    content: none !important;
}
#modal_budget_history table.budget-history-table > tbody > tr > td:first-child:hover {
    text-decoration: none;
}

.ruikei_bc th td {
    background-color: var(--color-white) !important;
}
.th_border {
    background: grey;
    border-radius: 8px 8px 0 0;
    color: white;
}
.tbl_bk_c {
    background: white;
    border-radius: 8px;
}
.thead_bk_c {
    background: var(--color-primary-light);
    color: white;
}

/* top */
.top_05 {
    top: 2.5em;
}

/* h */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    color: var(--color-primary);
}

/* a */
a {
    color: var(--color-primary);
    text-decoration: auto;
}

/* pview */
/* .p_view_pic{ max-width: 100%; height: auto;} */
.view_pic {
    max-width: 100%;
    height: auto;
}

/* boostrap-custom */
.navbar {
    position: sticky;
    display: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
/* .navbar-toggler { padding: .25rem .75rem; font-size: 1.25rem; line-height: 1; background-color: black; border: 1px solid transparent; border-radius: .25rem; transition: box-shadow .15s ease-in-out; float: right; } */

/* logo */
.logo_size_70 {
    height: 40px;
}

/* sidemenu */
.cp_sidebarmenu {
    position: fixed;
    z-index: 1000;
    bottom: 0;
    left: 0;
    overflow: hidden;
    width: 4.5em;
    height: 100%;
    -webkit-transition: width 0.6s ease;
    transition: width 0.6s ease;
    -webkit-transform: translateZ(0) scale(1, 1);
    border-right: 1px solid #e5e5e5;
    background: var(--color-primary);
}
.cp_sidebarmenu:hover {
    overflow: visible;
    width: 17em;
}
.cp_sidebarmenu ul {
    margin: 7px 0;
    padding: 0;
    outline: 0;
}
.cp_sidebarmenu li {
    position: relative;
    display: block;
    width: 17em;
    margin: 0;
    padding: 0;
    outline: 0;
}
.cp_sidebarmenu li a {
    position: relative;
    display: table;
    border-spacing: 0;
    border-collapse: collapse;
    text-decoration: none;
    color: var(--color-white);
}
.cp_sidebarmenu li:before {
    content: "";
    position: absolute;
    top: 0px;
    left: -20em;
    height: 100%;
    width: 15em;
    background: #85cbec70;
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
}
.cp_sidebarmenu li:hover:before {
    left: 0;
}
.cp_sidebarmenu span {
    position: relative;
    display: table-cell;
    vertical-align: middle;
}
.side_menu_icon {
    position: relative;
    display: table-cell;
    vertical-align: middle;
}
.cp_sidebarmenu > ul.control {
    position: absolute;
    bottom: 0;
    left: 0;
}
.cp_sidebarmenu ul li i {
    font-size: 1.5em;
    display: inline-block;
    padding: 1.5em;
    vertical-align: middle;
}

/* breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: 0.5rem;
    color: #6c757d;
    content: var(--bs-breadcrumb-divider, "|");
}

/* mordalwindow */
.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 0px;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}

.small_modal_header {
    background: var(--color-primary);
}
.small_modal_title {
    color: white;
}

/* selectbox */
.form-select {
    display: block;
    width: 70%;
    padding: 0.375rem 1.75rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    vertical-align: middle;
    background-color: #fff;
    background-image: url(
        data:image/svg + xml,
        %3csvgxmlns="http://www.w3.org/2000/svg"viewBox="0 0 16 16"%3e%3cpathfill="none"stroke="%23343a40"stroke-linecap="round"stroke-linejoin="round"stroke-width="2"d="M2 5l6 6 6-6"/%3e%3c/svg%3e
    );
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* file_upload */
.file_upload_div {
    background: #adadad;
    width: 400px;
    max-height: 300px;
    text-align: center;
}
.previewImagesize {
    max-width: auto;
    max-height: 100%;
}
.input_img {
    display: none;
}
.input_file_img {
    padding: 20%;
    color: var(--color-white);
    background-color: transparent;
    cursor: pointer;
}

/* .table>:not(caption)>*>* {
    padding: 1.5rem .5rem;
    background-color: var(--bs-table-bg);
    background-image: linear-gradient(var(--bs-table-accent-bg),var(--bs-table-accent-bg));
    border-bottom-width: 1px;
} */

/* ハンバーガー */
.menu-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: var(--color-white);
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: var(--color-primary);
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

/* 画像プレビュー */
.imagePreview {
    cursor: pointer;
    width: 100%;
    height: 250px;
    text-align: center;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.3);
    /* display: inline-block; */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* datetimepicker */
/* 日曜日：赤 */
.flatpickr-calendar
    .flatpickr-innerContainer
    .flatpickr-weekdays
    .flatpickr-weekday:nth-child(7n + 1),
.flatpickr-calendar
    .flatpickr-innerContainer
    .flatpickr-days
    .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(
        .nextMonthDay
    ):nth-child(7n + 1) {
    color: red;
}

/* 土曜日：青 */
.flatpickr-calendar
    .flatpickr-innerContainer
    .flatpickr-weekdays
    .flatpickr-weekday:nth-child(7),
.flatpickr-calendar
    .flatpickr-innerContainer
    .flatpickr-days
    .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(
        .nextMonthDay
    ):nth-child(7n) {
    color: blue;
}

.flatpickr-current-month {
    display: flex;
    justify-content: center;
}

.cur-year {
    order: 1;
}

.cur-month:before {
    content: "年　";
}

.cur-month {
    order: 2;
}

.flatpickr-current-month span.cur-month {
    font-weight: 300;
    padding-top: 4px;
}

/* datetimepicker */

/* 副担当者登録関連 */
.subth {
    background: var(--color-primary-light) !important;
    width: 30%;
    color: white;
}
.subchrgth {
    background: var(--color-primary) !important;
    color: white;
}

/* 作業予定管理 */
.workscdlth {
    background: var(--color-primary) !important;
    color: white;
    text-align: center;
}

.cell-budget-history {
    padding: 0 15%;
}

.btn-budget-history {
    color: var(--color-white);
    text-decoration: underline;
    margin-left: auto;
    font-weight: bold;
}
.btn-budget-history:hover,
.btn-budget-history:focus {
    color: var(--color-white);
    text-decoration: underline;
    font-weight: bold;
}
.btn-budget-history:disabled,
.btn-budget-history.disabled {
    opacity: 0.6;
    text-decoration: none;
    cursor: not-allowed;
}

/* 予算管理履歴モーダル表示中は追加・編集モーダルをより暗く見せる */
#modal_edit_work_schedule.modal-edit-dimmed .modal-content,
#modal_add_work_schedule.modal-edit-dimmed .modal-content {
    position: relative;
}

#modal_edit_work_schedule.modal-edit-dimmed .modal-content::after,
#modal_add_work_schedule.modal-edit-dimmed .modal-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    border-radius: inherit;
}

/* 作業予定: 本文のみスクロール（form が dialog の子のため flex 縮小を明示） */
#modal_add_work_schedule .modal-dialog-scrollable .modal-content,
#modal_edit_work_schedule .modal-dialog-scrollable .modal-content {
    min-height: 0;
}
#modal_add_work_schedule .modal-dialog-scrollable .modal-body,
#modal_edit_work_schedule .modal-dialog-scrollable .modal-body {
    min-height: 0;
}

/* 履歴モーダル表示中は背面のバックドロップも少し暗くする */
body.budget-history-open .modal-backdrop.show {
    opacity: 0.7;
}

.btn-select-history {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 991px) {
    .top_05 {
        top: 0;
    }
}

@media (max-width: 960px) {
    .sp_pt {
        padding-top: 5rem;
    }
    /* .ms-sm-auto { margin-left: 10rem !important; } */
    .top_05 {
        top: 0;
    }
}

/* smartphone */
@media screen and (max-width: 767px) {
    .name-user {
        display: none;
    }
    .navbar {
        display: block !important;
    }
    .cp_sidebarmenu {
        position: absolute;
        z-index: 1000;
        top: 70px;
        bottom: 0;
        left: 0;
        overflow: hidden;
        width: 100%;
        height: max-content;
        -webkit-transition: width 0.6s ease;
        transition: width 0.6s ease;
        -webkit-transform: translateZ(0) scale(1, 1);
        border-right: 1px solid #e5e5e5;
        background: var(--color-primary);
    }
    .cp_sidebarmenu:hover {
        width: 100%;
    }
    .sp_spc_center {
        text-align: center;
    }
    tbody,
    td,
    tfoot,
    th,
    thead,
    tr {
        border-color: inherit;
        border-style: hidden;
        border-width: 0;
    }

    /* selectbox */
    .form-select {
        display: block;
        width: 100%;
        padding: 0.375rem 1.75rem 0.375rem 0.75rem;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: #212529;
        vertical-align: middle;
        background-color: #fff;
        background-image: url(
            data:image/svg + xml,
            %3csvgxmlns="http://www.w3.org/2000/svg"viewBox="0 0 16 16"%3e%3cpathfill="none"stroke="%23343a40"stroke-linecap="round"stroke-linejoin="round"stroke-width="2"d="M2 5l6 6 6-6"/%3e%3c/svg%3e
        );
        background-repeat: no-repeat;
        background-position: right 0.75rem center;
        background-size: 16px 12px;
        border: 1px solid #ced4da;
        border-radius: 0.25rem;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    .top_05 {
        top: 0;
    }
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 70%;
        margin: 1.75rem auto;
    }
    .small_modal {
        max-width: 50%;
        margin: 1.75rem auto;
    }

    .dialog_col2 {
        max-width: 70%;
        margin: 1.75rem auto;
    }
    /* .ms-sm-auto { margin-left: 10rem !important; } */
}

@media (max-width: 545px) {
    .width_10rem {
        width: 6rem;
    }
}

table {
    /* table-layout:fixed !important; */
}
th,
td {
    width: 100px !important;
    height: 30px !important;
}
th.long_th,
td.long_td {
    width: 150px !important;
    height: 30px !important;
}

.small_tbl_th th.small_tbl_th,
td.small_tbl_th {
    width: 200px !important;
    height: 30px !important;
}

th.small_tbl_short_th,
td.small_tbl_short_th {
    width: 50px !important;
    height: 30px !important;
}

.tbl_sticky {
    display: block;
    width: 100%;
    overflow-y: scroll;
    height: calc(100vh / 4);
    border-collapse: collapse;
}

.tbl_sticky_sm {
    display: block;
    width: 100%;
    overflow-y: scroll;
    height: calc(100vh / 6);
    border-collapse: collapse;
}

.tfArea {
    display: inline-block;
    position: relative;
}
.tfImg {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #eee;
    /* border     : 1px solid #777; */
    margin: 1px 3px;
    padding: 3px;
    cursor: pointer;
}
/* === フィルタボタン（カーソルオーバー時）======= */
.tfImg:hover {
    background: #ffd700;
}
/* === フィルタボタン内の画像色（SVG）============ */
.tfImg path {
    fill: #777;
}
/* === フィルタリスト ============================ */
.tfList {
    display: inline-block;
    position: absolute;
    max-width: 250px;
    min-width: 140px;
    background: #fff;
    border: 1px solid #777;
    top: 15px;
    left: 0;
    line-height: 1.1;
    font-weight: normal;
}
/* === フィルタリスト内のform ==================== */
.tfList form {
    max-height: 150px; /* 縦幅 */
    overflow: scroll;
    overflow: overflow-y;
    overflow: auto;
}
/* === フィルタリスト内のチェックボックス ======== */
.tfMeisai {
    text-align: left;
    padding: 2px;
    color: black;
}
/* === フィルタリスト内の文字位置合わせ ========== */
.tfMeisai label {
    padding: 0 10px 0 3px;
}
/* === OK/CANCELボタン =========================== */
.tfBtnArea {
    text-align: center;
    font-size: 8pt;
    padding: 3px 5px;
}
.tfBtnArea input {
    display: inline-block;
    margin: 0 5px;
}
/* === 含むボタンの入力エリア ==================== */
.tfInStr {
    padding: 5px 3px;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}
.tfInStr input {
    box-sizing: border-box;
    width: 100%;
    padding: 1px 3px;
    font-weight: normal;
    font-size: 95%;
    border: 1px solid #ccc;
}
/* === フィルタ非表示 ============================ */
#sampleTable tr[cmanFilterNone] {
    display: none;
}
/* === フィルタ非表示行と次行の間を二重線にする == */
#sampleTable tr[cmanFilterNone] + tr td {
    border-top: 3px double #777;
}
/* --- （参考）テーブル全体のスタイル指定 ------- */
#sampleTable {
    width: 100%;
    border-collapse: collapse; /* 境界線結合 */
    border-spacing: 0; /* 罫線間余白 */
    /* font-size      : 10pt;              文字サイズ */
}
/* --- ヘッダーのスタイル指定 ------------------- */
#sampleTable th {
    text-align: center; /* 文字位置   */
    font-weight: bold; /* 太文字     */
    padding: 3px 5px; /* 余白       */
    border: 1px #666666 solid; /* 罫線       */
    background: var(--color-primary-light); /* 背景色     */
    white-space: nowrap;
}
/* --- 明細のスタイル指定 ----------------------- */
#sampleTable td {
    text-align: center; /* 文字位置   */
    padding: 3px 5px; /* 余白       */
    border: 1px #666666 solid; /* 罫線       */
    white-space: nowrap;
}

#workSchedule tr[cmanFilterNone] {
    display: none;
}

#billing_check tr[cmanFilterNone] {
    display: none;
}

#work_repotr tr[cmanFilterNone] {
    display: none;
}

.pointer {
    cursor: pointer;
}

/* --- （参考）テーブル全体のスタイル指定 ------- */
.borderTable {
    width: 100%;
    border-collapse: collapse; /* 境界線結合 */
    border-spacing: 0; /* 罫線間余白 */
}
/* --- ヘッダーのスタイル指定 ------------------- */
.borderTable th {
    text-align: center; /* 文字位置   */
    font-weight: bold; /* 太文字     */
    padding: 3px 5px; /* 余白       */
    border: 1px #666666 solid; /* 罫線       */
    background: var(--color-primary-light); /* 背景色     */
    white-space: nowrap;
}
/* --- 明細のスタイル指定 ----------------------- */
.borderTable td {
    text-align: center; /* 文字位置   */
    padding: 3px 5px; /* 余白       */
    border: 1px #666666 solid; /* 罫線       */
    white-space: nowrap;
}
.flatpickr-wrapper {
    display: block !important;
}

/* dashboard notice */
.dshbrd_notice_clickable {
    cursor: pointer;
    transition: opacity 0.2s;
}
.dshbrd_notice_clickable:hover {
    opacity: 0.65;
    text-decoration: underline;
}
.dshbrd_detail_content {
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 300px;
    overflow-y: auto;
}

#day_schedule_modal_table > tbody > tr > td:first-child::before {
    content: none;
}

#day_schedule_modal_table > tbody > tr > td:first-child:hover {
    text-decoration: none;
}

#day_schedule_modal_table td {
    white-space: nowrap;
}

.dshbrd_day_card_clickable {
    cursor: pointer;
}

.dshbrd_day_card_clickable:hover .dshbrd_day_tbl_td_day,
.dshbrd_day_card_clickable:hover .dshbrd_day_tbl_td_notice {
    background-color: #f3f8fc !important;
}

.dshbrd_day_card_unreported .dshbrd_day_tbl_td_day,
.dshbrd_day_card_unreported .dshbrd_day_tbl_td_notice {
    background-color: #ffe2e2 !important;
}
