@charset "utf-8";

@page {
    size: A4 landscape;
    margin: 0;
    padding: 0;
}

@media print {

    body {
        width: 297mm;
        height: 210mm;
        margin: 0;
        padding: 0;
        font-size: 10pt;
        -webkit-print-color-adjust: exact;
    }

    .main {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .header,
    .footer,
    .pagetop,
    .cv-phone,
    .cv-common {
        display: none !important;
    }

    .bread,
    .tateuri,
    .gallery,
    .map,
    .rel {
        display: none !important;
    }

    .print {
        display: block;
        padding: 10mm;
    }

    .print .ttl {
        margin-bottom: 5mm;
        border-bottom: 0.5mm solid #335609;
    }

    .print .ttl img {
        float: left;
        width: 100mm;
        padding-bottom: 5mm;
    }

    .print .ttl p {
        float: right;
        color: #4D4D4D;
        font-size: 8pt;
        text-align: right;
    }

    .print .con .txt {
        float: left;
        width: 100mm;
    }

    .print .con .txt table {
        width: 100%;
    }

    .print .con .txt table tr th,
    .print .con .txt table tr td {
        padding: 2.5mm;
        vertical-align: middle;
    }

    .print .con .txt table tr th {
        width: 20mm;
        color: #FFFFFF;
        border-top: 0.5mm solid #CCCCCC;
        border-left: 0.5mm solid #CCCCCC;
        background-color: #335609 !important;
    }

    .print .con .txt table tr td {
        color: #000000;
        border-top: 0.5mm solid #CCCCCC;
        border-left: 0.5mm solid #CCCCCC;
        border-right: 0.5mm solid #CCCCCC;

    }

    .print .con .txt table tr:nth-last-of-type(1) th,
    .print .con .txt table tr:nth-last-of-type(1) td {
        border-bottom: 0.5mm solid #CCCCCC;
    }

    .print .con .txt table tr td strong {
        font-size: 120%;
    }

    .print .con .img {
        float: left;
        width: 177mm;
        padding-left: 5mm;
    }

    .print .con .img .chizu {
        position: relative;
        width: 172mm;
        height: 95mm;
        margin-bottom: 5mm;
    }

    .print .con .img .chizu img {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 5;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        font-family: "object-fit: cover;";
    }

    .print .con .img .gazou {
        width: 172mm;
        height: 60mm;
        margin-bottom: 2mm;
    }

    .print .con .img .gazou .gaikan,
    .print .con .img .gazou .madori {
        position: relative;
        float: left;
        width: 83mm;
        height: 60mm;
    }

    .print .con .img .gazou .gaikan {
        margin-right: 5mm;
    }

    .print .con .img .gazou .gaikan p,
    .print .con .img .gazou .madori p {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10;
        width: auto;
        padding: 2.5mm 5mm;
        color: #FFFFFF;
        background-color: #335609 !important;
    }

    .print .con .img .gazou .gaikan img,
    .print .con .img .gazou .madori img {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 5;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        font-family: "object-fit: cover;";
    }

}
