The filling material is a metal such as tungsten, aluminum, or copper, and is filled in via a barrier metal such as Ti, Ta, TaN, or TiN. With the first embodiment, since a pattern for each via contact 16, which does not have the conventional circular shape but has a linear shape at least three times longer than the c