History of Shinto

Shinto is a religion native to Japan with a centuries'-long history tied to various influences in origin.

Although historians debate the point at which it is suitable to begin referring to Shinto as a distinct religion, kami veneration has been traced back to Japan's Yayoi period (300 BC to AD 300). Buddhism entered Japan at the end of the Kofun period (AD 300 to 538) and spread rapidly. Religious syncretization made kami worship and Buddhism functionally inseparable, a process called shinbutsu-shūgō. The kami came to be viewed as part of Buddhist cosmology and were increasingly depicted anthropomorphically. The earliest written tradition regarding kami worship was recorded in the 8th-century Kojiki and Nihon Shoki. In ensuing centuries, shinbutsu-shūgō was adopted by Japan's Imperial household. During the Meiji era (1868 to 1912), Japan's nationalist leadership expelled Buddhist influence from kami worship and formed State Shinto, which some historians regard as the origin of Shinto as a distinct religion. Shrines came under growing government influence and citizens were encouraged to worship the emperor as a kami. With the formation of the Japanese Empire in the early 20th century, Shinto was exported to other areas of East Asia. Following Japan's defeat in World War II, Shinto was formally separated from the state.

Even among experts, there are no settled theories on what Shinto is or how far it should be included, and there are no settled theories on where the history of Shinto begins. The Shinto scholar Okada Chuangji says that the "origin" of Shinto was completed from the Yayoi period to the Kofun period, but as for the timing of the establishment of a systematic Shinto, he says that it is not clear.

There are four main theories.


 * 1) The theory that it was established in the 7th century with the Ritsuryo system (Okada Souji et al.)
 * 2) The theory that the awareness of "Shinto" was born and established at the Imperial Court in the 8th-9th century (Masao Takatori et al.)
 * 3) The theory that Shinto permeated the provinces during the 11th and 12th centuries (Inoue Kanji et al.)
 * 4) The theory that Yoshida Shinto was founded in the 15th century (Toshio Kuroda et al.)

Overview
Although there is no definitive theory on the origin of Shinto as a religion; its origins date back to the ancient history of Japan. Based on rice cultivation introduced at the end of the Jōmon period and at the start of the Yayoi period, nature worship, which views nature as one with some god, arose in the Japanese archipelago. These beliefs were spread throughout the archipelago as a national festival by the Yamato Kingship in the Kofun era. Rituals were held at the first Shinto shrines such as Munakata Taisha and Ōmiwa Shrine, and the prototype of Shinto was formed. In the Asuka period, the ritual system, shrines, and ceremonies were developed along with the establishment of the Ritsuryo, and the Ritsuryo rituals were formed with the involvement of the Diviners as the administrative body. Ritsuryo rituals were formed in which the Department of Divinities The Tang dynasty rituals were used as a reference for the regulations of the management and operation of rituals in the ritual system. In the following Nara period, the Kojiki and the Nihon Shoki were compiled as Japanese mythology along with the national history, and the rituals and the Emperor's family were connected. In the Heian period, the Ritsuryo system was relaxed and the emperor and his vassals became directly involved in the rituals of local shrines without going through the Shinto priests. In addition to this, Shinbutsu-shūgō, a phenomenon of Shinbutsu-shūgō, in which Buddhism was fused with this belief in gods, also occurred in ancient Japan, while the idea of Shinbutsu segregation, in which rituals were distinct from Buddhism, was also seen. In addition, beliefs such as Shugendo and Onmyōdō were established in Japan, and these also influenced Shinto.

In the Middle Ages, there was a widespread movement to doctrinize and internalize Shinto. In the Kamakura period, the Kamakura shogunate's veneration protected shrines in various regions, and among the common people, Kumano, Hachiman, Inari, Ise, and Tenjin came to be widely worshipped across regions. In the midst of this spread of Shinto, the intellectual class began to use Buddhist theories to interpret Shinto, starting with the Esoteric Buddhist monk's dualistic Shinto, and advocated such theories as Honji Suijaku theory, which held that the Shinto gods were incarnations of Buddha. In response to this, the Shinto shrines, feeling threatened, systematized the Honji Suijaku theory, which placed their gods above Buddha, against the backdrop of the rise of Shinto after the victory over the Mongol invaders, and established Ise Shinto, which uses the Five Books of Shinto as its basic scripture. In addition, Yoshida Kanetomo, who lost many ancient books in the Ōnin War of the Muromachi period, took the opportunity to forge sutras to create the first Shinto theory that had its own doctrine, sutras, and rituals independent of Buddhism. Yoshida Kanetomo took this opportunity to create the first Shinto theory, Yoshida Shintō, which was the first Shinto theory to have a doctrine, scripture, and rituals. From the Sengoku era to the Azuchi-Momoyama period, Yoshida Shinto was involved in the construction of shrines that enshrined warring feudal lords as gods.

In the Edo period, which constitutes a large part of the Early modern period in Japan, the Tokugawa shogunate reorganized the administration of shrines, and improvements in security and transportation allowed the common people to visit Ise Grand Shrine Tokugawa shogunate reorganized the administration of shrines, and improvements in security and transportation led to an increase in pilgrimages to Ise Grand Shrine On the other hand, Buddhism, which had attained the status of a state religion, was in a period of stagnation as an ideology. In this context, in the early Edo period, mainstream Shinto, from the standpoint of criticism of Buddhism, became increasingly associated with the Confucianism of the Cheng-Zhu school, and shifted to Confucian Shinto such as Taruka Shinto. In the mid-Edo period, Kokugaku, which integrated Shinto with the empirical study of Japanese classics such as poetry and languages, developed and flourished, replacing Confucian Shinto. The Kokugaku scholar Motoori Norinaga strongly criticized the interpretation of Shinto in terms of Chinese-derived Buddhist and Confucian doctrines, and insisted on conducting empirical studies of Shinto scriptures. In the late Edo period, Nobunaga's theology was critically inherited by Fukko Shinto. Fukko Shinto, influenced by Christianity, emphasized the afterlife, as well as Chinese mythology, Hindu mythology, Christian mythology, and other myths from around the world were claimed to be accents of Japanese mythology, and were involved in the subsequent restoration of the monarchy. On the other hand, in the Mito Domain, the Late Mito Studies, which integrated Confucian ethics such as loyalty, filial piety, and humanity with national studies, was developed in response to the criticism of Nobunaga, who rejected Confucianism. Late Mito studies, which advocated the rule of Japan by the emperor by combining Confucianism and Shinto, became the nursery ground for the ideas of the Shishi at the end of the Edo period.

When the Shogunate was overthrown and Japan began to move toward the Late modern period, the new government set the goal of unity of Shinto and politics through the Great Decree of Restoration of the Monarchy. In addition to the propagation of Shinto based on the Daikyo Declaration, the Shinbutsu bunri led to the separation of Shinto and Buddhism, and in some cases, the Haibutsu Kishaku, the destruction of temples and Buddhist statues. The Meiji government then formed the State Shinto system in which the state controlled shrines as state religious services. Later, when the Separation of church and state led to the expulsion of the ritualists, the theory of non-religious shrines was adopted, which gave shrines a public character by defining them as not being religions, and local shrines were separated from public spending. In response to this, Priests organized the National Association of Priests and launched a movement to restore the power of the Shinto priests, demanding that the government make public expenditures. The Kannushi organized the National Association of Shinto Priests and launched a movement to restore the Shinto officialdom, demanding that the government make public expenditures. After the end of World War II, the Shinto Directive by the GHQ dismantled the state Shinto system, which was considered the root of Nationalism ideology. The Shinto Directive by the State Shinto of the Shinto Directive dismantled the state Shinto system, and shrines were transformed into religious corporations with the Association of Shinto Shrines as the umbrella organization. Although shrines thus lost their official position in modern times, some shrines have since achieved economic prosperity through free religious activities, and Shinto plays a certain role in Japan's annual events and life rituals.

Pre-Ritsuryō Rituals
As rice cultivation spread through the Japanese archipelago from the late Jomon into the Yayoi period, a type of nature worship based on the cultivation of rice also arose. This belief was based on the idea that nature and the kami were one, and that sacrifices and rituals prevented the kami from ravishing the land in the form of natural disasters. In the Yayoi period, several Shinto practices appeared that had clear similarities to those seen in the Kojiki and Nihon Shoki. Archeological finds supporting this include finds believed to be in a similar vein as shrines, such as a new style of square-shaped burial mounds (方形周溝墓), bronze ritualistic items from archeological sites including the Kōjindani Site, and large buildings with freestanding roof pillars (独立棟持柱), an architectural feature in common with later shrines, an example of which is seen at the Ikegami-Sone Site. Charred bones of deer and other animals used for divination have also been found in the vicinity of such sites, as well as grave goods such as mirrors, swords, and beads.

Around the 3rd century, what would become the Makimuku ruins began to develop in the Yamato Province near  Mount Miwa, and early, large-scale zenpokoenfun began to emerge as well, such as the Hashihaka kofun. It is believed the Yamato Kingship was established in this period. The 3rd century is also the estimated time of creation of the triangular-rimmed shinjūkyō passed down by the shrine as well as the iron sword excavated at Isonokami Shrine. These objects resemble the holy sword and mirror described in the Kojiki and Nihon Shiki, and allowed for a clearer understanding of elements that would lead to the Shinto faith later. The first state Shinto rituals occurred in the 4th century. Large numbers of religious artifacts such as bronze mirrors and iron weapons with similarities to the kofun grave goods of the late 4th century in the Yamato region have been excavated from Munakata Taisha on Okinoshima in Munakata, Fukuoka. This indicates that Yamato Kingship rituals began on Okinoshima prior to this. Ritual objects such as small bronze mirrors have also been excavated at Mount Miwa which match those at Munakata Taisha, which lends credibility to the theory that rituals at Mount Miwa (home later to the Ōmiwa Shrine) began at approximately the same time as those on Okinoshima. It is believed that the 4th century, with the rituals held at the early shrines of Munaka Taisha and Ōmiwa Shrine, was when the base of the following Shinto faith developed.

The 5th century sees the spread across Japan. These were originally used in rituals in the Yamato region, and their spread suggests the Yamato Kingship expanded across the Japanese archipelago. Of particular note are the many sekisei mozо̄hin of haji pottery, takatsuki tables, and magatama beads discovered on the eastern side of the country at the Miyanaka Jōri Site Ōfunatsu of Kashima, Ibaraki or the Odaki Ryōgenji Site in Minamibōsō, Chiba, which indicates Yamato Kingship rituals were taking place in these locations. It is believed the Imperial Court later valued the rituals in these regions which led to the establishment of the Kashima Shrine and Awa Shrine with defined holy precincts (神郡).

Other religious objects of the 5th century include iron grave goods in kofun, as well as sue pottery and cloth excavated from various sites including the Senzokudai Site in Chiba Prefecture and Shussaku Site in Ehime Prefecture, and, therefore, this era is believed to be when the precursors of modern Shinto religious offerings (幣帛) developed.

The 6th century brings changes in kofun funerary rituals and a shift from vertical stone burial chambers to horizontal. The exact nature of these kofun funerary rituals was determined by researching haniwa clay figures depcting people using weapons or tools, gifted animals, and nobles riding horses. These figures give a concrete view at these rituals. The shift from vertical to horizontal stone burial chambers suggests the development of beliefs about the nature of the soul in which the soul leaves the body after death. This can be seen in myths in the Kojiki and Nihon Shiki and is believed to have had an impact on the formation of belief in kami with humanlike aspects.

