
body {
  -webkit-print-color-adjust: exact;
}

*,
*::before,
*::after {
  text-shadow: none !important;
  box-shadow: none !important;
  color: #000;
}

a,
a:visited {
  text-decoration: underline;
}

abbr[title]::after {
  content: " (" attr(title) ")";
}

pre {
  white-space: pre-wrap !important;
}

pre,
blockquote {
  border: 1px solid #000;
  page-break-inside: avoid;
}

thead {
  display: table-header-group;
}

tr,
img {
  page-break-inside: avoid;
}

p,
h2,
h3 {
  orphans: 3;
  widows: 3;
}

h2,
h3 {
  page-break-after: avoid;
}

.navbar {
  display: none;
}

.badge {
  border: 1px solid #000;
}

.preview-bordertop {
  border-top:solid 3px;
}

.table {
  border-collapse: collapse !important;
}
.table td,
.table th {
  /* background-color: #fff; */
}

.print-pg{
    position: relative;
    width: 100%;
    height: 100vh;
    height: 1605px !important;
    top: 30px;
    margin: 0px 25px 0px 25px !important;
    page-break-after: always;
    counter-increment: print_page_count;
}
/* 最初のページだけフッターズレる対策 */
.print-pg:first-child {
  position: relative;
  top:-2px;
  /*height: 1535px !important;*/
}
.print-pg:last-child{
    page-break-after: auto;
}
.print-wrap-footer {
  display:block;
}

.print-wrap {
  border: none !important;
  /*padding: 5px !important;*/
}
.print-no {
  display: none;
}
.preview-footer-total td{
  border-top: double 3px !important;
}

/* 印刷プレビューのヘッダー情報(タイトル等)＆フッター情報(URL等)を削除する */
@page { 
  margin-top: 0; 
  margin-bottom: 0; 
} 
body { 
  padding-top: 32px; 
  padding-bottom: 32px ; 
} 

