@media screen AND (min-width:321px){
  #NenkinTable2{
    font-size:2.5vw;
  }

  #NenkinTable2 input{
    font-size: 1.75vw;
  }

  #th_spacer{
    width:1vw !important;
  }

  .iBlock{
    width:50%;
    font-size:2.5vw;
  }

  #NenkinTable2 tr:first-child td:nth-child(3),
  #NenkinTable2 tr:first-child td:nth-child(4),
  #NenkinTable2 tr:first-child td:nth-child(5),
  #NenkinTable2 tr:first-child td:nth-child(6){
    width:320px !important;
  }
}

@media screen AND (max-width:320px){
  #NenkinTable2{
    font-size:4vw;
  }

  #NenkinTable2 input{
    font-size: 4vw;
  }

  .iBlock{
    width:45%;
    font-size:4.5vw;
  }

}

.sp_only{
  display:block;
  margin-left:1.5em;
}

#NenkinTable2{
  width:1820px;
  margin:0 2%;
  padding:0;
  border-collapse: collapse;
  background: none;
  border:none;
  border-spacing: 0px;
}

#NenkinTable2 tr{
  border:none;
}

#NenkinTable2 th{
  background: #66c2d1;
  padding: 0.5em 3px;
  border-right:1px solid #000;
}

#NenkinTable2 td{
  background: #fff ;
  text-align: right;
  padding: 0.5em 3px;
}

#NenkinTable2 input{
  width:35% !important;
  display: inline-block;
  border-radius: 5px;
  border:2px solid #66c2d1;
  box-shadow: none;
  margin:0px 0.5em 0 0 ;
  text-align: right;
}

#NenkinTable2 tr:first-child th{

}

#NenkinTable2 tr:first-child td{

}

#th_spacer{
  width:5px !important;
  padding:0;
  background:none !important;
  border:none !important;
}

#th_spacer2{
  width:1px !important;
  padding:0;
  border-bottom:1px solid #000 !important;
  border-left:1px solid #000 !important;
  border-right:1px dotted #000 !important;
}

#th_spacer2 + th{
  width:255px !important;
}

#sum_spacer{
  height:1px !important;
  padding:0 !important;
  background:none !important;
  border:none !important;
}


.th_border{
  border: 1px solid #000;
}

.saisai{
  display: block;
  text-align: right !important;
  width:50% !important;
}

.solid_f{
  border:1px solid #000 !important;
}

.solid_t{
  border-top:1px solid #000 !important;
}

.solid_r{
  border-left:1px solid #000 !important;
}


.solid_l{
  border-left:1px solid #000 !important;
}

.solid_b{
  border-bottom:1px solid #000 !important;
}

.dotted_r{
  border-right:1px dotted #000 !important;
}

.dotted_t{
  border-top:1px dotted #000 !important;
}

.dotted_l{
  border-left:1px dotted #000 !important;
}

th:last-child,td:last-child{
  border-right:1px solid #000 !important;
}

.iBlock{
  display: inline-block;
  text-align: center;
  margin-right: 0.25em;
  vertical-align: middle;
  font-weight:bold;
}