Formation of Ritsuryō Rituals
In the 7th century, the establishment of the Ritsuryō system began primarily during the Tenmu period and Jitō period, during which Shinto underwent a major transformation. The systemization of Shinto and the development of an institutional framework of its rituals progressed based on the faiths formed from the Kofun period onward while incorporating aspects from external beliefs, as ritual systems, shrines, and ceremonies developed.

The public ritual system of the ritsuryō state was developed in accordance with the Jingi Ryō (神祇令). It is believed the Jingo Ryō was established at the same stage as the Asuka Kiyomihara Code and that codes from the Tang dynasty were used as reference. While the regulations for the management and administration of the rituals did follow in accordance with this code, the nature of the rituals was almost entirely unique to Japan, meaning the Jingi Ryō can be thought of as a reformation of Japan-specific religious beliefs based on the Tang code.

The Jingi Ryō established the Department of Divinities, the administrative department for overseeing rituals, as well as the director position the. It was under this jingi-haku that 13 types of rituals were established as state rituals and regulated to occur in accordance with the seasons. These were the Kinen-sai,, , , , , , , , Kannamesai Festival, , , and Daijō-sai (Niiname-no-Matsuri). The Kinen-sai held in the second month of the lunar calendar as an advance celebration of good harvest. The Chinka-Sai held in the third month of the lunar calendar as flowers petals scatter is held to send off evil spirits. The Tatsuta Matsuri, a prayer to prevent wind damage from typhoons, and the О̄imi-no-Matsuri, a prayer to prevent water disasters, are both held in the fourth and eleventh months of the lunar calendar. And just as the Niiname-no-Matsuri held in the eleventh month of the lunar calendar was to show gratitude for freshly harvested grain, the Ritsuryō rituals were characterized by a strong link with the harvest, aligning with the change of the seasons to show gratitude for the blessings of nature which were needed for agriculture. Regulations required the purification of a government official, and there are two types of purifications within the Ritsuryō rituals: the, and the. The maimi consists of the official abstaining entirely from their duties to undergo purification as they dedicate themselves to preparing for the ritual. The araimi only requires abstaining from the while continuing their duties. The six taboos are mourning, visiting the ill, consuming the meat of four-legged mammals, carrying out executions or sentencing criminals, playing music, and coming in contact with impurities. The government officials could be punished if they failed to conform to this requirement. The festivals were divided into major, medium, and minor rituals depending on the length of the time required for the purifications. For example, a major ritual (of which there is only the Daijō-sai) requires an araimi of one month and a maimi of three days.

Out of the several Ritsuryō state rituals, the Kinen-sai, Tsukinami-no-Matsuri, and О̄nie-matsuri included a ritual format unique to Japan called. This involved the Department of Divinities calling an assembly of priests from every formally recognized shrine in the country, where the Nakatomi clan performed ritual prayers and the Inbe clan distributed religious offerings called heihaku to the priests. The priests took the heihaku to offer to the kami of each of their shrines. There were also regulations for the Ōharae-shiki, in which the Nakatomi clan first offered an ōnusa to the emperor, and the Yamatonoaya clan and Kawachinohumi clan offered a as well as performed the reading of ritual incantations. Then, a large group of male and female court officials gathered at the in the suzakumon where the Nakatomi clan read purification incantations and divinators of the imperial court performed the purification.

Up until this point, many shrines had no actual buildings, but these buildings started to become established in this period, particularly at officially recognized shrines. The shinkai ranking system was also established at this time, and shrines at which miracles occurred were assigned a (a shrine equivalent of a  which established the shrine as a partial tax recipient) and a shinkai rank, and particularly venerated shrines were given a shingun holy precinct. Some shrines also received a type of citizen assigned to the shrine known as as well as shrine-owned farm fields called  in which they worked in order to support the economic requirements of the shrine. Regions without officially-recognized shrines continued without physical shrine buildings. Someone was selected to act as the, a person in charge of rituals, and they conducted agriculture-related rituals in spring, when the rice was planted, and fall, at harvest, to thank the kami. However, as time went on, government officials began visiting these places where the rituals were held where they informed the locals of the country's laws, adding an official aspect to these rituals, and the establishment of physical shrines spread across the country.

