Further, when the film 16 is composed of a resin, the available material thereof may be a material having a glass-transition temperature of equal to or higher than 200 degree C. Such configuration is preferable, since wider process condition for the heating process conducted in the manufacturing process such as process for forming the protective layer on the upper portion of the thin film device 4