.requide {
	color: #f00;
}
.input-comment {
	color: #777;
	font-size: 80%;
}

.btn.disabled, .btn:disabled {
    background-color: #83838383;
    filter: grayscale(1);
}

.bg-disabled {
    background-color: #acb4bb!important;
}
.swal2-title{padding-left:0.5rem !important;text-align:left !important;}

.main-header.scroll_fixed {
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
}

.is-invalid>.invalid-feedback {
    display: block;
}

.invalid-feedback {
	background-color: #fff;
	padding-left: 0.3rem;
}

/* 足りないボタン */
.btn-orange {
    color: #fff;
    background-color: #fd7e14;
    border-color: #fd7e14;
    box-shadow: none;	
}

.btn-orange:hover {
    color: #fff;
	background-color: #db7018;
	border-color: #db7018;
}

.btn-outline-pdfview {
    color: #fd7e14;
    border-color: #fd7e14;
}
.btn-outline-pdfview:hover {
    color: #fff;
    background-color: #db7018;
}

.btn-maroon {
    color: #fff;
    background-color: #d81b60;
    border-color: #d81b60;
    box-shadow: none;	
}

.btn-maroon:hover {
    color: #fff;
	background-color: #a72957;
	border-color: #a72957;
}

.dropdown-menu {
	min-width: 7rem !important;
	padding: 0.5rem !important;
}

.dropdown-menu>button {
	display: block;
	margin-bottom: .5rem;
}
.dropdown-menu>button:last-child {
	margin-bottom: 0;
}

.alert-tooltip {
	position: absolute;
    display: none;
    opacity: 1;

	z-index: 1070;
	font-weight: 400;
	line-height: 1.42857143;
	line-break: auto;
	text-align: left;
	text-align: start;
	width: initial;
}

.alert-tooltip .arrow {
	top: 0;
    left: 10px;
    margin-top: -5px;
    border-width: 0 5px 5px;
	position: absolute;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-bottom-color: #ff3030;	
}

.alert-tooltip .tooltip-inner {
    max-width: 200px;
    padding: 3px 8px;
    color: #ff3030;
    text-align: center;
    background-color: #ffffff;
	border-color: #ff3030;
	border-width: 1px;
	border-style: solid;
    border-radius: 4px;
}

th {
    text-align: center;
}

tr.disabled {
	background-color: #777;
}

.form_input_detail_no {
	width: 5rem;
	text-align: center;
}

.card-body.p-0 .table thead>tr>th:last-of-type,
.card-body.p-0 .table tbody>tr>td:last-of-type {
	padding-right: 0.75rem;
}

.box-shadow-none {
	box-shadow: none;
}

/* 顧客一覧 */
#customer_list tr.disabled {
	background-color: darkgrey;
}

#customer_list td:nth-child(3) {
	width: 8rem;
}

#customer_list td:nth-child(4) {
	text-align: center;
	width: 8rem;
}
#customer_list td:nth-child(5) {
	text-align: center;
	width: 3rem;
}

#customer_list td:nth-child(6) {
	width: 12rem;
}
#customer_list td:nth-child(7) {
	width: 5rem;
}

#new_customer_list td {
	vertical-align: middle;
}

#new_customer_list td:nth-child(1) {
	width: 15rem;
}

#new_customer_list td:nth-child(3) {
	text-align: center;
	width: 10rem;
}
#new_customer_list td:nth-child(4) {
	text-align: center;
	width: 10rem;
}
#new_customer_list td:nth-child(5) {
	text-align: center;
	width: 5rem;
}



/* 見積書一覧 */
#customer_estimate_list td {
	vertical-align: middle;
}
#customer_estimate_list td:nth-child(4),
#customer_estimate_list td:nth-child(5),
#customer_estimate_list td:nth-child(6),
#customer_estimate_list td:nth-child(7) {
	text-align: center;
}

#customer_estimate_list td:nth-child(2),
#customer_estimate_list td:nth-child(3) {
	width: 6rem;
}

#customer_estimate_list td:nth-child(4) {
	width: 4rem;
}

#customer_estimate_list td:nth-child(5) {
	width: 13rem;
}
#customer_estimate_list td:nth-child(6) {
	width: 11rem;
}

/* 一時保存見積書一覧 */
#customer_estimate_temp_list th:nth-child(2),
#customer_estimate_temp_list td:nth-child(2) {
	width: 6rem;
}

#customer_estimate_temp_list th:nth-child(3),
#customer_estimate_temp_list td:nth-child(3) {
	width: 7rem;
}

#customer_estimate_temp_list th:nth-child(4),
#customer_estimate_temp_list td:nth-child(4) {
	width: 4rem;
}

#customer_estimate_temp_list th:nth-child(5),
#customer_estimate_temp_list td:nth-child(5) {
	width: 13rem;
}

/* 請求書一覧 */
#customer_invoice_list td {
	vertical-align: middle;
}
#customer_invoice_list td:nth-child(3),
#customer_invoice_list td:nth-child(4),
#customer_invoice_list td:nth-child(5),
#customer_invoice_list td:nth-child(6) {
	text-align: center;
}

#customer_invoice_list td:nth-child(2),
#customer_invoice_list td:nth-child(3) {
	width: 6rem;
}

#customer_invoice_list td:nth-child(4) {
	width: 4rem;
}

#customer_invoice_list td:nth-child(5) {
	width: 10rem;
}
#customer_invoice_list td:nth-child(6) {
	width: 11rem;
}

#customer_delivery_list td {
	vertical-align: middle;
}
#customer_delivery_list td:nth-child(3),
#customer_delivery_list td:nth-child(4),
#customer_delivery_list td:nth-child(5),
#customer_delivery_list td:nth-child(6),
#customer_delivery_list td:nth-child(7) {
	text-align: center;
}

#customer_delivery_list td:nth-child(2),
#customer_delivery_list td:nth-child(3) {
	width: 6rem;
}

#customer_delivery_list td:nth-child(4) {
	width: 4rem;
}

#customer_delivery_list td:nth-child(5) {
	width: 10rem;
}
#customer_delivery_list td:nth-child(6) {
	width: 6rem;
}
#customer_delivery_list th:nth-child(6),
#customer_delivery_list td:nth-child(6) {
	padding-left: 0;
	padding-right: 0;
}

/* 一時保存請求書一覧 */
#customer_invoice_temp_list th:nth-child(2),
#customer_invoice_temp_list td:nth-child(2) {
	width: 6rem;
}

