claustrohomophobia
A type of homophobia triggered primarily by a crowded, single-gender environment.
Sam: John usually doesn't make homophobic comments , but that changed as soon as eight other men joined him in the hot tub.
Dave: I think he has claustrohomophobia.
Dave: I think he has claustrohomophobia.