/* MUSOのポップアップ位置・寸法指定に優先するため、外枠のみimportantを使用。 */
#IMPopupPlate.review-staff-popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    width: min(90vw, 540px) !important;
    max-height: min(80vh, 720px) !important;
    padding: 42px 28px 28px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    border: 1px solid #b6a179 !important;
    border-radius: 0 !important;
    background: #111 !important;
    box-shadow: 0 20px 55px #0009;
    transform: translate(-50%, -50%) !important;
}
#IMPopupPlate.review-staff-popup .StaffSelectHeader {
    margin: 0 0 24px;
    color: #eee;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
}
#IMPopupPlate.review-staff-popup .StaffSelectHeader::before {
    content: "Therapist Select";
    display: block;
    margin-bottom: 5px;
    color: #e6d8b3;
    font-family: Georgia, serif;
    font-size: 24px;
    letter-spacing: .04em;
}
#IMPopupPlate.review-staff-popup .StaffSelectHeader + br,
#IMPopupPlate.review-staff-popup .review-staff-option br {
    display: none;
}
#IMPopupPlate.review-staff-popup .StaffSelectItemList {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
#IMPopupPlate.review-staff-popup .StaffSelectItem {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
#IMPopupPlate .review-staff-option {
    display: block;
    width: 100%;
    height: 100%;
    padding: 7px 7px 10px;
    box-sizing: border-box;
    border: 1px solid #655b49;
    border-radius: 0;
    background: #1d1b18;
    color: #e6d8b3;
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
    cursor: pointer;
    appearance: none;
}
#IMPopupPlate .review-staff-option:hover {
    border-color: #e6d8b3;
    background: #30291e;
}
#IMPopupPlate .review-staff-option img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin-bottom: 7px;
    border-radius: 0;
    object-fit: cover;
    object-position: center top;
}
#IMPopupPlate.review-staff-popup .IMPopupCloseBtn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    margin: 0;
}
#IMPopupPlate .review-staff-close {
    display: block;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #655b49;
    border-radius: 0;
    background: #1d1b18;
    color: #e6d8b3;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
@media screen and (max-width: 600px) {
    #IMPopupPlate.review-staff-popup {
        width: calc(100vw - 30px) !important;
        padding: 42px 16px 22px !important;
    }
    #IMPopupPlate.review-staff-popup .StaffSelectItemList {
        gap: 9px;
    }
    #IMPopupPlate .review-staff-option {
        padding: 5px 5px 8px;
    }
}
