body {
    font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ",
        Meiryo, "ＭＳ Ｐゴシック", sans-serif !important;
    line-height: 25px;
    font-size: 0.95em;
}
nav {
    margin-bottom: 0px !important;
}
ul {
    margin-bottom: 0px !important;
}
a {
    cursor: pointer;
}
hr {
    border-top-width: 3px;
}
p {
    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

/* カレンダー文字列　*/
#today {
    cursor: pointer;
}
#today-2 {
    cursor: pointer;
}

/* 日付 */
input[type="date"] {
    width: 160px !important;
}

/* select2 readonly */
select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}
select[readonly].select2-hidden-accessible
    + .select2-container
    .select2-selection {
    background: #eee;
    box-shadow: none;
}
select[readonly].select2-hidden-accessible
    + .select2-container
    .select2-selection__arrow,
select[readonly].select2-hidden-accessible
    + .select2-container
    .select2-selection__clear {
    display: none;
}

/* ボタン関連 */
.btn-change {
    margin-right: 1px;
}
.btn-delete {
    margin-right: 1px;
}
.btn-copy {
    margin-right: 0px;
}
.btn-search {
    margin-right: 10px;
}
.btn-new-regist {
    margin-right: 0px;
}
.input-inline {
    display: inline-block !important;
    width: 14em;
}
.btn-input-area {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    outline: 0 !important;
}
.btn-mainmenu {
    width: 280px;
}

/* ボタンの非表示など */
.is-hide {
    display: none;
}

/*
　csv出力時テーブル用のの非表示
　上記のis-hideがresizeablecolumnで使っていて競合回避
*/
.is-hide-csv {
    display: none;
}

/* 入力タグ */
.height-text-box {
    height: 100px;
    width: 320px;
}

/* 数値表示 */
.num {
    text-align: right;
}

/* 一番外側のDiv用？ */
.top-box {
    text-align: center;
}

/* 一覧領域 */
.data-list .main-table {
    padding: 10px;
}
.main-table-open {
    padding-right: 355px !important;
}
.data-list .main-table th {
    width: 10%;
    padding: 5px;
}
.data-list th td {
    width: 100px;
    font-size: 1.1vw;
}
.data-list th {
    height: 10px;
    padding: 6px;
}
.data-list td {
    height: 10px;
    padding: 6px;
}

/* 一覧領域の幅 */
.data-list .item-id {
    width: 5em;
    text-align: right;
}
.data-list .item-client {
    white-space: nowrap;
}
.data-list .item-date {
    width: 7em;
}
.data-list .item-time {
    width: 3em;
}
.data-list .item-amount {
    width: 7em;
    text-align: right;
}
.data-list .item-amount-sm {
    width: 5em;
    text-align: right;
}
.data-list .item-2-button {
    width: 115px;
}
.data-list .item-3-button {
    width: 180px;
}

/* 確認済 */
.confirmed {
    color: green;
}

/* レート未確認 */
.rate-unchecked {
    color: red;
}

/* 集計値領域 */
.data-summary td {
    line-height: 10px;
    font-size: 0.95em;
    height: 10px;
    padding: 1px;
    padding-right: 10px;
}

/* サブタイトル集計値領域 */
.data-summary-subtitle td {
    line-height: 20px;
    font-size: 0.95em;
    height: 10px;
    padding: 1px;
    padding-right: 10px;
}

/* 入力領域 */
.input-box-in {
    height: 100%;
}
.input-box {
    z-index: 10;
    box-shadow: 5px 5px 11px 1px rgba(0, 0, 0, 0.1);
    width: 350px !important;
    text-align: center;
    margin-top: 172px;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 5px;
    background-color: white;
    padding: 10px;
    overflow-y: scroll;
}
.hide-btn-box {
    position: fixed;
    right: 355px;
}
.btn-link-xs {
    padding-top: 3px;
    padding-bottom: 1px;
}
.item-calendar-v {
    vertical-align: middle;
}
.item-calendar {
    border: solid 1px;
    border-color: lightgray;
    border-radius: 4px;
    display: inline-block;
}
.item-highlight {
    border: solid 2px;
    border-color: goldenrod;
    border-radius: 8px;
    background-color: gold;
}
.item-error-highlight {
    border: solid 3px;
    border-radius: 7px;
    border-color: #ff9090;
    display: inline-block;
}
.item-change-highlight {
    border: solid 3px;
    border-radius: 4px;
    border-color: #ff9090;
}

