Throughout the 20th century fewer and fewer Japanese people began associating themselves with a specific religion. However, religion in the country was especially interesting during World War 2. The Japanese government forced people to be Shinto and not Buddhist because Shinto was purely Japanese while Buddhism was a major religion in other Asian countries. The Japanese government also forced the people of Japan to admit that Emperor Hirohito was a divine being.
Edit: If you have other specific questions, just ask!