A phase shift mask according to an eighteenth embodiment of the present invention will be explained using FIG. 29A and FIG. 29B. FIG. 29A and FIG. 29B are a plan view and a cross sectional view showing the phase shift mask according to this embodiment.