The Great South Gate, located halfway up the stepped slope leading to Yusuhara Hachimangu Shrine in the mountains outside of Oita City was built in the 17th Century and rebuilt in the 19th Century.
As well as the usual collection of carvings of mythical beasts and such that adorn many such temple and shrine gates, it has a collection of carved relief panels illustrating the 24 Paragons of Filial Piety.
Written in China in the 14th Century, the book was a popular way of learning about Confucian morality. The use of the relief illustrations probably is connected to the rise of Neo Confucianism in Edo Period Japan.
You can probably figure out which stories each picture represents by googling wikipedia or the online translations of the book.....