#invoices-table .paymentday {
  border-color: -moz-use-text-color -moz-use-text-color #ccc;
  border-style: none none dashed;
  border-width: medium medium 1px;
  box-shadow: none;
  font-size: 100%;
  height: 13px;
  width: 60px;
}

body {
  counter-reset: sheet; /* カウンタの初期化 */
}
.sheet::after {
  position: absolute;
  bottom: 0;
  right: 0;
  counter-increment: sheet;
  content: "ページ " counter(sheet);
}