A method for manufacturing a semiconductor device is provided, in which
the lengths of a wiring trench and a via hole in a depth direction are
easily controlled. A component having a first insulating film is prepared
on a substrate, and a layer is disposed on the above-described first
insulating film. A mold having a pattern is imprinted on the
above-described layer so as to form a second insulating film having a
wiring trench and a first via, the pattern corresponding to the wiring
trench and the first via. Thereafter, the above-described first
insulating film is etched by using the above-described second insulating
film as a mask so as to form a second via, which is connected to the
first via, in the first insulating film.