:root {
    //--- define ---
    --font-size: 12pt;
    --border-color: silver;
    --cell-fg: black;
    --cell-bg: white;
    --header-bg: #F0F0F0;
    --header-fg: #090909;
    --header-border-color: gray;

    --selected-cell-fg: white;
    --selected-cell-bg: cyan;
    --input-border-color: blue;
}


.g-main {
    z-index: 1 !important;
}

@media only screen and (max-width: 959px) {
    .g-main br {
        display: none;
    }
}

.fixed-header {
    position: fixed;
    top: 46px;
    /*top: 0;*/
    max-width: 960px;
    width: 100%;
    z-index: 2;
    display: none;
    /* 最初は非表示にしておく */
    margin: auto;
  }
  
  @media only screen and (max-width: 480px) {
    .fixed-header {
      top: 50.4px;
      /*top: 0;*/
      right: 15px !important;
    }
  }


.tableBase {
    position: relative;
}

.scrollBox {
    position: relative;
    overflow-x: scroll;
    /*border: 1px solid var(--border-color, silver);*/
}

#scrl_btn_wrap_header.scrollBox {
    overflow-x: hidden;
}

.tbl {
    width: 100%;
    height: 100%;
    border-spacing: 0;
    border-collapse: separate;
    table-layout: fixed;
    z-index: 1
}

.tbl thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

tbody {
    overflow-x: auto;
    width: auto;
}

.tbl td {
    position: relative;
    padding: 4px;
    border-top: 1px solid var(--cell-bg, white);
    border-left: 1px solid var(--cell-bg, white);
    border-right: 1px solid var(--border-color, silver);
    border-bottom: 1px solid var(--border-color, silver);
    font-size: var(--font-size, 12px);
}

.tbl td {
    color: var(--cell-fg, black);
    background-color: #F4F4F4;
    font-size: 12px;
    text-align: center;
    line-height: 150%;
}

thead>tr:nth-child(1)>td:nth-child(1) {
    height: 158px;
    width: 150px;
    background-color: #fff;
}

colgroup col:nth-child(1) {
    width: 50px;
}

colgroup col:nth-child(2) {
    width: 50px;
}

colgroup col:nth-child(3) {
    width: 50px;
}

thead>tr:nth-child(1)>td.cz {
    width: 240px;
    position: relative;
}

thead>tr:nth-child(1)>td.hg90 {
    width: 240px;
    position: relative;
}

thead>tr:nth-child(1)>td.hg {
    width: 240px;
    position: relative;
}

thead>tr:nth-child(1)>td.tw {
    width: 240px;
    position: relative;
}

thead>tr:nth-child(1)>td.tw50 {
    width: 240px;
    position: relative;
}

thead>tr:nth-child(1)>td.co {
    width: 240px !important;
}

thead>tr:nth-child(2)>td {
    line-height: 100%;
    height: 124px;
    position: relative;
    background-color: #fff;
    padding: 10px 20px 10px;
}

.clr_kasitsu {
    color: #DD3C66;
    border-color: #DD3C66;
    border-width: 1.5px;
}

.clr_jyositsu {
    color: #336666;
    border-color: #336666;
    border-width: 1.5px;
}


table.tbl>tbody>tr:nth-child(1)>td,
table.tbl>tbody>tr:nth-child(2)>td,
table.tbl>tbody>tr:nth-child(3)>td,
table.tbl>tbody>tr:nth-child(4)>td,
table.tbl>tbody>tr:nth-child(5)>td {
    font-size: 16px;
}

tbody>tr:nth-child(1)>td>strong,
tbody>tr:nth-child(2)>td>strong,
tbody>tr:nth-child(3)>td>strong,
tbody>tr:nth-child(4)>td>strong,
tbody>tr:nth-child(5)>td>strong {
    font-size: 24px;
    transform: scale(0.8, 1);
    display: inline-block;
}

table.tbl>tbody>tr:nth-child(7)>td,
table.tbl>tbody>tr:nth-child(9)>td,
table.tbl>tbody>tr:nth-child(10)>td,
table.tbl>tbody>tr:nth-child(11)>td,
table.tbl>tbody>tr:nth-child(12)>td,
table.tbl>tbody>tr:nth-child(13)>td {
    line-height: 50%;
    padding-bottom: 6px;
}

