the pixels arranged in a matrix are of at least three types including a pixel which emits light of red, a pixel which emits light of green, and a pixel which emits light of blue, and the optical length of the microresonator for each pixel is set corresponding to a wavelength of light to be emitted.