body {
    color: #4f4f4f;
    /*font-size: 1vh auto;*/
}

.main_contents {
    margin-top: 5em;
    margin-bottom: 10em;
    background: transparent;
}

.tab-content {
    background: #fefefe;
    border: 1px solid #dadada;
    border-top: none;
    padding-left: 10px;
}

::placeholder {
    color: #d0d0d0 !important;
}

/*
.form-control,
.form-select {
    / *margin-top: 0.3em;* /
}
*/

.form-select {
    color: rgb(0, 0, 0) !important;
    font-weight: 450;
}

.required {
    position: relative;
}

.required:after {
    position: relative;
    width: 3.5em;
    margin-left: 1em;
    margin-top: 0.2em;
    padding: 2px 6px 2px 6px;
    border-radius: 4px;
    font-size: 0.6em;
    color: white;
    background-color: #C44;
    content: "必須";
    min-width: max-content;
    text-wrap: nowrap;
}

input[readonly] {
    pointer-events: none;
}

.input_code {
    width: 5em;
}

.input_code_md {
    width: 8em;
}

.input_day {
    width: 5em;
    display: inline-block;
}

.input_hour {
    width: 5em;
    display: inline-block;
}

.input_minutes {
    width: 5em;
    display: inline-block;
}

.input_year input {
    width: 100px;
}

.input_day input {
    width: 120px;
}

.optional {
    padding-bottom: 2em;
}

.optional:after {
    margin-left: 1.0em;
    padding: 2px 6px 2px 6px;
    border-radius: 4px;
    font-size: 0.6em;
    color: white;
    background-color: #a2a2a2;
    content: "任意";
}

.sub_title {
    font-size: 0.4em;
    margin: 0;
    padding: 0;
}

.navbar {
    padding: 0;
    background: #ffffff;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.13);
    position: sticky!important;
    overflow: visible;
    min-height: 55px;
    height: 60px;
    display: flex;
    z-index: 101;
    align-items: center;
}


.navbar-brand {
    padding-top: 0;
}

.navbar-brand span {
    font-size: 1.2em;
}

.navbar_title small {
    padding-top: 0.5em;
    padding-left: 2.5em;
    display: block;
}

.navbar_title a {
    display: block;
}

.footer {
    background: #ffffff;
}

.valid_text {
    color: red;
    font-size: 0.8em;
    white-space: nowrap;
    margin-bottom: 0;
    z-index: 999;
}

.modal-err-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-err_text {
    font-size: 1.2em;
    white-space: nowrap;
    margin-bottom: 0;
    z-index: 999;
}

.valid_text_table {
    color: red;
    font-size: 0.8em;
    /*white-space: nowrap;*/
    /*margin-bottom: 0;*/
    /*z-index: 9999;*/
    overflow-wrap: normal;
}

.field-invalid::before {
    content: "必須入力項目です";
    display: block;
    color: red;
}

.btn_normal {
    color: #ffffff;
    background: #df4545;
    border-radius: 5px;
    width: 7vw;
    margin: 0.5em;
    padding: 8px;
    text-decoration: none;
    font-size: 1em;
}

.btn_normal:hover {
    color: #DF4545;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #DF4545;
}


/*.btn_print {
    width: 10vw;
}*/

.btn_print {
    color: #ffffff !important;
    background: #E95B1B !important;
    border-radius: 5px;
    /*margin: 0.5em;*/
    text-decoration: none;
    font-size: 1em;
}

.btn_print:hover {
    color: #E95B1B !important;
    background-color: #ffffff !important;
    text-decoration: none;
    border: 1px solid #E95B1B !important;
}

.btn_wide {
    width: 12vw;
}

.btn_transition {
    margin: 2px;
    padding: 2px;
    font-size: 1em;
}

.btn_list {
    color: #ffffff;
    background: #DF4545;
    border-radius: 5px;
    width: 8em;
    margin: 0;
    padding: 1px;
    text-decoration: none;
    font-size: 1em;
}

.btn_list:hover {
    color: #DF4545;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #DF4545;
}

.btn_list2 {
    color: #282828;
    background: #ecc4c4;
}

.btn_modal {
    color: #ffffff;
    background: #2f94cc;
    border-radius: 5px;
    margin: 5px 1px 5px 10px;
    text-decoration: none;
}

.btn_modal:hover {
    color: #2f94cc;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #2f94cc;
}

.btn_update {
    color: #ffffff;
    background: #43b102;
    border-radius: 5px;
    margin: 5px 1px 5px 10px;
    text-decoration: none;
}

.btn_update:hover {
    color: #43b102;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #43b102;
}

/*.btn_modal {
    color: #ffffff;
    background: #DF4545;
    border-radius: 5px;
    width: 6em;
    height: 2.5em;
    margin: 0;
    padding: 1px;
    text-decoration: none;
    font-size: 1em;
}


.btn_modal:hover {
    color: #DF4545;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #DF4545;
}*/

.btn_print_modal {
    /*width: 7.5em;*/
    color: #ffffff !important;
    background: #E95B1B !important;
    border-radius: 5px !important;
    text-decoration: none !important;
}

.btn_print_modal:hover {
    color: #E95B1B !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 1px solid #E95B1B !important;
}

.btn_delete {
    color: #ffffff !important;
    background: #CC4444 !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    border: #CC4444 !important;
    min-width: 10rem;
}

.btn_delete:hover {
    color: #CC4444 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #CC4444 !important;
}

.btn_clearsearch {
    color: #ffffff !important;
    background: #726f71 !important;
    border-radius: 5px !important;
    margin: 5px 1px 5px 10px !important;
    text-decoration: none !important;
}

.btn_clearsearch:hover {
    color: #726f71 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 1px solid #726f71 !important;
}

.btn_search {
    color: #ffffff !important;
    background: #E95B1B !important;
    border-radius: 5px !important;
    margin: 5px 1px 5px 10px !important;
}

.btn_search:hover {
    color: #E95B1B !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 1px solid #E95B1B !important;
}

.btn_sub-green {
    color: #ffffff !important;
    background: #44b853!important;
    border-radius: 5px !important;
    margin: 5px 1px 5px 10px !important;
}

.btn_sub-green:hover {
    color: #44b853 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 1px solid #44b853 !important;
}

.btn_sub-gray {
    color: #ffffff !important;
    background: #726f71!important;
    border-radius: 5px !important;
    margin: 5px 1px 5px 10px !important;
}

.btn_sub-gray:hover {
    color: #726f71 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 1px solid #726f71 !important;
}


.btn_modal_delete {
    color: #ffffff;
    background: #CC4444;
    border-radius: 5px;
    text-decoration: none;
}

.btn_modal_delete:hover {
    color: #CC4444;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #CC4444;
}

.btn_modal_ok {
    color: #ffffff;
    background: #2f94cc;
    border-radius: 5px;
    text-decoration: none;
}

.btn_modal_ok:hover {
    color: #2f94cc;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #2f94cc;
}

.btn_modal_cancel {
    color: #ffffff;
    background: #817e80;
    border-radius: 5px;
    width: 6em;
    height: 2.5em;
    margin: 0;
    padding: 1px;
    text-decoration: none;
    font-size: 1em;
}

.btn_modal_cancel:hover {
    color: #4e4e4e;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #817e80;
}

.btn_modal {
    color: #ffffff;
    height: 2.5em;
    background: #2f94cc;
    border-radius: 5px;
    margin: 5px 1px 5px 10px;
    text-decoration: none;
}

.btn_modal:hover {
    color: #2f94cc;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #2f94cc;
}



.table tbody tr {
    background-color: #ffffff !important;
}

.table > :not(:last-child) > :last-child > * {
  border-bottom-color: #dee2e6;
}

.table_jbca {
    /*border: solid 0.1em #b82e2e;*/
    border-color: #b82e2e;
    border-width: thin !important;

}

.table_jbca th {
    background: #bb3d3d;
    color: #ffffff;
    text-align: center;
}

.table_striped_jbca > tbody > tr:nth-child(2n+2) > td {
    /*background-color: #e4ffd0;*/
    background-color: rgb(236 249 255);
}

.table_striped_jbca > tbody > tr:nth-child(2n+1) > td {
    background-color: #ffffff;
}

.table_striped_jbca {
    padding: 0;
}

.time_input {
    width: 8em;
}

.valid_line input,
.valid_line select,
.valid_line a,
.valid_line textarea {
    border: solid 1px red !important;
    border-radius: 3px !important;
}

.table thead th {
    padding-top: 0;
    padding-bottom: 0;
}

table.dataTable thead th {
    padding: 5px 10px 5px 10px !important;
}

table.dataTable tbody td {
    padding: 5px 10px 5px 10px !important;
}

.tabel_title_text {
    color: #b82e2e;
}

.table tbody tr {
    height: 1.5em;
}

.table tbody tr td {
    padding: 0;
    height: 0.3em;
}

.table tbody tr td input,
.table tbody tr td select {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    margin: 0;
    padding: 0.3em 0 0.2em 0.5em;
}

.table tbody tr td input:focus,
.table tbody tr td select:focus {
    outline: none;
    box-shadow: none;
    background-color: #ffffff;
}

.fa-plus-circle:hover,
.fa-minus-circle:hover {
    cursor: pointer;
}

.form-check-inline > div {
    display: inline-block;
}

.form-check-inline > div > label {
    position: relative;
    margin-left: 3em;
}

.form-check-inline > div > label > input {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1.2em;
    margin: auto;
}

.thumbnail {
    width: 9vw;
    aspect-ratio: 3 / 4;
    border: solid 1px #b82e2e;
    border-radius: 3px;
}