#customer_invoice_temp_list th:nth-child(3),
#customer_invoice_temp_list td:nth-child(3) {
	width: 7rem;
}

#customer_invoice_temp_list th:nth-child(4),
#customer_invoice_temp_list td:nth-child(4) {
	width: 4rem;
}

#customer_invoice_temp_list th:nth-child(5),
#customer_invoice_temp_list td:nth-child(5) {
	width: 13rem;
}

#customer_delivery_temp_list td {
	vertical-align: middle;
}
#customer_delivery_temp_list th:nth-child(2),
#customer_delivery_temp_list td:nth-child(2) {
	width: 6rem;
}

#customer_delivery_temp_list th:nth-child(3),
#customer_delivery_temp_list td:nth-child(3) {
	width: 7rem;
}

#customer_delivery_temp_list th:nth-child(4),
#customer_delivery_temp_list td:nth-child(4) {
	width: 4rem;
}

#customer_delivery_temp_list th:nth-child(5),
#customer_delivery_temp_list td:nth-child(5) {
	width: 13rem;
}


/* 領収書一覧 */
#customer_receipt_list td {
	vertical-align: middle;
}
#customer_receipt_list td:nth-child(3),
#customer_receipt_list td:nth-child(4),
#customer_receipt_list td:nth-child(5),
#customer_receipt_list td:nth-child(6) {
	text-align: center;
}


#customer_receipt_list td:nth-child(2),
#customer_receipt_list td:nth-child(3) {
	width: 6rem;
}

#customer_receipt_list td:nth-child(4) {
	width: 4rem;
}

#customer_receipt_list td:nth-child(5) {
	width: 10rem;
}
#customer_receipt_list td:nth-child(6) {
	width: 6rem;
}
#customer_receipt_list th:nth-child(6),
#customer_receipt_list td:nth-child(6) {
	padding-left: 0;
	padding-right: 0;
}

#customer_receipt_temp_list td {
	vertical-align: middle;
}

#customer_receipt_temp_list td:nth-child(2) {
	width: 6rem;
}

#customer_receipt_temp_list td:nth-child(3) {
	width: 6rem;
}

#customer_receipt_temp_list td:nth-child(4) {
	width: 4rem;
}

#customer_receipt_temp_list td:nth-child(5) {
	width: 12rem;
}

.mb-col-0 {
    margin-bottom: 0px;
}


.home-info-box {
	box-shadow: 0 0 1px rgb(0 0 0 / 13%), 0 1px 3px rgb(0 0 0 / 20%);
    border-radius: .25rem;	
	background: #fff;
	display: flex;
	margin-bottom: 1rem;
	min-height: 60px;
	padding: .5rem;
	position: relative;
}

.home-info-box .home-info-box-icon {
    border-radius: .25rem;
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    font-size: 1.875rem;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    width: 50px;
}

.home-info-box .home-info-box-content {
    -ms-flex: 1;
    flex: 1;
    padding: 10px;
    display: flex;
}

.home-info-box .home-info-box-content .home-info-box-text {
    display: block;
	width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-info-box .home-info-box-content .home-info-box-number {
    display: block;
	width: 30%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-info-box .home-info-box-content .home-info-box-number {
	text-align: right;
	font-weight: 700;
}


.home-info-box .home-info-box-icon.bg-orange,
.home-info-box .home-info-box-icon.bg-warning {
    color: #fff!important;
}

.invoice .brand-image {
	max-height: 33px;
}

.invoice-sub-list th {
	width: 6rem;
}

/* 請求書ポップアップ */
#modal-invoice .invoice .table {
	margin-bottom: 0;
}

#modal-invoice .invoice .invoice-detail-list td:nth-child(2) {
	text-align: left;
}
#modal-invoice .invoice .invoice-detail-list td:nth-child(1),
#modal-invoice .invoice .invoice-detail-list td:nth-child(3),
#modal-invoice .invoice .invoice-detail-list td:nth-child(5),
#modal-invoice .invoice .invoice-detail-list td:nth-child(6) {
	text-align: center;
}

#modal-invoice .invoice .invoice-detail-list td:nth-child(5),
#modal-invoice .invoice .invoice-detail-list td:nth-child(7) {
	text-align: right;
}

#modal-invoice .invoice .invoice-detail-list td:nth-child(1) {
	width: 4rem;
}

#modal-invoice .invoice .invoice-detail-list td:nth-child(3) {
	width: 4rem;
}

#modal-invoice .invoice .invoice-detail-list td:nth-child(4) {
	width: 6rem;
}

#modal-invoice .invoice .invoice-detail-list td:nth-child(5) {
	width: 4rem;
}

#modal-invoice .invoice .invoice-detail-list td:nth-child(6) {
	width: 4rem;
}

#modal-invoice .invoice .invoice-detail-list td:nth-child(7) {
	width: 6rem;
}

#modal-invoice .invoice .invoice-deadline thead th,
#modal-invoice .invoice .invoice-total thead th,
#modal-invoice .invoice .invoice-paykind thead th {
	padding:0;
}

#modal-invoice .invoice .invoice-deadline td,
#modal-invoice .invoice .invoice-paykind td {
	text-align: center;
	font-weight: 700;
}

#modal-invoice .invoice .invoice-total td {
	text-align: right;
	font-weight: 700;
}


/* 納品書ポップアップ */
#modal-delivery .delivery .table {
	margin-bottom: 0;
}

#modal-delivery .delivery .delivery-detail-list td:nth-child(2) {
	text-align: left;
}
#modal-delivery .delivery .delivery-detail-list td:nth-child(1),
#modal-delivery .delivery .delivery-detail-list td:nth-child(3),
#modal-delivery .delivery .delivery-detail-list td:nth-child(5),
#modal-delivery .delivery .delivery-detail-list td:nth-child(6) {
	text-align: center;
}

#modal-delivery .delivery .delivery-detail-list td:nth-child(4),
#modal-delivery .delivery .delivery-detail-list td:nth-child(7) {
	text-align: right;
}

#modal-delivery .delivery .delivery-detail-list td:nth-child(1) {
	width: 4rem;
}

#modal-delivery .delivery .delivery-detail-list td:nth-child(3) {
	width: 4rem;
}

#modal-delivery .delivery .delivery-detail-list td:nth-child(4) {
	width: 6rem;
}

#modal-delivery .delivery .delivery-detail-list td:nth-child(5) {
	width: 4rem;
}

#modal-delivery .delivery .delivery-detail-list td:nth-child(6) {
	width: 4rem;
}

