Before Buddhism showed up on Japanese shores, there was Shinto, the country’s indigenous religion. And although most modern Japanese are not religious, Shinto is still alive and well.

There are tens of thousands of Shinto shrines scattered all over Japan, and most have their own festivals where the local spirit is taken out and paraded around in a portable shrine. There are food, games and boisterous fun.

That's how I came to be in Kawasaki Daishi, a town just south of Tokyo, for the Kanamara Festival earlier this month.

When I got there, there was a long line to get into the small shrine grounds. I asked 28-year-old Taro Tanaka and his friends what they were waiting for.

“We’re waiting in line to get the candy,” he says. “Don’t you know?” He was slightly incredulous that I didn't know, but he explained that it’s the specialty of the festival.

The candy is, “The man and woman’s ... that thing,” he says. I asked him to explain a little bit more. He and his friends laughed hysterically.

It's a penis shaped lollipop, and everyone around me was eating one or hoping to get one. I found out later that vagina pops also exist, but a casual glance through the crowd confirmed that the male version was definitely more popular.

Kanamara Matsuri, the name of the festival, translates literally into English as "Metal Penis Festival." Phallic symbols and paraphernalia are all over the festival grounds. In addition to penis pops, you can buy penis candles, penis glasses, phallic T-shirts, charts with sexual positions — the list goes on and on.

People have long come to pray at the shrine here to the Kanamara spirit, who's considered a god of fertility, but not always openly. In the old days, it would be under the cover of darkness. Women would come to pray for kids or safe childbirth; prostitutes would come and pray to not get STDs.

But then the festival started in 1975 and picked up steam in the mid 1980s, as both festival goers and festival makers became more comfortable with the idea that sex should be talked about and celebrated.

Perhaps unsurprisingly, the festival is now popular with expats and tourists as well as the locals. About 30,000 people showed up this year — and it’s not just adults. Some people also bring their kids or parents.

Parade goers carry a penis shrine during the Kanamara Festival. Credit: Tom MacWright

It’s followed by two enormous penis-shaped shrines, one black, one pink, both wrapped in protective Shinto ropes. The black one, made of steel, is carried by men and women in festival garb. The pink penis shrine, known as Elizabeth, is strictly the duty of a group of local cross dressers.

And as they carried it down the street, everyone with the penis shrines chanted words you don’t hear at other Shinto festivals: “Big penis! Metal penis! Big penis! Metal penis!”

Back on the festival grounds, the master of ceremonies, Hisashi Yamamoto, spoke. He's a sprightly 82-year-old who’s been involved with the festival since the days when practically no one came.

“The fact that you are alive and here, that’s the core of the Kanamara Festival," Yamamoto says. "We need to give thanks for having been brought into the world — for being alive!”

And to enunciate his next point, he grabs the mic: “And for sex!"