.thumbnail_lg {
    width: 11vw;
    aspect-ratio: 3 / 4;
    border: none;
}

.thumbnail_list {
    width: 48px;
    aspect-ratio: 3 / 4;
}

.crop_image {
    width: 250px;
    font-size: 0;
}

.flex {
    display: flex;
    margin-top: 0.1em;
    padding-left: 0;
}

.flex label {
    display: block;
    background-color: #BB3D3D;
    color: #ffffff;
    width: 7.5em;
    height: 2.3em;
    border: solid 1px #b82e2e;
    padding: 0.3em 0.5em 0.1em 0.5em;
    margin-right: 0.1em;
    font-size: 0.9em;
}

.flex_m label {
    width: 10em;
}

.flex div {
    background-color: transparent;
    width: 65%;
    height: 2.1em;
    border: solid 1px #b82e2e;
    padding: 0.2em 0.5em 0.2em 0.5em;
    margin-right: 0.1em;
}

.flex select {
    background-color: transparent;
    /*width: 65%;*/
    height: 2.1em;
    border: solid 1px #b82e2e;
    padding: 0.2em 0.5em 0.2em 0.5em;
    margin-right: 0.1em;
    margin-top: 0;
}

.flex input[type="text"],
.flex input[type="date"] {
    background-color: transparent;
    width: 65%;
    height: 2.1em;
    border: solid 1px rgba(53, 124, 0, 0.78);
    padding: 0.2em 0.5em 0.2em 0.5em;
    margin-right: 0.1em;
    margin-top: 0;
}

.flex .item_lg {
    width: 15em;
}

.flex .item_lg span:nth-child(3) {
    float: right;
    margin-right: 1.5em;
}

.nav-tabs .nav-item {
    width: 120px;
    font-size: 15px;
    text-align: center;
    white-space: nowrap;
    /*border: solid 1px #b82e2e;*/
    /*border-radius: 5px;*/
}

@media (max-width: 601px) {
    .nav-tabs .nav-item {
        width: 100%;
    }
}

@media (max-width: 601px) {
    #juuji_tab {
        width: 100% !important
    }
}

.flex .row_3 {
    height: 7.3em !important;
    width: 100%;
    text-align: left;
    padding-top: 3em;
}

.flex_radio {
    width: 11em;
}

.flex_radio div {
    padding-top: 0;
    padding-left: 0;
    margin-right: 0;
}

.flex_radio div label {
    padding-left: 0;
    margin-left: 1.5em;
}

.name_lg {
    width: 15em;
}

.name_lg span {
    font-size: 2vw;
}

.search_item label {
    padding: 0.7em 0 0 0.3em;
    width: 15em;
}

.search_item2 label {
    padding: 0.7em 0 0 0.3em;
    /*width: 15em;*/
}

.tbl_input {
    background: transparent;
    vertical-align: middle;
    text-align: left;
    width: 100%;
    border: 1px solid #2f94cc;
    border-radius: 0.25rem;
}

.tbl_input:focus {
    outline: 0;
    border-color: #2f94cc;
    box-shadow: 0 0 0 0.1rem rgba(47, 148, 204, 0.2);
}

.table {
    --keibi-table-selected-bg: rgba(255, 230, 204, 0.9);
    --bs-table-hover-bg: transparent;
    --bs-table-hover-color: inherit;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    background-color: inherit !important;
}

table.dataTable.table-hover > tbody > tr:hover > *,
table.dataTable.hover > tbody > tr:hover > *,
table.dataTable.display > tbody > tr:hover > * {
    box-shadow: inset 0 0 0 9999px transparent !important;
    color: inherit !important;
    background-color: inherit !important;
}

.table > tbody > tr:focus-within > td,
.table > tbody > tr.row-active > td,
.table > tbody > tr.row-selected > td,
.table > tbody > tr.selected > td,
table.dataTable > tbody > tr:focus-within > td,
table.dataTable > tbody > tr.row-active > td,
table.dataTable > tbody > tr.row-selected > td,
table.dataTable > tbody > tr.selected > td {
    background-color: var(--keibi-table-selected-bg) !important;
    box-shadow: inset 0 0 0 9999px var(--keibi-table-selected-bg) !important;
    color: #212529 !important;
}

.table > tbody > tr:focus-within > td.fixed-column,
.table > tbody > tr.row-active > td.fixed-column,
.table > tbody > tr.row-selected > td.fixed-column,
.table > tbody > tr.selected > td.fixed-column,
table.dataTable > tbody > tr:focus-within > td.fixed-column,
table.dataTable > tbody > tr.row-active > td.fixed-column,
table.dataTable > tbody > tr.row-selected > td.fixed-column,
table.dataTable > tbody > tr.selected > td.fixed-column {
    background-color: var(--keibi-table-selected-bg) !important;
}

table.dataTable.display tbody tr:hover > .sorting_1,
table.dataTable.display tbody tr:hover > .sorting_2,
table.dataTable.display tbody tr:hover > .sorting_3,
table.dataTable.order-column.hover tbody tr:hover > .sorting_1,
table.dataTable.order-column.hover tbody tr:hover > .sorting_2,
table.dataTable.order-column.hover tbody tr:hover > .sorting_3 {
    box-shadow: inset 0 0 0 9999px transparent !important;
    background-color: inherit !important;
}

.table > tbody > tr:focus-within > * input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
.table > tbody > tr:focus-within > * select,
.table > tbody > tr:focus-within > * textarea,
.table > tbody > tr.row-active > * input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
.table > tbody > tr.row-active > * select,
.table > tbody > tr.row-active > * textarea,
table.dataTable > tbody > tr:focus-within > * input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
table.dataTable > tbody > tr:focus-within > * select,
table.dataTable > tbody > tr:focus-within > * textarea,
table.dataTable > tbody > tr.row-active > * input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]),
table.dataTable > tbody > tr.row-active > * select,
table.dataTable > tbody > tr.row-active > * textarea {
    background-color: rgba(255, 248, 240, 0.92) !important;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 20px;
    white-space: nowrap;
}

#jquery-ui-autocomplete label {
    float: left;
    margin-right: 0.5em;
    color: black;
    font-size: 15px;
}

select:invalid {
    color: #bbb;
}

/*select option {*/
/*    color: black;*/
/*}*/

select option:first-child {
    color: #bbb;
}

.form-select {
    color: #b6b5b5;
}

.ui-autocomplete-input {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.tbl_input:read-only:hover {
    cursor: not-allowed;
}

.table tbody td input,
.table tbody td select,
.table tbody td textarea,
.table tbody td button,
.table tbody td a,
.table tbody th input,
.table tbody th select,
.table tbody th textarea,
.table tbody th button,
.table tbody th a,
table.dataTable tbody td input,
table.dataTable tbody td select,
table.dataTable tbody td textarea,
table.dataTable tbody td button,
table.dataTable tbody td a,
table.dataTable tbody th input,
table.dataTable tbody th select,
table.dataTable tbody th textarea,
table.dataTable tbody th button,
table.dataTable tbody th a {
    cursor: default !important;
}

.table tbody td input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]),
.table tbody td textarea,
.table tbody th input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]),
.table tbody th textarea,
table.dataTable tbody td input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]),
table.dataTable tbody td textarea,
table.dataTable tbody th input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="file"]),
table.dataTable tbody th textarea {
    caret-color: transparent;
}

.form-check-label:hover,
input[type=checkbox]:hover {
    cursor: pointer;
}

.taiin_select_link {
    text-decoration: underline;
    color: #002080;
}

.taiin_select_link:hover {
    cursor: pointer;
}

.haichi_select_link,
.tokui_select_link {
    text-decoration: underline;
    color: #002080;
}

.haichi_select_link,
.tokui_select_link:hover {
    cursor: pointer;
}

#kenshin_table thead tr th:nth-child(6),
#kenshin_table thead tr th:nth-child(7) {
    border-right: none;
}

#kenshin_table thead tr th:nth-child(8) {
    border-left: none;
}

.text_inline {
    display: flex;
}

/*number inputの上下矢印を消す*/
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[name="prt_busu"]::-webkit-outer-spin-button,
input[name="prt_busu"]::-webkit-inner-spin-button {
    -webkit-appearance: inner-spin-button !important;
}

.table_th_disable {
    pointer-events: none;
}

.table_th_disable:hover {
    cursor: not-allowed;
}

.label_search {
    margin: 0.5em 0.3em 0.3em 0.3em;
    /*text-align: justify;*/
    /*text-align-last: justify;*/
    /*white-space:inherit;*/
    font-size: 1em;
}

.tilde {
    padding-top: 0.7em;
    width: 1em;
    margin-right: 0.7em;
}

.text_lg {
    font-size: 1.5em;
    font-weight: bold;
}

.tab_header {
    /*background: #BDD7EE;*/
    width: 100%;
    padding: 0.3em 1em 0.3em 1em;
    margin-top: 1em;
}

.tab_header span {
    color: #521818;
    font-weight: bold;
    font-size: 1.2em;
}

.tab_header_sm {
    background: #dcfde1;
    width: 91.7%;
    padding: 0.3em 1em 0.3em 1em;
    margin-top: 1em;
}

.tab_header_sm span {
    color: #521818;
    font-weight: bold;
    font-size: 1.2em;
}

.photo_container {
    width: 80em;

}

.photo_item {
    float: left;
}

.photo_item label {
    display: flex;
    flex-direction: column;
    border: 1px solid #b82e2e;
    border-radius: 2px;
    padding: 0;
    margin-top: 3px;
    margin-right: 3px;
}


