Take a step or two down, and before you end up back in the city, go left along a secret path. You will emerge in a part of the shrine north of the pink castle. There is a chest to the far right. You will see 3 small towers. do the middle one first, then the left hand one, and only then the right hand one. This will ensure that you get all items.