#modal-delivery .delivery .delivery-detail-list td:nth-child(7) {
	width: 6rem;
}

#modal-delivery .delivery .delivery-deadline thead th,
#modal-delivery .delivery .delivery-total thead th {
	padding:0;
}

#modal-delivery .delivery .delivery-deadline td {
	text-align: center;
	font-weight: 700;
}

#modal-delivery .delivery .delivery-total td {
	text-align: right;
	font-weight: 700;
}

/* 請求書・見積　編集画面 */
#invoice-edit .invoice .invoice-detail-list td {
	vertical-align: middle;
	padding: 0.25rem;
}

#invoice-edit .invoice .invoice-detail-list .form_input_detail_price {
	width: 5.5rem;
}

#invoice-edit .invoice .invoice-detail-list .form_input_detail_quanitiy {
	width: 4rem;
}

#invoice-edit .invoice .invoice-detail-list .form_input_detail_unit {
	width: 4rem;
}

#invoice-edit .invoice .invoice_total {
	font-weight: 700;
}

#invoice-edit .invoice .invoice-detail-list tbody td:nth-child(8) {
	width: 4.5rem;
}

/* 見積書一覧 */
#estimate_list td {
	vertical-align: middle;
}
#estimate_list td:nth-child(4),
#estimate_list td:nth-child(5),
#estimate_list td:nth-child(6),
#estimate_list td:nth-child(7),
#estimate_list td:nth-child(8) {
	text-align: center;
}

#estimate_list td:nth-child(3),
#estimate_list td:nth-child(4) {
	width: 6rem;
}

#estimate_list td:nth-child(5) {
	width: 4rem;
}

#estimate_list td:nth-child(6) {
	width: 13rem;
}
#estimate_list td:nth-child(7) {
	width: 10rem;
}
#estimate_list td:nth-child(8) {
	width: 3rem;
}

/* 請求書一覧 */
#invoice_list td {
	vertical-align: middle;
}
#invoice_list td:nth-child(4),
#invoice_list td:nth-child(5),
#invoice_list td:nth-child(6),
#invoice_list td:nth-child(7),
#invoice_list td:nth-child(8) {
	text-align: center;
}

#invoice_list td:nth-child(3),
#invoice_list td:nth-child(4) {
	width: 6rem;
}

#invoice_list td:nth-child(5) {
	width: 4rem;
}

#invoice_list td:nth-child(6) {
	width: 10rem;
}
#invoice_list td:nth-child(7) {
	width: 10rem;
}
#invoice_list td:nth-child(8) {
	width: 3rem;
}
#invoice_list th:nth-child(8),
#invoice_list td:nth-child(8) {
	padding-left: 0;
	padding-right: 0;
}

#invoice_create_list td {
	vertical-align: middle;
}
#invoice_create_list th:nth-child(1),
#invoice_create_list td:nth-child(1) {
	width: 3rem;
}
#invoice_create_list th:nth-child(3),
#invoice_create_list td:nth-child(3) {
	width: 6rem;
}
#invoice_create_list th:nth-child(4),
#invoice_create_list td:nth-child(4) {
	width: 5.5rem;
}
#invoice_create_list th:nth-child(5),
#invoice_create_list td:nth-child(5) {
	width: 6rem;
}
#invoice_create_list th:nth-child(6),
#invoice_create_list td:nth-child(6) {
	width: 5.5rem;
}
#invoice_create_list th:nth-child(7),
#invoice_create_list td:nth-child(7) {
	width: 12rem;
}

#invoice_create_list th:nth-child(8),
#invoice_create_list td:nth-child(8) {
	width: 7rem;
}

#invoice_create_list td:nth-child(5) {
	text-align: center;
}

.btn-group-toggle .btn-default {
    border-bottom: solid 3px #b13ae9;
}
.btn-group-toggle .btn-default:nth-child(1) {
    border-bottom: solid 3px #007bff;
}
.btn-group-toggle .btn-default:nth-child(2) {
    border-bottom: solid 3px #fd7e14;
}
.btn-group-toggle .btn-default:nth-child(3) {
    border-bottom: solid 3px #ffc107;
}
.btn-group-toggle .btn-default:nth-child(4) {
    border-bottom: solid 3px #605ca8;
}
.btn-group-toggle .btn-default:nth-child(5) {
    border-bottom: solid 3px #28a745;
}
.btn-group-toggle .btn-default:nth-child(6) {
    border-bottom: solid 3px #17a2b8;
}

.btn-group-toggle .btn-default.active {
    background-color: #b13ae9;
    border-color: #b13ae9;
}
.btn-group-toggle .btn-default:nth-child(1).active {
    background-color: #007bff;
    border-color: #007bff;
}
.btn-group-toggle .btn-default:nth-child(2).active {
    background-color: #fd7e14;
    border-color: #fd7e14;
}
.btn-group-toggle .btn-default:nth-child(3).active {
    background-color: #ffc107;
    border-color: #ffc107;
}
.btn-group-toggle .btn-default:nth-child(4).active {
    background-color: #605ca8;
    border-color: #605ca8;
}
.btn-group-toggle .btn-default:nth-child(5).active {
    background-color: #28a745;
    border-color: #28a745;
}
.btn-group-toggle .btn-default:nth-child(6).active {
    background-color: #17a2b8;
    border-color: #17a2b8;
}


.file_upload_area {
    padding: 3rem 0;
    border: dashed 1px #777;
	text-align: center;
}

.file_upload_area .btn_area {
    padding-top: 3rem;
}


/* 見積書 */

/* 一時保存一覧 */
#estimate_temp_list th:nth-child(3),
#estimate_temp_list td:nth-child(3) {
	width: 6rem;
}

#estimate_temp_list th:nth-child(4),
#estimate_temp_list td:nth-child(4) {
	width: 7rem;
}

#estimate_temp_list th:nth-child(5),
#estimate_temp_list td:nth-child(5) {
	width: 4rem;
}

#estimate_temp_list th:nth-child(6),
#estimate_temp_list td:nth-child(6) {
	width: 13rem;
}

#invoice_temp_list th:nth-child(3),
#invoice_temp_list td:nth-child(3) {
	width: 6rem;
}

#invoice_temp_list th:nth-child(4),
#invoice_temp_list td:nth-child(4) {
	width: 7rem;
}

#invoice_temp_list th:nth-child(5),
#invoice_temp_list td:nth-child(5) {
	width: 4rem;
}

#invoice_temp_list th:nth-child(6),
#invoice_temp_list td:nth-child(6) {
	width: 13rem;
}