/* 検索条件領域 */
.search-box {
    text-align: center;
}
.input-item-id {
    width: 7em !important;
}
.input-item-amount {
    width: 7em !important;
    text-align: right;
}

/* 実費集計画面のチェックボックス */
/* 元々のチェックボックスを非表示にする */
.expense_checkbox input[type="checkbox"]{
    display: none;
}
/* チェックボックスの代わりを成すラベル */
.expense_checkbox input[type="checkbox"]+label{
    display: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    padding-left: 25px;
    padding-right: 10px;
}
/* ラベルの左に表示させる正方形のボックス□ */
.expense_checkbox input[type="checkbox"]+label::before{
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    left: 0;
    top: 50%;
    border: 1px solid;
    border-color:  #585753;
    background-color: #FFF;
    border-radius: 50%;
}
/* チェックが入った時のレ点 */
.expense_checkbox input[type="checkbox"]:checked+label::after{
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 18px;
    height: 9px;
    margin-top: -9px;
    top: 50%;
    left: 3px;
    transform: rotate(-45deg);
    border-bottom: 3px solid;
    border-left: 3px solid;
    border-color:  #0DAAA9;
}
/* 請求書発行画面のスライドラジオボタン */
.check-box-slide {
    width: 320px;
    margin: 2em auto;
    text-align: left;
}
.check-box-slide label {
    position: relative;
    display: block;
    padding: 0px 0;
    padding-right: 35px;
    margin-left: 30px;
    cursor: pointer;
}
.check-box-slide input[type="checkbox"] {
    position: absolute;
    visibility: hidden !important;
}
.check-box-slide input[type="checkbox"] + label:before,
.check-box-slide input[type="checkbox"] + label:after {
    position: absolute;
    top: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: -7.5px;
    content: "";
}
.check-box-slide input[type="checkbox"] + label:before {
    right: 0;
    width: 30px;
    height: 15px;
    border: 1px solid #e4e3e1;
    border-radius: 15px;
    background: #ffffff;
}
.check-box-slide input[type="checkbox"] + label:after {
    right: 15px;
    width: 15px;
    height: 15px;
    -webkit-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    border-radius: 50%;
    background: #999;
}
.check-box-slide input[type="checkbox"]:disabled + label:after {
    right: 15px;
    width: 15px;
    height: 15px;
    -webkit-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    border-radius: 50%;
    background: lightgray;
}
.check-box-slide input[type="checkbox"]:checked + label:after {
    right: 0;
    background: #0daaa9;
}
.check-box-slide input[type="checkbox"]:checked:disabled + label:after {
    right: 0;
    background: lightgray;
}

/* 請求書作成画面のチェックボックス */
.checkbox01-input {
    display: none;
}
.checkbox01-parts {
    padding-left: 20px;
    position: relative;
    margin-right: 20px;
}
.checkbox01-parts::before {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    left: 0;
    width: 15px;
    height: 15px;
    border: 1px solid #999;
    border-radius: 4px;
}
.checkbox01-input:checked + .checkbox01-parts {
    color: #0daaa9;
}
.checkbox01-input:checked + .checkbox01-parts::after {
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    left: 7px;
    width: 7px;
    height: 14px;
    transform: rotate(40deg);
    border-bottom: 3px solid #0daaa9;
    border-right: 3px solid #0daaa9;
}

