

.modal.is-show .modal-content {
    visibility: visible;
}
.modal-expander {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    transform-origin: center;

    background: rgba(0,0,0,0.85);
    border-radius: 6px;

    will-change: transform;
    transition: transform 0.28s ease-out;
    pointer-events: none;
    z-index: 101;
}

.modal-loading {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    pointer-events: none;
    z-index: 102;
}
.modal-content {
    position: relative;
    background: #ffffff;
    max-width: 1100px;
    width: 85%;
    height: auto;
    visibility: hidden;
    z-index: 103;
}

.modal.is-open{
    opacity:1;
}



















#area_menu_kv {
    background-image: url(/recruit/img/management/welfare/header_PC.jpg);
}



.btn_allowance{
    margin-left:25%;
}



.flex_row{
    justify-content :space-between;
}
.flex_row::after{
    width:30%;
    content:"";
}

.small_size_pic{
    width:calc((100% - 2rem) / 2 * 1) !important;
    margin-right: 0 !important;
}
.img_wrap img{
    cursor: pointer !important;
    pointer-events: auto !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.img_wrap img:hover{
    transform:scale(1.1,1.1);
    transition:.5s all;
}

.flexitem_1{
    margin-right: 0 !important;
}
.img_wrap{
    overflow: hidden;
    
}




.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 100;

    opacity: 0;
    transition: opacity 0.45s ease-out;
}

.modal-scroll{
    overflow-y: auto;
    max-height: 80vh;
}

.modal-content img {
    width: 100%;
    height: auto;
    display: block;
}
.modal-content h3 {
    font-weight: bold;
    font-size:14px;
}

.modal-content p {
    margin-top: 10px;
}

.modal-close{
    position: absolute;
    top: -28px;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 101;
}



.modal-body {
    padding: 24px 28px;
    color: #333;
}

#modal-title {
    font-weight: bold ;
}


#modal-desc p {
    margin: 0 0 0.6em 0; 
    line-height: 1.6;
}


.modal-subwrap {
    display: flex;
    gap:0;
    margin:0;
    overflow-x: visible;
    flex-wrap: wrap;
    -ms-overflow-style: none;
    scrollbar-width: none;     
}



.modal-subwrap img {
    flex: 0 0 calc(100%/3);
    height: 50px;
    cursor: pointer;
    transition: 0.2s;
    object-fit: cover;
    margin:0;
    opacity: 0.4;
}

.modal-subwrap img:hover {
    transform: scale(1.05);
    border-color: #666;
}


.modal-subwrap img.is-active {
    opacity: 1;
}

.modal-subwrap,
.modal-subwrap img {
    pointer-events: auto;
}

.modal-tags {
    margin-top: 8px;
}

.modal-tag {
    color: #005bac;    
}




@media (min-width: 835px) {
    .small_size_pic{
        width:31% !important;
    }
}

@media(min-width:600px){ /*pc*/

    #area_menu_kv {
        background-image: url(/recruit/img/management/welfare/header_PC.jpg);
    }
    .pg__box_blue{
        height: 45rem;
    }
    .pg__box_blue p{
        font-size: 1.2rem;
    }
    .pg__boxblue_bottom{
        position: absolute;
        bottom: 2.3rem;
        width: 39rem;
    }
    .pg__wdbox{
        display: flex;
        padding: 4.0rem 4.3rem;
        height: auto;
    }
    .pg__wdbox h4{
        width: 7.5rem;
        margin-right: 4.3rem;
        margin-bottom: 0;
    }
    #area_conts .pg__wdbox p{
        margin-bottom: 0;
    }

    .btn_other{
        margin-left:17%;
    }
    .btn_allowance{
        margin-left:0%;
        margin-right:17%;
    }

    

    .modal-content {
        position: relative;
        background: #ffffff;
        max-width: 1200px;
        width: 56%;
        height:auto !important;
    }

    .modal-content img {
        width: 100%;
        height: auto ;
        display: block;
        max-height:50vh;
    }
    .modal-content h3 {
        font-size: 16px;
    }

    .modal-content p {
        margin-top: 2rem;
        line-height: 1.7;
    }



    .modal-body {
        padding: 25px 35px 35px 35px;
        font-size: 14px;
        color: #333;
    }

    #modal-title {
        font-weight: bold ;
    }


    #modal-desc p {
        margin: 0 0 0.6em 0;
        line-height: 1.6;
    }


    .modal-subwrap {
        display: flex;
        gap:0;
        margin:0;
        overflow-x: auto;
        scrollbar-width: none;     
        flex-wrap:nowrap;
        grid-template-columns: repeat(6,1fr);
        display: grid !important;
    }



    .modal-subwrap img {
        /* flex: 0 0 calc(100%/6); */
        width:100%;
        height: 70px;
        cursor: pointer;
        transition: 0.2s;
        object-fit: cover;
        margin:0;
        opacity: 0.4;
        transition: 0.2s;
    }


    .modal-subwrap img.is-active {
        opacity: 1;
    }

    .modal-tags {
        margin-top: 8px;
    }

    .modal-tag {
        color: #005bac;    
    }


}

