/* 大福帳テーブル */
.account-book {
    font-size:0.75em;
    position: relative;
    min-width:1200px;
    width:100%;
    /* height:420px; */
    /* overflow-x:scroll; */
}

.wrapUp {
    display:none;
}

.wrapUp,
.wrapLo,
.wrapUp + div,
.table-sum {
    width:100%;
    overflow-x:scroll;
    margin-bottom:20px;
}

.account-book .wrapUp div{
    height: 20px;
}

.account-book .table{
    overflow-y:scroll;
}

.fix-contents,
.fix-contents2 {
    position: sticky;
    left: 0;
}
/* .fix-contents::before{
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width:100%;
    height:100%;
    border: 1px solid black;
} */

.fix-contents{
    z-index:2;
}
.fix-contents2{
    z-index:1;
}

tr:nth-child(1n) .fix-contents2 {
    background:#f2f2f2;
}

tr:nth-child(2n) .fix-contents2 {
    background:white;
}

.account-book thead th{
    position: -webkit-sticky;
    position:sticky;
    top:-1px;
    background: #c2c6c6;
    border: 1px solid gray;
    width:90px;
    height:31px;
    margin-top:-1px;
    text-align: center;
    font-size:1.14em;
}

.account-book tbody tr,
.account-book tbody td {
    height:50px;
}

.account-book table td{
    vertical-align: middle;
    text-align:center;
    padding:0px;
    font-size:1.3em;
}

.account-book tbody td input{
    width:45px;
    text-align: right;
    display:inline;
}

.account-book thead th:nth-child(1),
.account-book .table-sum td:nth-child(1) {
    width: 450px;
}

.account-book thead th:nth-child(4),
.account-book thead th:nth-child(36) {
    width: 180px;
}

.account-book thead th:nth-child(71),
.account-book thead th:nth-child(73) {
    width: 200px;
}

.account-book thead th:nth-child(72) {
    width: 285px;
}

.account-book tbody td:nth-child(1){
    font-size:1.1em;
}

/* #book_table thead th:nth-child(2),
#book_table tbody td:nth-child(2){
    width: 80px;
} */

.account-book td.high {
    background : lightyellow;
    height:100%;
}

.account-book td.high-green {
    background :#d7eed7;
}

.account-book th.avg,
.account-book th.exc {
    background :#c7d9d9;
}

.account-book th.profit {
    background :#d5bdc1;
}

.account-book th.adr {
    background : lightgrey;
}

.account-book th.uni {
    background :#f0f0d7;
}

.account-book .table-sum td {
    width: 90px;
}

.account-book .table-sum td:nth-child(72),
.account-book .table-sum td:nth-child(73),
.account-book .table-sum td:nth-child(77),
.account-book .table-sum td:nth-child(78),
.account-book .table-sum td:nth-child(79) {
    width: 100px;
}

.account-book .table-sum td:nth-child(74),
.account-book .table-sum td:nth-child(75),
.account-book .table-sum td:nth-child(76) {
    width: 95px;
}

