an intermediate film 222 in a three - layered resist film 225 is formed by the chemical vapor deposition process at a temperature not higher than 300 ° c ., using si , where each of r 1 , r 2 , r 3 and r 4 independently represents a carbon - containing group or a hydrogen atom , excluding the case where all of r 1 to r 4 are hydrogen atoms .