An inverter device includes a filter circuit, an inverter circuit, an electric current detecting circuit, a voltage detecting circuit, a control circuit for outputting a drive signal so as to switch switching devices, and an internal power supply. Subsequently, the metal is melted proximate to the through-hole. Such a structure may be provided between adjacent light-emitting elements so that the light-emitting elements can be electrically insulated from each other in the light-emitting device.