@charset "utf-8";
/* CSS Document */
/*印刷 */
.btn_print{
  display: flex;
  width: 15rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2.5rem;
}
.btn_print::after{
  font-family: Material Icons;
  content: "\e555";
  font-size: 1.8rem;
}
.print_off {
  display: none;
}

/*Table スクロール*/

.wrap_tb_yscroll tbody,.wrap_tb_yscroll thead{
  display: block;
}
.wrap_tb_yscroll thead{
  background-color: #f2f2f2;
  border-bottom: 0.1rem solid #ddd;
}

.wrap_tb_yscroll tbody{
  background-color: #FFF;
  overflow-x: hidden;
  overflow-y:scroll;
  height: 60rem;
}
.wrap_tb_yscroll th{
  border-bottom: none;
  font-size: 1.4rem;
  word-break: break-all;
}
.wrap_tb_yscroll td{
  vertical-align: top;
  word-break: break-all;
}
.pg__fixed-width th:first-child,.pg__fixed-width td:first-child{
  width: 35vw;
}
.pg__fixed-width th:nth-child(2),.pg__fixed-width td:nth-child(2){
  width: 8vw;
}

.wrap_tb_yscroll ::-webkit-scrollbar {
  width: 0.5rem;
}
.wrap_tb_yscroll ::-webkit-scrollbar-track {
  background-color:  #ddd;
}
.wrap_tb_yscroll ::-webkit-scrollbar-thumb {
  background-color: #707d96;
  border-radius: 0.3rem;
}

/*-------------------タブレット以下用-------------------*/
@media screen and (max-width: 1024px) {
  .wrap_tb_yscroll th, .wrap_tb_yscroll td {
    padding: 0.3em;
    font-size: 1.2rem;
    font-weight: normal;
  }

  .pg__fixed-width th:nth-child(2),.pg__fixed-width td:nth-child(2){
    width: 6em;
  }
}

/*プリント用CSS*/
@media print {
  .wrap_tb_yscroll table{
    width: 98%;
  }
  .wrap_tb_yscroll tbody{
    overflow-x: visible;
    height: 100%;
  }
  
  .wrap_tb_yscroll th:nth-of-type(1),
  .wrap_tb_yscroll td:nth-of-type(1),
  .wrap_tb_yscroll th:nth-of-type(3),
  .wrap_tb_yscroll td:nth-of-type(3){
    width: 45%;
  }
  .wrap_tb_yscroll th:nth-of-type(2),
  .wrap_tb_yscroll td:nth-of-type(2){
    width: 10%;
  }
}