Instruct: Given a statement, retrieve articles that support it.
Query: 
A concluded the contract with B that A leases his/her two-storied building "X" at a charge of 500,000 yen a month, and delivered the building "X" to B.
After that, B concluded the contract with C that B subleases the building "X" at a charge of 500,000 yen a month with obtaining the approval of A, and delivered the building "X" to C.
After a while, C became unable to use the second story of the building "X" due to the leak caused by defect of the roof.
C may demand B to repair the defect of the roof of the building "X".


Article 613
(1) If a lessee lawfully subleases a leased thing, the sublessee is liable to perform an obligation based on the sublease directly to the lessor, to the extent of the scope of the lessee's obligation based on the lease between the lessor and the lessee. In such a case, advance payment of rent may not be duly asserted against the lessor.
(2) The provisions of the preceding paragraph do not preclude the lessor from exercising rights against the lessee.
(3) If the lessee lawfully subleases a leased thing, the lessor may not duly assert against the sublessee the cancellation by agreement of the lease with the lessee;provided, however, that this does not apply if, at the time of the cancellation, the lessor has a right to cancel due to non-performance on the part of the lessee.
Article 601
A lease becomes effective if one of the parties promises to make a certain thing available for the other party to use and make profit, and the other party promises to pay rent for the leased thing and return the delivered thing when the contract is terminated.
Article 606
(1) A lessor assumes an obligation to effect repairs necessary for using and making profit of the leased thing;provided, however, that this does not apply if repairs are necessary due to any grounds attributable to the lessee.
(2) A lessee may not refuse if the lessor seeks to engage in an act that is necessary for the preservation of the leased thing..


Article 348
The pledgee may subpledge the thing pledged within the duration of the pledgee's right, upon the pledgee's own responsibility.In this case, the pledgee is responsible for any loss arising from the subpledge even if the same is caused by force majeure..


Article 611 (1) If it comes to no longer be possible to use or profit from part of a leased thing due to grounds such as loss and this is caused by grounds not attributable to the lessee, the rent is reduced in proportion to the value of the part that can no longer be used or profited from.


Article 395
(1) A person that uses or profits from a building subject to a mortgage by virtue of a lease that cannot be duly asserted against the mortgagee, and that is set forth as follows (in the following paragraph referred to as "mortgaged building user") is not required to deliver that building to the purchaser thereof until six months have passed from the time when the purchaser purchased that building at auction:
(i) a person that has been using or profiting from the building since prior to the commencement of auction procedures; or
(ii) a person that is using or profiting from the building by virtue of a lease given after the commencement of auction procedures by the administrator of compulsory administration or execution against earnings from immovable collateral.
(2) The provisions of the preceding paragraph do not apply if the purchaser, specifying a reasonable period of time, issues a notice to the mortgaged building user demanding payment of consideration for a period of one month or more with respect to the use of the building referred to in that paragraph that has been made after the time of purchase by the purchaser, and no payment is made within that reasonable period of time.
Article 703
A person that has benefited (hereinafter in this Chapter referred to as "beneficiary") from the property or labor of another person without legal cause and has thereby caused a loss to another person bears the duty to return that benefit, to the extent the benefit exists..


Article 599
(1) If the borrower attaches anything to the borrowed thing after receiving it, the borrower has an obligation to remove the attached thing when the loan for use is terminated;provided, however, that this does not apply to anything that is unable to be detached from the borrowed thing or that requires excessive expenses for the detachment.
(2) The borrower may remove anything that the borrower has attached to the borrowed thing after receiving it.
(3) If any damage is caused to the borrowed thing after the borrower receives it, the borrower has an obligation to restore the damaged thing when the loan for use is terminated;provided, however, that this does not apply if the damage is caused due to any grounds not attributable to the borrower.
Article 616
The provisions of Article 594, paragraph (1) apply mutatis mutandis to leases..


Article 634
In the following cases, if the party ordering work receives any benefit from the performance of any divisible portion of the outcome of the work that the contractor has already completed, that portion is deemed to be the completed work; in this case, the contractor may demand remuneration in proportion to the benefit to be received by the party ordering work:
(i) if the contractor is no longer able to complete the work due to any grounds not attributable to the party ordering work; or
(ii) if the contract for work is cancelled before the completion of work.
Article 536
(1) If the performance of an obligation becomes impossible due to grounds not attributable to either party, the obligee may refuse to perform counter-performance.
(2) If the performance of an obligation becomes impossible due to grounds attributable to the obligee, the obligee may not refuse to complete counter-performance. In such a case, if the obligor benefits from being released from that obligation, the obligor must reimburse the obligee for the benefit..


Article 389
(1) If a building is constructed on a mortgaged land after the creation of a mortgage, the mortgagee may auction the building together with the land;provided, however, that the right of priority of that mortgagee may be exercised solely against the proceeds of the land.
(2) The provisions of the preceding paragraph do not apply if the owner of that building has rights with respect to the possession of the mortgaged land that may be duly asserted against the mortgagee..


