Kofun are earthen tombs or tumuli in Japan . They were constructed between the early 3rd century and early 7th century . Kofun are megalithic tombs or tumuli in Japan , constructed between the early 3rd century and early 7th century .