tbody>tr:nth-child(7)>td>strong,
tbody>tr:nth-child(8)>td>strong,
tbody>tr:nth-child(9)>td>strong,
tbody>tr:nth-child(10)>td>strong,
tbody>tr:nth-child(11)>td>strong,
tbody>tr:nth-child(12)>td>strong,
tbody>tr:nth-child(13)>td>strong {
    font-size: 16px;
    transform: scale(0.8, 1);
    display: inline-block;
    line-height: 120%;
}

tbody>tr:nth-child(1)>td>strong,
tbody>tr:nth-child(2)>td>strong,
tbody>tr:nth-child(3)>td>strong,
tbody>tr:nth-child(4)>td>strong,
tbody>tr:nth-child(5)>td>strong {
    font-size: 24px;
    transform: scale(0.8, 1);
    display: inline-block;
}

table.tbl>tbody>tr:nth-child(6)>td,
table.tbl>tbody>tr:nth-child(38)>td {
    font-size: 10px;
}

tbody>tr:nth-child(5)>td>span.note01 {
    display: inline-block;
    font-size: 10px;
    line-height: 120%;
    border: #cccc 2px solid;
    padding: 6px 4px 4px;
}

tbody>tr.jokashitsu>td,
tbody>tr.seiketsu>td,
tbody>tr.untenmode>td,
tbody>tr.benri>td {
    font-weight: bold;
}

.tbl td:nth-child(1) {
    position: sticky;
    left: 0px;
    z-index: 1;
    color: var(--header-fg);
    background-color: var(--header-bg);
    text-align: center;
    border-top-color: var(--header-bg);
    border-left-color: var(--header-bg);
    font-size: 12px;
    font-weight: bold;

}

.tbl td:nth-child(2) {
    position: sticky;
    left: 50px;
    z-index: 1;
    color: var(--header-fg);
    background-color: var(--header-bg);
    border-top-color: var(--header-bg);
    border-left-color: var(--header-bg);
    font-size: 12px;
    font-weight: bold;
}

.tbl td:nth-child(3) {
    position: sticky;
    left: 100px;
    z-index: 1;
    color: var(--header-fg);
    background-color: var(--header-bg);
    border-top-color: var(--header-bg);
    border-left-color: var(--header-bg);
    font-size: 10px;
    font-weight: bold;
}

table.tbl>tbody>tr:nth-child(1)>td,
table.tbl>tbody>tr:nth-child(2)>td {
    background-color: #F0F7FC !important;
}

table.tbl>tbody>tr>td.kuukiseijou_1 {
    background-color: rgb(190, 217, 237, 0.5);
    color: #1D8FBC;
    font-weight: bold;
}

table.tbl>tbody>tr>td.kuukiseijou_2 {
    background-color: #F0F7FC;
}

table.tbl>tbody>tr:nth-child(3)>td {
    background-color: #F9EAED !important;
}

table.tbl>tbody>tr>td.kashitsu_1 {
    background-color: rgb(234, 199, 205, 0.5);
    color: #DD3C66;
    font-weight: bold;
}

table.tbl>tbody>tr>td.kashitsu_2 {
    background-color: #F9EAED;
}

table.tbl>tbody>tr:nth-child(4)>td {
    background-color: #EBFCF8 !important;
}

table.tbl>tbody>tr>td.joshitsu_1 {
    background-color: rgb(182, 219, 210, 0.5);
    color: #336666;
    font-weight: bold;
}

table.tbl>tbody>tr>td.joshitsu_2 {
    background-color: #EBFCF8;
}

table.tbl>tbody>tr.seiketsu>td {
    background-color: #F0F7FC !important;
}

table.tbl>tbody>tr.untenmode>td {
    background-color: #A7EACE !important;
}

table.tbl>tbody>tr.untenmode>td:nth-child(2) {
    background-color: #EAF9F3 !important;
}

table.tbl>tbody>tr.untenmode>td {
    background-color: #EAF9E1 !important;
}

table.tbl>tbody>tr.benri>td {
    background-color: #DEF7CD !important;
}

table.tbl>tbody>tr.benri>td:nth-child(2) {
    background-color: #EAF9E1 !important;
}

tbody>tr.jokashitsu>td:nth-child(4) {
    background-image: linear-gradient(90deg, rgba(5, 0, 255, 1), rgba(221, 60, 102, 1));
    color: #fff;
}

