Eikoku-ji temple in Hitoyoshi is located on the opposite bank of the Kuma River to the Aoi Aso Shrine, near the castle. It is also known as Yureidera, literally "Ghost Temple". The temple is a Soto Zen temple and ws founded in 1408 by a monk named Jittei.
He saw a ghost rising from the temple pond and a scroll painting he did of the ghost is still in the temple's possession. The temple is also famous for having been used as a headquarters by Saigo Takamori during the Satsuma Rebellion of the late 19th Century.
The principal statues in the main hall are of Shakyamuni, Monju, and Fugen.
Following Saigo's month long stay here in 1877, the fighting that took place resulted in the temples burning down, It was rebuilt in 1891.
I am fairly sure this statue is of Akiba Daigongen, with flames, fangs, and the rope being associated with Fudo Myo, The beak and wings with Crow Tengu, and standing on a fox. Similar to Izuna Gongen, though there is also a Doryo Daigongen another similar deity that has a Soto connection.