html {
    background: #fffcec;
}
body {
    font-size: 1.5rem;
}

.l-main-wrap {
    min-width: 1200px;
}

.c-bread-li span::after {
    content: "";
    font-size: 14px;
}

.p-header-h1 {
    font-size: 1.8rem;
}

.p-header-h1 img {
    width: 160px;
}

.l-main-wrap, .p-header-nav {
    margin-top: 62px;
}

.c-bread-li {
    font-size: 12px;
}

.l-title-flow .l-title-h1 {
    padding: 10px 40px 10px 20px;
}

.l-title-nomal, .l-title-case {
    padding: 12px 20px;
}

.l-title-h1, .l-title-flow .l-title-h1, .l-title-case {
    font-size: 2rem;
}

.l-title-h3 {
    color: #98A6B5;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid;
}

.p-navbtn > li {
    max-width: 150px;
}

.p-navbtn > li > span {
    white-space: nowrap;
}

.l-btn-blueline a {
    font-size: 1.2rem;
    padding: 8px 16px;
    border-radius: 40px;
}

.l-btn-short-blue a {
    font-size: 1.5rem;
    padding: 8px 40px 8px 20px;
}

.l-btn-black a {
    font-size: 1.5rem;
    padding: 8px 16px;
}

@media screen and (min-width: 768px) {
    .l-btn-black a {
        min-width: 80px;
        text-align: center;
    }
}

.c-select {
    border: border 1px;
    background-color: white;

    color: unset;
    font-size: 1.2rem;

    appearance: auto;
    -webkit-appearance: auto;
}

.c-select.c-select-sm {
    font-size: 1.5rem;
    padding: 6px 10px;
}

.c-form-txt-select {
    padding: 8px 23px 8px 8px;
    border-radius: 0;
    background-image: none;
    background-color: #fff;
    border: 1px solid #2C5CAA;
    color: inherit;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: .95em;
    box-sizing: border-box;
    border-radius: 5px;
    background-image: url("../img/caret.svg");
    background-repeat: no-repeat;
    background-position: right 7px center;
    background-size: 14px 14px;
}

.c-inputs-box {
    border-bottom: 1px solid #2C5CAA;
    padding: 10px 30px;
    box-sizing: border-box;
}

a.link {
    text-decoration: underline;
    color: inherit;
}

.l-btn-bule button {
    background: #2C5CAA;
    color: #fff;
    font-size: 1.4rem;
    padding: 10px 20px;
    border-radius: 40px;
    border: 2px solid #2C5CAA;
    display: inline-block;
    min-width: 100px;
    cursor: pointer;
}

.l-btn-bule button:hover {
    opacity: 1;
    color: #2C5CAA;
    background: #fff;
}

.l-btn-bule-btn {
    background: #2C5CAA;
    color: #fff;
    font-size: 1.4rem;
    padding: 10px 20px;
    border-radius: 40px;
    border: 2px solid #2C5CAA;
    display: inline-block;
    min-width: 100px;
}