/* 請求書作成画面の入力領域の切り替え */
.select-btn-on {
    cursor: pointer;
    padding: 6px 4px !important;
    background-color: #006b6b;
    color: #fff;
}
.select-btn-off:hover {
    background-color: #0DAAA9;
}
.select-btn-off {
    cursor: pointer;
    padding: 6px 4px !important;
    background: #bdc3c7;
    color: #555e64;
}

/* PDF表示領域 */
.pdf-area-jp {
    font-family: "游ゴシック体", "YuGothic", "游ゴシック Medium",
        "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif !important;
    font-size: 14px;
}
.pdf-area-en {
    font-family: "arial", sans-serif !important;
    font-size: 14px;
}
.pdf-area-cover-en {
    font-family: "arial", sans-serif !important;
    font-size: 15px;
}
.pdf-area {
    margin: auto;
    margin-top: 20px;
    padding: 60px 60px 60px 100px;
    width: 1000px;
    height: 1414px;
    box-shadow: 10px 10px 25px 15px rgba(0, 0, 0, 0.5);
    background-color: white;
    position: relative;
}

/* 表紙 */
.bill-info-add {
    width: 360px;
}
.bill-to-pdf {
    width: 100%;
    padding: 5px;
    margin: auto;
}
.bill-to-pdf > tr {
    margin: 15px;
    padding: 15px;
}
.bill-to-pdf > thead {
    margin: 15px;
    padding: 15px;
}
.bill-to-pdf > tbody {
    margin: 15px;
    padding: 15px;
}
.bill-to-pdf > tbody + tbody {
    border-top: 0px;
}
.bill-bottom-space {
    padding-bottom: 48px;
}
/*
.bill-left-space {
    padding-left: 86px;
}
*/
.title {
    width: 125px;
    font-weight: bold;
}
.value {
    width: 125px;
}
.sub-title {
    font-weight: bold;
    color: #898989;
}
.pdf-cover td {
    padding: 0.18rem;
    border-top-style: none;
}
.pdf-cover-jpy {
    text-align: right;
    width: 2.5em;
}
.pdf-cover-amount {
    text-align: right;
    width: 7em;
}
.pdf-cover-bank {
    font-weight: bold;
    margin-right: 6px;
}

.pdf-font-s {
    font-size: 13px !important;
}
.pdf-font-l {
    font-size: 15px !important;
}
.pdf-font-xl {
    font-size: 17px !important;
}

/* タイムチャージ明細書 */
.pdf-tc-title {
    margin: 0 auto;
}
.pdf-tc-list {
    border-spacing: 0px;
}
.pdf-tc-list tr {
    padding: 0px;
}
.pdf-tc-list th {
    border-top: 1px solid darkgray;
    border-right: 0px;
    border-bottom: 1px solid darkgray;
    border-left: 1px solid darkgray;
    padding: 1px 4px;
    text-align: center;
}
.pdf-tc-list-item {
    background-color: lightgray;
    color: black;
}
.pdf-tc-list td {
    word-break: break-all;
    border-top: 0px;
    border-right: 0px;
    border-bottom: 1px solid darkgray;
    border-left: 1px solid darkgray;
    padding: 6px 4px;
}
.pdf-tc-summary {
    border: none !important;
    padding: 6px 4px !important;
}
.pdf-tc-summary-total {
    border-top: 0px !important;
    border-right: 0px !important;
    border-bottom: 1px solid darkgray !important;
    border-left: 1px solid darkgray !important;
    padding: 6px 4px !important;
}

/* 実費明細書 */
.pdf-exp-list tr {
    padding: 0px;
}

/* （日本語） */
.pdf-exp-list th {
    border-collapse: collapse !important;
    padding: 1px 4px;
}
.pdf-exp-list-item {
    border-top: 1px solid Darkgray;
    background-color: lightgray;
    color: black;
}
.pdf-exp-list td {
    word-break: break-all;
    border-collapse: collapse !important;
    border: none;
    padding: 1px 4px;
}
.pdf-exp-summary {
    border-top: none !important;
    border-bottom: 2px solid lightgray;
    padding: 1px 4px !important;
}