Article 562
(1) If the subject matter delivered to the buyer does not conform to the terms of the contract with respect to the kind, quality or quantity, the buyer may demand that the seller cure the non-conformity of performance by repairing the subject matter, delivering the substitute or delivering the replenishment;provided, however, that the seller may cure the non-conformity of performance by a method that is different from the method demanded by the buyer if it does not impose any undue burden on the buyer.
(2) If the non-conformity referred to in the preceding paragraph is due to grounds attributable to the buyer, the buyer may not demand that the seller cure the non-conformity of performance under the provisions of that paragraph.
Article 533
A party to a bilateral contract may refuse to perform that party's own obligation until the other party tenders the performance of that other party's obligation (including the performance of an obligation to compensate for loss or damage in lieu of the performance of an obligation);provided, however, that this does not apply if the obligation of the other party is not yet due..


Article 474
(1) A third party may also perform an obligation.
(2) A third party that has no legitimate interest in performing an obligation may not perform the obligation against the will of the obligor;provided, however, that this does not apply if the obligee did not know that the performance is against the will of the obligor.
(3) The third party prescribed in the preceding paragraph may not perform the obligation against the will of the obligee;provided, however, that this does not apply if the third party performs the obligation as requested by the obligor, and the obligee knew this.
(4) The provisions of the preceding three paragraphs do not apply if the nature of an obligation does not permit the performance by a third party or if a party manifests the intention to prohibit or restrict the performance by a third party.
Article 494
(1) In the following cases, a performer may deposit the subject matter of the performance with an official depository for the benefit of the obligee. In such a case, the claim is extinguished when the performer makes the deposit:
(i) the performer tenders the performance, and the obligee refuses to accept it; or
(ii) the obligee is unable to accept the performance.
(2) The preceding paragraph also applies if the performer is unable to ascertain the obligee;provided, however, that this does not apply if the performer is negligent in this respect..


Article 389
(1) If a building is constructed on a mortgaged land after the creation of a mortgage, the mortgagee may auction the building together with the land;provided, however, that the right of priority of that mortgagee may be exercised solely against the proceeds of the land.
(2) The provisions of the preceding paragraph do not apply if the owner of that building has rights with respect to the possession of the mortgaged land that may be duly asserted against the mortgagee..


Article 518
(1) To the extent of the amount of the obligation prior to the novation, the obligee (in the case of a novation by substitution of obligee, the obligee prior to the novation) may transfer the pledge or mortgage created as the security of that obligation to the obligation in effect after the novation;provided, however, that if any third party created that security, the consent of the third party must be obtained.
(2) The transfer of the pledge or mortgage referred to in the preceding paragraph must be effected by manifesting the intention to the other party to the novation (in the case of a novation by substitution of obligee, the obligor) in advance or upon the transfer..


Article 378
If a third party that purchases the ownership or superficies of a mortgaged immovables pays the price of the same to a mortgagee at the request of the same mortgagee, that mortgage is terminated for the benefit of that third party..


Article 595
(1) The borrower bears the ordinarily necessary expenses of borrowed thing.
(2) The provisions of Article 583, paragraph (2) apply mutatis mutandis to costs other than the ordinarily necessary expenses referred to in the preceding paragraph.
Article 608
(1) If a lessee has defrayed necessary expenses with respect to the leased thing which ought to be borne by the lessor, the lessee may immediately demand the reimbursement of the same from the lessor.
(2) If the lessee has incurred beneficial expenses with respect to the leased thing, the lessor must reimburse those expenses on termination of the lease in compliance with the provisions of Article 196, paragraph (2);provided, however, that the court may, at the lessor's request, grant a reasonable period of time for the reimbursement of the same..


Article 636
If the contractor delivers to the party ordering work of a content the subject matter of work that does not conform to the terms of the contract with respect to the kind or quality (in the case of the subject matter of work that is not required to be delivered, if the subject matter of work does not conform to the terms of the contract with respect to the kind or quality when the work is finished), the party ordering work may not demand cure of the non-conformity of performance, demand a reduction of the remuneration, claim compensation for loss or damage, or cancel the contract, on the grounds of the non-conformity caused by the nature of the materials that the party ordering work has provided or any instructions that the relevant party has given;provided, however, that this does not apply if the contractor knew that the materials or instructions were inappropriate but did not notify the ordering party of this..


Article 295
(1) If a possessor of a thing belonging to another person has a claim that has arisen in relation to that thing, that possessor may retain that thing until that claim is satisfied;provided, however, that this does not apply if the relevant claim has not yet fallen due.
(2) The provisions of the preceding paragraph do not apply if possession commenced by means of a tortious act.
Article 533
A party to a bilateral contract may refuse to perform that party's own obligation until the other party tenders the performance of that other party's obligation (including the performance of an obligation to compensate for loss or damage in lieu of the performance of an obligation);provided, however, that this does not apply if the obligation of the other party is not yet due..


