There are specific requirements that need to be met throughout the days to trigger the different endings; Which steps they are, is detailed in the walkthrough, without containing any spoilers towards the endings themselves. Hope this helps :)