The practical use of a grazing x-ray telescope is demonstrated for hard-x-ray imaging as hard as 40 keV by means of a depth-graded d-spacing multilayer, a so-called supermirror. Platinum-carbon multilayers of 26 layer pairs in three blocks with a different periodic length d of 3-5 nm were designed to enhance the reflectivity in the energy range from 24 to 36 keV at a grazing angle of 0.3 deg. The multilayers were deposited on thin-replica-foil mirrors by a magnetron dc sputtering system. The reflectivity was measured to be 25%-30% in this energy range; 20 mirror shells thus deposited were assembled into the tightly nested grazing-incidence telescope. The focused hard-x-ray image was observed with a newly developed position-sensitive CdZnTe solid-state detector. The angular resolution of this telescope was found to be 2.4 arc min in the half-power diameter.