@charset "utf-8";
/* ===================================================================
CSS information

 file name  : print.css
 author     : kohei.yamamoto
 style info : 印刷用
=================================================================== */

@page {
  size: A4 portrait;
  margin: 12mm 14mm 15mm;
}

@media print {
  html,
  body,
  head + body {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff !important;
  }

  body {
    color: #000 !important;
    font-size: 10pt;
    line-height: 1.6;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .global_footer {
    position: static !important;
    width: 100% !important;
    break-before: page;
    page-break-before: always;
  }

  /* Use the tablet footer layout within the narrower A4 print area. */
  .global_footer .global_footer_main {
    grid-template-columns: auto auto !important;
    padding-right: 15px !important;
  }

  .global_footer .global_footer_nav:nth-child(1) {
    padding-right: 15px !important;
  }

  .section-cv {
    break-before: page;
    page-break-before: always;
    break-inside: avoid;
    page-break-inside: avoid;
    background-attachment: scroll !important;
  }

  .global_footer a {
    text-decoration: none !important;
  }

  /* Hide the site header and controls that are not useful on paper. */
  .zac-header,
  .header,
  #globalNav,
  #global_header,
  #fontsizeswicher,
  .btn_menu,
  .zac-header__hum,
  .zac-c-fixed-bnr,
  .zac-c-scroll-top,
  .zac-p-scroll-top,
  p.pageTop,
  #aside,
  ul#sb_list,
  ul.sb_list {
    display: none !important;
  }

  #wrapper,
  #contents,
  #article,
  #article.casestudy_detail_article,
  #article #main,
  #article #main.casestudy_detail_main,
  .section,
  ul#topic_path {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    float: none !important;
  }

  #wrapper,
  #contents,
  #article,
  #article.casestudy_detail_article,
  #article #main,
  #article #main.casestudy_detail_main {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  ul#topic_path {
    padding-top: 0 !important;
  }

  img,
  svg,
  video,
  canvas {
    max-width: 100% !important;
  }

  img,
  svg,
  figure,
  table,
  blockquote,
  .casestudy_detail_point_block {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    break-after: avoid;
    page-break-after: avoid;
  }

  html #wrapper table,
  html #wrapper table th,
  html #wrapper table td {
    border: 1px solid #ccc;
  }

  .qanda dd {
    display: block;
  }

  p.pageOutline {
    border: 0;
    padding: 0;
    font-weight: bold;
  }

  p.copy {
    display: none;
  }
}