.l-btn-lg-blue {
    background: #2C5CAA;
    color: #fff;
    font-size: 1.4rem;
    padding: 10px 20px;
    border-radius: 40px;
    border: 2px solid #2C5CAA;
    display: inline-block;
    width: 300px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.l-btn-lg-blue::after {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    right: 24px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.l-btn-lg-blue:hover::after {
    border-top: 2px solid #2C5CAA;
    border-right: 2px solid #2C5CAA;
}

.l-btn-lg-blue:hover {
    opacity: 1;
    color: #2C5CAA;
    background: #fff;
}

.l-list-title {
    margin-bottom: 15px;
}

.l-list-column {
    margin-bottom: 10px;
    padding-bottom: 4px;
}

.order-table td {
    background-color: #fff;
}

.search-panel {
    margin-bottom: 20px;
    border-top: solid 1px #2C5CAA;
    border-bottom: solid 1px #2C5CAA;
    padding: 8px 0;
}

.search-panel table {
    width: 100%;
}

.search-panel table th, .search-panel table td {
    padding: 2px 8px;
}

.search-panel tbody th, .search-panel tbody td {
    border: none;
}

.search-panel table th {
    margin-top: 7px;
    background-color: #2C5CAA;
    text-align: center;
    color: white;
    min-width: 80px;
}

.mt10 {
    margin-top: 10px;
}

.pb20 {
    padding-bottom: 20px;
}


.l-width45per {
    width: 45%;
}

.l-width35per {
    width: 35%;
}

.l-width20per {
    width: 20%;
}

.l-width19per {
    width: 19%;
}

.l-width18per {
    width: 18%;
}

.l-width15per {
    width: 15%;
}

.l-width12per {
    width: 12%;
}

.l-width10per {
    width: 10%;
}

.l-width9per {
    width: 9%;
}

.l-width8per {
    width: 8%;
}

.l-width7per {
    width: 7%;
}

.l-width5per {
    width: 5%;
}

.l-width3per {
    width: 3%;
}

.l-width2per {
    width: 2%;
}

.w-auto {
    width: auto !important;
}

.w10 {
    width: 10px;
}

.w20 {
    width: 20px;
}

.w30 {
    width: 30px;
}

.w40 {
    width: 40px;
}

.w60 {
    width: 60px;
}

.w80 {
    width: 80px;
}

.w150 {
    width: 150px;
}

.w200 {
    width: 200px;
}

.w250 {
    width: 250px;
}

.w300 {
    width: 300px;
}

.w400 {
    width: 400px;
}

.w50per {
    width: 50%;
}

.w100per {
    width: 100%;
}

.error-text {
    font-size: 1em;
    color: #f33;
}

.p-zairyo {
    width: 19%;
}


.btn {
    display: inline-block;
    font-weight: 600;
    line-height: 1.5;
    color: #2d353c;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.4375rem 0.75rem;
    font-size: .75rem;
    border-radius: 4px;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-default {
    color: #20252a;
    background-color: #e9ecef;
    border-color: #e9ecef;
}

.btn-red {
    color: #fff;
    background-color: #ff5b57;
    border-color: #ff5b57;
}

.btn-md {
    padding: 0.5rem 0.8rem;
    font-size: 1.5rem;
    border-radius: 3px;
}

.btn-sm {
    padding: 0.3125rem 0.625rem;
    font-size: .75rem;
    border-radius: 3px;
}

.btn.btn-xs {
    font-size: .6875rem;
    padding: 2px 6px;
}

.d-flex {
    display: flex;
}

.d-flexDirection {
    padding: 5px 5px 5px 5px;
    display: flex;
    flex-direction: row;
    gap: 2px;
}

.flex-wrap-wrap {
    flex-wrap: wrap;
}

.alert {
    position: relative;
    padding: 0.9375rem 0.9375rem;
    margin-bottom: 1rem;
    border: 0 solid transparent;
    border-radius: 4px;
}

.alert-info {
    color: #163740;
    background-color: #c8e9f3;
    border-color: #c8e9f3;
}

.alert-danger {
    color: #4d1b1a;
    background-color: #ffcecd;
    border-color: #ffcecd;
}

.c-form-txt input[readonly] {
    background-color: #e9ecef;
}

.pager {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pager > li {
    display: inline;
}

.pager > li > a, .pager > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pager > .disabled > a,
.pager > .disabled > a:focus,
.pager > .disabled > a:hover,
.pager > .disabled > span,
.pager > .disabled > span:focus,
.pager > .disabled > span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.pager > .active > a,
.pager > .active > a:focus,
.pager > .active > a:hover,
.pager > .active > span,
.pager > .active > span:focus,
.pager > .active > span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}

.pager > li > a:focus,
.pager > li > a:hover,
.pager > li > span:focus,
.pager > li > span:hover {
    z-index: 2;
    color: #23527c;
    background-color: #eee;
    border-color: #ddd;
}

.pager > li:first-child > a,
.pager > li:first-child > span {
    margin-left: 0;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pager > li:last-child > a,
.pager > li:last-child > span {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

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

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn {
    display: inline-block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdownimg {
    width: 15px;
    margin-left: 3px;
}

.flr {
    float: right;
}

.text-right {
    text-align: right;
}

.uLink {
    text-decoration: underline !important;
    color: #2C5CAA;
}

.c-zairyo-list {
    border-bottom: solid 2px #E5E5E5;
}

.c-zairyo-list > li {
    border-bottom: none;
}

.c-zairyo-list > li.c-zairyo-drop1 {
    width: inherit;
}


/* --------------------------------------------
    サイズ
-------------------------------------------- */
.w60 {
    width: 60px;
}

.w90 {
    width: 90px;
}

/* --------------------------------------------
    ヘッダー
-------------------------------------------- */
.p-header-nav {
    display: flex;
    flex-direction: row;

    position: relative;

    margin: 0;

    width: auto;
    height: auto;

    background-color: unset;
}

.c-header-nav {
    display: flex;
    flex-direction: row;
}

.c-header-nav li {
    margin-right: 4px;

    width: 120px;

    background-color: gray;
    border-radius: 8px;
    box-shadow: 0 5px 0 dimgray;
}

.c-header-nav li a {
    padding: 8px;
    border-radius: 8px;

    text-align: center;
}

.c-header-nav li::after {
    content: unset;
}


/* --------------------------------------------
    ドロップダウンメニュー
-------------------------------------------- */
.nav-open {
    padding: 8px;

    width: 120px;

    background-color: gray;

    text-align: center;

    box-shadow: 0 5px 0 dimgray;

    border-radius: 8px;
}

.nav-open::before {
    content: "\25BC";
}

.nav-open.active::before {
    content: "\25B2";
}

.p-header-nav .menu {
    position: relative;
}

#c-small-nav {
    position: absolute;

    width: 100%;

    box-sizing: border-box;
    border: 1px solid #888;
}

#c-small-nav li {
    background-color: white;
}

#c-small-nav li::after {
    content: unset;
}

#c-small-nav li a {
    color: #333;
    font-size: 1.4rem !important;
}

#c-small-nav li a:hover {
    color: white;
}

#c-small-nav li.current a {
    color: white;
}

