Misode Tenmangu in Onomichi is built on the spot where Sugawara Michizane stopped and rested in 901 while on his way to exile in Kyushu. The locals apparently were kind to him and in return he cut off one sleeve of his kimono and painted a picture of himself on it.
That piece of fabric is the goshintai of the shrine. There is an Inari shrine in the grounds, and several others but I was unable to find out which.
As well as students hoping to do well in exams, quite a lot of movie buffs visit the shrine as it was featured in a well known movie and featured in a famous anime.
The 54 steps leading up to the shrine are interesting. They are 5 meters wide and each one is carved out of a single piece of stone.