. . "With reference to FIG. 9C, in the gate insulating layer 4, the thin portions 40 a occupy most of the regions overlapping with the lower and upper electrodes 3 c and 6 c except the regions overlapping with the first end portions 31 c of the lower electrodes 3 c and the upper electrodes 6 c." . .