An ujigami is a guardian kami of a particular place in the Shinto religion of Japan. The ujigami was prayed to for a number of reasons, including protection from sickness, success in endeavors, and good harvests.
Ujigami Shrine in Uji
In Japan, a chinjusha is a Shinto shrine which enshrines a tutelary kami ; that is, a patron spirit that protects a given area, village, building or a Buddhist temple. The Imperial Palace has its own tutelary shrine dedicated to the 21 guardian gods of Ise Shrine. Tutelary shrines are usually very small, but there is a range in size, and the great Hiyoshi Taisha for example is Enryaku-ji's tutelary shrine. The tutelary shrine of a temple or the complex the two together form are sometimes called a temple-shrine . If a tutelary shrine is called chinju-dō, it is the tutelary shrine of a Buddhist temple. Even in that case, however, the shrine retains its distinctive architecture.
a typical Chinjusha seen on a temple complex
Motoyama-ji's chinjū-dō
Hiyoshi Taisha is Enryaku-ji's tutelary shrine, one of the largest such shrines