Demipanromantic
When someone can be romantically attracted to anyone regardless of gender, but only when they know and trust them well enough to feel that way.
He knew she was demipanromantic and so he set about getting to know her better and becoming friends, at the chance she may begin to feel the same way.