@charset "UTF-8";

/* A4縦用のベース設定 */
@page {
    size: A4 portrait;
    margin: 0mm;
}

@media screen {
    body {
        background: #eee;
    }
    .page {
        background: white; /* 背景を白く */
        box-shadow: 0 .5mm 2mm rgba(0,0,0,.3); /* ドロップシャドウ */
        margin: 5mm;
    }
}

/* 印刷時の調子を整える */
body {
    width: 210mm; /* 用紙の横幅を改めて指定 Chrome用 */
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    line-height: 1.5em;
}

/* 印刷1ページ用のコンテンツはここで定義 */
.page {
    width: 210mm; /* 用紙の横幅を改めて指定 */
    height: 296.5mm;
    page-break-after: always;

    box-sizing: border-box;
    padding: 20mm 25mm;/* 用紙の余白 */
    font-size: 11pt;
}

.employee_info_area{
    float: right;
    width: 200px;

}
.pdf_col1{
   height: 180px; 
}

.employee_addressInfo{
    overflow-wrap:break-word;
}

.pdf_col1 h2{
    font-size: 24px;
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}

.pdf_col2{
    padding: 20px 10px;
    border-bottom: 1px solid #ccc;
    clear:both; 
}
.m-table--dl{
    display: flex;
    border-bottom: 1px solid #ccc;
}

.m-table--dl:last-of-type{
    border-bottom: none;
}

.m-table--dl dt{
    font-size: 16px;
    font-size: 1.6rem;
    font-weight: bold;
    border-right: 1px solid #ccc;
    padding: 5px 15px;
    width: 170px;
    min-width: 170px;
}
.m-table--dl dd{
    font-size: 14px;
    font-size: 1.4rem;
    width: auto;
    padding: 5px 15px;
    overflow-wrap: anywhere;
}


.bill_items_table{
    text-align: left;
    table-layout: auto;
    border-collapse: collapse;
}

.bill_items_table tr th{
    padding: 10px;
    border-top:  1px solid #ccc;
    font-weight: bold;
    background: #666;
    color: #eee;
}

.bill_items_table tr:nth-of-type(odd) td{
    background: #eee;
}

.bill_items_table tr td{
    padding: 10px;
    border-bottom:  1px solid #ccc;
    font-weight: normal;
}