Then, the gate electrodes 110 1 and 110 2 on the respective element regions 109 A and 108 A are selectively formed by patterning the film.
The oxide films are etched using the gate electrodes 110 1 and 110 2 as masks, thereby forming the gate oxide films 111 and 112.