tbody>tr.jokashitsu>td:nth-child(7),
tbody>tr.jokashitsu>td:nth-child(9),
tbody>tr.jokashitsu>td:nth-child(11),
tbody>tr.jokashitsu>td:nth-child(13) {
    background-color: rgba(221, 60, 102, 1);
    color: #fff;
}

tbody>tr.jokashitsu>td:nth-child(15) {}

tbody>tr:nth-child(15)>td:nth-child(4),
tbody>tr:nth-child(15)>td:nth-child(7),
tbody>tr:nth-child(15)>td:nth-child(9),
tbody>tr:nth-child(15)>td:nth-child(11),
tbody>tr:nth-child(15)>td:nth-child(13),
tbody>tr:nth-child(17)>td:nth-child(4),
tbody>tr:nth-child(17)>td:nth-child(7),
tbody>tr:nth-child(17)>td:nth-child(9),
tbody>tr:nth-child(17)>td:nth-child(11),
tbody>tr:nth-child(17)>td:nth-child(13),
tbody>tr:nth-child(17)>td:nth-child(15),
tbody>tr:nth-child(17)>td:nth-child(17),
tbody>tr:nth-child(19)>td:nth-child(4),
tbody>tr:nth-child(19)>td:nth-child(7),
tbody>tr:nth-child(19)>td:nth-child(9),
tbody>tr:nth-child(19)>td:nth-child(11),
tbody>tr:nth-child(19)>td:nth-child(13) {
    background-color: #BED9ED !important;
}

tbody>tr:nth-child(31)>td:nth-child(4),
tbody>tr:nth-child(26)>td:nth-child(7),
tbody>tr:nth-child(25)>td:nth-child(9),
tbody>tr:nth-child(26)>td:nth-child(9),
tbody>tr:nth-child(24)>td:nth-child(11),
tbody>tr:nth-child(25)>td:nth-child(11),
tbody>tr:nth-child(26)>td:nth-child(11),
tbody>tr:nth-child(29)>td:nth-child(11),
tbody>tr:nth-child(31)>td:nth-child(11),
tbody>tr:nth-child(32)>td:nth-child(11),
tbody>tr:nth-child(34)>td:nth-child(11),
tbody>tr:nth-child(35)>td:nth-child(11),
tbody>tr:nth-child(36)>td:nth-child(11),
tbody>tr:nth-child(24)>td:nth-child(13),
tbody>tr:nth-child(25)>td:nth-child(13),
tbody>tr:nth-child(26)>td:nth-child(13),
tbody>tr:nth-child(27)>td:nth-child(13),
tbody>tr:nth-child(29)>td:nth-child(13),
tbody>tr:nth-child(31)>td:nth-child(13),
tbody>tr:nth-child(32)>td:nth-child(13),
tbody>tr:nth-child(34)>td:nth-child(13),
tbody>tr:nth-child(35)>td:nth-child(13),
tbody>tr:nth-child(36)>td:nth-child(13),
tbody>tr:nth-child(19)>td:nth-child(15),
tbody>tr:nth-child(20)>td:nth-child(15),
tbody>tr:nth-child(22)>td:nth-child(15),
tbody>tr:nth-child(24)>td:nth-child(15),
tbody>tr:nth-child(25)>td:nth-child(15),
tbody>tr:nth-child(26)>td:nth-child(15),
tbody>tr:nth-child(27)>td:nth-child(15),
tbody>tr:nth-child(29)>td:nth-child(15),
tbody>tr:nth-child(31)>td:nth-child(15),
tbody>tr:nth-child(32)>td:nth-child(15),
tbody>tr:nth-child(34)>td:nth-child(15),
tbody>tr:nth-child(35)>td:nth-child(15),
tbody>tr:nth-child(36)>td:nth-child(15) {
    background-color: #F4F4F4 !important;
}

.count-rowid {
    counter-reset: rowid 0;
}

.count-rowid tr {
    counter-increment: rowid 1;
}

.count-rowid td:nth-child(1) span.rowid::after {
    content: counter(rowid);
    color: gray;
}

.ro {
    border-radius: 50px;
    overflow: hidden;
    width: 15px;
    height: 15px;
    border: #ccc 2px solid;
}

.g-slider_nav {
    width: 30px;
    height: 30px;
    background-color: #008CAD;
    border-radius: 0;
}

.g-slider_nav {
    position: absolute;
    margin-top: 0;
    top: 23px;
    z-index: 5;
}

