Farther, when an insulating film including nitrogen is formed on the first and the second insulating film according to the present invention, the insulating film can prevent an organic semiconductor material or the like from deteriorating due to the water vapor or organic gas.