If so, the actual depth margin of the beam diameter is almost zerobecause of the accumulated processing errors of an optical element and a holding component such as a deflector and an imaging element which constitute the optical scanning device.The irregularity of the distance between the optical scanning device and a photosensitive member which is a scanning target medium particularly has a great