An optical waveguide is formed by diffusing a second impurity to form a
second diffusion area having a large refractive index on a substrate. A
groove is formed at a portion of the substrate corresponding to an
outside of a bend of a bent portion along the second diffusion area. A
first diffusion area is formed by diffusing a first impurity from a
bottom of the groove to reduce a refractive index of the substrate.