It is common for families to participate in ceremonies for children at a shrine, yet have a Buddhist funeral at the time of death mostly due to the negative Japanese conception of the afterlife and death as well as buddhism's historical monopoly on funeral rites. In old Japanese legends, it is often claimed that the dead go to a place called yomi (黄泉), a gloomy underground realm with a river separating the living from the dead mentioned in legend of Izanami and Izanagi. This yomi is very close to the Greek Hades however later myths include notions of resurrection and even elysium-like descriptions such as with the legend of Okuninushi and Susanoo. Shinto tends to hold negative views on death and corpses as a source of pollution called "kegare". However death is also viewed as a path towards apotheosis in Shintoism as can be evidenced by how legendary individuals become enshrined after death. Perhaps the most famous would be Emperor Ojin who was enshrined as Hachiman the God of War after his death.
Unlike many religions, one does not need to publicly profess belief in Shinto to be a believer. Whenever a child is born in Japan, a local Shinto shrine adds the child's name to a list kept at the shrine and declares him or her a "family child" (氏子 ujiko?). After death an ujiko becomes a "family spirit", or "family kami" (氏神 ujigami?). One may choose to have one's name added to another list when moving and then be listed at both places. Names can be added to the list without consent and regardless of the beliefs of the person added to the list. This is not considered an imposition of belief, but a sign of being welcomed by the local kami, with the promise of addition to the pantheon of kami after death.