Thanks for the comment. (And congratulations on getting the first comment ever...)

"where" in that sentence picks up on "Shiraishi had found her": Shiraishi had found her at the steps of the shrine, and also where she had slipped in the other other shrine [because the steps were where she slipped].

It's certainly not the simplest construction, but I think it does work grammatically.