@charset "UTF-8";
/**********************
For print
**********************/

@media  print{
    main {
        padding-top: 30px;
    }
    /* 印刷時にEdgeにおいて罫線が消える不具合の対処 */
    main Table {
        border-collapse: separate;
        border-top: 2px solid #646464;
        border-left: 2px solid #646464;
    }
    main Table td, main Table th {
        position: relative;
        border-right: 2px solid #646464;
        border-bottom: 2px solid #646464;
    }

    main Table thead {
        display:table-row-group;
    }

    header {
        display: none;
    }

    .content {
        margin-left: 0px;
    }

    .content.active {
        margin-left: 0px;
    }

    .contents-btn-top {
        display: none;
    }

    .contents-btn-bottom {
        display: none;
    }

    #toggleToc {
        display: none;
    }

    .toc-head {
        display: none;
    }

    .toc-body-wrapper {
        display: none;
    }

    .bread-crumb {
        margin-top: 10px;
        padding-top: 0;
    }
}

/*****
選んで印刷ダイアログ
*****/
@media print {

    /* 選んで印刷ダイアログを非表示 */
    body.openSelectPrint .remodal.selectPrintPages {
        display: none;
    }

    body.openSelectPrint .remodal-overlay {
        display: none !important;
    }

    /* メインページメイン部を非表示、印刷用HTMLを表示に変更する */
    body.openSelectPrint #contents-box>#print-page {
        display: none;
    }

    body.openSelectPrint #selectedPages>#print-page {
        display: block;
    }

    /* HTMLページの区切り毎に改ページ */
    body.openSelectPrint #selectedPages .pageBreak {
        page-break-after: always;
    }

    body.openSelectPrint .content .contents-inner {
        padding: 1px 9px 18px 0;
    }

    body.openSelectPrint .content main {
        padding: 70px 0 0 0;
    }

    body.openSelectPrint #selectedPages .Subsection {
        margin-top: 20px;
        padding-top: 10px;
    }

    body.openSelectPrint #selectedPages table {
        border-spacing: 0;
        border-width: 1px;
    }

    body.openSelectPrint #selectedPages th,
    body.openSelectPrint #selectedPages td {
        border-width: 1px;
    }
}
/*****
link modal
******/
@media print {
    body.openModal .content,
    body.openModal .overlay {
        display: none;
    }

    body.openModal #pageModal {
        position: static;
        display: block;
    }

    body.openModal #pageModal .modal {
        margin: 0;
        padding: 0;
        background-color: transparent;
        min-width: 100%;
        max-width: 100%;
        display: block;
    }

    body.openModal #pageModal .modal #headUti,
    body.openModal #pageModal .modal > .close,
    body.openModal #pageModal .modal > .header,
    body.openModal #pageModal .modal > .path {
        display: none;
    }

    body.openModal #pageModal .modal .modalContents {
        border: none;
        background-color: transparent;
        height: auto;
        display: block;
    }

    body.openModal #pageModal .modal .modalContents .tabContents {
        overflow: visible;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page {
        padding: 0;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page h1 {
        margin: 0 0 10px;
        padding: 20px 3px;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page > *:last-child {
        margin-bottom: 0;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page .Subsection {
        margin: 20px 0;
        padding: 10px 0 15px;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page .Subsection:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page .Subsection > h2 {
        margin-top: 10px;
        padding-top: 10px;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page .pageNavi + .Subsection {
        margin-top: 0;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page .FlowChart .FCounter {
        border: 1px solid #ccc;
        border-top: 3px solid #2b7ab3;
        background-image: none;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page .PropertyDamageMessage,
    body.openModal #pageModal .modal .modalContents .tabContents .page .Tips,
    body.openModal #pageModal .modal .modalContents .tabContents .page .Reference,
    body.openModal #pageModal .modal .modalContents .tabContents .page .RelatedSetting,
    body.openModal #pageModal .modal .modalContents .tabContents .page .RelatedSettingAdm {
        border-width: 1pt;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page table {
        border-spacing: 0;
        border-width: 2px;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page table th,
    body.openModal #pageModal .modal .modalContents .tabContents .page table td {
        position: relative;
        border-width: 1px;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page table th {
        border-width: 2px;
    }
}

@media print and (-webkit-min-device-pixel-ratio: 0) {
    body.openModal #pageModal .modal .modalContents .tabContents .page table {
        border-collapse: separate;
        border-width: 1px;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page table th,
    body.openModal #pageModal .modal .modalContents .tabContents .page table td {
        position: relative;
        border-width: 1px;
    }

    body.openModal #pageModal .modal .modalContents .tabContents .page table th {
        border-width: 1px;
    }
}