.photo_item_info {
    background-color: rgba(169, 0, 0, 0.91);
    width: 50px;
}

.photo_item_info small {
    color: #ffffff;
}

.photo_item_date {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 縦方向の中央揃え */
}

.photo_item_date small {
    flex-grow: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.photo_item_date button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #CC4444;
}

.photo_item_date small {
    font-size: 9pt;
}

/*郵便番号のinput*/
.zip_input {
    width: 7.5em;
    text-align: center;
}

/*日付のinput*/
.date_input {
    width: 12em;
}

/*現住所コピーアイコン*/
.copy_address:hover {
    cursor: pointer;
}


/* 印刷用モーダル start */
.modal-print {
    max-width: 1000px;
}

.modal_title_bar {
    background: #e0ffe5;
    width: 100%;
    padding: 0.3em 1em 0.3em 1em;
    margin-top: 1em;
}

.sub_title_bar {
    background: #e5e5e5;
    width: 100%;
    padding: 0.3em 1em 0.3em 1em;
    margin-top: 1em;
}

.inline_radio {
    display: inline-block;
}

/* 印刷用モーダル end */


/* 参照用 (disable時) start */
input:disabled {
    border: none;
    background: #ffffff;
}

.form-control:disabled {
    border: none;
    background: #ffffff;
    border-bottom: 1px #DF4545 solid;
    border-radius: 0;
}

.btn_disabled {
    cursor: not-allowed;
    background: #ffffff;
}

select:disabled {
    border: none;
    background: #ffffff;
}

.form-select:disabled {
    border: none;
    background: #ffffff;
    border-bottom: 1px #DF4545 solid;
    border-radius: 0;
}

.disabled_extra {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    cursor: not-allowed;
    border-radius: 5px !important;
    color: rgba(0, 0, 0, 0.1) !important;;

}

.disabled_extra option:first-child {
    color: #bbb !important;
}

/* 参照用 (disable時) end */

div.outer {
    display: table; /* ① */
    width: 100%; /* ② */
}

div.vertical_middle {
    display: table-cell; /* ④ */
    vertical-align: middle; /* ⑤ */
}

div.vertical_middle p.inner {
    margin: 0;
}

.mst_header thead tr th {
    padding-bottom: 0.2em;
    /*width: 7em;*/
    width: 10em;
}

.mst_header thead tr td {
    background: #fffee9;
}

.ui-autocomplete {
    z-index: 2147483647;
}

.jigen_td {
    width: 7em;
}

.jigen {
    width: 3em;
    background: transparent;
    text-align: center;
}

#jisshibo_table tbody tr td {
    padding-top: 0.3em;
    padding-bottom: 0.2em;
}

#jugyo_table tbody tr td input {
    font-size: 0.9em;
}

.select_list {
    width: 100%;
    height: 100%;
    background-color: transparent;
}

/*.select_list:hover,*/
.select_list:focus {
    font-weight: bold;
    border-color: #86b7fe;
}

/*#mst_01300_table thead tr th {
    border-bottom: 1px solid #0c4128;
}*/

#mst_01300_table tbody tr td input {
    margin-top: 10px;
}

#id_kb_kyoiku {
    padding-left: 0;
}

#id_kb_kyoiku label {
    text-align: left;
    width: 50px;
}

#id_kb_kyoiku label:nth-child(1) {
    margin-left: 5px;
    margin-right: 30px;
}

#id_kb_kyoiku label input {
    padding-bottom: 50px;
}

#id_kb_kyoiku label input[type="radio"] {
    position: relative;
    top: 5px;
    left: 0;
}

.pw-reset {
    border-radius: 5px;
    background: #FFF;
    box-shadow: 7px 10px 18px 6px rgba(0, 0, 0, 0.25);
    padding: 20px 50px;
}

/*.con_title {
    color: #1D9E48;
    text-align: center;
}*/

.top_nav {
    width: 100%;
    height: 7px;
    background: #2f94cc;
    z-index: 600;
    top: 0;
    position: fixed;
}

/*login scrreen*/

.btn_login {
    color: #ffffff;
    /*background: #DF4545;*/
    background: #2f94cc;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
}

.btn_login:hover {
    color: #ffffff;
    background-color: #95c8e4;
    text-decoration: none;
}

/* Create two equal columns that floats next to each other */
.column {
    float: right;
    width: 50%;
    padding: 0;
}

/* Clear floats after the columns */


.column-top {
    padding: 10px 0;
    text-align: center;
    margin-top: -20px;
}


.login_form {
    top: 10px;
    margin: 40px auto;
    width: 750px;
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px 6px #74747485;
    height: 470px;
    padding: 20px 30px;
}

@media (max-width: 980px) {
    .login_form, .column {
        width: 100% !important;
        height: auto;
    }
}

#random_img {
    margin-top: 10px;
    width: 90%;
    float: inline-end;
    margin-right: 8px;

}

@media (max-width: 980px) {
    #random_img {
        float: right;
        margin-bottom: -20px;
        width: 50%;
    }
}

.recruit_q {
    margin-top: 20px;
}

.recruit_q_click, .pw_res a {
    color: #2f94cc !important;
}

.pw_res a:hover {
    color: #91d8ff !important;
}

.recruit_q_click:hover {
    color: #91d8ff !important;
}


/*login scrreen*/

.sidedrop-btn {
    border: 0;
}

.dropbtn {
    border: none;
    cursor: pointer;
    font-size: x-large;
    padding: 0;
    background-color: transparent;
}

.dropbtn:hover, .dropbtn:focus {
    opacity: 80%;

}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    padding-right: 8px;
    overflow: visible;
}

.navbar-board-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #aeb7c4;
    border-radius: 8px;
    background: #ffffff;
    color: #5a6578;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.navbar-board-link:hover {
    background: #f7f9fc;
    border-color: #8f9aae;
    color: #4d5870;
}

.navbar-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5f6878;
    font-size: 30px;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.navbar-icon-btn:hover,
.navbar-icon-btn:focus-visible {
    background: #f4f6fa;
    color: #495466;
}

.navbar-icon-btn i {
    line-height: 1;
}

.navbar-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.navbar-icon-svg svg {
    display: block;
}

.navbar-bell-icon svg {
    width: 24px;
    height: 24px;
}

.navbar-dots-icon svg {
    width: 20px;
    height: 20px;
}

.navbar-notification-btn {
    cursor: pointer;
}

.navbar-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #2a73ff;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.navbar-badge-hidden {
    display: none;
}

.navbar-notification {
    position: relative;
    overflow: visible;
}

.navbar-menu {
    position: relative;
    overflow: visible;
}

header,
.navbar .navbar-nav,
.navbar .dropdown {
    position: relative;
    overflow: visible;
}

.navbar.navbar-overlay-active,
nav.navbar.navbar-expand-lg.navbar-light.bg-lightshadow.navbar-overlay-active {
    z-index: 2147483647 !important;
    overflow: visible !important;
}

.navbar.navbar-overlay-active .navbar-actions,
.navbar.navbar-overlay-active .navbar-notification,
.navbar.navbar-overlay-active .navbar-menu,
.navbar.navbar-overlay-active .dropdown {
    position: relative;
    z-index: 2147483647 !important;
    overflow: visible !important;
}

#myDropdown,
.notification-panel {
    position: fixed !important;
    top: 64px !important;
    right: 12px !important;
    left: auto !important;
    z-index: 2147483647 !important;
    max-height: calc(100vh - 76px);
}

.navbar-menu-toggle {
    cursor: pointer;
}

.navbar-menu-toggle.dropdown-toggle::after {
    display: none;
}

.notification-panel {
    width: min(348px, calc(100vw - 24px));
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
    overflow: visible;
}

.notification-panel-header {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    border-bottom: 1px solid #dfe5ec;
    color: #435167;
    font-size: 18px;
    font-weight: 700;
}

.notification-close-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5f6878;
    font-size: 22px;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.notification-close-btn:hover,
.notification-close-btn:focus-visible {
    background: #f4f6fa;
    color: #465164;
}

.notification-panel-body {
    min-height: 0;
    max-height: calc(100vh - 142px);
    overflow-y: auto;
    background: #ffffff;
}

.notification-panel-empty {
    padding: 20px 18px;
    color: #7a8699;
    font-size: 13px;
    font-weight: 400;
}

.notification-item {
    display: block;
    padding: 14px 18px 16px;
    border-bottom: 1px solid #e8edf3;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.18s ease;
}

.notification-item:hover {
    background: #f8fafc;
    color: inherit;
}

.notification-item.is-unread {
    background: #fffbea;
}

.notification-item.is-read {
    background: #ffffff;
}

.notification-item.is-read .notification-date,
.notification-item.is-read .notification-label,
.notification-item.is-read .notification-title,
.notification-item.is-read .notification-excerpt {
    color: #bcc4cf;
}

.notification-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.notification-date {
    color: #7b8798;
    font-size: 13px;
    font-weight: 600;
}

.notification-label {
    color: #a1acbb;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.notification-title {
    margin-bottom: 6px;
    color: #3c475a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.notification-excerpt {
    color: #6d798c;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 220px;
    overflow: auto;
    box-shadow: 0 16px 32px rgba(31, 41, 55, 0.16);
    z-index: 1;
    border-radius: 12px;
    border: 1px solid #e5eaf1;
    font-size: 14px;
    top: calc(100% + 10px);
    right: 0;
    padding: 8px 0;
}

.app-menu-dropdown {
    width: 260px;
    min-width: 260px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 14px 16px 12px;
    border-radius: 14px;
    border-color: #dfe5ec;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.app-menu-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 4px 8px;
}

