.search-list{
    display: grid;
}
.profile-image{
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.user-name{
    font-weight: 500;
    color: #3C7C80;
    font-family: 'Noto Sans JP', Sans-Serif;
}
.user-occupation{
    color: #333;
    font-weight: 400;
    font-family: 'Noto Sans JP', Sans-Serif;
    position: relative;
}
.user-occupation::before{
    content: '';
    position: absolute;
    display: inline-block;
    background-color: #3C7C80;
}
.md-member-search .member-search-title p{
    font-weight: 500;
    font-size: 24px;
    line-height: 38px;
    color: #3C7C80;
    text-align: center;
}
.md-member-search fieldset{
    margin-bottom: 18px;
}
.md-member-search fieldset .search-label{
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Noto Sans JP', Sans-Serif;
}
.md-member-search fieldset input.ccm-input-text{
    display: block;
}
.md-member-search fieldset .popup-button{
    cursor: pointer;
    position: relative;
}
.md-member-search fieldset .popup-button .cross {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 13px;
    background: #3C7C80;
}

.md-member-search fieldset .popup-button .cross::after {
    content: "";
    position: absolute;
    top: 6px;
    left: -6px;
    width: 13px;
    height: 1px;
    background: #3C7C80;
}
.md-member-search .btn.btn-primary.mwj-btn{
    border-radius: 0;
    padding: 8px 42px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Noto Sans JP', Sans-Serif;
}
.popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: .6s;
}
.popup.is-show {
    opacity: 1;
    visibility: visible;
}
.popup-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: #F0F7F7;
    z-index: 2;
}
.popup-inner .form-group div.check-cover .form-check .form-check-input:checked{
    background-color: white;
}
.popup-inner .form-group div.check-cover .form-check .form-check-input:checked[type=checkbox]{
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%233C7C80' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3E%3C/svg%3E");
}
.popup .close-btn:hover{
    background-color: #3C7C80;
    border: 1px solid #fff;
    color: #fff;
}

.popup .control-label{
    font-weight: 500;
    color: #3C7C80;
    font-family: 'Noto Sans JP', Sans-Serif;
    display: block;
    text-align: center;
}

.popup-inner .form-group div.check-cover .form-check.checked{
    background: #3C7C80;
}
.popup-inner .form-group div.check-cover .form-check{
    background-color: white;
    border: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
}

.popup-inner .form-group div.check-cover .form-check label{
    color: #333333;
    font-weight: 500;
    font-family: 'Noto Sans JP', Sans-Serif;
    display: block;
    cursor: pointer;
    width: 100%;
}
.popup-inner .form-group div.check-cover .form-check.checked label{
    color: white;
}
.popup-inner .form-group div.check-cover .form-check .form-check-input{
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: contain;
    border: 1px solid #E6E6E6;
    border-radius: 0;
    height: 20px;
    width: 20px;
    margin-left: 0;
    margin-top: 0;
}

.popup .close-btn{
    background-color: white;
    border: 1px solid #3C7C80;
    color: #3C7C80;
    cursor: pointer;
    margin: 0 auto;
    font-family: 'Noto Sans JP', Sans-Serif;
    font-weight: 500;
}
.check-count{
    color: #3C7C80;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    font-family: 'Noto Sans JP', Sans-Serif;
}

@media screen and (min-width: 992px){
    .search-list{
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .list-wrapper{
        margin-top: 60px;
        margin-bottom: 60px;
    }
    .user-name{
        font-size: 20px;
        line-height: 32px;
    }
    .user-profile{
        padding: 1rem;
    }
    .user-occupation{
        font-size: 16px;
        line-height: 26px;
        margin-left: 1rem;
        margin-top: 10px;
    }
    .user-occupation::before{
        width: 8px;
        height: 8px;
        top: 0.6rem;
        left: -1rem;
    }
    .md-member-search fieldset input.ccm-input-text{
        min-width: 484px;
    }
    .md-member-search fieldset .popup-button{
        width: 256px;
    }
    .popup-inner .form-group div.check-cover{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .popup .control-label{
        font-size: 24px;
        line-height: 38px;
        margin-bottom: 20px;
    }
    .popup-inner .form-group div.check-cover .form-check{
        width: 32%;
        padding-left: 10px;
        margin-bottom: 10px;
    }
    .popup-inner .form-group div.check-cover .form-check label{
        font-size: 16px;
        padding: 8px 10px;
        line-height: 26px;
    }
    .popup .close-btn{
        padding: 8px 42px;
        max-width: 210px;
        font-size: 16px;
        line-height: 26px;
    }
    .popup-inner{
        padding: 50px;
        width: 80%;
    }
    .black-background {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,.8);
        z-index: 1;
        cursor: pointer;
    }
}
@media screen and (max-width: 991px){
    .search-list{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .list-wrapper{
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .user-name{
        font-size: 16px;
        line-height: 25px;
        margin-top: 6px;
    }
    .user-occupation{
        font-size: 12px;
        line-height: 19px;
        margin-left: .75rem;
        margin-top: 5px;
    }
    .user-occupation::before{
        width: 6px;
        height: 6px;
        top: 0.45rem;
        left: -.75rem;
    }
    .popup .control-label{
        font-size: 20px;
        line-height: 32px;
        margin-bottom: 20px;
    }
    .popup-inner .form-group div.check-cover .form-check{
        width: 100%;
        padding-left: 10px;
        margin-bottom: 16px;
    }
    .popup-inner .form-group div.check-cover .form-check label{
        font-size: 16px;
        padding: 8px 10px;
        line-height: 26px;
    }
    .popup .close-btn{
        padding: 8px 42px;
        font-size: 16px;
        line-height: 26px;
    }
    .popup{
        overflow-y: scroll;
        background-color: rgba(0,0,0,.8);
    }
    .popup-inner{
        padding: 40px 17px;
        width: 90%;
        top: 0;
        transform: translate(-50%,0%);
        height: auto;
    }
}

