@charset "utf-8";

/* 個別印刷設定
------------------------------------------------------------------*/
@media print {

  .container,
  .container-fluid,
  .row {
    width: 100% !important;
  }

  /* 改ページをいれる場合 */
  section {
    page-break-before: avoid;
    /* 各セクションで改ページが行われるようにしています */
  }

  section+section.new-none:not(:root) {
    page-break-before: avoid;
    /* 特定のセクションでは改ページを入れない場合の指定 */
  }

  .new-page {
    page-break-before: always;
    /* 特定の場所で改ページを入れたいときの指定 */
  }

  /* reveal: 印刷時は全要素を表示状態に */
  .js-reveal,
  .js-reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }

  /* header: 最初のページのみ表示 */
  header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    transform: none;
    display: block;
    /* 1ページ目は表示 */
  }

  /* 2ページ目以降はheaderを非表示 */
  @page :first {
    margin-top: 0;
  }

  @page {
    margin-top: 80px;
  }

  /* header分の余白を確保 */

  .wrapper {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
    background-attachment: scroll;
  }

  *::before,
  *::after {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    background-image: block !important;
    box-shadow: none !important;
  }

  a:not(.btn) {
    text-decoration: none;
  }

}