The kagura-den is also called maidono. It is the building within a Shinto shrine where the sacred dance (kagura) and music are offered to the kami during ceremonies.
Some scholars believe the heiden, or hall of worship, has its origins in the kagura-den. In Shinto shrine architecture, a heiden is the part within a Shinto shrine’s compound used to house offerings.