.app-menu-avatar {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #29438f;
    color: #ffffff;
}

.app-menu-profile-text {
    min-width: 0;
}

.app-menu-company {
    color: #68758c;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
}

.app-menu-user {
    color: #5a667d;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
    word-break: break-word;
}

.app-menu-divider {
    height: 1px;
    margin: 8px 0;
    background: #e6ebf1;
}

.app-menu-section {
    display: flex;
    flex-direction: column;
}

.app-menu-link {
    display: block;
    padding: 12px 4px;
    color: #5b6880;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.app-menu-link:hover {
    color: #354257;
}

.dropdown-item.app-menu-link {
    white-space: normal;
}

.dropdown-item.app-menu-link:hover,
.dropdown-item.app-menu-link:focus {
    background: #d0e8f3;
    color: #004872;
}

.app-menu-link-disabled {
    color: #6f7b8f;
    cursor: default;
}

.app-menu-link-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-menu-link-mark {
    flex: 0 0 22px;
    width: 22px;
    display: inline-flex;
    justify-content: center;
    color: #66748c;
    font-size: 18px;
}

.app-menu-logout {
    cursor: pointer;
}

.dropdown-content a:not(.app-menu-link),
.dropdown-content .nav-link {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    color: #364152;
}

.dropdown-content a:not(.app-menu-link):hover,
.dropdown-content .nav-link:hover {
    background: #d0e8f3;
    color: #004872;
}

#link_logout {
    cursor: pointer;
}

.dropdown a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}

.dboard-notice {
    float: left;
    width: 100%;
    background: white;
}

.search_input {
    display: flex;
}

.search_input label {
    text-align: center;
    border: 1px solid #b82e2e;
    background-color: #BB3D3D;
    color: #ffffff;
    width: 100px;
    padding: 3px 2px 2px 4px;
    margin-left: 12px;
}

.search_input input {
    text-align: center;
    width: 120px;
}

@media (min-width: 601px) {
    .dboard-notice {
        width: 66.66666%;
        padding: 0 8px
    }
}

.dashboard {
    text-decoration: none !important
}

.dashboard:hover {
    cursor: pointer;
}

#btn_taiin_search, #btn_haichi_search, #btn_tokui_search {
    color: #ffffff;
    /*background: #726f71;*/
    background: #E95B1B;
    border-radius: 5px;
    width: 5vw;
    font-size: 15px;
    text-decoration: none;
}

@media (min-width: 320px) {
    #btn_haichi_search, #btn_tokui_search, #btn_taiin_search {
        white-space: nowrap;
        overflow: hidden;
        display: inline-block;
        min-width: 100px;
    }
}

#btn_taiin_search:hover, #btn_haichi_search:hover, #btn_tokui_search:hover {
    color: #E95B1B !important;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #E95B1B;
}

.table thead {
    /*background-color: #0F68BC;*/
    background-color: #2f94cc;
    color: white;
    /*font-size: 1.8vh;*/
    font-size: 13px;
    vertical-align: middle;
}

.table_edit_icon tbody tr td a {
    color: #2f94cc;
    font-size: small;
}

.table_edit_icon button.btn {
    color: #2f94cc;
    font-size: small;
}

.grey-striped tbody tr:nth-child(even) {
    background-color: #f1f1f1
}

/*お知らせテーブル*/

.notice_table {
    width: 100% !important
}

@media (max-width: 767.98px) {
    .notice_table {
        width: 100% !important;
    }
}

@media (max-width: 900px) {
    .notice_table {
        width: 100% !important;
    }
}

#notice_table {
    border-collapse: collapse;
    overflow-y: auto;
    height: 200px;
    display: block;
    border: .2px solid rgb(217, 217, 217);
}

#notice_table td, #notice_table th {
    /*border: 0.5px solid #ebebeb;*/
    padding: 10px;
}

#notice_table tr:nth-child(even) {
    background-color: #f2f2f2;
}

#notice_table tr:nth-child(even) {
    background-color: #9df7602e;
}

#notice_table tr:hover {
    background-color: #cfcfcf46;
}

#notice_table tr {
    padding: 30px;
}

#notice_table th {
    position: sticky;
    padding-top: 14px;
    padding-bottom: 12px;
    text-align: left;
    color: rgb(91, 4, 4);
    border-bottom: 3px solid rgb(189, 42, 42);
    top: 0;
    background-color: #fff;
}


/*お知らせテーブル*/

/*.kp-container {
    padding: 0.01em 16px
}

.kp-main {
    transition: margin-left .4s;
}

@media (max-width: 1200px) {
    .kp-main {
        margin-left: 70px !important;
        margin-right: -13px !important
    }
}

.kp-container:after, .kp-container:before {
    content: "";
    display: table;
    clear: both
}
*/

.kp-main-margin {
    margin-left: 21px
}

/* ラジオボタン 横並び*/
.inline_radio div {
    display: flex;
    align-items: center;
}

.inline_radio div div {
    margin-top: 8px;
    margin-right: 40px;
}

/* ラジオボタン 横並び*/


.prt_option5 {
    margin-top: 30px;
    margin-left: 30px;
    border: 2px solid #a92b2b;
    border-radius: 10px;
    width: 250px;
    position: relative;
    padding: 20px 10px 10px 10px;
}

.prt_option5 span {
    position: absolute;
    padding-left: 10px;
    padding-right: 10px;
    top: -13px;
    left: 20px;
    background-color: #ffffff;
}

#id_prt_option5 {
    margin-left: 20px;
}

#id_prt_option5 div {
    margin-bottom: 5px;
}

#kyoiku_table thead tr th {
    padding: 5px 1px 5px 1px !important;
}

.batch_set_area {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    margin: 10px 30px 5px 11px;
    padding: 10px 0 10px 10px;
    width: 750px;
}

.btm-100 {
    padding-bottom: 100px
}

.btn_back {
    color: #ffffff;
    background: #6c757d;
    border-radius: 5px;
    width: 8vw;
    margin: 5px 1px 5px 10px;
    text-decoration: none;
    min-width: min-content;
}

.btn_back:hover {
    color: #6c757d !important;
    background-color: #ffffff;
    text-decoration: none;
    border: 2px solid #6c757d;
}

@media (min-width: 320px) {
    .btn_back {
        white-space: nowrap;
        overflow: hidden;
        display: inline-block;
    }
}

@media (min-width: 700px) {
    .btn_back {
        white-space: nowrap;
        overflow: hidden;
        display: inline-block;
    }
}

.navbar_title #brand-logo {
    width: 50%;
}

@media (max-width: 992px) {
    .navbar_title #brand-logo {
        width: 120px;
    }
}

@media (max-width: 767.98px) {
    #tab_area {
        padding-left: 30px;
    }
}

@media (max-width: 767.98px) {
    #taiinview-left {
        min-width: 200px;
    }
}

@media (max-width: 767.98px) {
    .tab-content #tab1 .btn {
        min-width: 80%;
    }
}

.form-check-input:checked + label, .form-check-input:checked + span {
    color: #CC4444;
}

input[type=radio]:checked + label {
    color: #CC4444 !important;
}

.btn_top {
    /*top: 65px;*/
    top: 64px;
    position: sticky;
    z-index: 10;
    background: white;
}

hr {
    margin-top: 5px !important;
    margin-left: -15px;
}

#kyoiku_table:hover {
    cursor: pointer;
}

#notice_table:hover {
    cursor: pointer;
}

.prevnxt_btn {
    background-color: #e8e8e8;
    color: black;
    text-decoration: none;
    font-size: larger;
    padding: 2px 14px 4px 14px;
}

.prevnxt_btn:hover {
    background-color: #DF4545;
    color: #ffffff;
}

#kyoiku_table:hover {
    cursor: pointer;
}

.tooltip-inner {
    background-color: rgba(255, 255, 255);
    color: red;
    font-size: 7px;
    border: solid 1px rgba(255, 0, 0, 0.62);
}

.prevnxt_btn:focus, .prevnxt_btn:active {
    background-color: #DF4545;
    color: white;
    text-decoration: none;
}

.password_area {
    position: relative;
}

.password_view {
    border: none;
    background-color: transparent;
    position: absolute;
    top: 35px;
    right: 0;
    font-size: 17px;
}

.password_input,
.password_input2 {
    position: relative;
}

.password_input span {
    position: absolute;
    color: red;
    font-size: 10px;
    right: 30px;
    top: 5px;
}

.password_input2 span {
    position: absolute;
    color: red;
    font-size: 10px;
    left: 14px;
    top: -10px;
}

#btn_print_keibinaiyo, #keibinaiyo_updt {
    width: 180px;
}

#btn_print_kenshin {
    width: max-content;
}

.message_bar .btn-close {
    z-index: 0;
}

.message_bar {
    width: 97%;
    padding-left: 12px;
}

.min-w {
    min-width: fit-content;
}

#id_dt_birthday::-webkit-calendar-picker-indicator {
    display: none;
}

.taiin_date {
    width: 140px;
}

#btn_return_taiin, #btn_return_haichi, #btn_return_tokui {
    color: #ffffff;
    background: #DF4545;
    border-radius: 5px;
    margin: 5px 1px 5px 10px;
    text-decoration: none;
}

#btn_return_taiin:hover, #btn_return_haichi:hover, #btn_return_tokui:hover {
    color: #DF4545;
    background-color: #ffffff;
    text-decoration: none;
    border: 1px solid #DF4545;
}

