e inter-layer insulating film 106 over the entire surface. [0135] Further, contact holes reaching the p-type impurity diffusion region 105 are opened in the inter-layer insulating film 106 and a metal such as tungsten or aluminum is buried in the contact holes to form the contact plugs 110.