/* 個別印刷設定
------------------------------------------------------------------*/
@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;
    /* 特定の場所で改ページを入れたいときの指定 */
  }

  .wrapper {
    background-attachment: scroll !important;
    background-size: auto !important;
    background-size: contain !important;
  }

  header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    transform: none;
  }

  .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;
  }



  /* // ── アニメーション全停止 & 最終状態に強制 ── */
  .js-fade,
  .js-reveal,
  .js-char span,
  .catch .jp span,
  .catch .en span {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  /* // 年表の縦線を全表示 */
  .nenpyo__line {
    transform: scaleY(1) !important;
    transition: none !important;
  }

  /* // アコーディオンを全展開 */
  .works__content {
    max-height: none !important;
    overflow: visible !important;
    transition: none !important;
  }

  .works__group {

    /* 閉じた状態のアイコン回転なども解除 */
    .works__toggle::after {
      transform: rotate(180deg) !important;
    }
  }

  /* // GSAP ScrollTrigger の pin 要素の解除 */
  [style*="overflow: hidden"],
  [style*="overflow:hidden"] {
    overflow: visible !important;
  }

  /* // GSAPが付与するインラインstyleのtransformを打ち消し */
  [style*="translate"],
  [style*="matrix"] {
    transform: none !important;
  }

}