.breadcrumb-item a {
    color: #4e4e4e;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #DF4545 !important;
    text-decoration: none;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item.active {
    color: rgb(165, 165, 165);
}

.breadcrumb-item .fw-bold {
    color: #4e4e4e;
    text-decoration: none;
}

.btn_top_print {
    color: #ffffff !important;
    background: #E95B1B !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    min-width: 10rem;
}

.btn_top_print:hover {
    color: #E95B1B !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #E95B1B !important;
}

.btn_send_mail {
    min-width: 5rem;
}

.btn_top_clear {
    color: #ffffff !important;
    background: #726f71 !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    min-width: 10rem;
}

.btn_top_clear:hover {
    color: #726f71 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #726f71 !important;
}

.btn_top_search {
    color: #ffffff !important;
    background: #E95B1B !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    min-width: 10rem;
}

.btn_top_search:hover {
    color: #E95B1B !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #E95B1B !important;
}


.btn_redo {
    color: #ffffff !important;
    background: #726f71 !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.btn_redo:hover {
    color: #726f71 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 1px solid #726f71 !important;
}

/*TOPページ｜お知らせ start */
.wp_content {
    display: none;
}

.nav-open {
    padding: 10px;
    color: #6b1b1b;
    font-size: 20px;
    font-weight: 800;
    position: relative;
    cursor: pointer;
}

.nav-open::before { /* 閉じている時 */
    content: "＋";
    position: absolute;
    left: 0;
    top: 0;
}

.nav-open.active::before { /* 開いている時 */
    content: "－";
}

.information_title {
    margin-left: 10px;
    font-size: 20px;
    font-weight: 600;
}

.information_title + hr {
    margin-left: 10px;
    margin-right: 14%;
}

#information_contents {
    margin: 30px 0 80px 80px;
}

#information_contents div {
    display: inline-block;
}

#information_contents div:nth-child(1) {
    letter-spacing: 1px;
    font-size: 17px;
}

#information_contents div a {
    text-decoration: none;
    color: #2b2b2b;
    font-size: 17px;
}

#information_contents hr {
    margin-right: 15%;
}

#information_contents div.wp_content {
    margin-left: 120px;
    display: block;
    clear: both;
}

.article-header div:nth-child(1) {
    width: 120px;
    float: left;
}

.article-header div:nth-child(2) {
    width: 400px;
}

.wp-article div:nth-child(2) {
    display: block;
}

.wp_content {
    padding-top: 20px;
    padding-bottom: 20px;
}

.wp_content h2 {
    font-size: 13px;
    font-weight: 550;
    margin-top: 5px;
}

.wp_content p {
    font-size: 12px;
    width: 80%;
}

/*TOPページ｜お知らせ end */

/* 日付コントロールにクリアボタンを付与する start */
.date-container {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

.clear-date {
    position: absolute;
    right: 50px;
    top: 26px;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
    font-size: 13px;
}

/* 日付コントロールにクリアボタンを付与する end */

.fa-times-circle {
    position: inherit;
    top: -10px;
    color: #be6d6d;
}

.page-item.active .page-link {
    z-index: -1 !important;
}

/*.nav-tabs {
    top: 120px;
    position: sticky;
    z-index: 1;
    background: white;
}

@media (max-width: 760px) {
    .nav-tabs {
        top: 210px;
    }
}*/

.header-fix-1 {
    top: 163px;
    position: sticky;
    z-index: 1;
    background: white;
}

@media (max-width: 760px) {
    .header-fix-1 {
        top: 243px;
    }
}

.header-fix-2 {
    top: 121px;
    position: sticky;
    z-index: 1;
    background: white;
}

@media (max-width: 760px) {
    .header-fix-2 {
        top: 254px;
    }
}

.header-fix-3 {
    top: 165px;
    position: sticky;
    z-index: 1;
    background: white;
}

@media (max-width: 760px) {
    .header-fix-3 {
        top: 336px;
    }
}

#mst_jisshibo_header thead tr td {
    color: #4f4f4f;
}

#mst_table_wrapper .row.mb-1 {
    top: 121px;
    position: sticky;
    z-index: 0;
    background: white;
}

@media (max-width: 760px) {
    #mst_table_wrapper .row.mb-1 {
        top: 164px;
    }
}

.kengen_header {
    /*top: 120px;*/
    top: 65px;
    position: sticky;
    z-index: 0;
    background: white;
}

@media (max-width: 760px) {
    .kengen_header {
        top: 164px;
    }
}

/*pagination offの場合使用*/

.header-fix-4 {
    top: 157px;
    position: sticky;
    z-index: 1;
    background: white;
}

@media (max-width: 760px) {
    .header-fix-4 {
        top: 202px;
    }
}

#kenshin_table_wrapper .row.mb-1 {
    top: 120px;
    position: sticky;
    z-index: 1;
    background: white
}

@media (max-width: 760px) {
    #kenshin_table_wrapper .row.mb-1 {
        top: 165px;
    }
}

#kujo_table_wrapper .row.mb-1 {
    top: 121px;
    position: sticky;
    z-index: 1;
    background: white;
}

@media (max-width: 760px) {
    #kujo_table_wrapper .row.mb-1 {
        top: 164px;
    }
}

.db_circle {
    width: 270px !important;
    position: relative;
}

.db_title {
    position: absolute;
    top: -30px;
    left: 95px;
    font-size: 15pt;
}

.db_percent {
    position: absolute;
    top: 92px;
    left: 90px;
    font-size: 35pt;
}

.db_percent::after {
    content: '%';
}

#db_percent1 {
    color: #48f;
}

#db_percent2 {
    color: #f88;
}

.db_start {
    margin-top: 18px;
    margin-left: 10px;
    font-size: 15pt;
}

.dashboard_value {
    margin-left: 10px;
    margin-right: 10px;
    font-size: 15pt;
    display: flex;
    justify-content: space-between;
}

.dashboard_value span {
    flex: 1;
    text-align: left; /* 左端に配置 */
}

.dashboard_value span:last-child {
    text-align: right; /* 右端に配置 */
    font-weight: 500;
}

.required-2:after {
    position: relative;
    width: 3.5em;
    margin-left: 1em;
    margin-top: 0.2em;
    padding: 2px 6px 2px 6px;
    border-radius: 4px;
    font-size: 0.6em;
    color: white;
    background-color: #C44;
    content: "いずれか必須";
    min-width: max-content;
}

#link_logout {
    color: black;
}

#link_logout:hover {
    background: #d0e8f3;
    cursor: pointer;
    color: #004872;
}

.btn_set {
    color: #ffffff !important;
    background: #FFC000 !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    border: #FFC000;
    min-width: 10rem;
}

.btn_set:hover {
    color: #FFC000 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #FFC000 !important;
}

.btn_select_all {
    color: #ffffff !important;
    background: #2f94cc !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    border: #2f94cc;
    margin: 5px 1px 5px 10px !important;
}

.btn_select_all:hover {
    color: #2f94cc !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 1px solid #2f94cc !important;
}

.manual_login a {
    color: #2f94cc !important;
    float: inline-end;
    position: inherit;
    font-size: large;
}

.modal_manual a {
    color: #2f94cc !important;
    float: right;
    font-size: large;
    margin-top: -33px;
    margin-right: 17px;
}

.version_no {
    font-size: 13px;
    float: right;
    margin-top: -27px;
    margin-right: 55px;
}

@media (max-width: 980px) {
    .version_no {
        margin-top: -26px;
        margin-right: -76px;
    }
}

.column-top img {
    width: 30%;
    margin-left: 35px;
}

@media (max-width: 980px) {
    .column-top img {
        width: 50% !important
    }
}

.card_kyoiku_setting {
    padding-left: 12px;
    padding-right: 12px;
}

/* アップロードボタンのスタイルを無効にする */
label > .file_import {
    display: none;
}

#loading {
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.8;
    z-index: 9999;
}

#loading .loadingMsg {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-top: 140px;
    background: url("../img/icon_loader_f_ww_01_s1.gif") center center no-repeat;
    z-index: 9999;
}

/*ページネーション*/
.pagination-area {
    display: flex;
    align-items: flex-start;
    /*justify-content: space-between;*/
}

.pagination-info {
    margin-left: 5px;
    margin-top: 17px;
    margin-right: 30px;
}

.pagination {
    /*display: flex;*/
    /*justify-content: flex-start;*/
    margin-top: 10px;
    margin-right: 10px;
}

.page-current {
    background-color: #4141ff;
    color: #ffffff;
}

.text-kb-red{
    color: #2f94cc!important;
}

.btn_map {
    /*width: 10em;*/
    width: 94%;
    background-color: rgb(255, 216, 177);
    border-radius: 25px;
    box-shadow: 0.03em 0.03em 0.03em;
    /*height: 2.3em;*/
    height: 1.71em;
    color: #585757;
    vertical-align: top;
    display: inline-block;
}

.btn_map:hover {
    background-color: rgb(255, 192, 192);
    transition: background-color 2s;
    color: white;
}

.btn_jbca_xs {
    height: 1.7em;
    width: 3em;
    padding: 0;
    vertical-align: top;
}

.btn_jbca_xs span {
    font-size: 0.8em;
}

/* カレンダー選択の設定 start */
.calendar_erea {
    margin: auto;
    width: 100%;
    display: block;
    text-align: center;
    position: relative;
}

.tbl_calendar {
    width: 100%;
}

.tbl_calendar table {
    width: 100%;
}

.div_calendar {
      display: inline-block;
      margin-right: 1.5em;
}

@media (max-width: 767px) {
    .div_calendar {
        display: block;
        margin-right: 0;
    }
}

