@charset "UTF-8";
/* ========================================
   印刷用・カスタムCSS
======================================== */


@media print {

  /* 画像ギャラリーを強制的に横4列 */
  figure.p-technology-lower__gallery--grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: auto !important;
    gap: 6px !important;
    width: 100% !important;
  }

  figure.p-technology-lower__gallery--grid > figure {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    break-inside: avoid;
  }

  figure.p-technology-lower__gallery--grid > figure img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  figure.p-technology-lower__gallery--grid figcaption {
    font-size: 7pt !important;
    line-height: 1.3 !important;
    margin-top: 4px !important;
  }
}
