Ihara Saikaku
There is no evidence so far of religious opposition to homosexuality within Japan in non-Buddhist traditions. Tokugawa commentators felt free to illustrate kami engaging in anal sex with each other. During the Tokugawa period, some of the Shinto gods, especially Hachiman, Myoshin, Shinmei and Tenjin, "came to be seen as guardian deities of "nanshoku"" (male–male love). Tokugawa-era writer Ihara Saikaku joked that since there are no women for the first three generations in the genealogy of the gods found in the Nihon Shoki, the gods must have enjoyed homosexual relationships—which Saikaku argued was the real origin of "nanshoku" Nonetheless, during the Edo period, male-female relationships were highly valued as it ensured propagation of offspring and social status.