#table_calendar td,
#table_calendar th {
    width: 3.5em;
    text-align: center;
    border: 1px solid #dee2e6;
    color: #8b8a8a;
}

@media (max-width: 767px) {
    #table_calendar td,
    #table_calendar th {
        width: auto;
    }
}

#table_calendar th {
    background: #ffffff;
    color: #000;
    font-weight: 400;
}

#table_calendar td {
    height: 40px;
    transition: 0.2s ease-in;
}

#table_calendar td.cell_no {
    background: #ced4da;
}

#table_calendar td.cell_sat {
    background: rgba(93, 156, 255, 0.2);
}

#table_calendar td.cell_holiday {
    background: rgba(255, 203, 203, 0.4);
}

#table_calendar td.cell_kansei {
    background: rgba(255, 217, 102, 0.4);
}

#table_calendar td.cell_select {
    background: #ff4500;
    color: #fff;
}

.month_calendar {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 要素を上下中央に配置 */
    text-align: center;
    background: #000080;
}

.month_calendar span {
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
}

.cell_date {
    cursor: pointer;
}
/* カレンダー選択テーブル設定 end */


/*select-tenantCSS*/
.company-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    background-color: #f9f9f9;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.info-text {
    flex: 1 1 300px;
    max-width: 500px;
    text-align: center; /* Optional: centers the image/text inside */
}

.info-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.info-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.list-group-wrapper {
    flex: 1 1 300px;
}

.list-group-item-action {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.list-group-item-action:hover {
    background-color: #b8ddff;
    color: #000;
}

.character-img {
    max-width: 150px;
    height: auto;
    margin-top: 15px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .company-container {
        flex-direction: column;
        gap: 20px;
    }

    .info-text h2 {
        font-size: 24px;
    }

    .navbar-actions {
        gap: 8px;
        padding-right: 0;
    }

    .navbar-board-link {
        min-height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }

    .navbar-icon-btn {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    .notification-panel {
        right: -6px;
        width: min(340px, calc(100vw - 16px));
    }

    .app-menu-dropdown {
        width: min(292px, calc(100vw - 16px));
        min-width: 0;
        padding: 12px 14px 10px;
        border-radius: 12px;
    }

    .app-menu-avatar {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }

    .app-menu-company {
        font-size: 14px;
    }

    .app-menu-user {
        font-size: 18px;
    }

    .app-menu-link {
        font-size: 15px;
        padding-block: 11px;
    }
}

  .collapse-search {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
  border-radius: 5px;
}

.collapse-search.expanded {
  padding: 1em;
}
  
  .transition-icon {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
#toggleIcon {
    transition: transform 0.3s ease;
}
#toggleBtn:has(#toggleIcon.rotate) {
  background-color: #d8ebff;
  border: solid 2px #859fbb;
}

#toggleIcon.rotate {
    transform: rotate(180deg);
}

  #toggleBtn {
    background-color: #eeeeee;
    border: none;
    cursor: pointer;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
  }

  #toggleBtn:hover {
    background-color: #d8ebff;
  }

.input-group-text {
    display: flex;
    align-items: center;
    height: 100%; /* ensures full alignment */
    white-space: nowrap; /* optional: prevent text wrap */
}


/*表示設定*/

.btn_displayset {
    color: #ffffff !important;
    background: #726f71 !important;
    border-radius: 9999px!important;
    margin: 5px 1px 5px 10px !important;
    text-decoration: none !important;
}

.btn_displayset:hover {
    color: #726f71 !important;
    background-color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #726f71 !important;
}

.tfoot-row-toggle {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #a8a8a8;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.tfoot-row-toggle:checked {
    background-color: #2c9a7a;
    border-color: #2c9a7a;
}

.tfoot-row-toggle:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 0px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


.nav-tabs .nav-link {
    border: 1px solid rgb(175, 175, 175);
    background-color: #f3feff;
    color: #212529;
    cursor: pointer;
    margin-bottom: -1px; 
    position: relative;
    z-index: 1;
    border-radius: 4px 4px 0 0;
}

.nav-tabs .nav-link.active {
    border: 1px solid #2f94cc;
    border-bottom: none;
    background-color: #2f94cc;
    color: white;
    /* margin-top: -2px;  <-- remove this */
    z-index: 5;
    position: relative;
    height: 41px;
    transform: translateY(-1px);
    transition: all 0.12s ease;
}

.tab-content {
    border-top: none; 
    padding: 10px;
}
    
.nav-tabs .nav-link:hover{
    color: #212529;
    cursor: pointer;
    background-color: #d8f0fd;
    border-color: rgb(210, 212, 207);
}
    
.nav-tabs .nav-link.active:hover {
    background-color: #2f94cc;
    color: white;
    cursor: pointer;
    border-color: #2f94cc;
}

.noleftradius {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.wleftradius { 
    border-top-left-radius: .25rem  !important;
    border-bottom-left-radius: .25rem !important;
}

.norightradius {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0!important;
}

.wrightradius { 
    border-top-right-radius: .25rem  !important;
    border-bottom-right-radius: .25rem !important;
}


/*マスタテーブルCSS*/

    /* テーブルのリサイズを防止 */
    #mst_table th, #mst_table td {
        resize: none;
        overflow: hidden;
        white-space: nowrap; /* テーブルセル内の改行を防止 */
    }

    /* スクロールラッパー */
    .custom-scroll-container {
        overflow-x: auto;
        overflow-y: visible;
    }

    /* デスクトップで常に横スクロールバーを表示 */
    .custom-scroll-container {
        scrollbar-width: auto;
        -ms-overflow-style: auto;
    }

    .custom-scroll-container::-webkit-scrollbar {
        display: block;
        height: 8px;
        background: #eee;
    }

    .custom-scroll-container::-webkit-scrollbar-thumb {
        background: #bbb;
        border-radius: 4px;
    }

    /* タブレット以下の画面サイズでのみ横スクロールを有効化 */
    @media (max-width: 992px) {
        .custom-scroll-container {
            width: 100%;
            overflow-x: auto;
        }

        #mst_table {
            width: max-content;
        }
    }

    /* デフォルト（デスクトップ）：スクロールバーを非表示 */
    .table-container {
        overflow-x: visible;
    }

    .custom-scroll-container {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    /* タブレット・スマホ：横スクロールを追加し、スクロールバーを表示 */
    @media (max-width: 1024px) {
        .table-container {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .custom-table {
            min-width: 1000px; /* テーブルの自然な幅に合わせる */
        }

        .custom-scroll-container {
            overflow-x: auto;
            scrollbar-width: auto;
            -ms-overflow-style: auto;
        }

        .custom-scroll-container::-webkit-scrollbar {
            display: block;
        }
    }
/* --- AutocompleteList start ---*/
    .input-wrapper {
        position: relative;
        display: inline-block;
    }

    .input-wrapper input {
        padding-right: 24px;      /* ×分の余白 */
        /*height: 28px;
        line-height: 28px;*/
        height: 31px;
        line-height: 31px;
        width: 200px;             /* 必要に応じて調整 */
    }

    .input-wrapper .input-clear-btn {
        position: absolute;
        right: 6px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        color: #888;
        cursor: pointer;
        display: none;            /* 入力時だけ表示 */
        user-select: none;
    }

    .input-wrapper .input-clear-btn:hover {
        color: #000;
    }


    .input-wrapper .input-clear-btn-lg {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        display: none;
        cursor: pointer;
        color: #999
    }

    .input-wrapper .input-clear-btn-lg:hover {
        color: #000;
    }
/* --- AutocompleteList end ---*/


    .bg-hibarai {
        background-color: #66FFFF !important;
    }

    .card, .card-s,.no-card label {
        font-weight: 500;
        font-size: 13px;
        padding-bottom: 4px;
        color: #575757;
        margin-left: 19px;
        width: auto;
    }

    .card.required,.card-s.required:after{
        font-size: 0.7rem;
    }

    .card-s{
        background-color: #f1faff6b;
        border: 1px solid #e5ebf4;
        /*min-height: calc(83vh - 600px);*/
        display: flex;
        flex-direction: column;
        border-radius: 12px;
    }
    
    .card {
        background-color: #f1faff6b;
        border: 1px solid #e5ebf4;
        /*min-height: calc(88vh - 200px);*/
        display: flex;
        flex-direction: column;
        border-radius: 12px;
    } 

    button#btn_auto_number {
        display: inline-block;
        position:relative;
        padding-left: 8px;
        padding-right: 8px;

        justify-content: normal;
        align-items: normal;
        background-color: green;
        text-align: center;
    }
    button#btn_auto_number:hover {
        color: green;
        background-color: white;
        border: 2px solid green!important;

    }

    .col-12.sel-tenant {
        position: absolute;
        top: 127px;
    }

    /*about modal*/
    .about-info {
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
    }

    .info-row {
    padding: 14px 0;
    border-bottom: 1px solid #e2e6ea;
    }

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

    .info-label {
    font-size: 0.9rem;
    color: #000000;
    font-weight: 600;
    margin-bottom: 4px;
    }

    .info-value {
    font-size: 1rem;
    color: #4f4f4f;
    }

    #aboutModal{
        text-decoration: none;
    }

    .sticky-search-bar {
        position: sticky;
        top: -10px;
        z-index: 900;
        border-bottom: 1px solid #e9ecef;
        display: flex;
        flex-wrap: nowrap;    
        align-items: center;
        white-space: nowrap; 
    }

    input#id_cd_kgroup.placeholder-black::placeholder {
        color: #212529!important;
        width: 5em;
    }

    input#id_cd_kgroup {
        width: 5em;
    }

    nav.navbar.navbar-expand-lg.navbar-light.bg-lightshadow {
    top: 0px;
    position: sticky;
    z-index: 2000!important;
    background: white;
    }

    .container.toptitle-fix {
    top: 60px;
    position: sticky;
    z-index: 10;
    background: white;
    }

