10B, resist 312 is formed and patterned so as to correspond to the center of the surface emittinglaser 120.
The pattern of the resist 312 is transferred onto the SiO.sub.2 film 310 using carbon tetrafluoride (CF.sub.4) gas.