an optical device having an optical element , a base plate which has a mount surface for setting the optical element , a first holding member composed of at least a hole and a projection so as to permit the optical element mounted on the base plate to move longitudinally and a second holding member composed of a hole and a projection so as to restrain the optical element from moving in a direction orthogonal to an optical axis .