/* 新規3ページ共通のボタン・補助ナビゲーション */
.bel-community-page {
    color: #514838;
}
.bel-community-page .pagelink-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(100%, 360px);
    min-height: 50px;
    margin: 18px auto;
    padding: 14px 20px;
    border: 1px solid #cbb17c;
    border-radius: 4px;
    background: linear-gradient(135deg, #fffdf8, #f0e6d1);
    color: #7c6b38;
    font: inherit;
    font-size: 1.6rem;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}
.bel-community-page .pagelink-btn:hover {
    background: #e9dcc0;
}
.bel-community-page .pagelink-btn:focus-visible {
    outline: 2px solid #927239;
    outline-offset: 4px;
}
.bel-community-page .review-post-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}
.bel-community-page .community-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin: 0 0 32px;
    font-size: 1.4rem;
}
.bel-community-page .community-nav a {
    color: #7c6b38;
    text-underline-offset: 5px;
}
.bel-community-page .community-nav a[aria-current="page"] {
    font-weight: 700;
}

/* 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: #fffdf8 !important;
    box-shadow: 0 20px 55px #493a2940;
    transform: translate(-50%, -50%) !important;
}
#IMPopupPlate.review-staff-popup .StaffSelectHeader {
    margin: 0 0 24px;
    color: #63533a;
    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: #927239;
    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 #ded1b8;
    border-radius: 0;
    background: #fff;
    color: #927239;
    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: #927239;
    background: #f3ecdf;
}
#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 #ded1b8;
    border-radius: 0;
    background: #fff;
    color: #927239;
    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;
    }
}
