In a preferred embodiment, the sensor is an optical sensor having a light-emitting element and a light-receiving element, the light-emitting element being configured to vertically emit a light to a peripheral portion of the substrate supported on the first support device; the first support device has a plurality of support elements that support peripheral portions of the substrate thereon; and eac