@charset "utf-8";

/*

print.css
Version: 2022.09.21

*/

/* --------------------------------------------------------
/* print.css
-------------------------------------------------------- */


/* print.css
-------------------------------------------------------- */
@media print {
    @page {
        margin: 2cm .5cm;
    }

    * {
        /* background: transparent !important; */
        /* overflow-y: visible !important; */
        background-attachment: initial !important;
        box-shadow: none !important;
        text-shadow: none !important;

        -webkit-print-color-adjust: exact !important; /* 背景色を強制的に印刷 */
    }

    html {
        overflow: visible !important;
        zoom: .8 !important; /* はみ出し回避 */
    }

    body {
        margin: 0 !important;
        padding: 0 !important;
        min-width: 1200px !important;
        width: 100% !important;
        color: #000 !important;
        font-size: 12pt;
        font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;
        line-height: 1.45;
    }

    body > *:not(.wrap) {
        display: none !important;
    }

    /* Headings */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid;
    }

    h1 {
        font-size: 19pt;
    }

    h2 {
        font-size: 17pt;
    }

    h3 {
        font-size: 15pt;
    }

    h4,
    h5,
    h6 {
        font-size: 14pt;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p {
        orphans: 3;
        widows: 3;
    }

    code {
        font: 12pt Courier, monospace;
    }

    blockquote {
        margin: 1.2em;
        padding: 1em;
        font-size: 12pt;
    }

    hr {
        background-color: #ccc;
    }

    /* Images */
    img {
        margin: 1em 1.5em 1.5em 0;
        max-width: 100% !important;
    }

    a img {
        border: 0;
    }

    /* Links */

    a,
    a:link,
    a:visited {
        background: transparent;
        color: #020202;
        text-decoration: underline;
        font-weight: 700;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    a:link[href^="https://"]::after,
    a[href^="https://"]:visited::after {
        content: " (" attr(href) ") ";
        font-size: 90%;
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    /* Don't show linked images  */
    a[href^="https://"] {
        color: #000;
    }

    a[href$=".jpg"]::after,
    a[href$=".jpeg"]::after,
    a[href$=".gif"]::after,
    a[href$=".png"]::after {
        display: none;
        content: " (" attr(href) ") ";
    }

    /* Don't show links that are fragment identifiers, or use the `javascript:` pseudo protocol .. taken from html5boilerplate */
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }

    /* Table */
    table {
        margin: 1px;
        text-align: left;
    }

    th {
        border-bottom: 1px solid #333;
        font-weight: 700;
    }

    td {
        border-bottom: 1px solid #333;
    }

    th,
    td {
        padding: 4px 10px 4px 0;
    }

    tfoot {
        font-style: italic;
    }

    caption {
        margin-bottom: 2em;
        background: #fff;
        text-align: left;
    }

    thead {
        display: table-header-group;
    }

    img,
    tr {
        page-break-inside: avoid;
    }


    select {
        background: #fff !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr,
    img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }

    /* Parts */
    .wrap {
        position: relative !important;
        display: block !important;
        float: none !important;
        clear: both !important;
        margin: 0 !important;
    }
    .no-js,
    .hdr,
    .cnts-sub,
    .ftr,
    .pagetop-btn,
    .slidemenu,
    .memory,
    .fixbnr,
    .fixlink-tab {
        display: none !important;
    }
    .cnts table th {
        box-shadow: none !important;
    }
    .cnts-main {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    .no-print {
        display: none !important;
    }
    .visual-bg {
        display: none !important;
    }

    /* GoogleMap埋め込み対応 */
    iframe {
        background: lightgray;
    }

    /* position: sticky;対応 */
    .sticky {
        position: relative;
    }

    /* matchHeight.js対応 */
    [data-match-height],
    [data-mh] {
        height: auto !important;
    }
}
