When a laser beam spot having a circular shape is divided into strip shapes along the scanning direction, one of them at the center has the longest length which is substantially equal to the diameter of the laser beam spot. The strip shape nearer to the end portion of the laser beam spot has a shorter length. When scanning is performed with such a laser beam spot, a portion through which the strip shape including the center of the laser beam spot passes is irradiated with the laser beam for the longest time. In contrast, a portion through which the strip shape nearer to the end portion of the laser beam spot passes is irradiated with the laser beam for a shorter time. For such reasons, the integral intensity of the laser beam might be uneven in the direction perpendicular to the scanning direction. When such unevenness is caused, the sealant 131 cannot be uniformly heated and thus defective sealing occurs in some cases.
A phenomenon in which the integral intensity of the laser beam is uneven in the direction perpendicular to the scanning direction might be caused also when the laser beam spot has a rectangular shape or a linear shape. Specifically, such a phenomenon might be caused when the integral energy intensity of the end portion of the rectangular or linear laser beam spot is lower than that of the center thereof.