A constant-voltage circuit uses a capacitor having a low ESR (equivalent serial
resistance), such as a ceramic capacitor, for phase compensation, wherein a voltage
drop of an output voltage due to a resistance provided for optimizing the phase
compensation is compensated for by providing output current to an output a current
proportional to an voltage detecting resistance through a current mirror circuit
thereby the voltage drop of the output voltage is compensated for.