There's a 3-hour transit tour, right for you.
http://www.kansai-airport.or.jp/news...age/3htour.pdf
Shopping mall tour requires only 3 hours, whereas castle tour requires 5 hours transit time.
You may want to save time by through-checking in your carryon at your origin, if your schedule permits to fly ANA -> United.