Measuring spectral distortions of the cosmic microwave background (CMB) is attracting considerable attention as a probe of high energy particle physics in the cosmological context, since PIXIE and PRISM have recently been proposed. In this paper, CMB distortions due to resonant