@charset "utf-8";

@media print {

  @page {
    size: A4 portrait;
    margin: 0mm;
  }

  .body {
    width: 210mm;
    height: 297mm;
  }

  :root {
    font-size: 9px;
  }

  /*--------------------------------------------------
  ヘッダー
  --------------------------------------------------*/
  /* 固定ページバージョンのスタイル */
  .mv_img_wrapper_sub {
    height: 140px;
    margin-bottom: 20px;
  }


  /*--------------------------------------------------
  index共通
  --------------------------------------------------*/
  .content_wrapper {
    padding: 20px;
  }


  /*--------------------------------------------------
  印刷しないコンテンツ
  --------------------------------------------------*/
  .header_logo,
  .gnavi,
  .breadcrumbs_wrapper {
    display: none;
  }

  footer {
    display: none;
  }

  .about_fix_img,
  .about_jyouhou_img,
  .business_fix_img {
    display: none;
  }

  .subpage h2 {
    display: none;
  }

  .about_kyoten_flex div:last-child {
    display: none;
  }


  /*--------------------------------------------------
  固定ページ
  --------------------------------------------------*/
  .adout_cont_box {
    padding: 30px;
  }

  .subpage_title {
    font-size: 3.5em;
    text-shadow: #0005 1px 1px 0px;
    top: 50%;
  }

  .subpage_title span.jpn {
    font-size: 0.4em;
  }

  .subpage h3 {
    font-size: 1.75em;
    margin: 0 0 0.75em;
  }

  /* 私たちについて ご挨拶 */
  #about_aisatu {
    margin-bottom: -20px;
  }

  .about_aisatu_flex {
    gap: 30px;
    align-items: top;
  }

  .about_aisatu_img {
    flex: 0 1 30%;
  }

  .about_aisatu_text {
    flex: 0 2 70%;
  }

  /* 私たちについて 会社案内 */
  #about_annai {
    break-inside: avoid-page;
  }

  /* 私たちについて 会社概要 */
  .about_gaiyou {
    display: grid;
    grid-template-columns: 28% 28% 38%;
    column-gap: 3%;
    margin-bottom: 30px;
  }

  .about_gaiyou> :nth-child(1) {
    grid-row: 1 / 2;
    grid-column: 1 / 4;
  }

  .about_gaiyou> :nth-child(2) {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }

  .about_gaiyou> :nth-child(4) {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  }

  .about_gaiyou> :nth-child(3) {
    grid-row: 2 / 3;
    grid-column: 3 / 4;
  }

  .about_gaiyou_flex {
    flex-direction: column;
    gap: 20px;
  }

  .about_gaiyou_flex_right {
    width: 100%;
  }

  .about_gaiyou>div.about_gaiyou_flex {
    margin-bottom: 0;
  }

  .about_gaiyou>div.about_gaiyou_flex:last-child {
    margin-bottom: 0;
  }

  .about_gaiyou_sdgs {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    margin-bottom: 0;
  }

  .about_gaiyou_sdgs_logo {
    flex: 0 0 auto;
  }

  figure.about_enkaku table.has-fixed-layout tr:not(:last-child) {
    border-bottom: 1px solid var(--light_gray);
  }

  figure.about_enkaku table.has-fixed-layout td:not(:last-child) {
    border-right: 1px solid var(--light_gray);
  }

  /* 私たちについて リスト */
  #about_annai ul li,
  #about_jyouhou ul li {
    padding: 0 0 0.2em 1.2em;
    margin-bottom: 0.6em;
    border-bottom: 1px solid var(--light_gray);
  }

  /* 私たちについて 営業拠点 */
  .about_kyoten {
    display: grid;
    grid-template-columns: 47% 47%;
    column-gap: 6%;
  }

  .about_kyoten> :nth-child(1) {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }

  .about_kyoten> :nth-child(2) {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }

  .about_kyoten> :nth-child(4) {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  }

  .about_kyoten_flex {
    display: block;
  }

  .about_kyoten_flex>div {
    display: flex;
    column-gap: 20px;
    align-items: flex-start;
  }

  .about_kyoten img {
    margin-bottom: 0;
  }

  #about_annai ul {
    margin-bottom: 0;
  }

  #about_annai ul li:last-child {
    margin-bottom: 0;
  }

  .about_kyoten>div:not(:last-child) {
    margin-bottom: 0;
  }

  .about_kyoten_flex>div>img {
    width: 40%;
  }

  .about_kyoten_flex>div>ul {
    width: 60%;
  }

  /* 私たちについて 企業情報 */
  #about_jyouhou {
    padding-bottom: 0;
    break-inside: avoid;
  }

  .adout_jyouhou_item {
    margin-bottom: 30px;
  }

  /* 私たちについて 企業情報 沿革テーブル */
  figure.about_enkaku table.has-fixed-layout {
    margin-top: -5px;
  }

  figure.about_enkaku table.has-fixed-layout td {
    padding: 0.5em;
    border: none;
  }

  /* 私たちについて リスト */
  #about_jyouhou ul li>span:not([class]) {
    width: 280px;
  }

  .adout_jyouhou_item_print_grid {
    display: grid;
    column-gap: 2em;
    column-gap: 6%;
  }

  .adout_jyouhou_item_print_grid .adout_jyouhou_item {
    margin-bottom: -20px;
  }

  .adout_jyouhou_item_print_grid>:nth-child(1) {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }

  .adout_jyouhou_item_print_grid>:nth-child(2) {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }

  /* 事業内容 お困りではありませんか */
  .business_problems_cont {
    padding: 30px;
  }

  .business_problems_1st {
    margin-bottom: 40px;
  }

  .business_problems_youtube iframe {
    display: none;
  }

  .business_problems_youtube img {
    display: block;
  }

  .business_problems_body {
    font-size: 1.2em;
  }

  .business_problems_2nd {
    margin-bottom: 40px;
  }

  .business_problems_3nd {
    display: block;
  }

  .business_problems_contact h4 {
    font-size: 1.5em;
    margin-bottom: 1.5em;
  }

  .business_problems_contact_tel {
    max-width: 250px;
    margin-bottom: 1em;
  }

  .business_problems_contact.print_none {
    display: none;
  }

  /* 事業内容 製品紹介 */
  #business_service .content_wrapper {
    break-inside: avoid-page;
    padding: 50px 50px;
  }

  #product {
    margin-bottom: 60px;
  }

  #product ul {
    gap: 15px;
  }

  #product ul li {
    width: calc((100% - 45px) / 4);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
  }

  /* 事業内容 建機整備 */
  /* 事業内容 金具再生 */
  #maintenance {
    display: flex;
    margin-bottom: 60px;
    gap: 40px;
  }

  #reproduction {
    display: flex;
    margin-bottom: 0;
    gap: 40px;
  }

  .maintenance_text,
  .reproduction_text {
    width: 45%;
    margin-bottom: 0;
  }

  .maintenance_images,
  .reproduction_images {
    width: 55%;
  }

  .maintenance_images video {
    display: none;
  }

  /* 事業内容 主要設備一覧 */
  #setubi {
    break-inside: avoid-page;
  }

  .setubi_cont {
    padding: 30px;
  }

  .setubi_list {
    margin-bottom: 20px;
  }

  .setubi_list ul li {
    border-bottom: none;
    border-bottom: 1px solid var(--light_gray);
  }

  .setubi_list ul li>span {
    width: 280px;
  }

  .setubi_pickup_item {
    width: calc((100% - 26px) / 2);
    background-color: #B1DBEF55;
    padding: 15px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
  }
}
