.print {
    display: none;
}

@media print {
  .page_nav {
    display: none;
  }

  .print {
    display: block;
  }

  body {
    margin: 0;
    width: 100%;
    width: 210mm;
    height: 297mm;
    font-size: 14px;
    -webkit-print-color-adjust: exact
  }

  .wrap {
    width: 100%;
  }

  header {
    display: block;
    position: fixed;
    top: 0pt;
    left: 0pt;
    width: 100%;
    width: 210mm;
  }

  main h1 {
    display: block;
    position: fixed;
    top: 80pt;
    left: 0pt;
    width: 100%;
    width: 210mm;
  }

  header .head_menu {
    width: 100%;
    padding: 0 2.8%;
    box-sizing: border-box;
    align-items: flex-start;
    padding-bottom: 0;
  }

  header .logo {
    flex: 0 1 18%;
  }

  header .logo img {
    width: 100%;
  }

  .print-date {
    font-size: 0.7em !important;
    color: #000000 !important;
    padding-top: 10px;
  }

  nav,
  .logo .pc,
  .head_info.pc,
  .soudan,
  .recom,
  section.table .table_info>p,
  section.table .tenpo_info>img,
  section.table .tenpo_info iframe,
  footer {
    display: none;
  }


  main {
    margin-top: 200px;
    width: 100%;
    padding: 0 2.8%;
    box-sizing: border-box;
    font-size: 12px;
  }

  main h1 {
    margin-top: 5%;
    font-size: 26px;
    color: #004098;
  }

  main section.content {
    display: none;
    margin-top: 4.2%;
    page-break-after: avoid;
  }

  section.table {
    margin-top: 20px;
  }

  section.table h2,
  .thumb-print h2 {
    font-size: 22px;
    border-left: none;
    padding-left: 0;
    margin-bottom: 10px;
  }

  section.table h2:before {
    content: '■';
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
    font-size: 14px;
  }

  section.table .table_info {
    width: 66.7%;
  }

  section.table .tenpo_info {
    width: 31%;
  }

  section.table .tenpo_info table {
    margin-top: 0;
    margin-bottom: 60px;
  }


  section.table .table_info table th,
  section.table .table_info table td,
  section.table .tenpo_info table th,
  section.table .tenpo_info table td {
    height: auto;
    line-height: 1;
    box-sizing: border-box;
    padding: 10px 0 10px 5px;
    text-align: left;
  }

  section.table .table_info>table>tbody>tr>th {
    background-color: #E6E6E6;
  }

  section.table .table_info table tr {
    height: auto;
  }

  section.table .tenpo_info>p {
    color: #ff0000;
    margin-top: 10px;
  }

  section.table .table_info table tr.taiya div.ri p:nth-child(2) {
    margin-top: 0;
  }

  section.table .table_info table tr.taiya>td td {
    text-align: center;
  }

  .print-number {
    flex: 0 1 40%;
    line-height: 1.2;
  }

  .print-number-box {
    display: none;
  }

  .rental-fee-box {
    display: inline;
/*    box-sizing: border-box; */
/*    margin-bottom: 10px; */
  }

  .print-le {
    border-left: solid 7px #940014;
    padding-left: 12px;
  }

  #licence-class {
      color: #940014 !important;
  }

  .fee {
    margin-top: 3.2%;
    padding: 4.5% 0;
    margin-top: 5px;
    background: #f5f5f5;
    padding: 5px 0;
    position: relative;
    width: 100%;
  }

  .fee>span {
    writing-mode: vertical-rl;
    position: absolute;
    line-height: 2.29;
    left: 0;
    font-size: 0.4em;
    background: #989898;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    padding-bottom: 0.4em;
    padding-top: 0.4em;
    margin-left: 4px;
    height: 50px;
  }

  .fee>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 12.88%;
    font-weight: bold;
  }

  .fee-font>p {
      font-size: 1.0em !important;
      line-height: 1.6em !important;
  }

  .fee-red {
      color: #E60E0E;
  }

  .image_print {
      width: 100%;
      position: absolute;
      bottom: 0;
  }

  section.table div.image_print h2 {
      border-bottom: 1px solid #707070;
  }
  .img_side {
	display: flex;
	flex-wrap:wrap;
  }

  .img_side li {
	width: calc(100%/4);/*←画像を横に4つ並べる場合*/
	padding:0 5px;/*←画像の左右に5pxの余白を入れる場合*/
	box-sizing:border-box;
  }

  .img_side li img {
	max-width:100%; /*画像のはみだしを防ぐ*/
	height: auto; /*画像の縦横比を維持 */
	border:solid 1px #ccc; /*←画像を1pxのグレーの枠線で囲む指定の場合*/
  }

  .number-title {
    border: 1px solid #707070;
    padding: 3% 1.2%;
    text-align: center;
    flex: 0 1 35%;
    line-height: 1;
  }

  .number {
    color: #E60E0E;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    flex: 1;
    line-height: 1;
    padding: 3% 1.2%;
    border: 1px solid #707070;
    border-left: none;
  }

  .number-text {
      display: none;
  }

  .print-tel {
    font-weight: bold;
    line-height: 1;
  }

  .print-tel-red {
    font-size: 30px;
    color: #E60E0E;
    /* padding-left: 70px; */
    position: relative;
    flex: 0 1 33%;
    line-height: 1.5;
  }

  .tel-img-wrapper {
    display: inline-block;
    width: 50px;
    vertical-align: middle;
  }

  .thumb-print {
    max-width: 100%;
  }

  .thumb-print img {
    object-fit: contain;
  }

  .thumb-nav-print {
    margin-top: 220px;
    page-break-before: always;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .thumb-nav-print::after {
    content: '';
    width: 32%;
  }

  .thumb-nav-print div {
    width: 32%;
    margin-bottom: 2%;
  }

  .thumb-nav-print div img {
    vertical-align: bottom;
  }

  .tenpo_info p {
      display: none;
  }
}