/* （英語） */
.pdf-exp-list-en th {
    border-top: 1px solid darkgray;
    border-right: 0px;
    border-bottom: 1px solid darkgray;
    border-left: 1px solid darkgray;
    padding: 1px 4px;
}
.pdf-exp-list-en td {
    word-break: break-all;
    border-top: 0px;
    border-right: 0px;
    border-bottom: 1px solid darkgray;
    border-left: 1px solid darkgray;
    padding: 1px 4px;
}
.pdf-exp-summary-en {
    border: none !important;
}

/* 事務所レート */
.pdf-rate-header1 {
    background-color: #fff;
    color: #0daaa9 !important;
    padding-top: .32rem;
    padding-bottom: .32rem;
    font-size: 2rem;
    line-height: inherit;
    white-space: nowrap;
    text-align: center;
}
.pdf-rate-header2 {
    background-color: #0daaa9 !important;
    color: #fff;
    padding-top: .32rem;
    padding-bottom: .32rem;
    font-size: 1rem;
    line-height: inherit;
    white-space: nowrap;
    text-align: center;
}

/* 請求書作成（Draft文字列の透かし表示）*/
.opacity-text-1 {
    font-size: 214px;
    opacity: 0.2;
    float: left;
    position: relative;
    top: 777px;
    left: 209px;
    transform: rotate(40deg);
}
.opacity-text-2 {
    font-size: 214px;
    opacity: 0.2;
    float: left;
    position: relative;
    top: 640px;
    left: 200px;
    transform: rotate(40deg);
}

/* html2canvasプラグインで画面非表示部分も描画対象とする */
.html2canvas-container {
    width: 1100px !important;
}

/* 以下、未確定スタイル（不要なものは削除する） */

input[type="time"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="time"] {
    text-align: center;
}

input[type="time"]::-webkit-clear-button {
    -webkit-appearance: none;
}

.table72vh {
    height: 70vh;
}

/*ロード処理を隠すcss*/
#loading {
    z-index: 100;
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.8;
}

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

/* overflowした文字列を(...)に変換 */
.add-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ヘッダーに縦線を追加 */
.border-header th {
    border-style: solid;
    border-color: rgb(210, 246, 255);
    border-width: 1px;
}

/* 月次チェック画面のTC明細書PDF出力欄をpopupにする */

