A non-transitory computer-readable recording medium storing a program that causes a substrate processing apparatus, by a computer, to perform:
- (a) accommodating a substrate transferred from an atmospheric transfer structure in an atmospheric atmosphere in an intermediate structure arranged along the atmospheric transfer structure;
- (b) transferring the substrate from the intermediate structure in an atmosphere whose pressure is lower than that of the atmospheric atmosphere to a processing structure arranged adjacent to the intermediate structure;
- and
- (c) processing the substrate in the processing structure.