/* --------------------------------------------
    ドロップダウンメニュー（サブ）
-------------------------------------------- */
.submenu {
    position: relative;
}

.submenu .nav-open {
    display: inline-block;

    padding-inline-start: 1em;

    width: 160px;

    text-align: start
}

.submenu #c-small-nav {
    z-index: 2;
}

/* --------------------------------------------
    メインコンテナ
-------------------------------------------- */
.c-main {
    margin-left: 0;
    padding-bottom: 40px;

    width: 100%;
}


/* --------------------------------------------
    タイトル
-------------------------------------------- */
.l-title-flow {
    padding: 10px 40px 10px 20px;
    width: 100%;
    box-sizing: border-box;
    background-color: #2C5CAA;
    margin-bottom: 20px;
}

.l-title-flow .l-title-h1,
.l-title-flow .l-title-case {
    width: auto;

    padding: 0;

    background-color: transparent;

    color: white;
    font-size: 1.8rem;
}

.l-title-flow .l-title-h1::after {
    content: '\ff1a';
}


/* --------------------------------------------
    案件情報
-------------------------------------------- */
.order-container {
    position: relative;

    margin-bottom: 2rem;
}

.order-content {
    display: flex;
    align-items: center;

    margin-bottom: 1rem;
}

.order-badge {
    margin-right: 4px;
    padding: 2px 16px;

    min-width: 6em;

    border-radius: 4px;
    background-color: #358591;

    color: white;
    text-align: center;
}

.order-badge-project {
    margin-right: 4px;
    padding: 2px 16px;

    min-width: 6em;

    border-radius: 4px;
    background-color: gray;

    color: white;
    text-align: center;
}

.btn-order-edit {
    margin-left: 4px;
    padding: 4px 16px;

    border-radius: 4px;
    background-color: #eaedf0;

    text-align: center;
}

.order-table,
.order-table2 {
    border-collapse: collapse;
}

.order-table th,
.order-table td {
    padding: 8px 10px;

    border: 1px solid silver;
}