/* home dashboard */
.home-dashboard-header {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.home-dashboard-caption {
    margin-top: 6px;
    color: #7a8699;
    font-size: 13px;
}

.home-dashboard-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-dashboard-shiten-filter {
    display: inline-flex;
    align-items: stretch;
    min-width: min(320px, 42vw);
    margin: 0;
    border: 1px solid #d4dae6;
    border-radius: 4px;
    background: #ffffff;
    overflow: hidden;
}

.home-dashboard-shiten-filter span {
    min-width: 66px;
    padding: 7px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #d4dae6;
    background: #f5f7fa;
    color: #435167;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.home-dashboard-shiten-select {
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    padding: 0 34px 0 12px;
    border: 0;
    background: #ffffff;
    color: #24344f;
    font-size: 13px;
    font-weight: 600;
}

.home-dashboard-shiten-select:focus {
    outline: 2px solid rgba(47, 111, 214, 0.22);
    outline-offset: -2px;
}

.home-dashboard-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-dashboard-card,
.home-dashboard-add-card {
    position: relative;
    min-height: 220px;
    margin-left: 0;
    padding: 18px;
    overflow: hidden;
}

.home-dashboard-card-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.home-dashboard-card[data-card-id="planmiss"],
.home-dashboard-card[data-card-id="checkmiss"],
.home-dashboard-card[data-card-id="stampmiss"],
.home-dashboard-card[data-card-id="taiin_total"] {
    padding: 0;
}

.home-dashboard-card[data-card-id="planmiss"] .home-dashboard-card-body,
.home-dashboard-card[data-card-id="checkmiss"] .home-dashboard-card-body,
.home-dashboard-card[data-card-id="stampmiss"] .home-dashboard-card-body,
.home-dashboard-card[data-card-id="taiin_total"] .home-dashboard-card-body {
    padding: 0;
}

.home-dashboard-card[data-card-id="operation"] {
    grid-column: span 2;
    min-height: auto;
}

.home-dashboard-card[data-card-id="claim"] {
    grid-column: span 2;
    min-height: auto;
}

.home-planmiss-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #e4e8f0;
    min-height: 52px;
}

.home-planmiss-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #435167;
    font-size: 15px;
    font-weight: 700;
}

.home-planmiss-date {
    color: #5f6878;
    font-size: 13px;
    font-weight: 700;
}

.home-planmiss-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
}

.home-planmiss-alert {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #435167;
    font-size: 14px;
    font-weight: 700;
}

.home-planmiss-alert i {
    color: #ff8b2c;
}

.home-planmiss-alert strong {
    font-size: 20px;
}

.home-planmiss-progress-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.home-planmiss-side {
    color: #435167;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.home-planmiss-side-muted {
    color: #c0c6d4;
}

.home-planmiss-side-link {
    color: #4c5e7f;
    text-decoration: none;
}

.home-planmiss-side-link:hover {
    color: #2c6bd9;
}

.home-planmiss-progress {
    height: 16px;
    border-radius: 999px;
    background: #dfe4f2;
    overflow: hidden;
}

.home-planmiss-progress-bar {
    height: 100%;
    min-width: 0;
    border-radius: 999px 0 0 999px;
    background: #2f4fa8;
}

.home-planmiss-total {
    margin-top: 10px;
    text-align: center;
    color: #5f6878;
    font-size: 14px;
    font-weight: 700;
}

.home-taiin-total-header {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #e4e8f0;
    min-height: 52px;
}

.home-taiin-total-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #435167;
    font-size: 15px;
    font-weight: 700;
}

.home-taiin-total-heading i {
    color: #2f4fa8;
}

.home-taiin-total-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding: 18px;
}

.home-taiin-total-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    color: #24344f;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
}

.home-taiin-total-value span {
    font-size: 16px;
    font-weight: 700;
}

.home-taiin-total-breakdown {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.home-taiin-total-breakdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    padding: 10px 6px;
    border-radius: 10px;
    background: #f6f8fc;
    color: #5f6878;
    font-size: 12px;
    font-weight: 700;
}

.home-taiin-total-breakdown-item i {
    color: #6d7a90;
    font-size: 15px;
}

.home-taiin-total-breakdown-item strong {
    color: #24344f;
    font-size: 14px;
}

.home-operation-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.home-operation-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #24344f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.home-operation-title i {
    color: #24344f;
    font-size: 16px;
}

.home-operation-select {
    width: 100%;
    height: 34px;
    padding: 0 34px 0 12px;
    border: 1px solid #d4dae6;
    border-radius: 0;
    background: #ffffff;
    color: #435167;
    font-size: 13px;
    font-weight: 500;
}

.home-operation-nav {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.home-operation-nav-link {
    color: #4c5e7f;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.home-operation-nav-link:hover {
    color: #2c6bd9;
}

.home-operation-table-wrap {
    overflow-x: auto;
}

.home-operation-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    border: 1px solid #b8c1cf;
    table-layout: fixed;
}

.home-operation-table th,
.home-operation-table td {
    border: 1px solid #b8c1cf;
    padding: 5px 4px;
    text-align: center;
    color: #24344f;
    font-size: 13px;
    font-weight: 700;
}

.home-operation-table thead th {
    padding: 4px;
    background: #f6f7fb;
    color: #33518d;
    font-size: 12px;
}

.home-operation-table tbody th {
    width: 66px;
    background: #f8f8f8;
    color: #20314d;
    font-size: 13px;
    font-weight: 700;
}

.home-operation-table thead th.is-today {
    background: #fde7d8;
}

.home-operation-table thead th.is-sunday,
.home-operation-table thead th.is-holiday {
    color: #d63d2e;
}

.home-operation-table thead th.is-saturday {
    color: #2f6fd6;
}

.home-operation-table .is-shortage {
    color: #d63d2e;
}

.home-task-card-title {
    margin-bottom: 14px;
    color: #435167;
    font-size: 18px;
    font-weight: 700;
}

.home-task-panel-body {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-task-panel .information_title,
.home-task-panel hr {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.home-task-empty {
    padding: 18px 20px;
    border: 1px dashed #cfd8e6;
    border-radius: 12px;
    background: #fafcff;
    color: #6b7280;
    font-size: 13px;
}

.home-task-section {
    border: 1px solid #dfe5ec;
    border-radius: 10px;
    overflow: hidden;
    background: #f9fbff;
}

.home-task-section + .home-task-section {
    margin-top: 14px;
}

.home-task-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: #eef3fb;
    color: #435167;
    font-size: 14px;
    font-weight: 700;
}

.home-task-list {
    padding: 10px;
}

.home-task-item + .home-task-item {
    margin-top: 10px;
}

.home-task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.home-task-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.home-task-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #edf3ff;
    color: #4969a5;
    flex: 0 0 auto;
}

.home-task-item-label {
    color: #435167;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.home-task-item-action {
    color: #66758b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.home-task-item-action.is-disabled {
    color: #8f9bad;
    cursor: default;
}

.home-claim-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.home-claim-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #435167;
    font-size: 15px;
    font-weight: 700;
}

.home-claim-title i {
    color: #ff8b2c;
    font-size: 16px;
}

.home-claim-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    justify-self: center;
    color: #435167;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.home-claim-count i {
    color: #ff8b2c;
    font-size: 14px;
}

.home-claim-count strong {
    color: #1f3d7a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.home-claim-select {
    justify-self: end;
    height: 34px;
    padding: 0 34px 0 12px;
    border: 1px solid #d4dae6;
    border-radius: 4px;
    background: #ffffff;
    color: #435167;
    font-size: 13px;
    font-weight: 600;
}

.home-claim-list {
    display: flex;
    flex-direction: column;
    padding: 12px 24px;
    border: 1px solid #b8c1cf;
    border-radius: 8px;
    background: #ffffff;
}

.home-claim-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 26px;
    padding: 4px 0;
    border-bottom: 1px solid #edf1f5;
}

.home-claim-row:last-child {
    border-bottom: 0;
}

.home-claim-text {
    min-width: 0;
    color: #435167;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.home-claim-detail {
    flex: 0 0 auto;
    color: #66758b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.home-claim-detail:hover {
    color: #2c6bd9;
}

.home-claim-empty {
    padding: 18px 12px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.home-dashboard-card-title {
    color: #435167;
    font-size: 17px;
    font-weight: 700;
}

.home-dashboard-card-description {
    margin-top: 6px;
    color: #7a8699;
    font-size: 13px;
    min-height: 38px;
}

.home-dashboard-card-value {
    margin-top: 18px;
    color: #2c6bd9;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
}

.home-dashboard-card-value span {
    margin-left: 6px;
    color: #5f6878;
    font-size: 15px;
    font-weight: 500;
}

.home-dashboard-card-meta,
.home-dashboard-card-submeta {
    margin-top: 10px;
    color: #5f6878;
    font-size: 13px;
}

.home-dashboard-card-submeta {
    margin-top: 6px;
}

.home-dashboard-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: auto;
    padding-top: 18px;
    color: #2c6bd9;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.home-dashboard-link:hover {
    color: #1d56ba;
}

.home-dashboard-remove,
.home-dashboard-drag {
    position: absolute;
    top: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #5f6878;
    z-index: 2;
}

.home-dashboard-remove {
    right: 12px;
}

.home-dashboard-drag {
    right: 50px;
    cursor: grab;
}

