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

    body,
    html,
    main {
        margin: 0 !important;
        padding: 0;
    }

    body * {
        visibility: hidden;
    }

    /* 印刷したい部分だけ表示 */
    .recruit__detail,
    .recruit__detail * {
        display: revert !important; /* できればrevertやinitialで戻す */
        visibility: visible !important;
    }

    .recruit__detail {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 15px 10px !important;
        position: relative;
        /* border: 1px solid rgba(51, 51, 51, 0.6); */
        border: none !important;
        transform-origin: top left;
        page-break-inside: avoid;
        break-inside: avoid;
        /* transform: scale(0.8); */
    }

    .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: 5.625rem;
        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: 5px 10px 5px 10px!important;;
        font-weight: 500 !important;;
        width: 8rem !important;
    }

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

    /* 不要な部分は非表示に */
    header,
    footer,
    .sp,
    .ul-head,
    .breadList,
    .recruit__bottom,
    .recruit__download {
        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: .88;
  }
}