.g-slider_prev {
    left: 121px;
}

.g-slider_next {
    right: 0;
}

#fixed-header .g-slider_nav {
    top: 0px;
}

thead>tr:nth-child(1)>td {
    background-color: #000;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

.round_btn {
    display: block;
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 10%;
    background: #fff;
    overflow: hidden;
    /* 追加 */
    -webkit-appearance: none;
}

.round_btn::before,
.round_btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 12px;
    background: #333;

}

thead>tr:nth-child(1)>td.cz>.round_btn,
thead>tr:nth-child(1)>td.hg90>.round_btn,
thead>tr:nth-child(1)>td.hg>.round_btn,
thead>tr:nth-child(1)>td.tw>.round_btn,
thead>tr:nth-child(1)>td.tw50>.round_btn,
thead>tr:nth-child(1)>td.co>.round_btn {
    position: absolute;
    top: 5.5px;
    right: 4px;
}

.round_btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.round_btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

img.button_ichiran_01 {
    position: absolute;
    top: 46%;
    left: 7px;
    width: 90%;
}

.new_tw50 {
    position: absolute;
    top: 5px;
    right: 77px;
}

.new_hg90 {
    position: absolute;
    top: 3px;
    right: 80px;
}

@media only screen and (max-width: 480px) {

    .tb {
        border-collapse: collapse;
    }

    .tbl td {
        font-size: 10px;
    }

    #scrl_btn_wrap_header_sp {
        margin-left: 30px;
    }

    table.tbl>thead>tr:nth-child(1)>td:nth-child(1) {
        height: 257px;
        width: 7.4em !important;
    }

    colgroup col:nth-child(1) {
        width: 2.2em;
    }

    colgroup col:nth-child(2) {
        width: 2.6em;
    }

    colgroup col:nth-child(3) {
        width: 2.6em;
    }

    .tbl td:nth-child(2) {
        left: 30.8px;
    }

    .tbl td:nth-child(3) {
        left: 67.2px;
    }

    table.tbl>thead>tr:nth-child(1)>td.cz {
        width: 118px;
    }

    table.tbl>thead>tr:nth-child(1)>td.hg90 {
        width: 118px;
    }

    table.tbl>thead>tr:nth-child(1)>td.hg {
        width: 118px;
    }

    table.tbl>thead>tr:nth-child(1)>td.tw {
        width: 118px;
    }

    table.tbl>thead>tr:nth-child(1)>td.tw50 {
        width: 118px;
    }

    table.tbl>thead>tr:nth-child(1)>td.co {
        width: 118px !important;
    }

    table.tbl>thead>tr:nth-child(1)>td {
        font-size: 12px;
        text-align: left;
        padding: 8px 4px 5px;
    }

    table.tbl>thead>tr:nth-child(2)>td {
        height: 100px;
    }

    #ichiran-table-header thead>tr:nth-child(2)>td {
        height: 100px;
    }

    table.tbl>thead>tr:nth-child(2)>td {
        padding: 2px 4px 8px;
    }

    table.tbl>tbody>tr:nth-child(1)>td,
    table.tbl>tbody>tr:nth-child(2)>td,
    table.tbl>tbody>tr:nth-child(3)>td,
    table.tbl>tbody>tr:nth-child(4)>td,
    table.tbl>tbody>tr:nth-child(5)>td {
        font-size: 16px;
    }

    table.tbl>tbody>tr:nth-child(1)>td>strong,
    table.tbl>tbody>tr:nth-child(2)>td>strong,
    table.tbl>tbody>tr:nth-child(3)>td>strong,
    table.tbl>tbody>tr:nth-child(4)>td>strong,
    table.tbl>tbody>tr:nth-child(5)>td>strong {
        font-size: 18px;
        transform: scale(0.8, 1);
        display: inline-block;
    }

    table.tbl>tbody>tr:nth-child(7)>td,
    table.tbl>tbody>tr:nth-child(9)>td,
    table.tbl>tbody>tr:nth-child(10)>td,
    table.tbl>tbody>tr:nth-child(11)>td,
    table.tbl>tbody>tr:nth-child(12)>td,
    table.tbl>tbody>tr:nth-child(13)>td {
        line-height: 100%;
        padding-bottom: 6px;
    }

    table.tbl>tbody>tr:nth-child(7)>td>strong,
    table.tbl>tbody>tr:nth-child(8)>td>strong,
    table.tbl>tbody>tr:nth-child(9)>td>strong,
    table.tbl>tbody>tr:nth-child(10)>td>strong,
    table.tbl>tbody>tr:nth-child(11)>td>strong,
    table.tbl>tbody>tr:nth-child(12)>td>strong,
    table.tbl>tbody>tr:nth-child(13)>td>strong {
        font-size: 14px;
        transform: scale(0.8, 1);
        display: inline-block;
        line-height: 100%;
    }

    table.tbl>tbody>tr:nth-child(1)>td>strong,
    table.tbl>tbody>tr:nth-child(2)>td>strong,
    table.tbl>tbody>tr:nth-child(3)>td>strong,
    table.tbl>tbody>tr:nth-child(4)>td>strong,
    table.tbl>tbody>tr:nth-child(5)>td>strong {
        font-size: 18px;
        transform: scale(0.8, 1);
        display: inline-block;
    }

    .tbl td:nth-child(1) {
        font-size: 11px;
    }

    .tbl td:nth-child(2) {
        font-size: 11px;
    }

    #ichiran-table .g-slider_nav {
        top: 16px;
    }

    #ichiran-table .g-slider_prev {
        left: 101px;
    }

    #ichiran-table .g-slider_next {
        right: 0;
    }

    .g-slider_nav {
        width: 31px !important;
        height: 31px !important;
        top: 23px;
    }

    .g-slider_prev {
        left: 73px;
    }

    #fixed-header .g-slider_prev {
        left: 102px;
    }

    #fixed-header .g-slider_nav {
        top: 0px;
        height: 32px !important;
    }

    #fixed-header .g-slider_next {
        right: 0px;
    }

    .new_tw50,
    .new_hg90 {
        right: 10px;
    }

    .new_hg90 {
        top: 9px;
    }

    .new_tw50 {
        top: 7px;
    }

    .ro {
        width: 12px;
        height: 12px;
    }

    img.button_ichiran_01 {
        left: 5px;
    }
}

