In the face of a labor shortage and a push to get more women into the workforce, some Japanese companies are taking steps to accommodate the needs of working parents, such as allowing them to bring their children to the office or to work from home.