Some of the atmosphere reminded me of Daimajin where the kami's statue is in a lonely mountain valley. It's a great samurai fantasy of betrayal and avenging the dead with Majin showing up at the end in full implacable offended god wrecking everyone's shit.