/* 納品書一時保存一覧 */
#delivery_temp_list th:nth-child(3),
#delivery_temp_list td:nth-child(3) {
	width: 6rem;
}

#delivery_temp_list th:nth-child(4),
#delivery_temp_list td:nth-child(4) {
	width: 7rem;
}

#delivery_temp_list th:nth-child(5),
#delivery_temp_list td:nth-child(5) {
	width: 4rem;
}

#delivery_temp_list th:nth-child(6),
#delivery_temp_list td:nth-child(6) {
	width: 13rem;
}

/* */
#invoice_item_list th:nth-child(1),
#invoice_item_list td:nth-child(1) {
	width: 15rem;
}
#invoice_item_list th:nth-child(2),
#invoice_item_list td:nth-child(2) {
	width: 4em;
}
#invoice_item_list td:nth-child(2) {
	text-align: center;
}
#invoice_item_list th:nth-child(3),
#invoice_item_list td:nth-child(3) {
	width: 5em;
}
#invoice_item_list td:nth-child(3) {
	text-align: right;
}
#invoice_item_list th:nth-child(4),
#invoice_item_list td:nth-child(4) {
	width: 4rem;
}
#invoice_item_list td:nth-child(4) {
	text-align: center;
}
#invoice_item_list th:nth-child(5),
#invoice_item_list td:nth-child(5) {
	width: 4rem;
}
#invoice_item_list td:nth-child(5) {
	text-align: center;
}
#invoice_item_list th:nth-child(6),
#invoice_item_list td:nth-child(6) {
	width: 5em;
}
#invoice_item_list td:nth-child(6) {
	text-align: right;
}

#invoice_item_list th:nth-child(7),
#invoice_item_list td:nth-child(7) {
	width: 4rem;
}

#new_customer_list th:nth-child(5),
#new_customer_list td:nth-child(5) {
	width: 5rem;
}


/* 納品書一覧 */
#delivery_list td {
	vertical-align: middle;
}
#delivery_list td:nth-child(4),
#delivery_list td:nth-child(5),
#delivery_list td:nth-child(6),
#delivery_list td:nth-child(7),
#delivery_list td:nth-child(8) {
	text-align: center;
}

#delivery_list td:nth-child(3),
#delivery_list td:nth-child(4) {
	width: 6rem;
}

#delivery_list td:nth-child(5) {
	width: 4rem;
}

#delivery_list td:nth-child(6) {
	width: 10rem;
}
#delivery_list td:nth-child(7) {
	width: 6rem;
}
#delivery_list td:nth-child(8) {
	width: 3rem;
}
#delivery_list th:nth-child(8),
#delivery_list td:nth-child(8) {
	padding-left: 0;
	padding-right: 0;
}

/* 領収書一覧 */
#receipt_list td {
	vertical-align: middle;
}
#receipt_list td:nth-child(4),
#receipt_list td:nth-child(5),
#receipt_list td:nth-child(6),
#receipt_list td:nth-child(7),
#receipt_list td:nth-child(8) {
	text-align: center;
}


#receipt_list td:nth-child(3),
#receipt_list td:nth-child(4) {
	width: 6rem;
}

#receipt_list td:nth-child(5) {
	width: 4rem;
}

#receipt_list td:nth-child(6) {
	width: 10rem;
}
#receipt_list td:nth-child(7) {
	width: 6rem;
}
#receipt_list td:nth-child(8) {
	width: 3rem;
}
#receipt_list th:nth-child(8),
#receipt_list td:nth-child(8) {
	padding-left: 0;
	padding-right: 0;
}

#receipt_temp_list td {
	vertical-align: middle;
}

#receipt_temp_list td:nth-child(5) {
	width: 4rem;
}

#receipt_temp_list td:nth-child(6) {
	width: 12rem;
}

/* 顧客選択 */
#modal-customer #modal-customer_list th:nth-child(4),
#modal-customer #modal-customer_list td:nth-child(4) {
	width: 8rem;
}
#modal-customer #modal-customer_list th:nth-child(5),
#modal-customer #modal-customer_list td:nth-child(5) {
	width: 4rem;
}

