Alternatively, an organic insulating material such as polyimide or acrylic may be formed, and its surface may be leveled. [0158] Next, contact holes are formed in order to reach the impurity regions of each semiconductor film from the surface of the fourth insulating film 712, and wirings are formed using a material such as Al, Ti, or Ta.