.order-table th {
    width: 6em;

    background-color: #2C5CAA;

    color: white;
    text-align: center;
}

.order-table td {
    width: 12em;

    word-break: break-all;
}

.order-table2 th,
.order-table2 td {
    padding: 8px 10px;
}

.order-table2 th {
    width: 3em;

    text-align: center;
}

.order-table2 td {
    width: 6em;
}


/* --------------------------------------------
    ステータスバッジ
-------------------------------------------- */
.status-badge {
    display: inline-block;

    width: 6em;

    padding: 4px;

    border-radius: 4px;
    background-color: #2C5CAA;

    color: black;
    text-align: center;
}

.status-badge.not-yet {
    background-color: silver;
    color: unset;
}


/* --------------------------------------------
    ナビボタン
-------------------------------------------- */
.p-navbtn > li {
    max-width: 170px;
}

.p-navbtn .l-btn-blueline a {
    border: none;
    border-radius: unset;
    background-color: gray;

    color: white;
    font-size: 1.5rem;
}

.p-navbtn > li.current a {
    overflow: hidden;

    position: relative;

    background-color: silver;

    color: inherit;
}

.p-navbtn > li.current a::after {
    content: '';

    position: absolute;
    left: 50%;
    bottom: -0.7em;

    display: inline-block;

    width: 1em;
    height: 1em;

    background-color: white;

    transform: translateX(-50%) rotateZ(45deg);
}

.p-navbtn :not(.current) .l-btn-blueline a:hover {
    opacity: 0.7;
}


/* --------------------------------------------
    フッターバー
-------------------------------------------- */
#footer.invoice-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;

    left: 0;

    padding: 0.5em 1em 0.6em;

    width: 100%;

    box-sizing: border-box;
}

.invoice-total {
    display: flex;
}

.foot-input-group {
    display: flex;
    flex-direction: row;
    align-items: center;

    padding: 0;
}

.foot-input-group dt {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#footer.estimate-foot {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    left: 0;

    padding: 0.5em 1em 0.6em;

    width: 100%;

    box-sizing: border-box;
}


/* --------------------------------------------
    一覧テーブル（新規作成）
-------------------------------------------- */
.list-table {
    width: 100%;

    background-color: white;
}

.list-table thead tr {
    background-color: #2a5caa;

    color: white;
}

.list-table th,
.list-table td {
    padding: 4px;
}

.list-table tbody tr:nth-child(odd) {
    background-color: #ddeeef;
}

.btn-sm {
    margin: 4px;

    font-size: 1.5rem;
}

.list-head {
    align-items: center;

    background-color: #2C5CAA;
}

.list-head .l-list-title {
    margin: 0;
    padding: 4px 8px 5px;

    border: unset;

    color: white;
    font-weight: normal;
}

.list-body,
.list-body2 {
    align-items: center;

    background-color: white;
}

.list-body:nth-child(odd),
.list-body2:nth-child(4n+1),
.list-body2:nth-child(4n+2) {
    background-color: #ddeeef;
}

.list-body .l-list-column,
.list-body2 .l-list-column {
    margin: 0;
    padding: 4px 8px 5px;

    border: unset;

    font-size: 1.7rem;
    word-break: break-all;
}

.c-header-nav li a:hover {
    background: silver;
    color: black;
}

.p-navbtn .l-btn-blueline a {
    border-radius: 8px;
    box-shadow: 0 5px 0 dimgray;
}

/* --------------------------------------------
    フォーム
-------------------------------------------- */
.c-form-txt {
    align-items: flex-start;
}

.c-form-txt dd {
    align-self: center;
}

.c-form-title,
.p-select dt {
    margin-right: 8px;
    padding: 0.5em 1em 0.6em;

    background-color: #2c5caa;

    color: white;
    font-weight: normal;
    text-align: center;
}

.c-form-title, .p-search th {
    margin-right: 8px;
    padding: 0.5em 1em 0.6em;

    background-color: #2c5caa;

    color: white;
    font-weight: normal;
    width: 145px;
    text-align: center;
}

