Further, in the case of forming the layer including the metal oxide to have a film thickness of 100 nm or more, it is possible to suppress short circuit between the first electrode 201 and the second electrode 207, which is caused due to a factor such as a projection formed at a film surface of the first electrode 201 or the second electrode 207 or due to a foreign object mixed between these elect