.home-dashboard-add-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #5f6878;
    border-style: dashed;
}

.home-dashboard-add-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: #ffffff;
    color: #2c6bd9;
    font-size: 18px;
}

.home-dashboard-empty {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 14px;
    padding: 18px 20px;
    border: 1px dashed #cfd8e6;
    border-radius: 12px;
    background: #fafcff;
    color: #6b7280;
    font-size: 13px;
}

.home-dashboard.dashboard-editing .home-dashboard-card {
    border-style: dashed;
    border-color: #8ea7cf;
    box-shadow: inset 0 0 0 1px rgba(44, 107, 217, 0.08);
}

.home-dashboard.dashboard-editing .home-dashboard-card,
.home-dashboard.dashboard-editing .home-dashboard-add-card {
    user-select: none;
}

.home-dashboard.dashboard-editing .home-dashboard-remove,
.home-dashboard.dashboard-editing .home-dashboard-drag {
    display: inline-flex;
}

.home-dashboard.dashboard-editing .home-dashboard-card[draggable="true"] {
    cursor: move;
}

.home-dashboard.dashboard-editing .home-dashboard-link {
    pointer-events: none;
    color: #8ea7cf;
}

.home-dashboard.dashboard-editing .home-operation-nav-link {
    pointer-events: none;
    color: #8ea7cf;
}

.home-dashboard.dashboard-editing .home-task-item-action {
    pointer-events: none;
    color: #8ea7cf;
}

.home-dashboard.dashboard-editing .home-claim-detail {
    pointer-events: none;
    color: #8ea7cf;
}

.home-dashboard-card.dragging {
    opacity: 0.55;
}

.home-dashboard-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.28);
    z-index: 1200;
}

.home-dashboard-drawer {
    position: fixed;
    top: 72px;
    right: 0;
    width: min(360px, calc(100vw - 24px));
    height: calc(100vh - 88px);
    padding: 20px 18px;
    background: #ffffff;
    border-left: 1px solid #dfe5ec;
    box-shadow: -18px 0 36px rgba(15, 23, 42, 0.12);
    z-index: 1300;
    overflow-y: auto;
}

.home-dashboard-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.home-dashboard-drawer-title {
    color: #435167;
    font-size: 18px;
    font-weight: 700;
}

.home-dashboard-drawer-caption {
    margin-top: 4px;
    color: #7a8699;
    font-size: 12px;
}

.home-dashboard-drawer-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #f4f6fa;
    color: #5f6878;
}

.home-dashboard-candidate-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.home-dashboard-candidate-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border: 1px solid #dfe5ec;
    border-radius: 12px;
    background: #fafcff;
}

.home-dashboard-candidate-item[draggable="true"] {
    cursor: grab;
}

.home-dashboard-candidate-item.dragging {
    opacity: 0.55;
}

.home-dashboard-candidate-name {
    color: #435167;
    font-size: 14px;
    font-weight: 700;
}

.home-dashboard-candidate-desc {
    margin-top: 4px;
    color: #7a8699;
    font-size: 12px;
}

.home-dashboard-candidate-empty {
    padding: 20px 18px;
    border: 1px dashed #cfd8e6;
    border-radius: 12px;
    color: #7a8699;
    font-size: 13px;
    background: #fafcff;
}

@media (max-width: 767px) {
    .home-dashboard-header {
        flex-direction: column;
    }

    .home-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .home-dashboard-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .home-dashboard-shiten-filter {
        flex: 1 1 100%;
        min-width: 0;
    }

    .home-dashboard-actions .btn {
        flex: 1 1 auto;
    }

    .home-dashboard-drawer {
        top: auto;
        bottom: 0;
        width: 100%;
        height: min(72vh, 520px);
        border-left: 0;
        border-top: 1px solid #dfe5ec;
        box-shadow: 0 -18px 36px rgba(15, 23, 42, 0.12);
    }

    .home-operation-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .home-operation-nav {
        justify-content: flex-end;
    }

    .home-dashboard-card[data-card-id="operation"] {
        grid-column: auto;
    }

    .home-dashboard-card[data-card-id="claim"] {
        grid-column: auto;
    }

    .home-task-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-claim-header {
        grid-template-columns: 1fr;
    }

    .home-claim-select {
        width: 100%;
    }

    .home-claim-row {
        align-items: flex-start;
    }

    .home-claim-list {
        padding: 10px 14px;
    }
}

/* zip search modal */
.zip-search-modal {
    --zip-modal-side-offset: calc(var(--sidebar-expanded-width) + var(--sidebar-gap));
    --zip-modal-window-gap: 16px;
    padding-left: calc(var(--zip-modal-side-offset) + var(--zip-modal-window-gap));
    padding-right: var(--zip-modal-window-gap);
}

#wrapper.active .zip-search-modal {
    --zip-modal-side-offset: calc(var(--sidebar-collapsed-width) + var(--sidebar-gap));
}

.zip-search-modal .modal-dialog {
    width: auto;
    max-width: min(1140px, calc(100vw - var(--zip-modal-side-offset) - (var(--zip-modal-window-gap) * 2)));
    margin: 1.75rem auto;
    transform: none !important;
}

.zip-search-modal .modal-content {
    max-width: 100%;
}

.modal-content{
    top: 90px;
}

.zip-search-panel {
    gap: 12px;
}

.zip-search-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.zip-search-field-group,
.zip-search-address-field-group,
.zip-search-match-group {
    margin-bottom: 0;
}

.zip-search-field-group {
    flex: 0 0 140px;
    min-width: 140px;
}

.zip-search-address-field-group {
    flex: 1 1 320px;
    min-width: 240px;
}

.zip-search-match-group {
    flex: 0 0 auto;
    min-width: 176px;
}

.zip-search-panel label {
    margin-bottom: 6px;
}

.zip-search-panel .form-control {
    margin-bottom: 0;
}

.zip-search-match-label {
    margin-bottom: 6px !important;
}

.zip-search-match-options {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 44px;
    padding: 0 4px;
}

.zip-search-match-options .form-check {
    margin-bottom: 0;
}

.zip-search-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.zip-search-modal-btn {
    min-width: 136px;
    height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    white-space: nowrap;
    margin: 0 !important;
}

.zip-search-trigger-row {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: nowrap;
    max-width: 240px;
}

.zip-search-trigger-field {
    min-width: 0;
}

.zip-search-trigger-field .form-control {
    margin-bottom: 0;
}

.zip-search-btn {
    flex: 0 0 auto;
    min-width: auto;
    padding: 6px 12px 4px 12px;
    font-size: 12px;
    line-height: 1.4;
    margin-left: 4px !important;
    white-space: nowrap;
}

.zip-search-result-row {
    cursor: pointer;
}

.zip-search-result-row:hover td {
    background-color: #fff3eb !important;
}

.dpi40200-sortable {
    cursor: pointer;
}

.dpi40700-sortable {
    cursor: pointer;
}

.dpi40800-sortable {
    cursor: pointer;
}

.dpi40100-sortable {
    cursor: pointer;
}

.dpi40400-sortable {
    cursor: pointer;
}

.dpi40400-sort-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.dpi40400-sort-link:hover {
    color: inherit;
    text-decoration: none;
}

.dpi40200-sort-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.dpi40700-sort-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.dpi40800-sort-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.dpi40100-sort-link {
    color: inherit;
    display: block;
    text-decoration: none;
}

.dpi40200-sort-link:hover {
    color: inherit;
    text-decoration: none;
}

.dpi40700-sort-link:hover {
    color: inherit;
    text-decoration: none;
}

.dpi40800-sort-link:hover {
    color: inherit;
    text-decoration: none;
}

.dpi40100-sort-link:hover {
    color: inherit;
    text-decoration: none;
}

.zip-search-empty td {
    color: #6c757d;
}

@media (max-width: 980px) {
    .zip-search-modal {
        --zip-modal-window-gap: 12px;
    }

    .zip-search-row {
        gap: 10px;
    }

    .zip-search-modal-actions {
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .zip-search-modal {
        --zip-modal-window-gap: 8px;
    }

    .zip-search-modal .modal-dialog {
        max-width: calc(100vw - var(--zip-modal-side-offset) - (var(--zip-modal-window-gap) * 2));
        margin: 0.75rem auto;
    }

    .zip-search-row {
        gap: 8px;
    }

    .zip-search-field-group,
    .zip-search-address-field-group,
    .zip-search-match-group {
        flex: 1 1 100%;
        min-width: 0;
    }

    .zip-search-match-options {
        min-height: auto;
        padding: 0;
        flex-wrap: wrap;
        gap: 12px;
    }

    .zip-search-modal-actions {
        justify-content: stretch;
        gap: 8px;
    }

    .zip-search-modal-btn {
        flex: 1 1 calc(50% - 8px);
        min-width: 120px;
    }
}

/*検索条件*/
.search-container-fix {
        position: sticky;
        top: 175px;
        z-index: 1000;
        background-color: white;
}

/* Mobile devices */
@media (max-width: 768px) {
    .search-container-fix {
        top: 365px;
    }
}

.search-collapse-fix{
        position: sticky;
        top: 220px;
        z-index: 999;
        background-color: white;
        border-bottom: 1px solid rgb(222, 226, 230);
}

.search-collapse-fix-board{
        position: sticky;
        top: 56px;
        z-index: 999;
        background-color: white;
        border-bottom: 1px solid rgb(222, 226, 230);
}

/* Mobile devices */
@media (max-width: 768px) {
    .search-collapse-fix-board {
        top: 105px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .search-collapse-fix {
        top: 455px;
    }
}
