FIG. 13A is a diagram for showing the shape of a desired resist pattern to be formed by using a photomask according to a modification of Embodiment 1 of the invention and FIG. 13B is a plan view of the photomask according to the modification of Embodiment 1 of the invention;