The ritual system of the Ise Grand Shrine was also developed during this period, and, during the reign of Emperor Temmu, the and  (regions to provide rice for the emperor's ascension ceremony) were selected through divination, and the emperor would dine with Amaterasu while facing the direction of Ise, which formed the Daijō-sai as it is known in its modern form. The saiō system also came to be in which an unmarried female member of the imperial family was sent to serve at the Ise Grand Shrine, and the practice at the Ise Grand Shrine of began during the reign of Empress Jitō which is the practice of rebuilding all the shrines buildings at once every approximately 20 years.

Shinto had an influence on the compilation of national history, a duty which was formed during the reign of Emperor Temmu and developed further during the reign of Empress Genmei. The Kojiki and Nihonshiki were compiled during the 8th century and contain Japanese myths in the form of tales from the Age of the Gods, as well as stories of Emperor Jimmu and how he established the country. The compilations were the basis of the imperial family's claim as the rightful rulers. Efforts were made to link ancient rituals to the kami believed to be the progenitor of the imperial family, such as by assuming the kami of Munakata Taisha (the Three Female Deities of Munakata) are the three goddesses birthed by Amaterasu, while the origins of the court ritual clans such as the Nakatomi clan, Inbe clan, and Sarume-no-kimi people were sought after in the world of myth.

The Transformation of Ritsuryō and Heian Rituals
The Ritsuryō ritual system transformed during the Heian period (794–1185) as the Ritsuryō system was relaxed.

In 798, it became impossible to maintain the heibu system of distributing religious offerings to all shrines in the country, resulting in the shrines being divided into two types: the which continued to receive their religious offerings from the Department of Divinities, and  which received began to receive theirs from their provincial government. Shrines were further divided in greater and lesser shrines, as well as some shrines with particularly powerful miraculous powers classified as. These classifications were outlined in the Engishiki Jinmyōchō of 927. As the imperial court expanded along with the relaxation of the Ritsuryō system, the emperor and their close advisors became directly involved in regular rituals of shrines that had particularly strong connections to the imperial court, rather than the Department of Divinities overseeing this duty, which led to the development of, officially recognized and officiated rituals, during the late Nara and early Heian periods. During the reign of Empress Kōken, Empress Kōmyō and others began changing the regular rituals of the many, shrines housing the patron kami of the Fujiwara clan, into kо̄sai rituals. Special rituals also became more common as the emperor's authority grew. These were rituals for specific kami, and in addition to the regular rituals, in which the emperor themself dispatched the imperial representative. The first example of this was the held by Emperor Uda during his reign. The regular festival that developed after this retained the "special" name.

The emperor and their close advisors became directly involved with even more rituals such as the emperor's, morning prayers sent to Ise Grand Shrine, conducted at a platform within the palace called the or the , a tradition which began in this period in which a court messenger takes sacred relics to specific shrines at an emperor's ascension. The practice of first occurred during Emperor Suzaku's reign. Gyо̄kо̄ is the practice of the emperor themself going to a shrine and dispatching the ritual official from there, while up until that point, the emperor would have stayed in the imperial court and dispatched the officials from there.

At this time, the nobles became more interested in ujigami rituals, and we see several collections of traditions written during this time. There is the Kogo Shūi written by Inbe no Hironari which consisted of an orally transmitted history of the Inbe clan and also acted as a counter to the Nakatomi clan. There is also the Sendai Kuji Hongi which contains a collection of histories about the different clans thought to have been compiled by the Mononobe clan, as well as the Shinsen Shōjiroku containing the lineage and histories of the various clans which divided the clans into the branches of divine ancestry, imperial ancestry, foreign ancestry, and those of unknown ancestry.

The Engishiki, containing laws and customs, was completed in 927. Volumes one through ten contain laws regarding Shinto, and these ten volumes are collectively referred to as the. The contents of each volume are as follows: One and two, seasonal rituals. Three, special rituals. Four, the Ise Grand Shrine. Five, position at the Ise Grand Shrine. Six, the role of saiin priestesses. Seven, Daijō-sai. Eight, norito. Nine and ten, the upper and lower kami.

In addition, as it was no longer possible to maintain the practice of sending religious offerings to all myōjin taisha shrines, it turned to a practice called which involved making offerings only to the most prominent of these shrines twice a year. This practice expanded to sixteen shrines later, then eventually to twenty-two shrines, and this continued until 1449 (the first year of the Hōtoku era) in the Late Middle Ages.

In regards to local rituals, provincial officials were dispatched and ranked the shrines in that province, developing the Ichinomiya system which ordered the shrines to be worshiped at. These officials noted the shrines that saw worship in a, and, later, shrines of ninomiya rank or below were grouped together into a sōja shrine.

Synthesis with and Separation from Buddhism
After the official introduction of Buddhism in the 6th century, Buddhism spread across Japan through the conflict between the Monobe clan and the Soga clan over the adoption of Buddhism. Early on in the adoption, however, Buddhism was not seen as different from Shinto and was taken up in the same way as local Shinto had been. Buddha was called, and some women, such as Shima, Datto Shiba's daughter, left home to maintain Buddhist statues similar to what miko did. Later, in the 7th century, the kami were believed to reside in devaloka and thought to be seeking liberation just like humans. Jingū-ji were built within shrines as locations where Buddhist practices could occur such as reading Buddhist scriptures before the kami. An early example of this is the jingū-ji at Tado Shrine founded by the monk Mangan. Buddhist temples also made attempts to move Shinto closer to Buddhism which resulted in the belief that kami were also Defenders of the Justice, beings who protect dharma, and so jinjū-sha shrines were built into Buddhist temples.

Several faiths appeared during the Heian period which contained elements of both Shinto and Buddhism such as belief in Goryō and the Kumano faith which regards Kumano a Pure Land, and the influence of Buddhism led to the creation of statues of kami inspired by Buddhist statues. Shinto-Buddhims syncretism continued as time went on, giving rise to the honji suijaku theory which claims kami are the temporary forms of Buddhist deities manifested in Japan in order to save the people. There were also instances of using Buddhist deity terms such as and gongen when referring to kami, as well as the practice of carving buddhist images, the true forms of the deities, on the backs of mirrors, believed to be the house of the kami. These mirrors were called  because they depicted the kami 's true form.

At the same time, the desire to separate Shinto and Buddhism was seen in the imperial court and amongst the shrines. Regulations such as the and the  forbade central officials and officials from the Five Provinces from conducting Buddhist services during the period of the Daijō-sai. Buddhist monks and nuns were also forbidden from attending medium rituals or minor rituals that occurred during purification of the imperial palace, and Buddhist services could not be held in the palace. From the middle of the Heian period onwards, the emperor was also required to stop any Buddhist activities during the period of purification for rituals in which the emperor conducts the purification themself, such as for the Niiname-no-Matsuri, Tsukinami-no-Matsuri, and the Kannamesai Festival, and other government officials were also meant to avoid Buddhist practices during this time. At the Ise Grand Shrine, some words were considered taboo. For Buddha (仏) they used and for Buddhist priest (僧侶) they used. These indirect terms were even used at the saiō priestess's residence. While Shinto and Buddhism had begun to blend as a faith, ritualistically, they remained two separate systems.

Development of Shugendō and Onmyōdō
In ancient Japan, mountains were believed to be other worlds, such as the afterlife, and were rarely entered, but they became areas for ascetic practices during the Nara period under the influence of various factors such as esoteric Buddhism, Onmyōdō, and kami worship. One figure in the early stages of this practice was En no Ozunu, and Shugendō was formed as these ascetic mountain practices developed into an organization near the end of the Heian period, with Kinpu Mountain, Kumano Sanzan, the Three Mountains of Dewa, and Mount Togakushi prominent examples of mountains of power. This was followed by the establishment of various Shugendō schools such as the of the Tendai school, the  of the Shingon school, the  based at the Three Mountains of Dewa, and the  based at Mount Hiko.Onmyōdō was established during the Heian period by the imperial court. It developed independently in Japan based on influences from the philosophies of yin and yang and wuxing which came over from China. Onmyōdō 's development also had an impact on Shinto, as some rituals such as the О̄harae-shiki and which had been conducted by the Department of Divinities were later conducted by the, the department of Onmyōdō. Additionally, the ritual text for the О̄harae-shiki, also known as the , changed into the  and became used by Onmyōdō priests. The change was that the original ritual incantation was in the style, in which the words are directed to the ritual's attendees, while the newer incantation was in the  style, in which the words are directed to the kami. However, while Shinto rituals were affairs of the state, Onmyōdō rituals were conducted in an environment of heightened materialistic desires of the aristocrats in order to request personal success and the curing of illness. Beginning in the 10th century, the department overseeing Onmyōdō was almost entirely led by successive generations of the Abe and Kamo clans.

The Shogunate's Shinto System
The shrine system went under a reorganization under the shogunate with the establishment of the Kamakura shogunate. Minamoto no Yoritomo, the founder of the shogunate, was a devout follower of Shinto and officially acknowledged the Ise Grand Shrine's claim over its territory. Other particularly venerated shrines were the Izusan Shrine, Hakone Shrine, and Mishima Shrine, and it became custom for future Shoguns to visit Izu Hakone in January every year a practice called which may have been the origin of modern-day Hatsumōde. The Magistrate of Temples and Shrines was established in 1194. The Kamakura Shogunate carried on the piety of Minamoto no Yoritomo, as seen in Article 1 of the Goseibai Shikimoku enacted in 1232 which called for the reformation of shrines which should focus solely on carrying out rituals. Article 1 also states the kami grow in majesty through the people's veneration of them, and the people enjoy prosperity through the grace of the kami. Additionally, the, a legal code released by the shogunate as opposed to the emperor, contained several regulations surrounding religion such as those relating to development of Shinto institutions and the prevention of the misconduct of Shinto priests. Government positions such as the and  were established which oversaw religious events rather than the administration of shrines. The Senjū clan began to inherit the kitо̄ bugyо̄ position during the Muromachi period.

The position had been established within the imperial court and was responsible for conveying requests from the shrines to the emperor. However, once the shogunate came into power, this shifted to reporting to the shogun then communicating the shogun's decisions back to the shrines. The retired emperor also conducted more frequent pilgrimages to Kumano Taisha during this period, and the imperial court began to focus more on Shinto rituals as its authority declined as the shogunate rose. Emperor Juntoku wrote in the, "Shinto matters first, all other matters after."

The People's Faith in the Middle Ages
The faith of the common people also changed during the Middle Ages. During ancient times, the people's faith centered on rituals worshipping local ujigami to pray for the prosperity of their community. In the Middle Ages, however, kami with mystical power were divided in a process called bunrei and taken to other regions, leading to an increase in shrines called housing these divided kami where people prayed for individual prosperity.

Particularly widely worshipped were, Hachiman, Inari Ōkami, and Amaterasu. The region of Kumano was originally believed to be another world where the spirits of the dead went, but the syncretism with Buddhism led to the belief that Kumano was a manifestation of the Pure Land in the real world, with Kumano Gongen at Kumano Hongū Taisha believed to be Amitābha. Many people went on pilgrimages in groups to Kumano to pray to pass on to the next world in death as well as to receive prosperity in this world, so much so that they became known as the "ants' pilgrimage to Kumano" as they resembled a line of ants. Visits by the retired emperor became common during the Insei period as well. Hachiman was brought from Usa Jingū as a divided kami and protector of Emperor Seiwa by Iwashimizu Hachimangū, while also being worshiped as the guardian kami of the Seiwa Genji clan, while Minamoto no Yoshiie also established Tsurugaoka Hachimangū in Kamakura with the divided Hachiman. When Minamoto no Yoritomo established the Kamakura Shogunate, Gokeijin throughout Japan who followed the Kamakura Shogunate also prayed to Hachiman in their own territories, and the Hachiman faith spread throughout the country. Inari was originally the clan deity of the Hata clan, but in the Heian period (794-1185), Inari was revered as the guardian deity of Toji, and was combined with Dakini to spread throughout Japan as a deity of agriculture. In the Fushimi Inari-taisha, the first day of the first month of the lunar year, many common people would come to the shrine to pray. The first day of the first month of the lunar year is the time when the gods of the mountains descend to the villages to become the gods of the rice fields in the Tanokami faith.

Originally, it was forbidden for anyone but the emperor to make religious offerings or give prayers at the Ise Grand Shrine, but it and other shrines lost their financial foundation in the Middle Ages under the Ritsuryō system which led to religious officials from the shrine, mostly, actively gathering contributions and funds for building costs. They did this through proselytizing and conducting private prayers at manors across the country which spread the Ise faith first to lords and the warrior class, then to the common people. The earlier Kumano faith also contributed to the spread of the Ise faith as pilgrims on the Kumano Pilgrimage had to pass through Ise Grand Shrine along the Ise-Ji Route, resulting in many people beginning to worship the kami at Ise Grand Shrine. An account of the rebuilding of the outer shrines of Ise Grand Shrine in 1287 in the from the Kamakura Period states, “The exact number of the thousands, tens of thousands of worshippers who attended is unknown,” showing the large numbers of common people who traveled to the Ise Grand Shrine. EITOKU_Uesugi-Gion-matsuri.jpg depicted in National Treasure (Japan), Yonezawa City Uesugi Museum, by Kanō Eitoku In addition, with the development of the manorial system, the deities of the main shrines and temples of the manor houses were invoked in various parts of the country, and today one third of all shrines in Japan are associated with the five systems of Hachiman, Ise, Tenjin, Inari, and Kumano.

Common people's festivals in urban areas also developed, and after the Imperial Court held a public Gōreikai in Shinsenen in 863 (Jōkan5), in which city residents could freely participate, common people began to hold Gion Matsuri by the common people. Gion Matsuri]] by the common people. In the Goryokai, the portable shrines are paraded from the time they are welcomed into the city to the time they are returned to the city, and it was believed that this would increase the spiritual power of the shrine. In the case of the parade of portable shrines, the residents of Kyoto prepared the Ootabisho and conducted the festival, so there was little official involvement of the Imperial Court, and the festival was a common people's festival with an extremely high degree of originality and place of the residents of Kyoto. By the middle of the Heian period (794-1185), other festivals were established in Kyoto, including the Kitano Goryo-kai, Matsuo Matsuri, Imamiya Matsuri, and Inari Matsuri.

In each manor, the autonomy of the villages increased, and a miya-za was formed to organize the festival. The miya-za was led by old men called otona and nenyori, and young men were in charge of the rituals. In addition, the shrine became a spiritual center for the villagers. The villagers also visited the shrine in their daily farming life, and the annual guardian of the shrine was chosen from among the villagers in turns.

Theorizing Shinto and the Honji Suijaku Theory
In the intellectual class, there was a widespread movement to doctrinize and internalize Shinto. The first example of this is the Shingon Buddhism monk Naruson's 11th-century, in which he writes that Amaterasu and Dainichi Nyorai are one and the same, and that Japan is an appropriate place for the spread of esoteric Buddhism.

Thereafter, Buddhist monks began to visit Ise Shrine one after another, including Chōgen in 1186 (Bunji 2). The first of these was probably "Sankaku Kashiwa Denki" and "Chuushin Horaikunka". In these books, the inner and outer shrines of Ise Jingu are placed in the esoteric realms of taciturnity and vajrayana, and the two shrines are regarded as a mandala that appeared on earth.、Amaterasu is Brahma, the Sun Goddess, and Toyoukebime is Brahmā, the Moon Goddess. Later, the Reiki was compiled and became a collection of secret theories based on Shingon esotericism and a representative book of both Shinto

In addition, as Shinto calligraphy and related paper were established at temples, Shinto schools of the Ryobu Shinto sect were formed to transmit these calligraphies, including the Sanpo-in Goryu school, whose founder was Prince Morikaku, and the Miwa school, which developed at Byodoji Temple around Mt. In these schools of Shinto, the transmission of the secrets of the Shinto religion was carried out in a manner similar to esoteric Buddhism, and this was called Shinto perfusion.

Not only from the standpoint of Shingon Buddhism, but also from the standpoint of Tendai Buddhism, a Shinto theory based on the idea of Shinto-Buddhist syncretism arose. The basic idea is to explain the significance of Hiyoshi Taisha, the guardian deity of Mount Hiei, based on Tendai doctrine, and this is called Sanno Shinto.

In the 13th century, "Yotenki" was written, and it was believed that the Omiya (West Main Shrine) of Hiyoshi Taisha was a manifestation of Shakyamuni as the Great Myojin to save sentient beings in Japan, a small country with a low level of law. Furthermore, in the 14th century, Yoshigen wrote "Yamaga Yosyoki," in which he claimed that not only the main shrine but also all the seven Sanno shrines were manifestations of Buddha. Later, Gigen's disciple, Mitsumune, wrote the "Keiran Kibyoshu" and systematized the doctrine by linking all Tendai doctrines to the Sanno, and stated that the Sanno Myojin is something that people have in their hearts. In addition, in line with the popular Tendai-Hongaku thought that sentient beings have already attained enlightenment without practice, this book also advocates the anti-Honji-Suijaku theory that the Japanese deities who are close to sentient beings are the true land, and that Buddha is a manifestation of the deities. The theory of Shinto in the Tendai sect was mainly carried out by a group of monks called the Kike.

In the late Kamakura period, Tōdai-ji, or Nanto (Nara), a hanging scroll called the Sanja oracle was established. This is an oracle of Amaterasu, Hachiman, and Kasuga Daimyojin, in which the doctrines of honesty, purity, and compassion are written in Chinese style. The reason why these three shrines became the object of worship in particular is because of the belief that the three gods, Amaterasu, the ancestor god of the emperor, Hachiman, the clan god of the warrior clan (the Seiwa Genji), and Kasuga, the clan god of the court nobles (the Fujiwara Genji), were bound by a mystical pact in the Kamakura period, and that it had been decreed since the Kamakura period that the emperor, the warrior clan, and the court nobles would cooperate in politics in this world.

In the Middle Ages, with the spread of the idea of Shinto and Buddhist syncretism, shrines began to produce a large number of auspicious stories, and many shrine auspicious stories and auspicious picture scrolls were produced. The "Kasuga Gongen Genki", the "Kitano Tenjin Enki", and the "Hachiman Gudokun" are prominent examples, and the "Shinto Shu", which was established in the 14th century, contains a collection of such tales. It is thought that such tales were created in order to receive reliable patronage from the warrior class as the Imperial Court declined in the Middle Ages. Medieval mythology, which reinterprets myths based on the syncretism of Shinto and Buddhism, also spread.

In the Jōdo Shinshu, Zonkaku wrote a book entitled "Shōjin Honkaishu" in which he divided Japanese shrines into "Gonja" (shrines with Buddha as their head temple) and "Jitsuja" (shrines without Buddha as their head temple), and argued that only "Gonja" should be revered. In Nichiren Shoshu, Nichiren himself actively adopted Shinto, and it was systematized in the form of Hokke Shinto by Nichiren's disciple Nichizō. The idea is that if the righteous laws based on the Lotus Sutra, as advocated by Nichiren, are correctly practiced, then the thirty Japanese deities, led by Atsuta Myojin, will take turns protecting Japan for one day. Other schools, such as Toki-shu, Rinzai school, and Sōtō, have also accepted the Honji Suijaku theory based on their own attitudes.

Shinto-Buddhist doctrine and Shinkoku thought
On the other hand, the Shinto shrines, while being influenced by foreign religions such as Buddhism, began to internalize the doctrine of Shinto. With the collapse of the Ritsuryo system, a strong sense of crisis arose among the Shinto forces, which began to shake the foundations of their existence, and they began to describe Shinto rituals with a mystical authority. The background to this is that the Shinto side tried to assert the position of Shinto against Buddhism. In addition, the rise of Shinkoku (Shinto) thought, or thought that incorporated Jaopan as a sacred land of Shinto after the Japanese victory in the Mongol invasions of Japan and the increase in the authority of Ise Shrine due to the increase in the number of Jingu Mikuriya throughout Japan also served as a background for the formation of systematic Shinto theory. The pioneering example of this is Ise Shinto, which was established in the mid-Kamakura period. Ise Grand Shrine has two component parts: The Inner shrine Naiku and the Outer shrine Geku. The inner shrine has historically been seen as much higher ranked. Ise Shinto is a Shinto theory that was formed mainly by the Tukai clan, the outer shrine officials of Ise Jingu, with the "Five Books of Shinto" as its basic scriptures. The five books of Shinto are the basic scriptures. Among the five books of Shinto, "Wahime no Mikoto Seiki" and "Zou Ise Nisho Taijingu Houbei Ki" were established relatively early, and they attempted to make the inner and outer shrines equal in rank, and even to make the outer shrine superior to the inner shrine, while using the theory of both the inner and outer shrines in Ryoubu Shinto. In these books, Toyouuke, the deity of the Outer Shrine, was compared to Ame-no-Minakanushi as the root deity that precedes Amaterasu, and the Inner Shrine was designated as the fire deity and the Outer Shrine as the water deity. Five Elements Theory, the outer shrine was given priority over the inner shrine based on the "water over fire" principle. In addition, the mother of Ninigi-no-Mikoto, Manhata Toyokutuzhi-hime, was positioned as a grandson of Toyoke no Mikoto, and Toyoke no Mikoto was incorporated into the line of descendants. In addition to the theory of rituals, he emphasized the idea of the divine nation by preaching the imperishable nature of the imperial lineage, the dignity of the three sacred treasures, and the nobility of the Shinto shrine.

The impetus for the further development of Ise Shinto was the "Ise Grand Shrine Controversy" that arose in 1296 (Eijin 4th year) when the character "Emperor" was added to Toyokei Daijingu. After taking up the above-mentioned books as the basis for the legitimacy of the outer shrine, Yukitada Tokai, who became the center of the outer shrine, said, "The biography of the Emperor Ise Grand Shrine" and "The book of the Emperor Toyokei Shrine" were written, and the book of Ise Shinto was expanded to the world.

He systematized Ise Shinto by writing "Ruiju Shingi Hongen" (The Origin of Shinto), which drew on a wide variety of texts, including those of the Sung school, Laoshou, and Buddhism, as well as his own Shinto doctrine called "Kikizenron. In addition to systematizing the Ise Shinto religion, he also taught a unique Shinto doctrine called "Kikizenron," which refers to the state of chaos before the creation of the world as "Kikizen," and states that this is the source of our mind and the essence of God.It is the practice of maintaining cleanliness as a way to make the most of this opportunity.

Later, Toke Tsunemasa appeared and argued that the Inner Shrine of Ise Jingu had served the Outer Shrine of Ise Jingu before it was enshrined in the Outer Shrine, thus equating the Inner Shrine with the Outer Shrine. and arguing for a historical unity of Ise Grand Shrine. In the North and South dynasties, Kitabatake Chikafusa, influenced by Ise Shinto, wrote Shōtōki Kitabatake Chikafusa, who was influenced by the Shinto religion, wrote Shōtoki and Gengenshū, in which he argued for the supremacy of Japan as a divine nation, since the Japanese imperial line had been continuous since the Shinto era and had never been replaced. During the same period, the Tendai monk Jippen, influenced by the Ise Shinto religion, wrote "Gyojimoto Ki Gengi," which presented the image of the Emperor as a sovereign and established the political theory of Shinto. The nobleman Ichijō Kaneyoshi also wrote the "Nihonshoki Sosho" (Compilation and Commentary on the Chronicles of Japan), in which he interpreted the Nihonshoki Shinto scrolls philosophically and formed Shinto thought. Masamichi Imawabe wrote "Kuchikubetsu" (The Secrets of the Divine Age Scrolls), in which he described Shinto theology through his commentary on the Divine Age Scrolls of the Nihon Shoki.

Formation of Yoshida Shinto
During the Ōnin reign, the Ōnin War broke out and Kyoto was burnt to the ground, affecting many temples and shrines, and causing the abortion of imperial court rituals such as the Ōnin Festival and the coronation ceremony. One of the priests who was shocked by the upheaval was Yoshida Kanetomo. Kanetomo, who was so upset that he lost his own Yoshida Shrine to the war, as well as more than a dozen residents of the area around the shrine. However, the loss of many ancient manuscripts due to the war led to the formation of a new Shinto theory called Yoshida Shinto.

The, whose surname is Turabu, was a family that specialized in Ketu (divination) in the Ministry of Divine Worship and succeeded to the position of Deputy Minister of Divine Worship for many generations. In the Middle Ages, Kanekata Urabe became well versed in the study of the Chronicles of Japan, writing Shaku Nihongi, and was called the "House of the Chronicles of Japan.

Kanetsu wrote "Shinto Taioi" and "Onna Shinto Meibyo Shu" to compile medieval Shinto thought, while incorporating discourses from various religions to present a new Shinto theory called "Yoshida Shinto". In the book, he classified Shinto into three categories: "Honjaku Enki Shinto" (auspicious signs handed down from shrine to shrine), "Ryobu Nariai Shinto", and "Motomune Sougen Shinto". He stated that the "Motomune Sougen Shinto" handed down by his family was the legitimate Shinto since the dawn of Japan, and defined God as "the spiritual head of heaven, earth and all things" and the Way as "the origin of all things and all actions". With regard to the relationship between Shinto, Confucianism and Buddhism, he strongly advocated the theory that Shinto was the root, Confucianism emerged as a branch and leaf in China, and Buddhism blossomed as a fruit in India. He argued that Shinto has three aspects: "body," which is the essence, "aspect," which is the manifestation, and "use," which is the action, and that these actions govern all phenomena such as the sun and moon, cold and heat, and nature. In the end, Kaneku's theory of Shinto was a kind of pantheism in which God exists within all beings, and God is omnipresent throughout the universe. Kaneku formed many rituals along with his Shinto theories. First, he established the Omotoshae Shrine in the precincts of Yoshida Shrine, which he proclaimed to be the place of worship for the Inner Shrine, Outer Shrine, eight temples, and more than 3,000 Shinto shrines, the root of Shinto rituals in Japan since the time of Jimmu, and the main shrine of all Shinto shrines in Japan. In addition, under the influence of esoteric Buddhism, he invented the Goma event, in which a fire is kindled in an octagonal platform with a furnace at its center, and grain and porridge are thrown into the fire while praying, forming the San-dan event along with the 18 Shinto events and Sougen Shinto events.

These teachings were expounded by the "Three Nerves" of the Tengen Shinhen Shinmyou Sutra, the Local Shinto Shinmyou Sutra, and the Jingen Shinryoku Shinmyou Sutra. These sutras were said to be the teachings of Tenji-Yane, but these three sutras are fictitious and there is no evidence that they were ever produced. Kanetu forged sutras similar to these by posing as the authors, such as Kamatari Nakatomi, to create his own sutras. The history of the sanctuary was also created by Kaneku himself.

Yoshida Shinto also established the ritual of Shinto funeral rites, in which people are worshipped as gods. Since ancient times, Shinto has not been very involved in funeral rituals due to the custom of viewing death as Stain, and examples of enshrining deceased people as gods were limited to forms such as grudge worship and Tenjin worship to appease grudges. However, in Yoshida Shinto, where people and gods are considered to be closely related, funeral rituals were actively practiced, and Yoshida Kento built a Shinryu-sha, a spiritual shrine, over the remains of the deceased.

Although Yoshida Shinto was an emerging force, it rapidly rose to prominence, perhaps due to the social unrest of the age of war, and was widely accepted, especially by the upper classes, as it received the support of Hino Tomiko in the construction of the Omoto Shrine, and even received the imperial approval of the Omoto Shrine in 1473 (Bunmei5).、The center of the Shinto world in modern times. On the other hand, we have received strong protests from the shrines of both domestic and foreign shrines at Ise Shrine.

Yoshida Shinto is the first Shinto theory to have its own doctrines, scriptures, and rituals independent of Buddhism, while integrating various religious discourses in a cross-border manner. The Shinto scholar Okada Chuangji described the establishment of Yoshida Shinto as "a turning point in the history of Shinto. The historian Toshio Kuroda argues that the establishment of Yoshida Shinto was the establishment of Shinto It is considered by several researchers to be a turning point in the history of Shinto.

As mentioned above, Yoshida Shinto, which established Shinto funeral rites, became involved in the construction of shrines that enshrined warring feudal lords as gods in the Warring States period, and Kanemi Yoshida was involved in the construction of Toyokuni Shrine, which enshrined Toyotomi Hideyoshi as a god. Shinryuin Bonshun of the Yoshida family taught Shinto to Tokugawa Ieyasu, and according to his will, conducted a Shinto funeral service after Ieyasu's death. (However, Nikkō Tōshō-gū became the Sanno Shinto style after Tenkai won the debate).

Restoration of the Shogunate's Shinto System and Imperial Rites
When the era of warfare ended and the Edo period began, the administration of shrines was reorganized. The shogunate first relieved each shrine of its current territory and granted it the privilege of "not entering into the custody of the guardian. However, what was granted was the right to make profits from the shrines, and the ownership of the land belonged to the shogunate. The Shogunate also established the Jisha-bugyō as a position reporting directly to the shogun, and placed it at the head of the three magistrates, surpassing the Town Magistrate and Account Magistrate under the jurisdiction of the Rōchū. In addition, a Shinto department under the jurisdiction of the temple and shrine magistrates was established to study the truths of Shinto and the rituals of rituals and to respond to the advice of the temple and shrine magistrates.On the other hand, individual magistrates were assigned to specific shrines, such as Yamada bugyō, who was in charge of Ise Shrine, and Nikko bugyō, who was in charge of Nikko Tōshō-gū.

In 1665 (the fifth year of the Kanbun), the shogunate issued the Priest Law for Priests of Various Shrines, which stated that ordinary Priests without rank must obtain a Shinto license issued by the Yoshida family before they can wear a hunting robe or crown, giving the Yoshida family control over almost all priests. However, it was approved that those families that had been conferred ranks by the Imperial Court through transmission, such as the Jingu Shrine, Kamo Shrine, Kasuga-taisha, Usa Jingū, Izumo-taisha, and Fushimi Inari-taisha, would continue to use the same methods as before, without the Yoshida family. In addition, the law stipulates penalties for neglect of duties by priests, prohibition of sales and purchases of shrine property, and the obligation to repair shrine buildings.

As for funerals, the shogunate enforced that funerals be held at dannaji temples in conjunction with the creation of the sect's personnel register, and people were obliged to hold Buddhist funerals. In this case, the shrine, not the temple, proved that the Christians were not Christians, so it was called "Shinto Shinto Shinto" instead of "Temple Shinto.

The Shogunate also financially supported the partial revival of the imperial rituals that had been suspended due to warfare. After 222 years of interruptions since Emperor Go-Tsuchimikado, the Dai-namesai was revived in the reign of Emperor Higashiyama, and became a regular event since Emperor Sakuramachi. The Niiname-no-Matsuri was also revived in 1688 (the first year of Genroku), the year after the restoration of the Dai-namesai. In 1744 (the first year of Enkyo), some of the votive offerings were also revived, including those to Kami-Shichisha and to Usa Hachiman Shrine and Kashii Shrine. The Imperial Court's dispatch of imperial envoys on the occasion of the Shinnamesai festival was revived in 1647 (the fourth year of the Shohoho) by the special order of Gokomei. The ceremonial relocation of the Ise Jingu Shrine was also suspended, but was rebuilt during the Orifuji administration thanks to the efforts of Seisun and Shuyou of Keikoin. The Department of Divinities, which was destroyed by fire during the war, was replaced by the eight temples at the Yoshida Shrine, and the Divinities themselves were not rebuilt.

The Shogunate also imposed restrictions on Shugendo, and in 1613 (Keichō18) issued the "Shugendo Hōdō," which stated that yamabushi must belong to either the Tōzan or Honzan sects, and forbade those who did not. The latter played a leading role in folk beliefs such as Koshin-do.

Popular beliefs in the early modern era
After the early modern period, with the restoration of public safety and the improvement of transportation conditions, such as the construction of Kaido roads and the formation of Shukuba-machi, the belief in Shinto became more widespread among the general population. People formed associations called "kou" in various places, and each member of the association would accumulate a small amount of money every year, and with the joint investment, a representative chosen by lot would make a pilgrimage to a shrine and receive a bill for all the members of the association. Hongū Sengen Taisha, Kotohira-gū, Inari, and Akiba-kō, which were widely distributed throughout Japan. Each group formed a relationship with a master or a predecessor, and the master arranged for the members of the group to stay overnight when praying or visiting the temple.

In particular, the belief in Ise Shrine spread explosively during the Edo period. When people visited the shrine, they were welcomed at their own residences, where they performed Kagura (Shinto music and dance) and were treated to sake, Ise delicacies, and quilts. He also took them on a tour of the two palaces and places of interest, making them long to visit Ise. As a result, the common people's belief in Ise has increased, and millions of common people have visited Ise Jingu all at once. It has exceeded 90%.

As the general public became more active in visiting shrines, many guides were published. These included Edo meisho zue by Gekisen Saito, Namiki Gohei's Edo shinbutsu ganken juhouki, and Okayama Tori's Edo meisho e kagarenki, which catalogued and introduced temples and shrines throughout Japan. In addition, Jippensha Ikku's Tōkaidōchū Hizakurige, which depicts the unusual journey of a pilgrim to Ise, and Comic books called "Hizakurige monogatari," which were written in response to this hit, and other literature on the theme of pilgrimages to shrines and temples were also published in the early modern period, contributing to the spread of Shinto faith among the general public.

On the other hand, with the secularization of visits to shrines and the increase in the number of visitors, there were not a few cases where entertainment facilities such as Yūkaku, private prostitutes, theaters, and Imitation began to line up around shrines and in their precincts. In addition to the increase in the number of shrine visitors, urban commoners' festivals also became more active as a large number of spectators other than Ujiko and worshippers began to participate. In Edo, the Sanno Matsuri of Hie Shrine, the Nezu Matsuri of Nezu Shrine, and the Kanda Matsuri of Kanda Shrine, also known as the Three Great Festivals of Edo, developed, with the procession of tasteful market stalls and floats, and a costume parade of the Korean envoys and feudal lords, which attracted many spectators. Outside of Edo, many urban festivals were revitalized, such as Gion Matsuri and Imamiya Matsuri in Kyoto, Tenjin Matsuri in Osaka, Hiyoshi Sanno Matsuri in Shiga, Chichibu Yatsuri in Saitama, and Takayama Matsuri in Gifu. Some of these festivals have been handed down since before the early modern period, but many of them were newly restarted after the restoration of public order in the early modern period.

In the former case, the lord would assign the townspeople to do town work, such as building roads and breeding horses, and would have them participate in the festival by pulling things. In the latter case, a headman was selected from each town, and the headman shared the expenses, or the expenses were shared from the expenses of the town that provided the headman. Although the lords issued thrift ordinances and other regulations for festivals, they generally allowed freedom.

As mentioned above, the spread of Shinto beliefs to the common people during the Edo period gave rise to a large number of lecturers who taught Shinto to the common people in an interactive manner. Zanchi Masuho, a priest of the Asahi Shinmei Shrine, was one of them. He gave oral talks on the streets with a clever joking tone, and instead of the academic Shinto that sought its basis in the Shinto scriptures, he quoted freely from the legends of Shinto, Confucianism, Buddhism, and the three religions, and attributed Shinto to matters of the heart and practice. In this way, he preached common morals such as harmony between husband and wife and equality between men and women, and he also preached the essence of Shinto, which was to work hard in accordance with one's status, in order to meet the demands of common people living in a status society.

These Shinto scholars' efforts to educate the people influenced the emergence of popular Shintoists in later periods. Shoshitsu Inoue, a priest of the Shinto shrine in Umeda, started the Misogi Doctrine and gained many followers by teaching the art of "shofar," the law of eternal life, and chanting "three kinds of exorcism" to entrust the safety of one's body to the Shinto light, but the shogunate suspected him and sent him to Miyakejima. Kurozumi Munetada, a priest of Imamura Shrine, also founded Kurozumikyo, which taught that everyone was one with Amaterasu without discrimination of status, and spread to a wide range of people.

Ishida Baigan, the founder of Shingaku, the largest school of popular education in the early modern period, was also influenced by Shinto scholars in his youth. He emphasized the concept of "honesty", a virtue of medieval Shinto, and harmonized the teachings of Shinto, Confucianism, and Buddhism to teach ideas for the people and merchants.

In the late Edo period, Ninomiya Sontoku also spread the idea of virtue, based on the principles of sincerity, hard work, decentralization, and compromise, to the people as the "great way of the dawn of creation" and the "great way of Shinto" since Amaterasu opened the reeds field and made it the Land of Mizuho. He harmonized the three religions of Shinto, Confucianism, and Buddhism with Shinto at the center, likening his learning to "a grain of Shinto, a grain of Confucianism, and a grain of Buddha.

The establishment of Confucian Shinto
During the Edo period, while Buddhism took its place as the state religion under the Terashi system, ideologically it stagnated as a whole.In the world of thought, it was effective as an ideology to support the Shogunate system. In the world of thought, Confucianism, especially Cheng-Zhu school, which was effective as an ideology to support the shogunate system and preached human ethics compatible with the secularism of the Edo period, flourished very much, while Buddhism was criticized by Confucians for its worldliness that was incompatible with secular ethics. Buddhism was criticized by Confucians for its worldly ethics.

The mainstream theories of Shinto also shifted from Shinto and Buddhism to Confucian Shinto, which was more closely linked to Confucianism. Although there were theories of Shinto advocated by the Yangmingism school, such as Nakae Tōju's Taikyō Shinto, most of the theories of Shinto were formed by Shūji. Although Confucian thought was also incorporated in the idea of Shinto, Confucian Shinto differs in that it explicitly criticized Buddhism and attempted to escape its influence. On the other hand, the logical structure of the Confucian Shinto inherited a strong medieval esoteric tradition, and the Buddhist theory of Shinto-Buddhist syncretism was replaced by the Shuko theory, which can be said to be in a transitional period between the medieval and early modern periods. The pioneer of Confucian Shinto was Hayashi Razan. In addition to spreading his knowledge of Zhu Xi to Japan, Razan also studied Shinto, and wrote such works as "Shinto Denju" and "Honcho Jinja Ko", forming his own theory of Shinto called Rituji Shinto. The idea was that the Confucian god Li was the same as the Shinto god, and that the ultimate god was Kuni-Tokotachi. While advocating Shinto and anti-Buddhism, claiming that Japan was pure and superior before the introduction of Buddhism, he also claimed that Emperor Jimmu was a descendant of Taihaku based on Chinese thought, and that the Imperial Regalia of Japan, claiming that the Three Sacred Treasures represented the three virtues of Confucianism, and tried to appeal to the high level of Japanese civilization by claiming that Japan has belonged to the Chinese sphere since ancient times. In addition, the essence of Shinto is a political doctrine that has been handed down from Amaterasu to successive emperors, and rituals at ordinary shrines and festivals for common people were dismissed as "toshu-zuyaku Shinto" and mere "actors.

In the case of Yoshida Shinto, Yoshikawa Tadashi, a merchant, was initiated into the Yoshida family, and was granted the "Shinto Dotosho" by Hagiwara Kanetsugu, the head of the Yoshida family, and became the official successor. He formed Yoshikawa Shinto, which removed Buddhist discourse from Yoshida Shinto and incorporated more Confucian teachings. His philosophy was that Shinto is the source of all laws and that Kunitokotachi-no-Mikoto presides over the world, and that the world and human beings are created by "truth," which is the same as God. However, because the clarity and wisdom of the Divine Light is clouded by the contamination of the human mind, it is necessary to return to the original form through tsutsumi. And as a concrete way to do this, he taught that we should perform purification to purify the inside and outside, express our sincerity by performing ritual rites, and pray to the gods. In addition, the Confucian view of the Five Luns is that God has given man a mission, and that the relationship between sovereign and vassal is the most important.

In Ise Shinto, the late Ise Shinto, which excluded Buddhism and incorporated Confucianism, was formed in the Edo period by Nobuka Deguchi, a Shinto priest. The essence of Shinto, he wrote, is the way that Japanese people should naturally conduct themselves in their daily lives, the "way of daily use," which is to perform one's duties with honesty and purity of mind. He pointed out that it is a mistake to think that only the rituals at shrines, such as chanting congratulatory prayers and holding ball-shaped sticks, are Shinto. In addition, he criticized the use of Confucianism and Buddhism for the purpose of learning, arguing that although all religions are ultimately the same, and there are many points of agreement between Shinto and Confucianism, the systems and customs of each country differ, and therefore Japanese people should respect the laws and customs of Japan. However, he also stated that it is okay to study Confucianism and Buddhism as long as Shinto is placed at the center. He argued that prohibiting Buddhism and Confucianism because of their harmful effects and destroying current customs is against the natural order of things and is different from Shinto. These Confucian theories of Shinto were compiled by Yamazaki Ansai. After making a name for himself as a Confucian scholar, he was taken in by Hoshina Masayuki, Lord of the Aizu Domain, where he came into contact with Masayuki's guest teacher, Yoshikawa Tadashi, and learned Yoshikawa Shinto, leading to the creation of his own Taruka Shinto. The idea was to combine Seven Generations of the Divine Age with the Neo-Confucianism of the Shuzi school, and to believe that Kunitokotachi-no-Mikoto was the Taiji, and that the five gods that arose after him were Five Elements, and that the last two, Izanagi and Izanami, combined the Five Elements to give birth to the land, gods, and people. The spirit of the god who created the people resides in each person, and the gods and people are in a state of union called "the only way of heaven and man. He said that Shinto means that people should live according to God, and that people should pray to God to obtain blessings, but that people must be "honest" in order to do so, and that "respect" is the first thing to realize this "honesty. The relationship between the sovereign and the vassal is not one of rivalry or power, but one of unity, and the sovereign and the vassal have protected the country through their mutual protection.、He also had a great influence on the later philosophy of the Emperor.

After the death of Yaksai Yamazaki, his pupil Shoshinmachi Kimimichi succeeded him, and the Taruka Shinto sect reached its zenith, spreading throughout the country, especially in Edo and Kyoto, widely spreading among nobles, warriors, and priests, and having the greatest influence on the Shinto world. After the death of Masamichi, his disciple, Masahide Tamaki, succeeded him and organized the single, double, triple, and quadruple mysteries based on the "Mochijusho" written by Masamichi, and worked on the organization of the Taruka Shinto. Some people, such as Gousai Wakabayashi, criticized this move to make the teachings secret, saying that it would obscure Yaksai's true intentions.

In addition to the Tachibana family Shinto mentioned above, the Hakka Shinto and Tsuchimikado Shinto were organized under the influence of the Taruka Shinto.

Yoshimi Yukikazu, who was one of Tamaki Masahide's pupils, wrote a book entitled "Goubu-shosetsu-ben" in which he criticized Ise Shinto and Yoshida Shinto by arguing that the Shinto Goubu-shosetsu was a fake book from the Middle Ages, and also criticized Taruka Shinto, which also used the Goubu-shosetsu as its scriptures. In fact, after Masahide Tamaki, Taraka Shinto began to stagnate ideologically and surrendered its mainstream position to Kokugaku.

In conjunction with these anti-Buddhist ideological trends, a movement to separate Shinto and Buddhism began to spread in some of the clans that had accepted Confucian Shinto. In the Mito Domain, Tokugawa Mitsukuni investigated the history of shrines with strong Shinto-Buddhist practices in 1696 (the 9th year of the Genroku), and organized them in such a way as to wipe out the Buddhist flavor. In addition, Masayuki Hoshina of the Aizu domain carried out a similar reorganization of temples and shrines. In addition, Ikeda Mitsumasa of the Okayama Domain promoted the return of priests from the Nichiren-shū Fuju-fuse and Tendai and Shingon sects, reducing the number of temples and encouraging Shinto funerals. In 1647, Matsue Domain, under the leadership of Matsue Domain lord Matsudaira Naomasa, Buddhist elements were removed from the Izumo-taisha

Development of Kokugaku
In the mid-Edo period, Kokugaku began to flourish in place of Confucian Shinto. The origin of Kokugaku can be traced to poets such as Kinoshita Naganjako, Kise Miyuki, Toda Shigekazu, Shimokawabe Nagaryu, and Kitamura Kiigin, who composed poems that rejected the medieval norms of poetry in the early Edo period. Qi Oki worked hard on the study of the national scriptures while moving from temple to temple, and left behind such achievements as the empirical study of poetry and Study of Kana Spelling by writing such works as "Manyo Dai Shouki" and "Waza Shouransho", and established the method of empirical study of the classics rather than reading and interpreting them in the style of Confucian and Buddhist doctrines.

He was succeeded by Kada no Azumamaro. Harumitsu was born into the Higashi-Hagura family, who were priests to the Fushimi Inari Taisha shrine, and later moved to Edo to give lectures. Although there is no evidence that Harumitsu was directly apprenticed to Qi Oki, there are many books by Qi Oki in Harumitsu's collection, including "Manyo Dai Shouki", and his own commentaries on the Man'yoshu, such as "Man'yoshu Hokuanshou", mostly follow Qi Oki's readings.He was greatly influenced by Qi Oki. As can be seen in the Sogakusei, Shunman had the intention of organizing history, yushoku-nijitsu, and theology as a school under the name of wagaku, and in Shunman, Shinto and language studies (by Qi oki and others) were integrated as "Kokugaku".

Kamo no Mabuchi was born into a branch of the Kamo clan, who were priests at the Kamo Shrine, and studied under Kunitokazu Sugiura, a student of Harumitsu. After Harumitsu's death, Mabuchi's fame as a scholar of Japanese literature increased, and he was recommended by Kanda Zaisan to Tokugawa Munetake. Mabuchi also studied the Man'yōshū, and as part of this, he also studied the Norito, writing and annotating "Man'yōkō", "Kanjikō", and "Shūshūkō". In "Kokuyi-kou", he presented a diagrammatic methodology that extends from the study of ancient words to the study of ancient meanings and ancient ways.、Anti-Confucian ideology and respect for ancient Japan was given to Kokugaku. In contrast to Confucianism, which brought strife to the world by preaching humanity, the Japanese of the Kamidae period had an upright mind that converged on the "two kashikomi" of "God" and "the Emperor," and society was naturally harmonious without the need to preach humanity. However, the content of the ancient path is only fragmentarily described by Mafuchi in contrast to Confucian ethics.、He also taught that it was consistent with Laozhuang Thought, and did not go so far as to derive a system of thought directly from the classics to develop systematic theology. After Mabuchi, Motoori Norinaga succeeded Mabuchi and became a great scholar of Japanese literature. He was born into a merchant family, and while studying medicine, he became interested in Japanese classics and waka poetry, and worked hard on his studies of Japanese literature while practicing medicine. 34 years old, he met Mabuchi for the first time in his life and became his teacher, and continued to study under him until Mabuchi's death. At the age of 34, he had the only meeting with Mabuchi in his life and became his teacher. He also developed the aspect of Shinto theology in Kokugaku. He also criticized the Confucian idea of Mandate of Heaven, in which "Heaven" always supports the saints to be Son of Heaven, as a way for those who have taken the country and become kings to justify themselves. On the other hand, Japan has not taught like Confucianism or Buddhism since ancient times, but even if there is no clever teaching, the grandson of Tensho Omikami will squeeze the country, and the world will be settled without being disturbed from top to bottom. He argued that there was a true way in Japan that he couldn't say one by one, saying that it had been transmitted, and that the reason was that there was never a change of dynasty in Japan, whereas in China where there should be Confucian teachings, what? He mentioned that the prince was murdered and the dynasty was replaced. He strongly criticized Buddhist and Confucian Shinto, which interpreted Shinto in accordance with Buddhist and Confucian doctrines.

He also criticized the science of Zhu Xi, which teaches that the world is created by yin and yang, and the spirit of reason, as an empty theory created by the sages based on their own speculation. He also criticized Lao Zhuang Thought, which describes heaven and earth as "the way that comes naturally.、He argued that all events in the heavens and the earth are governed by the Shinto gods, and that the evil that exists in the world governed by the gods is the work of the evil god Mazutsunichi. He took mythology as fact, and developed the theory of agnosticism, which states that attempting to interpret the workings of the heavens and the earth through logic, as in the theory of rikki, is a form of disrespect for the gods and is beyond the scope of human knowledge.

Fujiya Goketsu criticized Nobunaga's theology on the grounds that the words of waka poems and myths should be understood as scriptures rather than facts, because they are different from everyday language, which is imbued with the spiritual power of Kotodama, and therefore seem to refer to one thing but refer to another He was also criticized for his theology by Moribe Tachibana and Harumi Murata.

From the time of Nobunaga onward, each individual in the field of Kokugaku specialized in his or her own field of study. Nobutomo Ban, Motoori Ōhira, and Motoori Haruniwa inherited the linguistic and philological aspects of Nobunaga. On the other hand, Hirata Atsutane, who became a disciple of Nobunaga as a "posthumous student" of Nobunaga, focused mainly on the aspects of the old ways and theology.

Restoration Shinto and Late Mito Studies
In the late Edo period (1603-1868), society began to undergo major changes, such as the repeated attacks by foreign ships, and a new Shinto philosophy was born in the midst of these social conditions.

In the 18th century and prior to that, "Shinto had moved away from its roots as a cult of nature worship to become intertwined with Buddhism and Confucianism." In the 1730, Kada Azumamaro, Kamo Mabuchi, and their followers wanted to create a new Shinto that restored what they saw as traditional, indigenous Japanese practices and "ancient rites". Hirata Atsutane, who met Honcho Motoi in a dream and called himself a "posthumous student," wrote major works such as "Shinbashira of the Spirit," "Koshiden," and "Honkyo Gaiben," and developed a new philosophy called "Restoration Shinto" while critically inheriting the theology of Motoi Nobunaga. His philosophy emphasized the afterlife, declaring that "the first thing to solidify the Yamato spirit is to know the whereabouts of the spirit," and that the present world was "a temporary world in which Okuninushi keeps people alive to determine their good and evil. Atsutane believed that the universe is composed of three elements: heaven, earth, and Hades. He rejected the Shinto theory that "when a person dies, he goes to Hades," and claimed that when a person dies, his spirit goes to the "underworld" presided over by Okuninushi God in "earth," where he is judged by Okuninushi God for his deeds before his death. The Underworld is the world of the Emperor of Japan under the Sanka-Shinka, the presiding deity of the world, relative to the Kenmei-Kai, which is ruled by the Emperor of Japan, and is presided over by the Okuninushi. This theorized the ancient Japanese view of the spirit, and became the theoretical basis for the Shinto funeral ritual. He also argued that all national myths, ranging from Chinese mythology, Indian mythology, and even Christian mythology by Adam and Eve, are "accents" of Japanese mythology, representing the same facts in different words. It is believed that Christianity has greatly influenced him in terms of his presiding deity character and judgment after death. Although Atsutane severely criticized Buddhism in his "Deeding Laughing Words" and other works, he also criticized Confucianism in his "Gyokusuki" for "not knowing the ancient ways and only listening to Chinese theories," but he affirmed the ethics of Confucianism itself. In contrast to Nobunaga, who mainly criticized Confucianism in his theory of ancient ways, Atsutane's main enemy was Buddhism rather than Confucianism, as he manifested the religious nature of national studies.

Thus, Hirata Atsutane departed from the positivistic research of Nobunaga and presented a Shinto theory that contained many religious elements. For this reason, he was criticized by Motoori Ōhira, Ban Nobutomo, and other contemporary scholars of Japanese studies under Suzuya. On the other hand, the theology of Hirata Atsutane was handed down to many of his students, and Hirata school Kokugaku scholars such as Okuni Takamasa, Yano Gendo, Maruyama Sakuraku, Gonda Naosuke, and Fukuha Mishizei were responsible for the restoration of the monarchy and the formation of Shinto policies in the early Meiji period. In addition, there was another force that began to emerge at the end of the Edo period: Late Mito Studies. To begin with, Mito-gaku is an academic discipline that originated in the Mito Domain, where Tokugawa Mitsukuni began compiling the Dai Nihonshi. The early Mito school, which developed until about the 18th century, was a Confucian discipline characterized by a view of history based on the Shuhistory project and Shuko-logic theory of cause and effect, led by Azumi Tanto, Sasamune Jun, Kuriyama Kofo, and Miyake Kanran. In the 19th century, with the emergence of various internal and external problems such as pressure from the powers and the decline of the Edo shogunate, he began to integrate national studies with the studies accumulated in the early Mito school, and to make active proposals to realpolitik by describing social thought. This style of study, known as late Mito studies, was pioneered by Fujita Yutani, a disciple of Tachihara Suiken, who was influenced by the study of the Baku school, and was further developed by his students, Fujita Toko and Aizawa Seishisai. In the Kodokan Descriptive Essay, Toko began with Japanese mythology and arrived at the idea of the rule of Japan by an emperor with a lineage of ten thousand generations, rejected the "liberalization" and "Zen domination" of dynastic changes in China, and introduced the three dynasties of the Xia dynasty, Shang dynasty, and Zhou dynasty, which were regarded as sacred in Confucianism. Zhou. At this point, Confucianism is no longer an absolute position in Mito studies. However, he also made criticisms of national studies, and Toko criticized Nobunaga for taking the position that Confucian ethics were contrary to humanity, arguing that Confucian ethics, such as loyalty, filial piety, and humanity, had existed uniquely in Japan since heaven and earth. He also sharply criticized the practice of Shinto and Buddhism as destructive of the national identity, but highly praised the effectiveness of Buddhism as a means of indoctrinating the people.

Following this, Aizawa Shoshisai wrote "Shinron" to express his ideas. In order to counter Christianity as a means of invasion and to maintain Japan's independence, Shoshisai proposed a theory of national government in which Amaterasu had successive emperors rule over the country, and people from all walks of life were involved in some way in the governance of Japan while maintaining the status of sovereign and vassal. He then integrated the Confucian ethics of "loyalty" and "filial piety" by explaining that since people's ancestors had served the emperor as his vassals for generations, when they served the emperor in the same way, they were carrying on the work of their ancestors and realizing "filial piety" toward their ancestors. He also explained that the ritual to confirm the unity of the emperor and the people was the Dai-namesai. Furthermore, Shoshisai incorporated Confucianism into his interpretation of Shinto mythology. He claimed that the "Divine Decree of the Immortality of Heaven and Earth," which is found in the "Nihon Shoki" (Chronicles of Japan), in which Amaterasu ordered Qioniongine to rule the country from generation to generation by the descendants of the Heavenly Founder, was the beginning of the "loyalty of sovereign and vassal," and that the "Divine Decree of the Preservation of the Treasure Mirror," in which the Yatagami mirror was ordered to be enshrined as the divine body, was the beginning of the "filial piety of parents and children," which is one of the five principles of Shinto. He believed that this was proof that humanity had been established in Japan since ancient times, and he linked Shinto with Confucianism.

The late Mito school became the nursery ground for the ideas of Yoshida Shōin and other leading figures at the end of the Edo period.

Restoration of the Monarchy and the Divine and Buddhist Decrees
In 1867 (the third year of Keiō), the Great Decree of the Restoration of the Monarchy was issued. This was drafted by the Kokugaku scholar Tamamatsu Misao, who was a brainchild of Iwakura Tomomi, and it set forth the philosophy of "the founding of the Jinmu". The government first emphasized Shinto with the goal of unity of ritual and government and pro-emperor government, and revived the Shingi Kan to be an organization along with the Grand Council of State. The position of "missionary" was assigned to the Shinto priest, and based on the Daikyo Declaration, the Shinto religion was propagated. In addition, on March 28 of the following year, the Shinbutsu bunri ordinance was issued, ordering priests who had been involved in shrine rituals in the form of Bettō and shrine priests to return to the priesthood and become priests, the abolition of Buddhist deity titles such as Mahabodhisattva and Gongen, and the transfer of Buddhist objects such as Buddhist statues and pagodas within the shrine to other temples. However, lower-ranking officials of the Meiji government who were influenced by the Hirata School of Kokugaku, which had a strong anti-Buddhist ideology, as well as Shinto priests and some people who had antipathy toward the temples that had been dominant under the temple-contractor system in the Edo period, expanded the interpretation of the decree to include radical Abandonment of Buddhism On June 22, the Meiji government issued the "Notice that the Separation of Buddhism and Shinto is not the Abolition of Buddhism", calling for a halt to the Abolition of Buddhism, and in 1871 (the fourth year of the Meiji), it enacted the "Important Cultural Property", and the Abolition of Buddhism began to subside.

Shugendo and Onmyodo were also abolished, and with the abolition of Onmyoryo in 1870, Onmyoji became a private religious figure, and Shugendo was abolished in 1872, and Shugendo became a private religious figure or belonged to either the Shingon or Tendai sects

In addition, the Modern system of ranked Shinto shrines was introduced, referring to the ancient system of shrine rankings, and each shrine was officially ranked. The governmental shrines were divided into two groups: governmental shrines, which were given official status, and other shrines. Ise Jingu Shrine was placed at the top of these three ranks of shrines. As for the various shrines, they were divided into prefectural and prefectural shrines, which were to be respected by the residents of the prefectures, township and village shrines, which were to be respected by the residents of the villages, and unranked shrines, which did not fall under any of these categories, and each was placed under the jurisdiction of the local commissioner.

The development of the ritual system also progressed, and in 1875, the Shikibu Roudatsu "Shrine Rituals" was established, unifying the rituals of shrines throughout Japan for the first time. Under this law, the number of visitors and the ceremonial order of each shrine festival were determined, and the order of the opening of the doors, offering of food, offering of money, performance of congratulatory prayers, worship of sacrificial offerings, withdrawal of money, withdrawal of food, and closing of the doors were finalized. In 1907 (40th year of Meiji), the Ministry of Home Affairs issued the "Etiquette for Shrine Rituals and Events" to unify the etiquette of each shrine ritual. In addition, in 1914, the Imperial Ordinance No. 9, "Order on Rituals at Shrines under Government National Shrines," was promulgated, and shrine festivals were divided into three categories: Grand Festivals (Prayer Year Festival, New Year's Festival, Regular Festivals, Relocation Festival, and Temporary Offering Festival), Medium Festivals (New Year's Day Festival, New Year's Festival, New Year's Day Festival, Emperor's Day Festival, Meiji Day Festival, and other festivals with a special history at the shrine), and Small Festivals (other). In addition, as a detailed regulation, the "Rituals of Shrines under the Government National Shrine" was established. The "Imperial Household Ritual Order" and its supplementary formulas were established for the Imperial Household Rituals, and the "Jingu Ritual Order" and "Jingu Meiji Rituals" were established for the Jingu Rituals. The Emperor's accession to the throne, accession rituals, the First Rice Festival, and the Rite of the Crown Prince were determined by the Tengoku Order and the Rite of the Crown Prince.

Formation and Development of State Shinto
In 1871 (the fourth year of the Meiji), a notice in the Grand Council of State Proclamation No. 234 defined shrines as "state religious services. Based on this, the way of shrines and Shinto in the pre-modern era was drastically changed, and a system in which shrines were controlled by the state, the so-called State Shinto, was formed.

At the beginning of the Meiji Restoration, the Hirata school of Kokugakusha was at the centre of the government, and the unity of ritual and politics and the nationalization of Shinto were promoted, but Ito Hirobumi, Iwakura Tomomi, and other important government officials of the open-minded faction began to aim for separation of church and state, and Tamamatsu Misao left the government in 1870 (Meiji 3) in conflict with Iwakura. In the following year (1871), Yano Gendo, Gonda Naosuke, Tsunoda Tadayuki, Maruyama Sakuraku and other Shintoists of the unity of ritual and government were arrested and expelled simultaneously in connection with the Two Lords Incident.

In 1875, the freedom of religion was guaranteed, and in 1882, the Ministry of Home Affairs issued a notice defining shrines as non-religious. This was a change from the original policy of aiming for a government based on Shinto with unity of ritual and government, and the theory of non-religion of shrines was adopted. The Meiji Constitution enacted in 1890 (Meiji 23) also did not include any mention of Shinto. After the abolition of the hereditary system of the Shinto priesthood, which was regarded as a "state religion," on the grounds that it should not be occupied by a single family, the state trained the priesthood and decided on their appointment, in the same way as officials (civil service). Since Shinto shrines were considered non-religious, the Shinto priests of the official national shrines were prohibited from engaging in religious activities, including involvement in Shinto funeral rites and the propagation of Shinto doctrine. For this reason, the shrine Shinto that existed before the early modern period, such as Yoshida Shinto and Ise Shinto, also disappeared as a force. In 1871 (Meiji 4), the "Shinto shrine territory decree" was promulgated, which collects all the land of shrines and temples except the precincts.

In 1871, the Department of Divinities was downgraded to the Ministry of Divinities, a ministry of the Grand Council of State, and in 1872 (1872), the shrine administration was integrated into the Ministry of Religion, which had jurisdiction over religious administration in general. The Ministry of Religion introduced a system of teaching positions to inculcate a spirit of patriotism and respect for the emperor among the people through the joint efforts of Shinto priests and Buddhist monks called Kyodo Shoku, but this system was quickly dismantled due to opposition from both the Shinto and Buddhist sides. Only the "Sanjo Kyoshoku," which outlined the teachings of patriotism and respect for the Emperor, was allowed to be propagated in the teaching position, and the spread of Shinto and Buddhist teachings and doctrines was prohibited. After the dissolution of the Ministry of Religion, the Shinto priests and others established the Bureau of Shinto Affairs to continue their activities. A controversy arose over the establishment of the Bureau of Shinto Affairs over whether or not Okuninushi should be added to the temple. In 1890, Kokugakuin, an educational institution established in the Office of Japanese Classics Research, later developed into Kokugakuin University, a Shinto university. On the other hand, Kogakukan, which was also established in 1882 within the shrine's Hayashizaki Library by order of the Jingu priest, later became another Shinto university, Kogakukan University.

In 1877, the status of Shinto priests was changed to that of non-officials, and in 1879, public spending on Shinto shrines was cut off. The payment of salaries from public funds to the Shinto priests had already been discontinued in 1873. In 1887, the government introduced a system of public funds for the preservation of government-owned shrines, and it was decided that public funds would be paid for the next 10 years, but after that, public funds would no longer be paid.

As mentioned above, in 1871, the "Shrine and Temple Supremacy Decree" was issued, which caused economic damage to shrines and temples. As a result, Shinto shrines suffered more economic damage than temples, which were expected to generate income from funerals and religious activities、and shrines were placed in a very difficult economic position throughout the Meiji period.

In the Meiji era, there were also Yasukuni Shrine to enshrine those who died in the service of the nation, Minatogawa Shrine to enshrine Kusunoki Masashige of the Southern Dynasty, Prince Moriyoshi of the Southern Dynasty, Kamakura-gū, and Kikuchi Taketoki, and many other shrines have been built to enshrine people who have contributed to the nation.

On the other hand, the Meiji government enshrined a large number of shrines. The number of shrines decreased from 190,000 to about 130,000 as a result of the reorganization of local shrines and unranked shrines that were closely connected to the community. This was opposed by naturalist Minakata Kumagusu and folklorist Kunio Yanagita.

Deity Revival Movement
While the Shinto shrines were being cut off from public spending, the Shinto priests organized the National Shinto Priests' Association and launched a movement called the Shinto Priests' Restoration Movement, which demanded that the government restore the Shinto priests, arguing that the government should be responsible for providing a budget for the state's religious services. As a result, in 1894, the "Law Concerning the Shinto Priests of Prefectures and Subordinate Shrines" was issued, and the Shinto priests of prefectures and subordinate shrines were given the status of officials who were appointed by the local commissioner. In 1896, the House of Representatives passed the "Resolution on the Restoration of the Ministry of Divine Worship", but the restoration of the Ministry of Divine Worship itself was not realized. However, in 1900, the Ministry of the Interior's Bureau of Shrines and Temples was separated into the Bureau of Shrines and the Bureau of Religious Affairs, and a clear administrative distinction was made between Shinto and other religions. In 1906, the system of preservation money for government shrines and shrines was abolished, and government shrines and shrines were to be paid from the national treasury on a regular basis.

However, the amount of money to be paid to the shrine was to be kept within the framework of the existing preservation money system, and at the prices of the time, the annual payment was only 210,000 yen, which was about one-tenth of the expenses required to run a shrine of the size of a government-run shrine. In addition, the local government's offering of shibubaku-ryo, which was stipulated for shrines below the prefectural level, was "acceptable" and not mandatory. This did not result in a significant economic gain for the shrine.

Furthermore, the administration of Shinto shrines by the Shrine Bureau of the Ministry of Home Affairs was also extremely passive. The Ministry of the Interior's Bureau of Shrine Administration was also extremely passive in its administration of Shinto shrines. The Bureau strongly emphasized the precept that "Shinto is a non-religion," and worked to prohibit the expression of Shinto's own religious ideas, while it vigorously restrained the religious activities of Shinto priests, such as funeral rites and missionary activities. He also worked to suppress the debate between Shinto and other religions, arguing that all foreign religions were assimilated into the national spirit and therefore should not be challenged. Based on the above circumstances, Shintoist Chinhiko Ashiizu commented that the main task of the Bureau of Shinto Affairs was to ensure that Shinto was de-ideologized, that the spirit of Shinto was reduced to a vacuum, that the expression of Shinto's original thought was abandoned, and that a compromise with Buddhism, Christianity, and all other legitimate religions was painstakingly made so that the state Shinto system could exist without contradicting the separation of church and state. The Shinto bureau itself was treated as a third-class bureau within the Ministry of Home Affairs, and the bureau chiefs were considered to be waiting for their posts before becoming regional prefectural governors or directors of influential bureaus.

In 1940, the Shrine Bureau was reorganized into the Shinto Academy, but it was dismantled due to the defeat of the war without effective policies being implemented.

Sectarian Shinto and Zaino-no Shinto Thought
In this way, the state Shinto system, which abandoned the expression of Shinto thought and created a vacuum of Shinto spirit, was condemned by the local Shinto priests and Shinto thinkers, some of whom developed their own Shinto thought or created private Shinto groups to confront it.

Among those groups, the thirteen schools of Sect Shinto were particularly powerful. These thirteen groups generally include Kurozumikyō Shinto Shusei Jingu-kyo Izumo-taishakyo Fuso-kyo Jikkō kyō Shinto Taiseikyo (神道大成教)Shinshu-kyo Mitake-kyo Shinto Taikyo Shinrikyo Misogikyo Konkokyo and Tenrikyo. Originally, Jingu-kyo was also included, but later it was reorganized into Jingu Hosaikai and withdrew from sect Shinto. These denominations began to move in the late Tokugawa period on the basis of modern Shinto thought and folk beliefs, and developed in the religious administration of the Meiji era. In 1875, the teaching position of the Ministry of Education was abolished, and as mentioned above, state Shinto came to be separated from its religious aspects based on the theory of Shinto non-religion. In 1875, the Ministry of Education was abolished, and as mentioned above, State Shinto was separated from its religious aspects based on the Secular Shrine Theory.

In particular, Tenrikyo grew rapidly from the mid-Meiji period and became the denomination with the largest number of followers among the denominational Shinto sects. Tenrikyo began when Miki Nakayama, the founder of Tenrikyo, received a divine blessing in 1838. Miki wrote down the words of God, "Tenri-Oh," which she received through the divine blessing, in a waka-style text called the Ofudesaki, and formed the doctrine. The content of the book is to preach a "joyous life" and emphasize the relationship between husband and wife, and not to emphasize the belief in the house or ancestral spirits. In the creation myth, the Tsukihi Oyasama taught Izanagi, a fish with a human face, and Izanami, a snake, in the muddy sea how to marry, and as a result, humans were born. Also important is the emergence of Omoto. Oomoto originated in the year 1892, when Oyasama Nao Deguchi began to speak the words of the Konjin of the Gonon and also began to record the words by his penmanship. Two years later, Onisaburo Deguchi adopted Nao as his son-in-law, and they began to work together. The Oomoto system was established by combining the writing of Ko's pen and the spiritual techniques of Ohnisaburo. Since Kazusaburo Asano, a student at the Naval Engineering School, joined, there has been a succession of intellectuals and military personnel who have joined, and the rapid expansion of the cult has become a social problem. The Daibon teaches the unity of God and man, that God is the creator of all things in this world, that the universal spirit of God dwells in all things in this world, that man is the spiritual head of all things created by God, that God has given him immense wisdom and power in order to put into practice the ideal world that God desires, and that man should understand God's heart from the bottom of his heart, receive God's power, and build the ideal world of mankind through the unity of God and man. Oomoto also had an extremely large impact on the Shinto sects of later generations, giving rise to a series of new religious movements known as "Oomon-kei" and influencing the formation of the Seicho-no-ie.

As an overall characteristic of the teachings of denominational Shinto, while based on traditional Shinto beliefs, each denomination often had its own main deity and used traditional rituals such as magi nai and divination to propagate their teachings. Although Tenrikyo was recognized by the state, it was often oppressed by the state as it preached its own teachings and gained a large number of followers. Tenrikyo was attacked by the "Secret Instructions" of the Ministry of Home Affairs and was forced to change its rituals. Oomoto was also subjected to the first and second rounds of repression by the government authorities, who were alarmed by the expansion of the number of believers, and destroyed the headquarters facilities, dismantled the entire organization, and detained all the leaders.

There were also a number of Shinto thinkers who, unlike Shinto denominations and other Shinto groups, were active in their own thought processes. Kawamori Bonji, a Shintoist, criticized the Ministry of the Interior's Shinto policy and argued for the restoration of the Shinto spirit centered on misogi (purification). Influenced by Kawamori, Imaizumi Sadasuke, while conducting empirical research on Shinto since the time of Nobunaga, was initiated into Kawamori, learned religious practices, and expressed his own Shinto philosophy. The idea is that God and human beings are essentially one, and that the truth of the universe is to purify the body and soul through purification, and to manifest the direct spiritual deity, who presides over the unification, to oneself to realize the state of God-human unity. Imaizumi criticized the government's shrine administration and the military's war policy, and gave lectures to politicians urging them to stop the war,、which led to his writings and lecture recordings being banned during the war.

Shinto Directive and Postwar Shinto
After Japan surrendered at the end of World War II in 1945, the GHQ issued a Shinto directive during the occupation policy and dismantled the state Shinto system.Shinto was declared the root of nationalistic ideology by the GHQ, and in February 1946, all laws related to the administration of Shinto shrines since the Meiji era were abolished. In accordance with the provisions of the Religious Corporation Ordinance enacted in December 1945, Shinto shrines are to be treated as religious corporations in the same way as other religions, and the modern corporate personality system has been abolished. After the lifting of the occupation, the Religious Corporation Order was abolished and the Religious Corporation Law was enacted in 1951. This law set stricter standards for the recognition of religious corporations than the previous Religious Corporation Decree, and shrines throughout Japan became religious corporations in accordance with this law.

In January 1946, the Institute of Divinities, the Office of Japanese Classics Research, the National Association of Shinto Priests and the Jingūkyō were dissolved and the Association of Shinto Shrines was formed as a shrine organization to encompass all shrines in Japan that were to remain as religious corporations. Although the shrines lost their official status, their economic prosperity surpassed that of the prewar period due to the implementation of Shinto funeral rites, which had been prohibited before the war, and the flourishing of various types of prayers. As the Japanese economy improved due to high economic growth, shrines were also upgraded and expanded beyond pre-war levels. On the other hand, as urbanization progressed due to economic growth, problems such as a decrease in the number of Ujiko (shrine parishioners) and a shortage of successors to the Shinto priests became apparent due to the depopulation of rural areas. Urban shrines have also begun to face problems such as the mobility of the Ujiko population, the deterioration of the shrine environment due to urban development, and the increase in the number of nominal Ujiko.

Contemporary Shinto
In the Heisei era (1989-1989), the power spot boom started in the 2000s, and the red seal collecting boom started in the 2010s, resulting in an increase in the number of people visiting shrines. According to a survey conducted by the Jinja Honcho in 2015, only 2% of shrines have an annual income of more than 100 million yen, while about 60% of shrines have an annual income of less than 3 million yen. The number of shrines with an annual income of less than 3 million yen was about 60%. The number of shrines has decreased by about 300 in the past 10 years. For this reason, there have been a number of cases of shrines that have no choice but to rent out part of their premises to turn them into condominiums or other buildings in order to protect the shrine. On the other hand, there are examples of shrines that have managed to overcome their financial difficulties by making various innovations, such as creating original ema (votive picture tablet) and goshuin (red seal), organizing blind dates, and opening cafes as places of relaxation. In addition, there are shrines throughout Japan that are the target of pop culture pilgrimage, in which fans of anime and manga visit the stage of the work, such as Washinomiya Shrine, which has seen an increase in visitors since it became the stage for the anime "Lucky Star" in 2007 (Heisei 19).

In modern times, shrines play a role in annual events and life rituals for individuals and families, such as Hatsumode, Ogu mairi, Shichi-Go-San, and Wedding. As of 2009, the number of shrine buildings designated as national treasures totaled 27 and 30, and there are many examples of shrine rituals and ceremonies such as the Gion Festival being registered as Important Cultural Property (Japan) for rituals and ceremonies at shrines such as the Gion Festival, and many traditional performing arts such as Yabusame, Gagaku, and Kagura have been preserved. In addition, many shrines, including Meiji Shrine, which has about 100 hectares of forest and about 3,000 species of living organisms in the city, have forests within their precincts, thus playing a role in forest conservation in the city. In 2009 (Heisei 21), the Jinja Honcho participated as a representative of Shinto in the World Assembly for Peace, a gathering of diverse religious figures from around the world, and from the standpoint of Shinto, appealed for the necessity of coexistence between nature and humankind.

During the COVID-19 pandemic the 2021 Hatsumode was called Saisaki-mode and had special observances for it.