.pop-up-section {
    display: none;
    position: fixed;
    z-index: 11;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.pop-up-section .btn-area {
    background-color: #fefefe;
    padding: 10px;
    position: fixed;
    z-index: 12;
    width: 100%;
    box-shadow: 10px 10px 25px 15px rgba(0, 0, 0, 0.5);
}

.pop-up-content {
    top: 50px;
    position: relative;
}

/* ダイアログ（Bootstrap）カスタマイズ */
.modal-header {
    background-color: #0daaa9;
    color: white;
    padding: 0.3rem 1rem;
}
.modal-footer {
    border-top: none;
}

/* レート管理（期間表示） */
.rate-season {
    background-color: #99ffcc;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

/* レート管理（案件表示） */
.rate-lawcase {
    background-color: #ffff99;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.btn-delete-icon {
    font-size: 1px !important;
    line-height: 6px !important;
    outline-width: 1px !important;
    padding: 6px !important;
    border-radius: 50%;
}

/* 補足表示 */
.supplement-text {
    color: red;
}

/* 案件管理画面 */
#temporary_client_name_massage {
    background: linear-gradient(transparent 0%, #dffcff 0%);
}
.payment_plan_date_scroll {
    height: 180px;
    overflow: auto;
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
}
.billing_cycle_area {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.cycle_selection_button_area {
    flex-basis: 0px;
    flex-grow: 1;
    max-width: 30%;
    margin-top: 20px;
    margin-left:40px;
}
.cycle_selection_button_list {
    display: flex;
    flex-direction: column;
    height: 150px;
}
.cycle_selection_button {
    flex: 1;
}

/* 案件管理画面(事件管理モーダル) */
.tab-h3 {
    margin-top:25px;
}
.buttonBox {
    display: flex;
    justify-content: center;
    align-items: center;
}
.button {
    color: #333;
    border: 1px solid #333;
    width: calc(70% / 2);
    text-align: center;
}
.button:last-child {
    margin-right: 0;
}
.button:hover {
    background-color: #07d4d4;
    color: #fff;
    cursor: pointer;
}
.buttonBox .tab-active {
    background-color: #0DAAA9;
    color: #fff;
}
.tab-null-data {
    background-color: #9b99993b;
}
.tab-exist-data {
    background-color: #BEE5EB;
    font-weight: bold;
}
.contents {
    width: 70%;
    margin: 0 auto;
}
.tab-content {
    text-align: left;
}
[id="tab2"] {
    display: none;
}
.incident_modal_footer {
    display:block;
    margin:0 0 0 auto;
    white-space:nowrap;
    margin-top:25px;
}

/* 実費管理 */
.cp_ipselect {
    overflow: hidden;
    text-align: center;
}

.cp_ipselect select {
    cursor: pointer;
    text-overflow: ellipsis;
    border: none;
    outline: none;
    background: transparent;
    background-image: none;
    box-shadow: none;
}

/* 実費集計 */
/* テーブルのヘッダーを固定 */
.sticky_table thead th{
    position: sticky;
    top: 0;
    z-index: 1;
}
.sticky_table_wrapper {
    overflow-y: scroll;
    overflow-x: hidden;
    width: calc(99vw - 1rem);
    height: 96vh;
}
/* テーブルのストック、残額、請求しないデータを非表示にする */
.none_display{
    max-width: 1px;
    width: 0%!important;
    padding: 0!important;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}
.none_display td{
    display: none;
}
.th_sum_calculation_first{
    background-color: pink!important;
}
.table-info:hover .th_sum_calculation_first{
    background-color: rgb(252, 175, 188)!important;
}
.sum_calculation_first{
    background-color: rgb(255, 228, 233);
}
.table_items:hover .sum_calculation_first{
    background-color: rgb(250, 210, 217);
}
#sum_all_calculation_first{
    background-color: rgb(255, 228, 233);
}
.sum_table_items:hover #sum_all_calculation_first{
    background-color: rgb(250, 210, 217);
}

/* 顧問料管理画面 */
.display_record:hover{
    cursor:pointer;
}

.hidden_row{
    display:none;
}

.table-striped-gray{
    background-color: #F2F2F2;
}

.table-striped-white{
    background-color: #FFFFFF;
}

.table-striped-gray:hover{
    background-color: #ECECEC;
}

.table-striped-white:hover{
    background-color: #ECECEC;
}

/* 売上管理画面 */
.recalculation_icon{
    margin-right:2px;
    cursor: pointer;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 100px;
  width: 100px;
  background-size: 100%, 100%;
  background-image: none;
  font-size: 55px;
  color: #0DAAA9;
}

.search-block {
    display: inline-block;
    margin-top: 10px;
}
.table_in_table > table {
	border-top:1px solid #000;
	border-left:1px solid #000;
}
.table_in_table > table > tbody > tr > th ,
.table_in_table > table > tbody > tr > td {
	border-right:1px solid #000;
	border-bottom:1px solid #000;
	padding:0.5em;
}
.allocation_field {
    cursor: pointer;
}
.allocation_table_tr > td {
    border-right: 1px dashed #999;
}

.remove_transparent:hover {
    background-color: #ECECEC !important;
}

/* 労務管理画面 */
.legend_project_time {
    display:inline-block;
    background-color: rgb(0,176,80,0.8);
    border: 2px solid;
    border-color: rgb(223,228,235);
    width: 50px; 
    height: 20px;
    text-align: center;
    vertical-align: middle;
}

.legend_without_time {
    display:inline-block;
    background-color: rgb(255,192,0,0.8);
    border: 2px solid;
    border-color: rgb(223,228,235);
    width: 50px;
    height: 20px; 
    text-align: center;
    vertical-align: middle;
}
