Semiconductor lasers for respective wavelengths have window regions with different lengths so as to obtain optimum FFPs for emitted light of the respective wavelengths, and thus dependence on optical output can be equal between the wavelengths, facilitating the design of an optical system.