@media (max-width: 768px) {
    .mb-col-0 {
        margin-bottom: 1rem;
    }

	/* 顧客一覧 */
    #customer_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }

	#customer_list th:nth-child(1),
	#customer_list td:nth-child(1) {
		width: 100%;
	}
	#customer_list th:nth-child(2),
	#customer_list td:nth-child(2) {
		width: 100%;
	}
	#customer_list th:nth-child(3),
	#customer_list td:nth-child(3) {
		width: 50%;
	}
	#customer_list th:nth-child(4),
	#customer_list td:nth-child(4) {
		width: 50%;
	}
	#customer_list th:nth-child(5),
	#customer_list td:nth-child(5) {
		width: 20%;
	}	
	#customer_list th:nth-child(6),
	#customer_list td:nth-child(6) {
		width: 60%;
	}
	#customer_list th:nth-child(7),
	#customer_list td:nth-child(7) {
		width: 20%;
	}

	/* 領収書一覧 */
    #customer_receipt_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }

	#customer_receipt_list th:nth-child(1),
	#customer_receipt_list td:nth-child(1) {
		width: 85%;
		order: 1;
	}

	#customer_receipt_list th:nth-child(2),
	#customer_receipt_list td:nth-child(2) {
		width: 50%;
		order: 3;
	}

	#customer_receipt_list th:nth-child(3),
	#customer_receipt_list td:nth-child(3) {
		width: 50%;
		order: 4;
	}

	#customer_receipt_list th:nth-child(4),
	#customer_receipt_list td:nth-child(4) {
		width: 15%;
		order: 2;
	}
	#customer_receipt_list th:nth-child(4) {
		font-size: 80%;
	}

	#customer_receipt_list th:nth-child(5),
	#customer_receipt_list td:nth-child(5) {
		width: 50%;
		order: 5;
	}

	#customer_receipt_list th:nth-child(6),
	#customer_receipt_list td:nth-child(6) {
		width: 50%;
		order: 6;
	}

    #customer_receipt_temp_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }

	#customer_receipt_temp_list th:nth-child(1),
	#customer_receipt_temp_list td:nth-child(1) {
		width: 85%;
		order: 1;
	}

	#customer_receipt_temp_list th:nth-child(2),
	#customer_receipt_temp_list td:nth-child(2) {
		width: 50%;
		order: 3;
	}

	#customer_receipt_temp_list th:nth-child(3),
	#customer_receipt_temp_list td:nth-child(3) {
		width: 50%;
		order: 4;
	}

	#customer_receipt_temp_list th:nth-child(4),
	#customer_receipt_temp_list td:nth-child(4) {
		width: 15%;
		order: 2;
	}
	#customer_receipt_temp_list th:nth-child(4) {
		font-size: 80%;
	}

	#customer_receipt_temp_list th:nth-child(5),
	#customer_receipt_temp_list td:nth-child(5) {
		width: 100%;
		order: 5;
	}	


	/* 見積書一覧 */
    #estimate_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }
	#estimate_list th:nth-child(1),
	#estimate_list td:nth-child(1) {
		order: 2;
		width: 75%;
	}
	#estimate_list th:nth-child(2),
	#estimate_list td:nth-child(2) {
		order: 4;
		width: 45%;
	}
	#estimate_list th:nth-child(3),
	#estimate_list td:nth-child(3) {
		order: 5;
		width: 25%;
	}
	#estimate_list th:nth-child(4),
	#estimate_list td:nth-child(4) {
		order: 6;
		width: 30%;
	}
	#estimate_list th:nth-child(5) {
		font-size: 80%;
	}
	#estimate_list th:nth-child(5),
	#estimate_list td:nth-child(5) {
		order: 3;
		width: 15%;
	}
	#estimate_list th:nth-child(6),
	#estimate_list td:nth-child(6) {
		order: 7;
		width: 53%;
	}
	#estimate_list th:nth-child(7),
	#estimate_list td:nth-child(7) {
		order: 8;
		width: 47%;
	}
	#estimate_list th:nth-child(8),
	#estimate_list td:nth-child(8) {
		order: 1;
		width: 10%;
	}

	/* 請求書一覧 */
    #invoice_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }
	#invoice_list th:nth-child(1),
	#invoice_list td:nth-child(1) {
		order: 2;
		width: 75%;
	}
	#invoice_list th:nth-child(2),
	#invoice_list td:nth-child(2) {
		order: 4;
		width: 45%;
	}
	#invoice_list th:nth-child(3),
	#invoice_list td:nth-child(3) {
		order: 5;
		width: 25%;
	}
	#invoice_list th:nth-child(4),
	#invoice_list td:nth-child(4) {
		order: 6;
		width: 30%;
	}
	#invoice_list th:nth-child(5) {
		font-size: 80%;
	}
	#invoice_list th:nth-child(5),
	#invoice_list td:nth-child(5) {
		order: 3;
		width: 15%;
	}
	#invoice_list th:nth-child(6),
	#invoice_list td:nth-child(6) {
		order: 7;
		width: 50%;
	}
	#invoice_list th:nth-child(7),
	#invoice_list td:nth-child(7) {
		order: 8;
		width: 50%;
	}
	#invoice_list th:nth-child(8),
	#invoice_list td:nth-child(8) {
		order: 1;
		width: 10%;
	}
	
    #invoice_create_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }
	#invoice_create_list th:nth-child(1),
	#invoice_create_list td:nth-child(1) {
		width: 10%;
	}
	#invoice_create_list th:nth-child(2),
	#invoice_create_list td:nth-child(2) {
		width: 90%;
	}
	#invoice_create_list th:nth-child(3),
	#invoice_create_list td:nth-child(3) {
		width: 30%;
	}
	#invoice_create_list th:nth-child(4),
	#invoice_create_list td:nth-child(4) {
		width: 40%;
	}
	#invoice_create_list th:nth-child(5),
	#invoice_create_list td:nth-child(5) {
		width: 30%;
	}
	#invoice_create_list th:nth-child(6),
	#invoice_create_list td:nth-child(6) {
		width: 30%;
	}
	#invoice_create_list th:nth-child(7),
	#invoice_create_list td:nth-child(7) {
		width: 40%;
	}
	#invoice_create_list th:nth-child(8),
	#invoice_create_list td:nth-child(8) {
		width: 30%;
	}

	/* 一時保存一覧 */
    #estimate_temp_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }
	#estimate_temp_list th:nth-child(1),
	#estimate_temp_list td:nth-child(1) {
		width: 85%;
		order: 1;
	}
	#estimate_temp_list th:nth-child(2),
	#estimate_temp_list td:nth-child(2) {
		width: 45%;
		order: 3;
	}	
	#estimate_temp_list th:nth-child(3),
	#estimate_temp_list td:nth-child(3) {
		width: 25%;
		order: 4;
	}
	
	#estimate_temp_list th:nth-child(4),
	#estimate_temp_list td:nth-child(4) {
		width: 30%;
		order: 5;
	}
	
	#estimate_temp_list th:nth-child(5),
	#estimate_temp_list td:nth-child(5) {
		width: 15%;
		order: 2;
	}
	
	#estimate_temp_list th:nth-child(6),
	#estimate_temp_list td:nth-child(6) {
		width: 100%;
		order: 6;
	}

    #invoice_temp_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }	
	#invoice_temp_list th:nth-child(1),
	#invoice_temp_list td:nth-child(1) {
		width: 100%;
	}
	#invoice_temp_list th:nth-child(2),
	#invoice_temp_list td:nth-child(2) {
		width: 50%;
	}
	
	#invoice_temp_list th:nth-child(3),
	#invoice_temp_list td:nth-child(3) {
		width: 25%;
	}
	
	#invoice_temp_list th:nth-child(4),
	#invoice_temp_list td:nth-child(4) {
		width: 25%;
	}
	
	#invoice_temp_list th:nth-child(5),
	#invoice_temp_list td:nth-child(5) {
		width: 20%;
	}
	
	#invoice_temp_list th:nth-child(6),
	#invoice_temp_list td:nth-child(6) {
		width: 80%;
	}	

    #delivery_temp_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }	
	#delivery_temp_list th:nth-child(1),
	#delivery_temp_list td:nth-child(1) {
		width: 100%;
	}
	#delivery_temp_list th:nth-child(2),
	#delivery_temp_list td:nth-child(2) {
		width: 50%;
	}
	
	#delivery_temp_list th:nth-child(3),
	#delivery_temp_list td:nth-child(3) {
		width: 25%;
	}
	
	#delivery_temp_list th:nth-child(4),
	#delivery_temp_list td:nth-child(4) {
		width: 25%;
	}
	
	#delivery_temp_list th:nth-child(5),
	#delivery_temp_list td:nth-child(5) {
		width: 20%;
	}
	
	#delivery_temp_list th:nth-child(6),
	#delivery_temp_list td:nth-child(6) {
		width: 80%;
	}		

	/* 請求書・見積　編集画面 */
    #invoice-edit .invoice .invoice-detail-list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }	
	
	#invoice-edit .invoice .invoice-detail-list thead th:nth-child(1) {
		width: 30%;
		order:1;
	}
	#invoice-edit .invoice .invoice-detail-list thead th:nth-child(2) {
		width: 100%;
		order:3;
	}
	#invoice-edit .invoice .invoice-detail-list thead th:nth-child(3) {
		width: 30%;
		order:8;
	}
	#invoice-edit .invoice .invoice-detail-list thead th:nth-child(4) {
		width: 30%;
		order:5;
	}
	#invoice-edit .invoice .invoice-detail-list thead th:nth-child(5) {
		width: 30%;
		order:6;
	}
	#invoice-edit .invoice .invoice-detail-list thead th:nth-child(6) {
		width: 40%;
		order:7;
	}	
	#invoice-edit .invoice .invoice-detail-list thead th:nth-child(7) {
		margin-left: 40%;
		width: 30%;
		order:9;
	}	
	#invoice-edit .invoice .invoice-detail-list thead th:nth-child(8) {
		margin-left: 50%;
		width: 20%;
		order:2;
	}	

	#invoice-edit .invoice .invoice-detail-list tbody td:nth-child(1) {
		width: 30%;
		order:1;
	}
	#invoice-edit .invoice .invoice-detail-list tbody td:nth-child(2) {
		width: 100%;
		order:3;
	}
	#invoice-edit .invoice .invoice-detail-list tbody td:nth-child(3) {
		width: 100%;
		order:4;
	}
	#invoice-edit .invoice .invoice-detail-list tbody td:nth-child(4) {
		width: 30%;
		order:8;
	}
	#invoice-edit .invoice .invoice-detail-list tbody td:nth-child(5) {
		width: 30%;
		order:5;
	}
	#invoice-edit .invoice .invoice-detail-list tbody td:nth-child(6) {
		width: 30%;
		order:6;
	}	
	#invoice-edit .invoice .invoice-detail-list tbody td:nth-child(7) {
		width: 40%;
		order:7;
	}	
	#invoice-edit .invoice .invoice-detail-list tbody td:nth-child(7) input {
		width: 70%;
	}
	#invoice-edit .invoice .invoice-detail-list tbody td:nth-child(8) {
		margin-left: 40%;
		width: 30%;
		order:9;
	}	
	#invoice-edit .invoice .invoice-detail-list tbody td:nth-child(9) {
		margin-left: 50%;
		width: 20%;
		order:2;
	}	

	#invoice-edit .invoice .invoice-detail-list tbody .form_input_detail_price,
	#invoice-edit .invoice .invoice-detail-list tbody .form_input_detail_quanitiy,
	#invoice-edit .invoice .invoice-detail-list tbody .form_input_detail_unit {
		width: 100%;
	}
	#invoice-edit .invoice .invoice-detail-list tfoot td:nth-child(1) {
		width: 100%;
	}

	/* 請求書・見積　編集画面 */
	#modal-invoice .invoice .invoice-detail-list tr {   
		display: flex;
		flex-wrap: wrap;
		width: auto;
        border-bottom: solid 2px #666666;
	}	
	
	#modal-invoice .invoice .invoice-detail-list thead th:nth-child(1),
	#modal-invoice .invoice .invoice-detail-list tbody td:nth-child(1) {
		width: 25%;
		order:1;
	}
	#modal-invoice .invoice .invoice-detail-list thead th:nth-child(2),
	#modal-invoice .invoice .invoice-detail-list tbody td:nth-child(2) {
		width: 75%;
		order:2;
	}
	#modal-invoice .invoice .invoice-detail-list thead th:nth-child(3),
	#modal-invoice .invoice .invoice-detail-list tbody td:nth-child(3) {
		width: 20%;
		order:3;
	}
	#modal-invoice .invoice .invoice-detail-list thead th:nth-child(4),
	#modal-invoice .invoice .invoice-detail-list tbody td:nth-child(4) {
		width: 20%;
		order:4;
	}
	#modal-invoice .invoice .invoice-detail-list thead th:nth-child(5),
	#modal-invoice .invoice .invoice-detail-list tbody td:nth-child(5) {
		width: 20%;
		order:5;
	}
	#modal-invoice .invoice .invoice-detail-list thead th:nth-child(6),
	#modal-invoice .invoice .invoice-detail-list tbody td:nth-child(6) {
		width: 20%;
		order:6;
	}	
	#modal-invoice .invoice .invoice-detail-list thead th:nth-child(7),
	#modal-invoice .invoice .invoice-detail-list tbody td:nth-child(7) {
		width: 20%;
		order:7;
	}	


	#modal-invoice .invoice .invoice-detail-list tbody .form_input_detail_price,
	#modal-invoice .invoice .invoice-detail-list tbody .form_input_detail_quanitiy,
	#modal-invoice .invoice .invoice-detail-list tbody .form_input_detail_unit {
		width: 100%;
	}
	#modal-invoice .invoice .invoice-detail-list tfoot td:nth-child(1) {
		width: 100%;
	}

	/* 見積書一覧 */
	#customer_estimate_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }

	#customer_estimate_list th:nth-child(1),
	#customer_estimate_list td:nth-child(1) {
		width: 85%;
		order: 1;
	}
	#customer_estimate_list th:nth-child(2),
	#customer_estimate_list td:nth-child(2) {
		width: 50%;
		order: 3;
	}
	#customer_estimate_list th:nth-child(3),
	#customer_estimate_list td:nth-child(3) {
		width: 50%;
		order: 4;
	}
	#customer_estimate_list th:nth-child(4) {
		font-size: 80%;
	}
	#customer_estimate_list th:nth-child(4),
	#customer_estimate_list td:nth-child(4) {
		width: 15%;
		order: 2;
	}
	#customer_estimate_list th:nth-child(5),
	#customer_estimate_list td:nth-child(5) {
		width: 56%;
		order: 5;
	}
	#customer_estimate_list th:nth-child(6),
	#customer_estimate_list td:nth-child(6) {
		width: 44%;
		order: 6;
	}

	/* 一時保存見積書一覧 */
	#customer_estimate_temp_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }

	#customer_estimate_temp_list th:nth-child(1),
	#customer_estimate_temp_list td:nth-child(1) {
		width: 85%;
		order: 1;
	}
	#customer_estimate_temp_list th:nth-child(2),
	#customer_estimate_temp_list td:nth-child(2) {
		width: 50%;
		order: 3;
	}
	#customer_estimate_temp_list th:nth-child(3),
	#customer_estimate_temp_list td:nth-child(3) {
		width: 50%;
		order: 4;
	}
	#customer_estimate_temp_list th:nth-child(4) {
		font-size: 80%;
	}
	#customer_estimate_temp_list th:nth-child(4),
	#customer_estimate_temp_list td:nth-child(4) {
		width: 15%;
		order: 2;
	}
	#customer_estimate_temp_list th:nth-child(5),
	#customer_estimate_temp_list td:nth-child(5) {
		width: 100%;
		order: 5;
	}

	/* 請求書一覧 */
	#customer_invoice_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 1px #28a745;
    }	
	#customer_invoice_list th:nth-child(1),
	#customer_invoice_list td:nth-child(1) {
		width: 85%;
		order: 1;
	}
	#customer_invoice_list th:nth-child(2),
	#customer_invoice_list td:nth-child(2) {
		width: 50%;
		order: 3;
	}
	#customer_invoice_list th:nth-child(3),
	#customer_invoice_list td:nth-child(3) {
		width: 50%;
		order: 4;
	}
	#customer_invoice_list th:nth-child(4) {
		font-size: 80%;
	}
	#customer_invoice_list th:nth-child(4),
	#customer_invoice_list td:nth-child(4) {
		width: 15%;
		order: 2;
	}
	#customer_invoice_list th:nth-child(5),
	#customer_invoice_list td:nth-child(5) {
		width: 53%;
		order: 5;
	}
	#customer_invoice_list th:nth-child(6),
	#customer_invoice_list td:nth-child(6) {
		width: 47%;
		order: 6;
	}

	/* 一時保存請求書一覧 */
	#customer_invoice_temp_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }

	#customer_invoice_temp_list th:nth-child(1),
	#customer_invoice_temp_list td:nth-child(1) {
		width: 85%;
		order: 1;
	}
	#customer_invoice_temp_list th:nth-child(2),
	#customer_invoice_temp_list td:nth-child(2) {
		width: 50%;
		order: 3;
	}
	#customer_invoice_temp_list th:nth-child(3),
	#customer_invoice_temp_list td:nth-child(3) {
		width: 50%;
		order: 4;
	}
	#customer_invoice_temp_list th:nth-child(4) {
		font-size: 80%;
	}
	#customer_invoice_temp_list th:nth-child(4),
	#customer_invoice_temp_list td:nth-child(4) {
		width: 15%;
		order: 2;
	}
	#customer_invoice_temp_list th:nth-child(5),
	#customer_invoice_temp_list td:nth-child(5) {
		width: 100%;
		order: 5;
	}

	/* 納品書一覧 */
	#customer_delivery_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 1px #28a745;
    }	
	#customer_delivery_list th:nth-child(1),
	#customer_delivery_list td:nth-child(1) {
		width: 85%;
		order: 1;
	}
	#customer_delivery_list th:nth-child(2),
	#customer_delivery_list td:nth-child(2) {
		width: 50%;
		order: 3;
	}
	#customer_delivery_list th:nth-child(3),
	#customer_delivery_list td:nth-child(3) {
		width: 50%;
		order: 4;
	}
	#customer_delivery_list th:nth-child(4) {
		font-size: 80%;
	}
	#customer_delivery_list th:nth-child(4),
	#customer_delivery_list td:nth-child(4) {
		width: 15%;
		order: 2;
	}
	#customer_delivery_list th:nth-child(5),
	#customer_delivery_list td:nth-child(5) {
		width: 53%;
		order: 5;
	}
	#customer_delivery_list th:nth-child(6),
	#customer_delivery_list td:nth-child(6) {
		width: 47%;
		order: 6;
	}

	/* 一時保存請求書一覧 */
	#customer_delivery_temp_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }

	#customer_delivery_temp_list th:nth-child(1),
	#customer_delivery_temp_list td:nth-child(1) {
		width: 85%;
		order: 1;
	}
	#customer_delivery_temp_list th:nth-child(2),
	#customer_delivery_temp_list td:nth-child(2) {
		width: 50%;
		order: 3;
	}
	#customer_delivery_temp_list th:nth-child(3),
	#customer_delivery_temp_list td:nth-child(3) {
		width: 50%;
		order: 4;
	}
	#customer_delivery_temp_list th:nth-child(4) {
		font-size: 80%;
	}
	#customer_delivery_temp_list th:nth-child(4),
	#customer_delivery_temp_list td:nth-child(4) {
		width: 15%;
		order: 2;
	}
	#customer_delivery_temp_list th:nth-child(5),
	#customer_delivery_temp_list td:nth-child(5) {
		width: 100%;
		order: 5;
	}




	#invoice_item_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }

	#invoice_item_list th:nth-child(1),
	#invoice_item_list td:nth-child(1) {
		width: 80%;
		order: 1;
	}
	#invoice_item_list th:nth-child(2),
	#invoice_item_list td:nth-child(2) {
		width: 50%;
		order: 3;
	}
	#invoice_item_list th:nth-child(3),
	#invoice_item_list td:nth-child(3) {
		width: 50%;
		order: 4;
	}
	#invoice_item_list th:nth-child(4),
	#invoice_item_list td:nth-child(4) {
		width: 20%;
		order: 5;
	}
	#invoice_item_list th:nth-child(5),
	#invoice_item_list td:nth-child(5) {
		width: 25%;
		order: 6;
	}
	#invoice_item_list th:nth-child(6),
	#invoice_item_list td:nth-child(6) {
		width: 15%;
		order: 7;
	}
	#invoice_item_list th:nth-child(7),
	#invoice_item_list td:nth-child(7) {
		width: 15%;
		order: 8;
	}
	#invoice_item_list th:nth-child(8),
	#invoice_item_list td:nth-child(8) {
		width: 25%;
		order: 9;
	}
	#invoice_item_list th:nth-child(9),
	#invoice_item_list td:nth-child(9) {
		width: 20%;
		order: 2;
	}

	#new_customer_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }
	#new_customer_list th:nth-child(1),
	#new_customer_list td:nth-child(1) {
		width: 80%;
		order: 1;
	}
	#new_customer_list th:nth-child(2),
	#new_customer_list td:nth-child(2) {
		width: 100%;
		order: 3;
	}
	#new_customer_list th:nth-child(3),
	#new_customer_list td:nth-child(3) {
		width: 50%;
		order: 4;
	}
	#new_customer_list th:nth-child(4),
	#new_customer_list td:nth-child(4) {
		width: 50%;
		order: 5;
	}
	#new_customer_list th:nth-child(5),
	#new_customer_list td:nth-child(5) {
		width: 20%;
		order: 2;
	}

	/* 納品書一覧 */
    #delivery_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }
	#delivery_list th:nth-child(1),
	#delivery_list td:nth-child(1) {
		order: 2;
		width: 75%;
	}
	#delivery_list th:nth-child(2),
	#delivery_list td:nth-child(2) {
		order: 4;
		width: 45%;
	}
	#delivery_list th:nth-child(3),
	#delivery_list td:nth-child(3) {
		order: 5;
		width: 25%;
	}
	#delivery_list th:nth-child(4),
	#delivery_list td:nth-child(4) {
		order: 6;
		width: 30%;
	}
	#delivery_list th:nth-child(5) {
		font-size: 80%;
	}
	#delivery_list th:nth-child(5),
	#delivery_list td:nth-child(5) {
		order: 3;
		width: 15%;
	}
	#delivery_list th:nth-child(6),
	#delivery_list td:nth-child(6) {
		order: 7;
		width: 50%;
	}
	#delivery_list th:nth-child(7),
	#delivery_list td:nth-child(7) {
		order: 8;
		width: 50%;
	}
	#delivery_list th:nth-child(8),
	#delivery_list td:nth-child(8) {
		order: 1;
		width: 10%;
	}

    #modal-delivery .delivery .delivery-detail-list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }	
	
	#modal-delivery .delivery .delivery-detail-list thead th:nth-child(1),
	#modal-delivery .delivery .delivery-detail-list tbody td:nth-child(1) {
		width: 25%;
		order:1;
	}
	#modal-delivery .delivery .delivery-detail-list thead th:nth-child(2),
	#modal-delivery .delivery .delivery-detail-list tbody td:nth-child(2) {
		width: 75%;
		order:2;
	}
	#modal-delivery .delivery .delivery-detail-list thead th:nth-child(3),
	#modal-delivery .delivery .delivery-detail-list tbody td:nth-child(3) {
		width: 20%;
		order:3;
	}
	#modal-delivery .delivery .delivery-detail-list thead th:nth-child(4),
	#modal-delivery .delivery .delivery-detail-list tbody td:nth-child(4) {
		width: 20%;
		order:4;
	}
	#modal-delivery .delivery .delivery-detail-list thead th:nth-child(5),
	#modal-delivery .delivery .delivery-detail-list tbody td:nth-child(5) {
		width: 20%;
		order:5;
	}
	#modal-delivery .delivery .delivery-detail-list thead th:nth-child(6),
	#modal-delivery .delivery .delivery-detail-list tbody td:nth-child(6) {
		width: 20%;
		order:6;
	}	
	#modal-delivery .delivery .delivery-detail-list thead th:nth-child(7),
	#modal-delivery .delivery .delivery-detail-list tbody td:nth-child(7) {
		width: 20%;
		order:7;
	}	


	/* 領収書一覧 */
	#receipt_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }
	#receipt_list th:nth-child(1),
	#receipt_list td:nth-child(1) {
		order: 2;
		width: 75%;
	}
	#receipt_list th:nth-child(2),
	#receipt_list td:nth-child(2) {
		order: 4;
		width: 45%;
	}
	#receipt_list th:nth-child(3),
	#receipt_list td:nth-child(3) {
		order: 5;
		width: 25%;
	}
	#receipt_list th:nth-child(4),
	#receipt_list td:nth-child(4) {
		order: 6;
		width: 30%;
	}
	#receipt_list th:nth-child(5) {
		font-size: 80%;
	}
	#receipt_list th:nth-child(5),
	#receipt_list td:nth-child(5) {
		order: 3;
		width: 15%;
	}
	#receipt_list th:nth-child(6),
	#receipt_list td:nth-child(6) {
		order: 7;
		width: 50%;
	}
	#receipt_list th:nth-child(7),
	#receipt_list td:nth-child(7) {
		order: 8;
		width: 50%;
	}
	#receipt_list th:nth-child(8),
	#receipt_list td:nth-child(8) {
		order: 1;
		width: 10%;
	}

    #receipt_temp_list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }	
	#receipt_temp_list th:nth-child(1),
	#receipt_temp_list td:nth-child(1) {
		width: 50%;
		order: 2;
	}
	#receipt_temp_list th:nth-child(2),
	#receipt_temp_list td:nth-child(2) {
		width: 100%;
		order: 1;
	}
	
	#receipt_temp_list th:nth-child(3),
	#receipt_temp_list td:nth-child(3) {
		width: 22%;
		order: 3;
	}
	
	#receipt_temp_list th:nth-child(4),
	#receipt_temp_list td:nth-child(4) {
		width: 28%;
		order: 4;
	}
	
	#receipt_temp_list th:nth-child(5),
	#receipt_temp_list td:nth-child(5) {
		width: 20%;
		order: 5;
	}
	
	#receipt_temp_list th:nth-child(6),
	#receipt_temp_list td:nth-child(6) {
		width: 80%;
		order: 6;
	}		

	.invoice-sub-list tr {   
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
    }

	.invoice-sub-list th,
	.invoice-sub-list td {
		width: 100%;
	}

	/* 顧客選択 */
	#modal-customer #modal-customer_list tr {
        display: flex;
        flex-wrap: wrap;
        width: auto;
        border-bottom: solid 2px #666666;
	}
	#modal-customer #modal-customer_list th:nth-child(1),
	#modal-customer #modal-customer_list td:nth-child(1) {
		width: 100%;
	}
	#modal-customer #modal-customer_list th:nth-child(2),
	#modal-customer #modal-customer_list td:nth-child(2) {
		width: 100%;
	}
	#modal-customer #modal-customer_list th:nth-child(3),
	#modal-customer #modal-customer_list td:nth-child(3) {
		width: 40%;
	}
	#modal-customer #modal-customer_list th:nth-child(4),
	#modal-customer #modal-customer_list td:nth-child(4) {
		width: 40%;
	}
	#modal-customer #modal-customer_list th:nth-child(5),
	#modal-customer #modal-customer_list td:nth-child(5) {
		width: 20%;
	}
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 85%;
	}
}

.ekko-lightbox iframe{
background-image: url('../img/loading.gif');
background-position: center center;
background-repeat: no-repeat;
}