/* カラー用ツールチップ */
.tooltip {
    position: relative;
    /* ツールチップの位置の基準に */
    cursor: pointer;
    /* カーソルを当てたときにポインターに */
}

/* ツールチップのテキスト */
.tooltip-text {
    opacity: 0;
    /* はじめは隠しておく */
    visibility: hidden;
    /* はじめは隠しておく */
    position: absolute;
    /* 絶対配置 */
    left: 50%;
    /* 親に対して中央配置 */
    transform: translateX(-50%);
    /* 親に対して中央配置 */
    bottom: -20px;
    /* 親要素下からの位置 */
    display: inline-block;
    padding: 5px;
    /* 余白 */
    white-space: nowrap;
    /* テキストを折り返さない */
    line-height: 1.3;
    /* 行間 */
    background: #333;
    /* 背景色 */
    color: #fff;
    /* 文字色 */
    border-radius: 3px;
    /* 角丸 */
    transition: 0.3s ease-in;
    /* アニメーション */
    text-align: left;
}

/* ホバー時にツールチップの非表示を解除 */
.tooltip:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}

/*集塵スピードの目安*/
table.tb2 {
    font-size: 12.7px;
    white-space: nowrap;
    border-top: 1px solid var(--border-color, silver);
    border-left: 1px solid var(--border-color, silver);
}

table.tb2 td {
    padding: 2px 0.08px;
    border-top: 1px solid var(--cell-bg, white);
    border-left: 1px solid var(--cell-bg, white);
    border-right: 1px solid var(--border-color, silver);
    border-bottom: 1px solid var(--border-color, silver);
    text-align: center;
}

table.tb2 tr:nth-child(1) td {
    font-weight: bold;
}

table.tb2>td>sub {
    font-size: 90% !important;
}

table.tb2 td:nth-child(1) {
    padding-right: 2px;
    padding-left: 0px;
    text-align: left;
    font-weight: bold;
}

@media only screen and (max-width: 480px) {
    table.tb2 {
        border-left: 1px solid var(--cell-bg, white);
    }

    .syuujin_scrollBox {
        position: relative;
        overflow-x: scroll;
    }

    .tb2 td:nth-child(1) {
        position: sticky;
        left: 0px;
        z-index: 1;
        background-color: #fff;
    }
}

/*チェックボックスで非表示*/
.hidden {
    display: none;
  }