A semiconductor device includes a substrate which has a main surface and
an alignment mark which is formed on the main surface and which has a
pattern, wherein the pattern in a plane view has a shape that is obtained
by eliminating corners from a polygon.