
/*@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
}*/

/* @media print {
  *,
  *:before,
  *:after {
    background: initial !important;
    color: initial !important;
} */

@page {
  size: A4;
  margin: 0mm;
} 

/* body {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, "Arial", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  margin: 0;
} */


.invoiceButtonArea {
  height: 60px;
  background-color: #ecf0f5;
}

.invoiceButton button{
  margin: 120px 20px;
  padding: 100px 30px !important;
}

.invoice {
  position: relative;
  width: 1000px;
  height: 1410px;
  /* width: 172mm;
  height: 251mm; */
  margin: 0px;
  padding: 20px;
  font-size: 17px;
  border-style: none;
}

.invoice_page_no {
  position: absolute;
  padding: 0;
  margin: 0;
  bottom: 15px;  
  left: 43%;
}

/* .invoice .borderless>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td{ */
.invoice table>tbody>tr>th, .invoice table>tfoot>tr>th, .invoice table>thead>tr>td, .invoice table>tbody>tr>td, .invoice table>tfoot>tr>td{
  font-size: 17px;
  vertical-align: middle;
  padding-top: 0px;
  padding-bottom: 0px;

}


/* .table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding-top: 4px;
  padding-bottom: 4px;
} */



.invoice .bookingInfo{
  padding-left: 50px;
}

.invoice .box{
  border-top: none;
  box-shadow: none;
  margin-bottom: 10;
}

.invoice .bank{
  padding-left: 50px;
}

.invoice .remarks{
  padding-left: 50px;
}

.invoice pre{
  font-size: 17px;
}

.itinerary_chart {
  font-size: 17px;
}

.itinerary_chart pre{
  font-size: 17px;
}




/*.print-wrapper:before {
    content: "";
    display: block;
    padding-top: 75%;
}
*/
.print-wrapper {
  overflow-x: scroll;
}
/*.collective:nth-of-type(1) {
*/
body {
  counter-reset: collective; /* カウンタの初期化 */
}
.collective {
  width: 1414px;
  margin:5px 0px 0px 0px;
  /*box-shadow: 0 .5mm 2mm rgba(0,0,0,.3);*/ /* ドロップシャドウ */
  /*margin: 5mm;*/
  padding: 20px;
  font-size: 17px;
  background-color: #fff;

  page-break-after: always;
}
.collective .box{
  border-top: none;
  box-shadow: none;
  margin-bottom: 10;
}
.collective .bank{
  padding-left: 50px;
}

.collective .remarks{
  padding-left: 50px;
}

.collective pre{
  font-size: 17px;
}

.collective:after {
  position: relative;
  /*left: 96%; */
  counter-increment: collective;
  content: "page " counter(collective);
}
.p-break {
  page-break-after: always;
}
.collective div[class^='collective-item_'] table>tbody>tr>th {
  text-align: center;
  white-space: nowrap;
  padding-left: 1px;
  padding-right: 1px;
}
/*テーブルのストライプが薄い(#f9f9f9)と印刷に反映されない*/
    /*background-color: #f9f9f9;*/
/*.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: gainsboro;
}*/

.table-striped>tbody>tr>th{
  background-color: gainsboro !important;
  /* background-color: red !important; */
  font-weight: normal; 
}

.bottom-text {
  position: absolute;
  bottom: 0;
}

/* 社判と住所を重ねて表示 */
.hankoAddr {
  position: relative;
}
.hankoAddr .addr {
}

.hankoAddr .hanko {
  height: 30mm;
  /* width: 100%; */
  position: absolute;
  top: 0px;
  right: 20mm;

}

/* 検印欄 */
.stamp {
  padding: 0;
  min-width: 85mm;
}
.stamp table {
  padding: 0;
/*  min-width: 64mm; */
}
.stamp td, th  {
  text-align: center;
  border: 1px #808080 solid;
  padding: 0;
}
.stamp td {
  height: 18mm;
}
.stamp th {
  font-size: 16px !important;
  /* font-weight: lighter; */
  font-weight: normal;
  width: 21mm;
}

section.collective *, section.invoice *, section.eticketReceipt *, section.itinerary_chart *, section.receipt * {
  font-family: IPAexゴシック !important;
}

