@charset "utf-8";


@media print {

    /* 全体の幅を固定（PCレイアウトを維持） */
    body {
        width: 100%;
        max-width: 1200px !important;
        max-width: 1140px !important;
        margin: 0 auto;
    }

    main a:hover {
        color: #0056b3;
    }

    /* Bootstrapの.containerをPC幅に固定 */
    .container {
        max-width: 1200px !important;
        /*max-width: 210mm !important;*/
    }

    /* フレックス要素をブロック表示にする（レイアウト崩れ防止） */
    .d-flex {
        /*display: block !important;*/
    }

    aside.blog-sidebar {
        display: block !important;
        flex: 0 0 auto;
        width: 25%;
    }

    div.blog-main {
        display: block !important;
        flex: 0 0 auto;
        width: 75%;
        padding-left: 2rem !important;
        padding-right: 0 !important;
    }

    .row > * {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* BootstrapのカラムレイアウトをPC向けに固定 */
    .col-12,
    .col-md-6,
    .col-lg-4 {
        /*width: auto !important;*/
    }

    /* モバイル用の要素を非表示（例：印刷不要なボタン） */
    .no-print,
    .mobile-only {
        display: none !important;
    }

    /* ヘッダーやフッターを非表示（必要に応じて） */
    header,
    footer {
        /*display: none !important;*/
    }

    body {
        padding-top: 0;
    }


    .fixed-top {
        position: static;
    }

    .navbar-toggler {
        display: none !important;
    }

}
