When the transparent window is provided in one of the upper and lower plates, however, since a light shielding mask (that is a mask for protecting light emitting elements from UV irradiation) etc. is formed in the subject substrates, it is difficult to position the subject substrates such that the position of the pattern for the sealing material is adjusted to a position of light that passes throu