The invention mitigates a drop of a protective layer and reduces
disconnection of an electrode. A shading layer, a partition layer to
partition a color filter layer, formed on the shading layer, and a
protective layer to seal the shading layer, the partition layer and the
color filter layer, are arranged on a substrate. At least a part of the
partition layer covers the shading layer and separates the protective
layer from the shading layer under a non-contact state.