Fetching details from the dictionary...
miyamairi; newborn child's first visit to a shrine (within about 30 days of being born)
visiting a shrine
赤ちゃんのお宮参りに家族全員で出かけた。
The whole family went out for the baby's shrine visit.
赤ちゃんのお宮参りに行った。
We went to the shrine for the baby's first visit.
お宮参りの写真を記念に撮影した。
We took commemorative photos of the shrine visit.