@page {
  size: A4;
  margin: 0;
}

@media print {
  body {
    width: 210mm;
  }
}

.card {
  margin: 2mm auto;
}

table.print {
  position: absolute;
  top: 57mm;
  left: 90mm;
  width: 180mm;
  height: 114mm;
  margin: -57mm 0 0 -90mm;
  border: 1px solid;
  border-collapse: collapse;
}

table.print td {
  border: 1px solid;
  border-color: white;
  border-collapse: collapse;
  position: relative;
}

table.preview {
  position: relative;
  width: 180mm;
  height: 114mm;
  margin: 2mm auto;
  border: 1px solid;
  border-collapse: collapse;
  transform: scale(1.15);
  transform-origin: top;
  background-image: url("/images/haraikomihyo.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

table.preview td {
  border: 1px solid;
  border-color: black;
  border-collapse: collapse;
  position: relative;
}

.AccountNumber1Area {
  margin: 0;
  position: absolute;
  height: 8mm;
  width: 30mm;
  top: 12mm;
  left: 5mm;
}
.AccountNumber2Area {
  margin: 0;
  position: absolute;
  height: 8mm;
  width: 10mm;
  top: 12mm;
  left: 33mm;
}

.AccountNumber3Area {
  margin: 0;
  position: absolute;
  height: 8mm;
  width: 30mm;
  top: 12mm;
  left: 45mm;
}

.AccountNumber1 {
  margin: 0;
  font-family: "OCRB";
  font-size: 7mm;
  letter-spacing: 0.7mm;
}

.AccountNumber2 {
  margin: 0;
  font-family: "OCRB";
  font-size: 7mm;
}

.AccountNumber3 {
  margin: 0;
  font-family: "OCRB";
  font-size: 7mm;
  letter-spacing: 0.7mm;
}

.SubAccountNumber1Area {
  margin: 0;
  position: absolute;
  height: 6mm;
  width: 32mm;
  top: 14mm;
  left: 135mm;
}

.SubAccountNumber1 {
  margin: 0;
  font-family: "OCRB";
  font-size: 6mm;
  letter-spacing: 1.4mm;
}

.SubAccountNumber2 {
  margin: 0;
  font-family: "OCRB";
  font-size: 6mm;
}

.SubAccountNumber3Area {
  margin: 0;
  position: absolute;
  height: 6mm;
  width: 40mm;
  top: 25mm;
  left: 135mm;
}

.SubAccountNumber3 {
  margin: 0;
  font-family: "OCRB";
  font-size: 6mm;
  letter-spacing: 1.4mm;
}

.AmountArea {
  margin: 0;
  position: absolute;
  height: 8mm;
  width: 40mm;
  top: 12mm;
  left: 81mm;
}

.Amount {
  margin: 0;
  font-family: "OCRB";
  font-size: 7mm;
  letter-spacing: 0.7mm;
}

.SubAmountArea {
  margin: 0;
  position: absolute;
  height: 6mm;
  width: 45mm;
  top: 46mm;
  left: 131mm;
}

.SubAmount {
  margin: 0;
  font-family: "OCRB";
  font-size: 6mm;
  letter-spacing: 1.5mm;
}

.CommunicationArea {
  margin: 0;
  position: absolute;
  height: 25mm;
  width: 80mm;
  top: 35mm;
  left: 15mm;
}

.Communication {
  margin: 0;
  font-size: 10pt;
}

.CompanyNameArea {
  margin: 0;
  position: absolute;
  height: 8mm;
  width: 60mm;
  top: 26mm;
  left: 15mm;
}

.CompanyName {
  margin: 0;
  font-size: 10pt;
}

.SubCompanyNameArea {
  margin: 0;
  position: absolute;
  height: 8mm;
  width: 40mm;
  top: 37mm;
  left: 136mm;
}

.SubCompanyName {
  margin: 0;
  font-size: 8pt;
}

.ZipcodeArea {
  margin: 0;
  position: absolute;
  height: 8mm;
  width: 80mm;
  top: 57mm;
  left: 17mm;
}

.zipcode1 {
  margin: 0;
  font-family: "OCRB";
  font-size: 3mm;
}

.zipcode2 {
  margin: 0;
  font-family: "OCRB";
  font-size: 3mm;
}

.AddressArea {
  margin: 0;
  position: absolute;
  height: 20mm;
  width: 70mm;
  top: 61mm;
  left: 17mm;
}

.address {
  margin: 0;
  font-size: 3mm;
}

.SubAddressArea {
  margin: 0;
  position: absolute;
  height: 20mm;
  width: 40mm;
  top: 58mm;
  left: 136mm;
}

.SubAddress {
  margin: 0;
  font-size: 8pt;
}

.NameArea {
  margin: 0;
  position: absolute;
  height: 20mm;
  width: 70mm;
  top: 75mm;
  left: 17mm;
}

.name {
  margin: 0;
  font-size: 4.5mm;
}

.PhoneNumber1Area {
  margin: 0;
  position: absolute;
  height: 5mm;
  width: 20mm;
  top: 84mm;
  left: 33mm;
}

.PhoneNumber1 {
  margin: 0;
  font-family: "OCRB";
  font-size: 3mm;
}

.PhoneNumber2Area {
  margin: 0;
  position: absolute;
  height: 5mm;
  width: 20mm;
  top: 84mm;
  left: 42mm;
}

.PhoneNumber2 {
  margin: 0;
  font-family: "OCRB";
  font-size: 3mm;
}

.PhoneNumber3Area {
  margin: 0;
  position: absolute;
  height: 5mm;
  width: 20mm;
  top: 84mm;
  left: 53mm;
}

.PhoneNumber3 {
  margin: 0;
  font-family: "OCRB";
  font-size: 3mm;
}

.QRcode {
  margin: 0;
  position: absolute;
  top: 40mm;
  left: 100mm;
}
