FIG. 11A is a plan view of a pixel layout of this embodiment, and FIG. 11B is a cross-sectional view along a line 11B to 11B in FIG. 11A. In addition, in FIG. 11B, except for an insulating layer 32, insulating layers between respective layers are eliminated, for simplicity.