We investigated local layer structures of the three smectic-C phases (SmC, SmC', and SmC″) in a liquid crystal with the terminal hydroxyl group using high resolution and microbeam x-ray diffraction. It is found that SmC is the conventional SmC1 phase and SmC″ is the bilayer SmC2 phase. The SmC' phase forms an in-plane modulation structure, so that this phase is the smectic-C antiphase. From the Fourier transform infrared spectroscopy, it is suggested that the intermolecular hydrogen bonding is important to induce the SmC' and SmC″ phases.