Pan's Labyrinth

In a fairy tale, Princess Moanna, whose father is the king of the underworld, visits the human world, where the sunlight blinds her and erases her memory. She becomes mortal and eventually dies. The king believes that eventually, her spirit will return to the underworld, so he builds labyrinths around the world which act as portals, in preparation for her return.