As described below, the semiconductor films 408 are doped with an impurity through the gate insulating film 409 and the conductive film 410 in this embodiment.
Hard masks are formed on the conductive film 410.