/* 印刷専用スタイル */
@media print {
    @page {
        size: 210mm 297mm; /* A4 */
        margin: 10mm 10mm;
    }

    body,
    html,
    main {
        width:  100% !important;
         height:100% !important;
        margin: 0 !important;
        padding: 0;
        display: flex !important;
        align-items: center !important; 
        justify-content: center !important;
    }

     /* 該当要素だけ印刷 */
    .recruit__detail {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 15px 10px !important;
        position: relative;
        border: none !important;
        transform-origin: top left;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .page-recruit .recruit__detail::after {
        display: none;
    }

    .page-recruit .recruit__title {
        font-size: 18px;
        line-height: 1.6428571429;
        margin-bottom: 1.25rem;
    }
    .page-recruit .recruit__wrapper {
        font-size: 12px;
        line-height: 1.8888888889;
        margin-bottom: 20px;
    }
    .page-recruit .recruit__wrapper.--process {
        margin-bottom: 0;
    }
    .page-recruit .recruit__wrapper.--process dl {
        background-color: #edf6f1 !important;
    }
    .page-recruit .recruit__wrapper.--process dl:last-child {
        margin-bottom: 0;
    }
    .page-recruit .recruit__wrapper.--process dl dt {
        display: flex !important;
        padding-bottom: 0;
    }
    .page-recruit .recruit__wrapper.--process dl dt .number {
        width: 20px;
        display: block;
        font-family: "M PLUS 1p", sans-serif;
    }

    .page-recruit .recruit__wrapper.--process dl dt .jp {
        flex: 1;
    }
    .page-recruit .recruit__wrapper.--process dl dd {
        padding-left: 10px !important;
        padding-right: 10px !important;
        position: relative;
    }

    .page-recruit .recruit__wrapper.--process dl dd::before {
        display: block;
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        width: 1px;
        height: calc(100% - 20px) !important;
        background-color: rgba(51, 51, 51, 0.5);
    }

    .page-recruit .recruit__wrapper dl {
        display: flex !important;
    }
    .page-recruit .recruit__wrapper dl:nth-child(2n + 1) {
        background-color: #f9f7f5;
    }
    .page-recruit .recruit__wrapper dl dt {
        padding: 3px 10px 3px 10px!important;
        font-weight: 500 !important;
        width: 8rem !important;
    }

    .page-recruit .recruit__wrapper dl dd {
        flex: 1;
        padding: 3px 10px 3px 10px ;
    }

    /* 不要な部分は非表示に */
    header,
    footer,
    .sp,
    .ul-head,
    .breadList,
    .recruit__bottom,
    .recruit__download,
    .recruit-anchor-notice,
    .recruit-anchor,
    .button-close {
        display: none !important;
    }
    main {
        margin: 0;
    }
    .ul-cont {
        padding: 0 !important;
    }
}

@media print and (max-width: 768px) {
    .recruit__detail{
        padding: 0 !important;
    }
.recruit__detail .inner{
  zoom: .80;
  }
}