/*@media print{body{--swl-fz--root:16px;--swl-fz--side:14px;--swl-fz--content:16px}#after_article,#before_footer_widget,#breadcrumb,#comments,#fix_bottom_menu,#fix_header,#footer,#header,#sidebar,.c-postTitle__date,.c-shareBtns,.p-articleFoot,.p-fixBtnWrap{display:none!important}.p-articleHead{margin-bottom:1rem}#main_content{width:100%!important}code,pre{word-wrap:break-word;white-space:pre-wrap}section{page-break-before:always}.no-print{display:none}}*/

@media print{
    
    body {
        -webkit-print-color-adjust: exact !important; /* 印刷時でも背景色や背景画像を表示 */
        width: 1190px !important; /* 印刷時の全ページ幅を統一（px数値はお好みで） */
        zoom: 0.8 !important; /* なるべく多くのブラウザで切れないようにするため */
        max-width: 100% !important;
        min-width: 1000px !important;
    }
    body{--swl-fz--root:16px;--swl-fz--side:14px;--swl-fz--content:16px;}
    
   
    /* ヘッダーを隠す */
    #fix_header{display:none !important;}
    
    /* お知らせの幅調整用 */
    .alignfull {
        left: -5%;
        max-width: 90% !important;
        width: 1190px !important;
        min-width: 1000px;
    }

    /* 改ページをいれる場合 */
    section {
        page-break-before: always !important; /* 各セクションで改ページが行われるようにしています */
    }
    section + section.new-none:not(:root) {
        page-break-before: avoid !important; /* 特定のセクションでは改ページを入れない場合の指定 */
    }
    .new-page {
        page-break-before: always !important; /* 特定の場所で改ページを入れたいときの指定 */
    }
    
    .p-articleHead{margin-bottom:1rem}

    
    #main_content{width:100%!important}
    
    /*もしかしたらコンテンツ幅を調整するときにつかう...?
        .post_content {
            width: 1190px !important;
            max-width: 100% !important;
            min-width: 1000px !important;
        }
    */  
    /*もしかしたらコンテンツ幅を調整するときにつかう...?
    .swell-block-fullWide__inner {
      width: 1190px !important;
      max-width: 100% !important;
      min-width: 1000px !important;
    }
    */    
    
    code,pre{word-wrap:break-word;white-space:pre-wrap}
    
    section{page-break-before:always}
    
    /* 3列表示されてる部分をSPモードから回避するやつ */
    .-type-card .p-postList__item {
        width: 33.3% !important;
    }
    

@media (max-width: 781px) {
    /* 2列表示されてる部分をSPモードから回避するやつ */
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: min-content !important;
    }
}
    
/* リッチカラムのSPモードを回避するやつ必要列数に%の変更をしてくだい（これは3列用の設定です）必要ない場合はかくしてください 
@media (min-width: 600px) {
  .swell-block-column {
    --clmn-w: 33%;
  }
}*/ 

@media not all and (min-width: 960px) {
    
    #header{display: none;}
    
    .l-fixHeader, .l-header__gnav {
        display: block !important;
    }
    
    .header__menuBtn {
      display: none !important;
    }
    
    #fix_bottom_menu {
        display: none !important;
    }

    
}
    

} 