.c-form-txt input,
.c-form-ddm textarea,
.c-form-txt-select {
    border-color: #888 !important;
    border-radius: 5px;
}

.form-group {
    display: flex;
    margin-bottom: 8px;
}

.form-group > *:not(:last-child) {
    margin-right: 8px;
}

.btn-default,
.btn-red {
    border: 1px solid #0003;
    box-shadow: 1px 1px 0 #0005, inset 1px 1px #fff5;
}

.l-download {
    color: white;
    display: block;
    text-align: center;
    border-radius: 8px;
    background: gray;
    box-shadow: 0 5px 0 dimgray;
    width: 130px;
    border: none;
    padding: 2px 4px;
}

.l-download:hover {
    opacity: 1;
    color: black;
    background: silver;
}

.l-blueline {
    background: gray;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 0 dimgray;
    display: inline-block;
    width: 170px;
}

.l-blueline:hover {
    opacity: 1;
    color: black;
    background: silver;
}

.l-blueline-small {
    background: gray;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    padding: 6px 20px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 0 dimgray;
    display: inline-block;
    width: 140px;
}

.l-blueline-small:hover {
    opacity: 1;
    color: black;
    background: silver;
}

.l-blueline-execute {
    background: gray;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    padding: 5px 20px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 0 dimgray;
    display: inline-block;
    width: 140px;
    height: 30px;
}

.l-blueline-execute:hover {
    opacity: 1;
    color: black;
    background: silver;
}

.l-blueline-add {
    background: gray;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    padding: 5px 20px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 0 dimgray;
    display: inline-block;
    width: 140px;
    height: 20px;
}

.l-blueline-add:hover {
    opacity: 1;
    color: black;
    background: silver;
}

.l-blueline-order {
    background: gray;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    padding: 5px 20px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 5px 0 dimgray;
    display: inline-block;
    width: 100px;
    height: 20px;
}

.l-blueline-order:hover {
    opacity: 1;
    color: black;
    background: silver;
}

.l-projectEdit {
    color: white;
    display: block;
    text-align: center;
    border-radius: 8px;
    background: gray;
    boxshadow: 0 5px 0 #aaa;
    width: 170px;
    height: 40px;
    border: none;
}

.l-projectEdit:hover {
    opacity: 1;
    color: black;
    background: silver;
}

.editButton {
    color: white;
    display: block;
    text-align: center;
    border-radius: 8px;
    background: gray;
    box-shadow: 0 5px 0 dimgray;
    font-size: 1.5rem;
    width: 60px;
    padding: 2px 4px;
    border: none;
    white-space: nowrap;
}

.editButton:hover {
    color: #333;
    opacity: 1;
    background: silver;
}

.deleteButton {
    color: #000000;
    display: block;
    text-align: center;
    border-radius: 8px;
    background: #ff5b57;
    box-shadow: 1px 1px 0 #0005;
    font-size: 1.5rem;
    width: 50px;
    height: 30px;
    border: none;
}

.deleteButton:hover {
    opacity: 1;
}

.insertButton {
    color: white;
    display: block;
    text-align: center;
    border-radius: 8px;
    background: gray;
    font-size: 1.5rem;
    width: 50px;
    height: 30px;
    border: none;
}

.insertButton:hover {
    opacity: 1;
    color: #333;
    background: silver;
}

.cancelButton {
    color: #000000;
    display: block;
    text-align: center;
    border-radius: 8px;
    background: #ff5b57;
    box-shadow: 1px 1px 0 #0005;
    font-size: 1.5rem;
    width: 80px;
    height: 30px;
    border: none;
}

.deleteButton:hover {
    opacity: 1;
}

.l-supplier {
    color: white;
    display: block;
    text-align: center;
    border-radius: 8px;
    background: gray;
    boxshadow: 0 5px 0 #aaa;
    width: 130px;
    height: 27px;
    border: none;
}

.l-supplier:hover {
    opacity: 1;
    color: #2C5CAA;
    background: silver;
}

.l-justify-content {
    display: flex;
    gap: 2px;
    justify-content: left;
}

