months ended June 30, 2021, primarily due to a decrease in net loss attributable to shareholders adjusted for stock-based compensation, deferred income tax expense, and depreciation and amortization, decrease in contract liabilities, decrease in advances received, decrease in deposits received, while offset by decrease in accounts receivable -trade, decrease in accounts receivable -other, and increase in accrued expenses.
Investing Activities
Net cash flows used in investing activities increased from JPY37,931 thousand (US$342 thousand) in the year ended December 31, 2019 to JPY139,599 thousand (US$1,257 thousand) in the year ended December 31, 2020, primarily due to acquisitions of businesses, acquisitions of property and equipment, cost additions to internal use software, partially offset by proceeds from sale of affiliated company securities and payment received on long-term accounts receivable-other, net.
The total amount of capital investment made in the year ended December 31, 2020 was JPY203,320 thousand (US$1,831 thousand). The main investments were JPY99,195 thousand (US$893 thousand) for acquisitions of businesses, JPY73,556 thousand (US$662 thousand) for acquisition of property and equipment, and JPY30,569 thousand (US$275 thousand) for additional development of internal use software.
Net cash flows used in investing activities increased from JPY57,255 thousand (US$ 516 thousand) in the six months ended June 30, 2020 to JPY410,250 thousand (US$3,694 thousand) in the six months ended June 30, 2021, primarily due to acquisitions of businesses, acquisition of investment securities, and acquisitions of property and equipment.
Financing Activities
Net cash flows from financing activities increased from JPY331,994 thousand (US$2,990 thousand) in 2019 to JPY1,432,131 thousand (US$12,896 thousand) in 2020, primarily due to proceeds from an initial public offering of ADSs representing our common shares of JPY1,168,627 thousand (US$10,523 thousand) in December 2020, proceeds from long-term borrowings of JPY775,000 thousand (US$6,979 thousand), partially offset by the repayment of long-term loans of JPY206,440 thousand (US$1,859 thousand), repayment of short-term loans of JPY180,000 thousand (US$1,621 thousand), payment of deferred offering costs of JPY97,857 thousand (US$881 thousand), and payment of installment payables related to business acquisitions of JPY33,949 thousand (US$306 thousand).
Net cash flows from financing activities decreased from JPY143,555 thousand (US$1,293 thousand) in the six months ended June 30, 2020 to negative JPY326,267 thousand (US$2,938 thousand) in the six months ended June 30, 2021, primarily due to payment of the deferred offering costs of JPY255,887 thousand (US$2,304 thousand), and repayment of long-term borrowings of JPY155,502 thousand (US$1,400 thousand), partially offset by proceeds from exercise of overallotment offering of JPY87,642 thousand (US$789 thousand).
Credit Facilities and Corporate Bonds
As of June 30, 2021, we have 21 business loans outstanding from four Japanese financial institutions. The balance on the outstanding loans as of June 30, 2021 was JPY755,159 thousand (US$6,800 thousand), with interest rates ranging from 0.21% to 3.98%, and a weighted average interest rate of 1.05%. The loans mature at various dates through 2035. Our Chief Executive Officer and a director, Kouji Eguchi, is a guarantor with respect to 16 of our 21 outstanding loans.
In addition, we have a fundamental funding and treasury policy of (i) maintaining a balanced ratio of debt to equity, and (ii) aligning our repayment of loans with our cash flow from business. Our primary use of funds from our loans is capital expenditures on newly opened Company-owned salons. Therefore, we have sought debt financing with longer than three-year terms and equal monthly repayment amounts of principal and interest in order to align our debt repayment schedule with our cash flow from our salon business operations. In order to avoid interest rate risk during the terms of the loans, we usually borrow money with fixed interest rates, and do not enter into hedging arrangements. Since our primary business operations are in Japan, our borrowings have been made to date only in Japanese yen with Japanese financial institutions.