Based on the Latin claustrum (“a shut in place”), from claudere (“to close”) + -philia.
claustrophilia (uncountable)