That is, when the groove of the insulating film is buried with the fluidized metal, the metal left on the insulating film except for the metal in the groove is removed by a method such as etching, thereby preventing a wiring layer from being defective.