@charset 'utf-8';

html, body {
    font-family: 'Meiryo', system-ui;
}

.content {
    min-width: 400px;
}

th a.asc:after {
    content: '▲';
}
th a.desc:after {
    content: '▼';
}
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive > table {
    width: 100%;
    white-space: nowrap;
}
.table-responsive > table th,
.table-responsive > table td {
    min-height: 2em;
    height: 2em;
}

/** FLASHメッセージ */
.message.success {
    padding: 0.5em;
    background-color: #49c9a3;
    margin-bottom: 1em;
    font-weight: bold;
    color: white;
}

.message.error {
    padding: 0.5em;
    background-color: red;
    margin-bottom: 1em;
    font-weight: bold;
    color: white;
}

/** ページネーション */
.paginator {
    padding: 0.5em;
}

.paginator_number {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-left: 0.2em;
    margin-right: 0.2em;
    border: 1px solid #ccc;
}

.paginator_current {
    background-color: #ccc;
    color: white;
}

/** データグループ */
.data-group-title {
    background-color: purple;
    color: white;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
    cursor: pointer;
}
.data-group-title a {
    color: white;
    text-decoration: none;
}
.data-group-wrapper {
    margin-bottom: 1em;
}

/** 入力フォーム */
label.form-label {
    margin: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

div.form-input {
    margin: 0;
    padding: 0;
}

div.form-input button {
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

div.error-message {
    background-color: #cd3a3a;
    color: white;
}

input[type="text"].form-control.form-error,
input[type="date"].form-control.form-error,
input[type="month"].form-control.form-error,
input[type="password"].form-control.form-error,
select.form-select.form-error {
    border: 1px solid red;
}

div.input.error input[type="text"].form-control,
div.input.error input[type="date"].form-control,
div.input.error input[type="month"].form-control,
div.input.error input[type="password"].form-control,
div.input.error select.form-select {
    background-color: #ffa4a4;
}
input[type="text"].form-control:placeholder-shown,
input[type="date"].form-control:placeholder-shown,
input[type="month"].form-control:placeholder-shown,
input[type="password"].form-control:placeholder-shown,
select.form-select:placeholder-shown {
    background-color: #ffffff;
}

input[type="text"][readonly].form-control {
    background-color: #c2c1cf;
    color: #000000;
}
input[type="text"][readonly][view].form-control {
    background-color: #ffffff;
    color: #000000;
}

div.input.radio.checkboxes,
div.input.select.checkboxes {
    display: flex;
    align-items: center;
    border: 1px solid #eeeeee;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.3rem 0.85rem;
}

div.input.select.checkboxes div.checkbox {
    display: flex;
    align-items: center;
    border: 0px solid red;
}
div.input.select.checkboxes div.checkbox label {
    margin-right: 1em;
}
div.input.select.checkboxes div.checkbox label input[type="checkbox"] {
    margin-right: 0.5em;
}

span.input-group-text {
    min-width: 42px;
    padding-left: 6px;
    padding-right: 6px;
}

.error-message > ul > li {
    list-style-type: none;
}

.error-message > ul {
    margin: 0;
    padding: 0;
}

/** 見積明細 */
.detail-show {
    display: show;
}
.detail-hide {
    display: none;
}

/** ページング */

div.paginator {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

div.paginator .page-info {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: end;
    padding-right: 1em;
}

div.paginator .pages-info {
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: end;
    padding-right: 1em;
}

div.paginator ul.pagination {
    width: 60%;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

div.paginator ul.pagination li {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 5px;
}
div.paginator ul.pagination li span,
div.paginator ul.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2em;
    min-height: 2em;
    border-radius: 2em;
    color: #000000;
    border: 2px solid #fefefe;

    text-decoration: none;
}

div.paginator ul.pagination li.current span,
div.paginator ul.pagination li.current a {
    background-color: #6876f3;
    color: #ffffff;
}
div.paginator ul.pagination li.disabled span,
div.paginator ul.pagination li.disabled a {
    display: none;
    background-color: #9c9c9d;
    color: #ffffff;
}

@media screen and (max-width: 700px) {

    div.paginator .pages-info {
        width: 100%;
    }

    div.paginator .page-info {
        width: 100%;
    }

    div.paginator ul.pagination {
        width: 100%;
    }
}


span.required {
    color: red;
    font-weight: bold;
}
span.conditionally-required {
    color: rgb(217 6 199);
    font-weight: bold;
}

.bg-gray {
    background-color: #cccccc;
}

.bg-gray-light {
    background-color: #eeeeee;
}
div.input.error input[type="text"],
div.input.error input[type="password"],
div.input.error select {
    border: 1px solid #fb2e2e;
}
div.input.error div.error-message {
    color: #ff0000;
    background-color: #ffcaca;
    padding: 5px
}

/*
 * バッヂ
 */
.badge.badge-creating-estimate {
    background-color: #FF0461;
}
.badge.badge-waiting-president-approval {
    background-color: #FF4F02;
}
.badge.badge-submitted-customer {
    background-color: #a7a700;
}
.badge.badge-decision-order {
    background-color: #a7d517;
}
.badge.badge-lost-order {
    background-color: #BBBBBB;
}
.badge.badge-drawing {
    background-color: #15cd8c;
}
.badge.badge-waiting-customer-approval {
    background-color: #15af39;
}
.badge.badge-in-factory-production {
    background-color: #1ac3d7;
}
.badge.badge-complete-construction {
    background-color: #75A9FF;
}
.badge.badge-already-delivered {
    background-color: #4142ec;
}
.badge.badge-remaining-construction {
    background-color: #A16EFF;
}
.badge.badge-removed {
    background-color: #1a0057;
}
.badge.badge-yellow {
    background-color: #fffa5a;
    border: 2px solid #c7c7c7;
    color: #000;
}
.badge.badge-red {
    background-color: red;
    border: 2px solid #bda88e;
}

.message.warning {
    color: red;
    font-weight: bold;
}
.form-check {
    height: 1.8em;
}

.card-header.bg-card-title {
    background-color: #204b71;
}

label.bg-column-label {
    background-color: #053049;
    font-size: 0.8em;
}

.card-body.bg-card-body {
    background-color: #d3cdcd;
}

main.content.bg-main-content {
    background-color: #818181;
}

table.bg-table {
    background-color: #efefef;
}
table.bg-table tbody tr:nth-child(odd) td {
    background-color: #e3e3e3;
}

nav.navbar-bg {
    background-color: #000000;
}

.form-value {
    min-height: 2.2em;
    line-height: 2.2em;
    border: 1px solid #ccc;
    background-color: #e3e3e3;
}

.form-value.form-value-checkboxes {
    line-height: 1.7em;
    padding-top: 0.2em;
}

p.section-title {
    background-color: #272e8b;
    color: #fff;
    margin-bottom: 0px;
    line-height: 2.5em;
    text-indent: 1em;
    border-radius: 5px;
}

/*
 * 工事明細
 */
table.construction-details-table tr td div {
    padding:  0.2em;
}


div.text-left {
    display: flex;
    justify-content: start;
}

div.text-right {
    display: flex;
    justify-content: end;
}

div.outputs-monthly-group-ranking {
    border-radius: 10px;
}
div.outputs-monthly-group-ranking.group1 {
    background-color: #f54b4b;
}
div.outputs-monthly-group-ranking.group2 {
    background-color: #4b8ef5;
}
div.outputs-monthly-group-ranking.group3 {
    background-color: #b9df29;
}

div.outputs-montly-group-title {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: large;
}

.outputs-monthly-group-ranking table tr th, .outputs-monthly-group-ranking table tr td,
.monthly-total-table-container table tr th, .monthly-total-table-container table tr td {
    font-size: 8pt;
}

.outputs-monthly-group-ranking table tr td.text-align-right,
.monthly-total-table-container table tr td.text-align-right,
.text-align-right {
    text-align: right !important;
}

.monthly-group-summary table tr td.top {
    font-weight: bold;
    color: red !important;
    background-color: #f1f134 !important;
}

.monthly-group-summary table tr:nth-child(odd)  td.top {
    background-color: #ebeb00 !important;
}


.d-xl-show, .d-lg-show, .d-md-show, .d-sm-show {
  display: none; }

.d-show {
  display: block !important; }

@media (min-width: 1200px) {

  .d-xl-show {
    display: block !important; }

}

@media (min-width: 992px) and (max-width: 1199px) {
  .d-lg-show {
    display: block !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .d-md-show {
    display: block !important; } 
}

@media (min-width: 576px) and (max-width: 767px) {
  .d-sm-show {
    display: block !important; } 
}

.app-ratings__app-list {
    list-style-type: none;
    display: flex;
    align-items: center;
}

.app-ratings__app-list li {
    max-width: 50%;
}

.app-ratings__app-list li a img {
    max-width: 100%;
}

.app-ratings__app.google-play img {
    width: calc(100% - 1.6em);
}

.app-ratings__app.apple-app-store img {
    margin: 1em;
}

.bg-history-new {
    background-color: khaki;
}

.bg-history-change {
    background-color: lemonchiffon;
}

.text_employee_no {
    -ms-ime-mode: disabled;
}

.btn.disabled {
    text-color: #000000;
}