Two fixes for errors

【Contents of the fix】
■Fixed an error that occurs depending on the PHP version.
■Fixed an error related to unwanted output.

The following files have been modified for this update.

【Modified files】
inc/head.php
inc/modal-cta.php
style.css