@page {
    size: A4 portrait;
    margin: 0mm;
    overflow: hidden;
}

@media print {
    body {
        width: 210mm;
        height: 297mm;
        box-sizing: border-box;
        page-break-after: auto;
        padding: 5mm;
        margin:auto;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        line-height: 1.5em;
        overflow: hidden;
        -webkit-print-color-adjust: none;
    }

    p, p a {
        color: #000 !important;
    }

    .print_off { display: none; }
    .print_off2 th, .print_off2 th span.req { color: transparent !important; }
    nav, footer, #pagetop, #top_menu .right { display: none; }
    p.lead2, .arrow { display: none; }

    #top_menu {
        display: block;
        padding: 0;
    }
    #top_menu #header_logo {
        padding: 0 0;
        text-align: right;
    }
    #header_logo {
        display: block;
        width: 100%;
        position: fixed;
        top: 10mm;
        right: 10mm;
    }
    #header_logo img {
        width: 40mm;
    }
    h1 {
        margin-top: 20mm;
        font-size: 20px !important;
        color: #000 !important;
        background: #fff;
    }
    h1:after {
        content: '内容';
    }
    .gray_bg2 {
        background: #fff;
    }

    .order_item_wrap {
        margin-top: 0;
        display: block;
    }
    .order_item_photo {
        margin-top: -110px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 20px;
    }

    .order_item_select {
        padding-top: 100px;
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
    .order_item_select .box {
        display: flex;
        margin-bottom: 0;
    }
    .order_item_select .box .name {
        width: 60%;
        padding: 10px 0;
        font-size: 12px;
    }
    .order_item_select .box .name input {
        width: 40%;
    }

    .order_total {
        margin-top: 148px;
        padding: 0;
        background: none;
        border-top: 3px solid #000;
        border-bottom: 3px solid #000;
        padding: 5mm 0;
    }
    .order_total p {
        text-align: center;
        color: #000;
        font-weight: bold;
    }
    .order_total .postage {
        font-size: 13px;
    }
    #price-display {
        color: #ff0000;
        font-size: 36px;
    }
    #price-display-tax {
        font-size: 19px;
        font-weight: bold;
    }
    .order_total11 {
        display: none;
        padding: 20px 0;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
        box-sizing: border-box;
    }
    .order_total11 p {
        padding: 20px 0;
        font-size: 32px;
        font-weight: bold;
        line-height: 0;
        text-align: center;
    }
    .order_total .weight , .order_total11 .weight {
        padding: 0 0;
        margin-top: 0;
        color: #000;
        font-size: 12px;
        border-top: 1px solid #000;
    }
    .order_total .weight .weight-display, .order_total11 .weight .weight-display {
        font-size: 19px;
        font-weight: bold;
    }
    .postage {
        padding-bottom: 10px !important;
    }
    .weight {
        padding-top: 10px !important;
    }

    select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        /* padding: 12px 106px 12px 10px; */
        padding: 0 0;
        color: #000 !important;
        opacity: 1 !important;
        background: none;
        font-size: 12px;
        text-align: left;
        border-bottom: 1px solid #000 !important;
      }
      .name {
        border-bottom: 1px solid #000 !important;
      }

.company_name {
    position: fixed;
    top: 13mm;
    left: 10mm;
    font-size: 14px;
    margin-bottom: 10mm;
    border-bottom: 1px solid #000;
    width: auto !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    width: 100%;
}

.company_name input {
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    border: none;
    outline: none;
    width: auto;
    min-width: 70mm;
    width: 100%;
}
.company_name input.short {
    width: auto !important;
}

.company_name .onchu {
    display: inline;
    margin-left: 5px;
    flex-shrink: 0;
}

}
