ListViewFragmentとPropertyViewFragmentのif文の入れ子構造を解消