Accordingly, the data lines X are insulated from the scanning lines Y by the gate insulating film62.On the data lines X, the source electrodes 512, the drain electrodes 513, and the gate insulating film 62, a first insulating film 63 is formed across the entire surface of the element substrate 60.The common lines Z made of a transparent conductive material such as indium tin oxide (ITO) and indium