NOVELTY - A hydrogen-containing gas consisting of hydrogen and carbon dioxide is obtained by modifying a carbon-containing fuel. The hydrogen-containing gas is separated by pressure swing adsorption (PSA) into hydrogen-enriched gas (I) and off gas. The off gas is separated into carbon-dioxide-enriched gas and separation-membrane off gas, using a carbon-dioxide-separation membrane (4). The separation-membrane off gas is then separated into hydrogen-enriched gas (II) and separation-membrane off gas, using a hydrogen-separation membrane (5).    USE - Hydrogen production using carbon-containing fuels, such as fossil fuel, for fuel cells and for hydrogenation of organic compounds, and carbon-dioxide recovery method.    ADVANTAGE - The method enables efficient and economical hydrogen production and carbon-dioxide recovery. The recovered carbon dioxide is suitable for storage underground or underwater.    DETAILED DESCRIPTION - Carbon-dioxide is recovered as follows while manufacturing hydrogen from a carbon-containing fuel. A hydrogen-containing gas consisting of hydrogen and carbon dioxide is obtained by modifying a carbon-containing fuel. The hydrogen-containing gas is separated by pressure swing adsorption (PSA) into hydrogen-enriched gas (I) and PSA off gas in which components other than hydrogen are enriched. The PSA off gas is separated into carbon-dioxide-enriched gas and separation-membrane off gas in which components other than carbon dioxide are enriched, using a carbon-dioxide-separation membrane (4). The separation-membrane off gas is then separated into hydrogen-enriched gas (II) and separation-membrane off gas in which components other than hydrogen are enriched, using a hydrogen-separation membrane (5). An INDEPENDENT CLAIM is included for hydrogen-production and carbon-dioxide recovery equipment (1).    DESCRIPTION OF DRAWING(S) - The drawing shows a flowchart of the hydrogen-production and carbon-dioxide recovery equipment. (Drawing includes non-English language text)    Hydrogen-production and carbon-dioxide recovery equipment (1)    PSA apparatus (2)    Carbon-dioxide-separation membrane (4)    Hydrogen-separation membrane (5)    Carbon-dioxide liquefier (7)