Originally syncretism of Shinto and Buddhism was widely seen from the Heian period until the Meiji restoration, and Shinto and Buddhism were not distinguished from each other as a general rule.
もともと日本においては、平安時代から明治維新以前は神仏習合が一般的で、神道と仏教が分けられない場合が一般的だった。