Article 117
(1) A person who concludes a contract as an agent of another person is liable to the counterparty for the performance of the contract or compensation for loss or damage, as chosen by the counterparty, unless the person proves the authority to represent or the principal ratifies the contract.
(2) The provisions of the preceding paragraph do not apply in the following cases:
(i) if the counterparty knew that the person who concluded the contract as an agent of the other person had no authority to represent;
(ii) if the counterparty was negligent in not knowing that the person who concluded the contract as an agent of the other person had no authority to represent;provided, however, that this does not apply if the person who concluded a contract as an agent of the other person knew themselves to have no authority to represent; or
(iii) if the legal capacity to act of the person who concluded the contract as an agent of the other person was subject to restrictions..


Article 533
A party to a bilateral contract may refuse to perform that party's own obligation until the other party tenders the performance of that other party's obligation (including the performance of an obligation to compensate for loss or damage in lieu of the performance of an obligation);provided, however, that this does not apply if the obligation of the other party is not yet due..


Article 598
(1) In the case prescribed in paragraph (2) of the preceding Article, upon the passage of a period that is sufficient for the borrower to use and make profit from the borrowed thing in line with the purpose referred to in that paragraph, the lender may cancel the contract.
(2) If the parties do not specify a period of a loan for use or a purpose of using and making profit from the borrowed thing, the lender may cancel the contract at any time.
(3) The borrower may cancel the contract at any time..


Article 593
A loan for use becomes effective if one of the parties promises to deliver a certain thing, and the other party promises to return the thing when the contract is terminated after the other party gratuitously uses and makes profit of the borrowed thing..


Article 492
Upon tendering the performance, the obligor is relieved from any and all responsibilities which may arise from the non-performance of the obligation.
Article 493
The tender of the performance must be made actually consistent with the main purport of the obligation;provided, however, that if the obligee refuses to accept that performance in advance or if any act is required on the part of the obligee with respect to the performance of the obligation, it is sufficient for the obligor to request the acceptance thereof by giving a notice that the tender of the performance has been prepared..


Article 465-2
(1) A guarantor to a guarantee contract under which the principal obligation is one or more unidentified obligations within a certain specified scope (hereinafter referred to as a "contract for revolving guarantee") and the guarantor is not a corporation (hereinafter referred to as a "contract for revolving guarantee by an individual") is liable to perform the obligation in terms of the amounts of the principal of the principal obligation, any interest, penalty and compensation for loss or damage in connection with the principal obligation, and all the other charges secondary to the obligation, as well as the amount of any penalty or compensation for loss or damage which is agreed- upon on with regard to the guarantee obligation, up to a certain maximum amount which pertains to all of these amounts.
(2) A contract for revolving guarantee by an individual does not become effective unless it provides for the maximum amount prescribed in the preceding paragraph.
(3) The provisions of Article 446, paragraphs (2) and (3) apply mutatis mutandis to the provisions concerning a maximum amount prescribed in paragraph (1) in a contract for revolving guarantee by an individual..


Article 484
(1) Unless a particular intention is manifested with respect to the place where the performance should take place, the delivery of a specific thing must be effected at the place where that thing was located when the relevant claim accrued, and the discharge of any other obligation must be effected at the current domicile of the obligee.
(2) If the trading hours are specified by laws and regulations or customs, performance may be made or demanded only within the trading hours.
Article 401
(1) If the object of a claim is designated only with reference to a type and its quality cannot be determined in light of the nature of the juridical act or intention of the parties, the obligor must deliver a thing of medium quality.
(2) In the case referred to in the preceding paragraph, if the obligor has completed the acts necessary to deliver the thing, or has designated the thing the obligor is to deliver with the consent of the obligee, that thing thenceforth constitutes the subject matter of the claim..


Article 350
The provisions of Articles 296 through 300 and those of Article 304
apply mutatis mutandis to pledges.
Article 372
The provisions of Article 296, Article 304
and Article 351
apply mutatis mutandis to mortgages.
Article 304
(1) A statutory lien may also be exercised against things including monies that the obligor is to receive as a result of the sale, lease or loss of, or damage to, the subject matter of the statutory lien;provided, however, that the holder of the statutory lien must attach the same before the payment or delivery of the monies or other thing.
(2) The provisions of the preceding paragraph also apply to the consideration for real rights created by the obligor on the subject matter of the statutory lien..


Article 221
(1) A landowner may use a structure installed by the owner of higher or lower land in order to cause water from the landowner's land to pass through that land.
(2) In the cases referred to in the preceding paragraph, the person using the other person's structure must bear the expenses of the installation and preservation of the structure in proportion to the benefit that person enjoys..


Article 339
Statutory liens registered in accordance with the provisions of the preceding two Articles may be exercised prior to mortgages.
Article 338
(1) In order to preserve the effectiveness of statutory liens for construction work for immovables, the budgeted expenses of the construction work must be registered prior to the commencement of the same.In this case, if the expenses of the construction work exceed the budgeted amount, a statutory lien does not exist with respect to the amount in excess of the same.
(2) The amount of increase in value of immovables that resulted from construction work must be evaluated by an appraiser appointed by the court at the time of the participation in the distribution..
