<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="btoc-20260630.xsd" xlink:type="simple"/>
    <context id="cref_2001269522">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001972529</identifier>
            <segment>
                <xbrldi:typedMember dimension="ecd:RestatementDateAxis">
                    <ecd:RestatementDateAxis.domain>2026-06-30</ecd:RestatementDateAxis.domain>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-07-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <context id="cref_1519104906">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001972529</identifier>
        </entity>
        <period>
            <startDate>2025-07-01</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <dei:DocumentType contextRef="cref_1519104906" id="fc_1510954643">DEF 14A</dei:DocumentType>
    <dei:AmendmentFlag contextRef="cref_1519104906" id="ixv-3542">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey contextRef="cref_1519104906" id="ixv-3543">0001972529</dei:EntityCentralIndexKey>
    <dei:EntityRegistrantName contextRef="cref_1519104906" id="ixv-3562">Armlogi Holding Corp.</dei:EntityRegistrantName>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="cref_1519104906" id="ixv-3563">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
    <ecd:AwardTmgMnpiDiscTextBlock contextRef="cref_1519104906" id="ixv-2370">&lt;p style="margin: 0; padding: 0; border-width: 0; font-family: Times New Roman PS Std, serif; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: bold; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0px; orphans: 99; page-break-after: avoid; page-break-before: auto; text-align: justify; text-indent: 0; widows: 1;"&gt;&lt;span id="T99122" style="margin-top: 0px;;display: inline-block;"&gt;&lt;/span&gt;&lt;span style="font-style:normal;font-weight:bold;"&gt;&lt;/span&gt;&lt;span style="font-style:normal;font-weight:bold;"&gt;Outstanding Equity Awards at 2026 Fiscal Year End &lt;/span&gt;&lt;/p&gt;&lt;p style="margin: 0; padding: 0; border-width: 0; font-family: Times New Roman PS Std, serif; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0; margin-right: 0; margin-top: 8pt; orphans: 2; page-break-after: auto; page-break-before: auto; text-align: justify; text-indent: 0; widows: 3; padding-bottom: 0px;"&gt;None.&lt;/p&gt;</ecd:AwardTmgMnpiDiscTextBlock>
    <ecd:ErrCompAnalysisTextBlock contextRef="cref_2001269522" id="ixv-2390">&lt;p style="margin:0;padding:0;border-width:0;font-family:Times New Roman PS Std, serif;font-size:10pt;font-style:normal;font-variant:normal;font-weight:normal;margin-bottom:0;margin-left:0;margin-right:0;margin-top:8pt;orphans:2;page-break-after:auto;page-break-before:auto;text-align:justify;text-indent:0;widows:3;margin-top:8pt;"&gt;We have adopted a Compensation Recovery Policy effective as of January&#160;10, 2024 that complies with the Nasdaq&#x2019;s new clawback rules promulgated under the SEC&#x2019;s Rule&#160;10D&lt;span&gt;-1&lt;/span&gt;. Under this policy, the Compensation Committee must determine and recover the excess compensation related to all incentive&lt;span&gt;-based&lt;/span&gt; compensation that was paid to our executive officers based on financial statements that were subsequently restated. The policy provides that if the Compensation Committee determines that there has been a material restatement of publicly issued financial results from those previously issued to the public, the Compensation Committee will review all incentive&lt;span&gt;-based&lt;/span&gt; compensation made to executive officers during the three&lt;span&gt;-year&lt;/span&gt; period prior to the restatement. If such payments would have been lower had they been calculated based on such restated results, our Compensation Committee will recoup the payments in excess of the amount that would have been received had it been determined based on the restated amounts.&lt;/p&gt;&lt;p style="margin: 0; padding: 0; border-width: 0; font-family: Times New Roman PS Std, serif; font-size: 10pt; font-style: normal; font-variant: normal; font-weight: normal; margin-bottom: 0px; margin-left: 0; margin-right: 0; margin-top: 8pt; orphans: 2; page-break-after: auto; page-break-before: auto; text-align: justify; text-indent: 0; widows: 3; padding-bottom: 0px;"&gt;Additionally, the Sarbanes&lt;span&gt;-Oxley&lt;/span&gt; Act&#160;of&#160;2002 subjects incentive&lt;span&gt;-based&lt;/span&gt; compensation and stock sale profits of our CEO and CFO to forfeiture in the event of an accounting restatement resulting from any non&lt;span style="margin-bottom: 0px; padding-bottom: 0px;"&gt;-compliance&lt;/span&gt;, as a result of their misconduct, with any financial reporting requirement under securities laws.&lt;/p&gt;</ecd:ErrCompAnalysisTextBlock>
</xbrl>
