Later, in addition to the forms of the ancient temples and the styles and the rites of the ceremonies, with an influence of Buddhism, the form of the Buddhist architecture, and the rites since Nara period, Inyo (Onmyo) gogyo shiso (Yin-Yang Wu-Xing Idea) was taken into Shinto in the Taoism in Heian period, Onmyoji (Master of Yin yang) and the cosmic dual forces ideology emerged, whereby the Inyo gogyo shiso is present in the present Shrine Shinto.
その後、古来からある神殿の形式や祭礼の様式・儀式に加え、奈良時代頃からは、仏教や仏教建築の形式や儀式の影響を受け、平安時代には、道教の陰陽五行思想を神道に取り入れ、陰陽師と陰陽思想が台頭し、そして現在の神社神道にもその陰陽五行思想が存在する。