<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:jhmst="http://www.jhinvestments.com/20240715"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oef="http://xbrl.sec.gov/oef/2023"
  xmlns:srt="http://fasb.org/srt/2023"
  xmlns:us-gaap="http://fasb.org/us-gaap/2023"
  xmlns:utr="http://www.xbrl.org/2009/utr"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="jhmst-20240715.xsd" xlink:type="simple"/>
    <context id="D20220609_20240531_BloombergMunicipal1-5YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergMunicipal1-5YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-06-09</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D20220609_20240531_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-06-09</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D20220609_20240531_C000236445Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-06-09</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D20220609_20240531_C000236446Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-06-09</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D20220609_20240531_C000236446Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-06-09</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D20220609_20240531_C000236447Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-06-09</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D20220609_20240531_C000236447Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-06-09</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="D20220609_20240531_C000236448Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2022-06-09</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="DefaultContext">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_C000001874Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_C000001876Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_C000001877Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_C000001879Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FiveY2024_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2019-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_BloombergMunicipal1-5YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergMunicipal1-5YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000001874Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000001876Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000001877Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000001879Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000236445Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000236446Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000236446Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000236447Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000236447Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="FY2024_C000236448Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2023-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_C000001874Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_C000001876Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_C000001877Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_C000001879Member_WithoutSalesLoadMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:SalesLoadAxis">oef:WithoutSalesLoadMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TenY2024_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2014-06-01</startDate>
            <endDate>2024-05-31</endDate>
        </period>
    </context>
    <context id="TI20140531_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2014-05-31</instant>
        </period>
    </context>
    <context id="TI20140531_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2014-05-31</instant>
        </period>
    </context>
    <context id="TI20140531_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2014-05-31</instant>
        </period>
    </context>
    <context id="TI20140531_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2014-05-31</instant>
        </period>
    </context>
    <context id="TI20140531_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2014-05-31</instant>
        </period>
    </context>
    <context id="TI20140531_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2014-05-31</instant>
        </period>
    </context>
    <context id="TI20140531_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2014-05-31</instant>
        </period>
    </context>
    <context id="TI20140531_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2014-05-31</instant>
        </period>
    </context>
    <context id="TI20140531_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2014-05-31</instant>
        </period>
    </context>
    <context id="TI20140531_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2014-05-31</instant>
        </period>
    </context>
    <context id="TI20150531_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2015-05-31</instant>
        </period>
    </context>
    <context id="TI20150531_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2015-05-31</instant>
        </period>
    </context>
    <context id="TI20150531_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2015-05-31</instant>
        </period>
    </context>
    <context id="TI20150531_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2015-05-31</instant>
        </period>
    </context>
    <context id="TI20150531_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2015-05-31</instant>
        </period>
    </context>
    <context id="TI20150531_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2015-05-31</instant>
        </period>
    </context>
    <context id="TI20150531_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2015-05-31</instant>
        </period>
    </context>
    <context id="TI20150531_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2015-05-31</instant>
        </period>
    </context>
    <context id="TI20150531_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2015-05-31</instant>
        </period>
    </context>
    <context id="TI20150531_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2015-05-31</instant>
        </period>
    </context>
    <context id="TI20160531_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2016-05-31</instant>
        </period>
    </context>
    <context id="TI20160531_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2016-05-31</instant>
        </period>
    </context>
    <context id="TI20160531_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2016-05-31</instant>
        </period>
    </context>
    <context id="TI20160531_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2016-05-31</instant>
        </period>
    </context>
    <context id="TI20160531_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2016-05-31</instant>
        </period>
    </context>
    <context id="TI20160531_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2016-05-31</instant>
        </period>
    </context>
    <context id="TI20160531_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2016-05-31</instant>
        </period>
    </context>
    <context id="TI20160531_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2016-05-31</instant>
        </period>
    </context>
    <context id="TI20160531_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2016-05-31</instant>
        </period>
    </context>
    <context id="TI20160531_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2016-05-31</instant>
        </period>
    </context>
    <context id="TI20170531_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2017-05-31</instant>
        </period>
    </context>
    <context id="TI20170531_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2017-05-31</instant>
        </period>
    </context>
    <context id="TI20170531_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2017-05-31</instant>
        </period>
    </context>
    <context id="TI20170531_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2017-05-31</instant>
        </period>
    </context>
    <context id="TI20170531_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2017-05-31</instant>
        </period>
    </context>
    <context id="TI20170531_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2017-05-31</instant>
        </period>
    </context>
    <context id="TI20170531_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2017-05-31</instant>
        </period>
    </context>
    <context id="TI20170531_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2017-05-31</instant>
        </period>
    </context>
    <context id="TI20170531_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2017-05-31</instant>
        </period>
    </context>
    <context id="TI20170531_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2017-05-31</instant>
        </period>
    </context>
    <context id="TI20180531_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2018-05-31</instant>
        </period>
    </context>
    <context id="TI20180531_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2018-05-31</instant>
        </period>
    </context>
    <context id="TI20180531_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2018-05-31</instant>
        </period>
    </context>
    <context id="TI20180531_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2018-05-31</instant>
        </period>
    </context>
    <context id="TI20180531_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2018-05-31</instant>
        </period>
    </context>
    <context id="TI20180531_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2018-05-31</instant>
        </period>
    </context>
    <context id="TI20180531_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2018-05-31</instant>
        </period>
    </context>
    <context id="TI20180531_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2018-05-31</instant>
        </period>
    </context>
    <context id="TI20180531_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2018-05-31</instant>
        </period>
    </context>
    <context id="TI20180531_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2018-05-31</instant>
        </period>
    </context>
    <context id="TI20190531_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2019-05-31</instant>
        </period>
    </context>
    <context id="TI20190531_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2019-05-31</instant>
        </period>
    </context>
    <context id="TI20190531_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2019-05-31</instant>
        </period>
    </context>
    <context id="TI20190531_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2019-05-31</instant>
        </period>
    </context>
    <context id="TI20190531_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2019-05-31</instant>
        </period>
    </context>
    <context id="TI20190531_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2019-05-31</instant>
        </period>
    </context>
    <context id="TI20190531_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2019-05-31</instant>
        </period>
    </context>
    <context id="TI20190531_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2019-05-31</instant>
        </period>
    </context>
    <context id="TI20190531_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2019-05-31</instant>
        </period>
    </context>
    <context id="TI20190531_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2019-05-31</instant>
        </period>
    </context>
    <context id="TI20200531_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-05-31</instant>
        </period>
    </context>
    <context id="TI20200531_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-05-31</instant>
        </period>
    </context>
    <context id="TI20200531_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-05-31</instant>
        </period>
    </context>
    <context id="TI20200531_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-05-31</instant>
        </period>
    </context>
    <context id="TI20200531_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-05-31</instant>
        </period>
    </context>
    <context id="TI20200531_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-05-31</instant>
        </period>
    </context>
    <context id="TI20200531_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-05-31</instant>
        </period>
    </context>
    <context id="TI20200531_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-05-31</instant>
        </period>
    </context>
    <context id="TI20200531_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-05-31</instant>
        </period>
    </context>
    <context id="TI20200531_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2020-05-31</instant>
        </period>
    </context>
    <context id="TI20210531_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-05-31</instant>
        </period>
    </context>
    <context id="TI20210531_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-05-31</instant>
        </period>
    </context>
    <context id="TI20210531_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-05-31</instant>
        </period>
    </context>
    <context id="TI20210531_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-05-31</instant>
        </period>
    </context>
    <context id="TI20210531_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-05-31</instant>
        </period>
    </context>
    <context id="TI20210531_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-05-31</instant>
        </period>
    </context>
    <context id="TI20210531_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-05-31</instant>
        </period>
    </context>
    <context id="TI20210531_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-05-31</instant>
        </period>
    </context>
    <context id="TI20210531_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-05-31</instant>
        </period>
    </context>
    <context id="TI20210531_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2021-05-31</instant>
        </period>
    </context>
    <context id="TI20220531_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-05-31</instant>
        </period>
    </context>
    <context id="TI20220531_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-05-31</instant>
        </period>
    </context>
    <context id="TI20220531_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-05-31</instant>
        </period>
    </context>
    <context id="TI20220531_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-05-31</instant>
        </period>
    </context>
    <context id="TI20220531_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-05-31</instant>
        </period>
    </context>
    <context id="TI20220531_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-05-31</instant>
        </period>
    </context>
    <context id="TI20220531_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-05-31</instant>
        </period>
    </context>
    <context id="TI20220531_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-05-31</instant>
        </period>
    </context>
    <context id="TI20220531_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-05-31</instant>
        </period>
    </context>
    <context id="TI20220531_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-05-31</instant>
        </period>
    </context>
    <context id="TI20220609_BloombergMunicipal1-5YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergMunicipal1-5YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-06-09</instant>
        </period>
    </context>
    <context id="TI20220609_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-06-09</instant>
        </period>
    </context>
    <context id="TI20220609_C000236445Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-06-09</instant>
        </period>
    </context>
    <context id="TI20220609_C000236446Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-06-09</instant>
        </period>
    </context>
    <context id="TI20220609_C000236447Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-06-09</instant>
        </period>
    </context>
    <context id="TI20220609_C000236448Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2022-06-09</instant>
        </period>
    </context>
    <context id="TI20230531_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_BloombergMunicipal1-5YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergMunicipal1-5YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_C000236445Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_C000236446Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_C000236447Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20230531_C000236448Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2023-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_BloombergHighYieldMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergHighYieldMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_BloombergMunicipal1-5YearIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:AdditionalIndexAxis">jhmst:BloombergMunicipal1-5YearIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_BloombergMunicipalBondIndexMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:BroadBasedIndexAxis">jhmst:BloombergMunicipalBondIndexMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_CCCAndBelowMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:CCCAndBelowMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_CorporateBondSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CorporateBondSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_FacilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:FacilitiesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_GeneralObligationBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:GeneralObligationBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_MoodysAaaRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:MoodysAaaRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_NotRatedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:NotRatedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_OtherRevenueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:OtherRevenueMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_PollutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:PollutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_RevenueBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:RevenueBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_ShortTermInvestmentsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:ShortTermInvestmentsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_ShortTermInvestmentsQualityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:ShortTermInvestmentsQualityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_StandardPoorsAARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsAARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_StandardPoorsARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_StandardPoorsBBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_StandardPoorsBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_StandardPoorsBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_TobaccoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:TobaccoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001874Member_WaterAndSewerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001874Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:WaterAndSewerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_CCCAndBelowMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:CCCAndBelowMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_CorporateBondSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CorporateBondSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_FacilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:FacilitiesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_GeneralObligationBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:GeneralObligationBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_MoodysAaaRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:MoodysAaaRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_NotRatedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:NotRatedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_OtherRevenueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:OtherRevenueMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_PollutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:PollutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_RevenueBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:RevenueBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_ShortTermInvestmentsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:ShortTermInvestmentsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_ShortTermInvestmentsQualityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:ShortTermInvestmentsQualityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_StandardPoorsAARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsAARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_StandardPoorsARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_StandardPoorsBBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_StandardPoorsBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_StandardPoorsBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_TobaccoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:TobaccoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001876Member_WaterAndSewerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001876Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:WaterAndSewerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_CCCAndBelowMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:CCCAndBelowMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_ClosedEndFundsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:ClosedEndFundsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_CorporateBondSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CorporateBondSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_EquityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:EquityMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_FacilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:FacilitiesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_GeneralObligationBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:GeneralObligationBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_MoodysAaaRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:MoodysAaaRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_NotRatedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:NotRatedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_OtherRevenueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:OtherRevenueMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_PollutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:PollutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_RevenueBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:RevenueBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_StandardPoorsAARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsAARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_StandardPoorsARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_StandardPoorsBBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_StandardPoorsBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_StandardPoorsBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_TobaccoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:TobaccoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001877Member_WaterAndSewerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001877Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:WaterAndSewerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_CCCAndBelowMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:CCCAndBelowMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_ClosedEndFundsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:ClosedEndFundsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_CorporateBondSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CorporateBondSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_EquityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:EquityMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_FacilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:FacilitiesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_GeneralObligationBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:GeneralObligationBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_MoodysAaaRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:MoodysAaaRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_NotRatedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:NotRatedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_OtherRevenueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:OtherRevenueMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_PollutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:PollutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_RevenueBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:RevenueBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_StandardPoorsAARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsAARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_StandardPoorsARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_StandardPoorsBBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_StandardPoorsBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_StandardPoorsBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_TobaccoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:TobaccoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000001879Member_WaterAndSewerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000001879Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:WaterAndSewerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_CCCAndBelowMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:CCCAndBelowMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_CorporateBondSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CorporateBondSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_FacilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:FacilitiesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_GeneralObligationBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:GeneralObligationBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_MoodysAaaRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:MoodysAaaRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_NotRatedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:NotRatedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_OtherRevenueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:OtherRevenueMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_PollutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:PollutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_RevenueBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:RevenueBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_ShortTermInvestmentsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:ShortTermInvestmentsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_ShortTermInvestmentsQualityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:ShortTermInvestmentsQualityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_StandardPoorsAARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsAARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_StandardPoorsARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_StandardPoorsBBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_StandardPoorsBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_StandardPoorsBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_TobaccoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:TobaccoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178765Member_WaterAndSewerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178765Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:WaterAndSewerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_CCCAndBelowMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:CCCAndBelowMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_ClosedEndFundsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:ClosedEndFundsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_CorporateBondSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CorporateBondSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_EquityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:EquityMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_FacilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:FacilitiesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_GeneralObligationBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:GeneralObligationBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_MoodysAaaRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:MoodysAaaRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_NotRatedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:NotRatedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_OtherRevenueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:OtherRevenueMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_PollutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:PollutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_RevenueBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:RevenueBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_StandardPoorsAARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsAARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_StandardPoorsARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_StandardPoorsBBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_StandardPoorsBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_StandardPoorsBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_TobaccoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:TobaccoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000178766Member_WaterAndSewerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000178766Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:WaterAndSewerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_CCCAndBelowMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:CCCAndBelowMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_CorporateBondSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CorporateBondSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_FacilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:FacilitiesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_GeneralObligationBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:GeneralObligationBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_MoodysAaaRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:MoodysAaaRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_NotRatedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:NotRatedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_OtherRevenueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:OtherRevenueMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_PollutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:PollutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_RevenueBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:RevenueBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_ShortTermInvestmentsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:ShortTermInvestmentsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_ShortTermInvestmentsQualityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:ShortTermInvestmentsQualityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_StandardPoorsAARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsAARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_StandardPoorsARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_StandardPoorsBBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_StandardPoorsBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_StandardPoorsBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_TobaccoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:TobaccoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193018Member_WaterAndSewerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193018Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:WaterAndSewerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_CCCAndBelowMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:CCCAndBelowMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_ClosedEndFundsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:ClosedEndFundsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_CorporateBondSecuritiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:CorporateBondSecuritiesMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_EquityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:EquityMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_FacilitiesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:FacilitiesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_GeneralObligationBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:GeneralObligationBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_MoodysAaaRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:MoodysAaaRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_NotRatedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:NotRatedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_OtherRevenueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:OtherRevenueMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_PollutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:PollutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_RevenueBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:RevenueBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_StandardPoorsAARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsAARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_StandardPoorsARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_StandardPoorsBBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_StandardPoorsBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_StandardPoorsBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_TobaccoMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:TobaccoMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000193019Member_WaterAndSewerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000193019Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:WaterAndSewerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_CCCAndBelowMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:CCCAndBelowMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_GeneralObligationBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:GeneralObligationBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_MoodysAaaRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:MoodysAaaRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_NotRatedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:NotRatedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_OtherRevenueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:OtherRevenueMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_PollutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:PollutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_RevenueBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:RevenueBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_ShortTermInvestmentsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:ShortTermInvestmentsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_ShortTermInvestmentsQualityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:ShortTermInvestmentsQualityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_StandardPoorsAARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsAARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_StandardPoorsARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_StandardPoorsBBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_StandardPoorsBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_StandardPoorsBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236445Member_WaterAndSewerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236445Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:WaterAndSewerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_CCCAndBelowMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:CCCAndBelowMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_GeneralObligationBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:GeneralObligationBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_MoodysAaaRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:MoodysAaaRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_NotRatedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:NotRatedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_OtherRevenueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:OtherRevenueMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_PollutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:PollutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_RevenueBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:RevenueBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_ShortTermInvestmentsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:ShortTermInvestmentsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_ShortTermInvestmentsQualityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:ShortTermInvestmentsQualityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_StandardPoorsAARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsAARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_StandardPoorsARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_StandardPoorsBBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_StandardPoorsBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_StandardPoorsBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236446Member_WaterAndSewerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236446Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:WaterAndSewerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_CCCAndBelowMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:CCCAndBelowMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_GeneralObligationBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:GeneralObligationBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_MoodysAaaRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:MoodysAaaRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_NotRatedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:NotRatedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_OtherRevenueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:OtherRevenueMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_PollutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:PollutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_RevenueBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:RevenueBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_ShortTermInvestmentsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:ShortTermInvestmentsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_ShortTermInvestmentsQualityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:ShortTermInvestmentsQualityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_StandardPoorsAARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsAARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_StandardPoorsARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_StandardPoorsBBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_StandardPoorsBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_StandardPoorsBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236447Member_WaterAndSewerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236447Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:WaterAndSewerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_AirportMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:AirportMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_CCCAndBelowMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:CCCAndBelowMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_DevelopmentMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:DevelopmentMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_EducationMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:EducationMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_GeneralObligationBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:GeneralObligationBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_HealthcareSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:HealthcareSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_HousingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:HousingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_MoodysAaaRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:MoodysAaaRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_NotRatedMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:NotRatedMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_OtherRevenueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:OtherRevenueMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_PollutionMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:PollutionMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_RevenueBondsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">jhmst:RevenueBondsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_ShortTermInvestmentsMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:InvestmentTypeAxis">us-gaap:ShortTermInvestmentsMember</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_ShortTermInvestmentsQualityMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">jhmst:ShortTermInvestmentsQualityMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_StandardPoorsAARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsAARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_StandardPoorsARatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsARatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_StandardPoorsBBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_StandardPoorsBBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_StandardPoorsBRatingMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:CreditQualityAxis">srt:StandardPoorsBRatingMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_TransportationSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">us-gaap:TransportationSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_UtilitiesSectorMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">oef:UtilitiesSectorMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <context id="TI20240531_C000236448Member_WaterAndSewerMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000857769</identifier>
            <segment>
                <xbrldi:explicitMember dimension="oef:ClassAxis">jhmst:C000236448Member</xbrldi:explicitMember>
                <xbrldi:explicitMember dimension="oef:IndustrySectorAxis">jhmst:WaterAndSewerMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2024-05-31</instant>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="USD_shares">
        <divide>
            <unitNumerator>
                <measure>iso4217:USD</measure>
            </unitNumerator>
            <unitDenominator>
                <measure>shares</measure>
            </unitDenominator>
        </divide>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <unit id="Day">
        <measure>utr:D</measure>
    </unit>
    <unit id="Holding">
        <measure>jhmst:Holding</measure>
    </unit>
    <oef:AcctVal
      contextRef="TI20220531_C000001877Member"
      decimals="INF"
      id="h_000cea16_22fe_4328_a31e_73ed4f543122"
      unitRef="USD">11499.164452</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20160531_C000001876Member"
      decimals="INF"
      id="h_02845966_5c9d_444d_b29d_41d588ed4f59"
      unitRef="USD">11025.788379</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20180531_C000001879Member"
      decimals="INF"
      id="h_02de866d_4bff_469c_9405_5edf3b01c4b1"
      unitRef="USD">10825.155452</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_StandardPoorsBRatingMember"
      decimals="4"
      id="h_0432a44a_83f2_448f_b1f3_19bdfd3a6786"
      unitRef="pure">0.011</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_MoodysAaaRatingMember"
      decimals="4"
      id="h_05b84779_82ba_42e3_ba30_7cd00b844f63"
      unitRef="pure">0.011</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_StandardPoorsBBRatingMember"
      decimals="4"
      id="h_0636db66_2d9e_4e3d_a594_adfc73f01ca7"
      unitRef="pure">0.050</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20240531_C000236448Member"
      decimals="INF"
      id="h_066e5879_b42b_4f49_8939_eea57f76a3b0"
      unitRef="USD">270645.345038</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20230531_C000178765Member"
      decimals="INF"
      id="h_0783ffd9_90de_447c_b089_f6953ac0dceb"
      unitRef="USD">307567.686147</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20190531_C000193018Member"
      decimals="INF"
      id="h_08a55da5_d03c_4e76_b8d0_6e6c8c122c0b"
      unitRef="USD">1243027.835457</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20240531_C000236446Member"
      decimals="INF"
      id="h_0910a282_937d_4f25_84d8_a1324d258381"
      unitRef="USD">10551.400216</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20210531_C000193019Member"
      decimals="INF"
      id="h_09b8fec5_9959_4b29_b878_da191a1a4fc1"
      unitRef="USD">1294657.221622</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_StandardPoorsBBBRatingMember"
      decimals="4"
      id="h_0b8b258b_4c80_41ea_a55d_31f46c76091d"
      unitRef="pure">0.130</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_NotRatedMember"
      decimals="4"
      id="h_0b923021_0595_4796_9709_8ea603f904db"
      unitRef="pure">0.395</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20200531_BloombergMunicipalBondIndexMember"
      decimals="INF"
      id="h_0e324fc5_40f5_401d_af89_53012aef93bf"
      unitRef="USD">12398.978942</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_StandardPoorsBRatingMember"
      decimals="4"
      id="h_0f681a00_a01a_4076_875b_e9afb63e7183"
      unitRef="pure">0.015</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_MoodysAaaRatingMember"
      decimals="4"
      id="h_0ff5daba_e665_454a_b5ab_7b628b9d65bc"
      unitRef="pure">0.045</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20220609_C000236448Member"
      decimals="INF"
      id="h_1_0fb1cab1-e573-364c-bdf2-269e6eb7745f"
      unitRef="USD">250000</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20220609_C000236447Member"
      decimals="INF"
      id="h_1_98983107-9245-5f04-c1cf-4f583d7eb171"
      unitRef="USD">10000</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20220609_C000236446Member"
      decimals="INF"
      id="h_1_a29498d5-2aa6-1bdc-2bc9-f2816e9b0c86"
      unitRef="USD">9775</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20220609_C000236445Member"
      decimals="INF"
      id="h_1_ebfc03ee-d545-9aa7-817f-646bdbc174d9"
      unitRef="USD">1000000</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_CCCAndBelowMember"
      decimals="4"
      id="h_11e80f0f_ecb4_478e_b6bd_6c0c5c3b4c01"
      unitRef="pure">0.010</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_CCCAndBelowMember"
      decimals="4"
      id="h_138ce794_4cd5_4b7c_9300_5312f4b077fb"
      unitRef="pure">0.002</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_NotRatedMember"
      decimals="4"
      id="h_14fcfcdd_fe0c_4003_afae_36c951c4a4ff"
      unitRef="pure">0.136</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_StandardPoorsBRatingMember"
      decimals="4"
      id="h_169652f4_3806_43a6_9043_7a89dcf7e4d6"
      unitRef="pure">0.011</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20230531_BloombergMunicipal1-5YearIndexMember"
      decimals="INF"
      id="h_17122973_019a_4c51_a938_e6b684dc0c4d"
      unitRef="USD">9999.5256</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_StandardPoorsARatingMember"
      decimals="4"
      id="h_17afda9e_740b_4fe7_bb57_7ff642bb4ad0"
      unitRef="pure">0.083</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20220531_C000178766Member"
      decimals="INF"
      id="h_18b3ea6d_dbe3_4aef_a44f_7400f2321213"
      unitRef="USD">302461.105682</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_StandardPoorsBBBRatingMember"
      decimals="4"
      id="h_18c5ce7a_3e53_4302_9959_a6b01eeb26fe"
      unitRef="pure">0.130</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20240531_C000001876Member"
      decimals="INF"
      id="h_18e0c129_8b1e_4de2_8a9e_c3bc6b3705aa"
      unitRef="USD">12117.980492</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_NotRatedMember"
      decimals="4"
      id="h_19b68033_ecf4_40b2_bcd9_b4832f091a86"
      unitRef="pure">0.395</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20210531_C000001876Member"
      decimals="INF"
      id="h_1a011a37_5d8f_4ca4_a896_71f8f48671fb"
      unitRef="USD">13200.698246</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20150531_C000001876Member"
      decimals="INF"
      id="h_1b7cf381_0a66_445a_aca3_201fbf8c88d0"
      unitRef="USD">10416.1176</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20200531_C000178766Member"
      decimals="INF"
      id="h_1db51942_c94f_497b_b2f9_39ebbfd2e5e9"
      unitRef="USD">296346.020221</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20200531_BloombergHighYieldMunicipalBondIndexMember"
      decimals="INF"
      id="h_1f332c7d_23c4_40af_b59a_c0adf258f72e"
      unitRef="USD">12986.19566</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_CCCAndBelowMember"
      decimals="4"
      id="h_1fbd9553_1819_47fc_9c75_e45d40ea02d0"
      unitRef="pure">0.002</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20220609_BloombergMunicipalBondIndexMember"
      decimals="INF"
      id="h_2_747821da-e3e6-e565-3510-da7460194910"
      unitRef="USD">10000</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_StandardPoorsARatingMember"
      decimals="4"
      id="h_21f762ec_e6ac_4bf4_8287_8fc93c48c310"
      unitRef="pure">0.396</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_CCCAndBelowMember"
      decimals="4"
      id="h_21fac096_6b62_4082_b93a_c0dfa7ba8ee1"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_EquityMember"
      decimals="4"
      id="h_22ba91e2_6542_4e1a_a2b7_11cded02d839"
      unitRef="pure">0.003</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20150531_C000001879Member"
      decimals="INF"
      id="h_2391e9ea_0da0_424f_96fb_085e1186f076"
      unitRef="USD">10308.021</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_NotRatedMember"
      decimals="4"
      id="h_23a47566_bc89_43fd_8d8b_dc5a09bcb7e6"
      unitRef="pure">0.101</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20140531_C000193018Member"
      decimals="INF"
      id="h_25649278_b195_4f20_a110_1ca936bbb7e7"
      unitRef="USD">1000000</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_EquityMember"
      decimals="4"
      id="h_285d2eb8_6eee_45f7_aae1_390cdb064dec"
      unitRef="pure">0.003</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20170531_BloombergHighYieldMunicipalBondIndexMember"
      decimals="INF"
      id="h_29ba2755_0597_4679_835b_ba8bca5478e5"
      unitRef="USD">11597.154296</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_ShortTermInvestmentsQualityMember"
      decimals="4"
      id="h_2b065173_c0e5_44a3_b2d3_bebf97464fb3"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20170531_BloombergMunicipalBondIndexMember"
      decimals="INF"
      id="h_2df02d36_3a56_4c3c_b48f_9196f03e61fe"
      unitRef="USD">11083.416026</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20220609_BloombergMunicipal1-5YearIndexMember"
      decimals="INF"
      id="h_3_61f3ff2b-d70f-9203-e773-9884e04683a1"
      unitRef="USD">10000</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20210531_C000001874Member"
      decimals="INF"
      id="h_305b9c66_ce2e_4c8c_b8b1_0497a522871f"
      unitRef="USD">13353.665771</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20190531_C000001874Member"
      decimals="INF"
      id="h_32edbd67_6641_4784_9446_7f98d77b56ef"
      unitRef="USD">11881.431939</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20170531_C000001879Member"
      decimals="INF"
      id="h_33b0c732_4abc_4880_a743_612c01b1b094"
      unitRef="USD">10732.697662</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20230531_BloombergMunicipalBondIndexMember"
      decimals="INF"
      id="h_3427abeb_3697_404b_8694_6b2f61d64464"
      unitRef="USD">10067.2179</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_StandardPoorsAARatingMember"
      decimals="4"
      id="h_34f2898d_928c_4afc_a975_5134ba66cb60"
      unitRef="pure">0.280</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_NotRatedMember"
      decimals="4"
      id="h_38860732_efc8_4132_aeae_369a54237a22"
      unitRef="pure">0.395</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_CCCAndBelowMember"
      decimals="4"
      id="h_38a0eeae_cf7a_48de_a7a1_5616ebbc42db"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_CCCAndBelowMember"
      decimals="4"
      id="h_38bb777d_a3e3_45b7_9338_eeda0845c393"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20240531_C000178765Member"
      decimals="INF"
      id="h_3923de90_e5c7_4fc4_8765_b5daa881d22f"
      unitRef="USD">330484.735907</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20160531_C000178766Member"
      decimals="INF"
      id="h_3afad009_97aa_47a7_b614_1b2860feafff"
      unitRef="USD">273214.659569</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_StandardPoorsBBBRatingMember"
      decimals="4"
      id="h_3cfc9461_9d70_48d1_be23_419790aac38f"
      unitRef="pure">0.136</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_StandardPoorsBBRatingMember"
      decimals="4"
      id="h_3db600cd_5f86_4574_ae8a_d9a8430c95f7"
      unitRef="pure">0.065</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_StandardPoorsARatingMember"
      decimals="4"
      id="h_3e9d6b59_c39b_4154_b78c_b6ca92be03be"
      unitRef="pure">0.396</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_StandardPoorsAARatingMember"
      decimals="4"
      id="h_3ed261a6_5260_437b_9dd8_2a8790d3fd80"
      unitRef="pure">0.280</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20190531_BloombergHighYieldMunicipalBondIndexMember"
      decimals="INF"
      id="h_435003a2_8366_4bfc_aca2_aa68b52030bf"
      unitRef="USD">13294.17027</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_MoodysAaaRatingMember"
      decimals="4"
      id="h_44d999bc_de10_48cd_b707_483390b8d800"
      unitRef="pure">0.045</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_MoodysAaaRatingMember"
      decimals="4"
      id="h_455f41b2_8137_4947_a58f_bedce05f593a"
      unitRef="pure">0.011</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_StandardPoorsAARatingMember"
      decimals="4"
      id="h_47ab94fc_9214_4993_b07f_22ca6425f49f"
      unitRef="pure">0.038</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20170531_C000001876Member"
      decimals="INF"
      id="h_47b807b2_1c32_4eb4_8f58_e4a4834468b6"
      unitRef="USD">11026.252124</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20160531_C000193019Member"
      decimals="INF"
      id="h_486f8a21_9e58_406b_996d_817abfecd99d"
      unitRef="USD">1092858.638276</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20230531_C000193018Member"
      decimals="INF"
      id="h_48d7280e_9aec_4707_8a3d_fea26f958c42"
      unitRef="USD">1231788.283502</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20150531_BloombergHighYieldMunicipalBondIndexMember"
      decimals="INF"
      id="h_493872b3_aac4_4626_8105_69445272e4b9"
      unitRef="USD">10589.0663</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20180531_C000001876Member"
      decimals="INF"
      id="h_4986543b_2fd2_4e1f_8186_54eec545c72c"
      unitRef="USD">11332.674978</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_StandardPoorsBBBRatingMember"
      decimals="4"
      id="h_4a543303_5eec_4bf4_a296_5762deeb9c81"
      unitRef="pure">0.225</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_StandardPoorsBBBRatingMember"
      decimals="4"
      id="h_4b1a23e7_7c4d_439c_9673_b3bb24ce932e"
      unitRef="pure">0.130</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_StandardPoorsARatingMember"
      decimals="4"
      id="h_4d002df8_1a5f_4909_a718_964090bb3659"
      unitRef="pure">0.372</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20160531_C000178765Member"
      decimals="INF"
      id="h_4f298e11_6d67_4a83_ab3e_5675c94d9734"
      unitRef="USD">279792.401833</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_StandardPoorsBBRatingMember"
      decimals="4"
      id="h_50aef0a5_13c0_4681_9837_0ddbcf34f498"
      unitRef="pure">0.050</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20230531_BloombergHighYieldMunicipalBondIndexMember"
      decimals="INF"
      id="h_50eea9a6_e2f4_401c_929a_381a525242d2"
      unitRef="USD">13976.564753</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_StandardPoorsARatingMember"
      decimals="4"
      id="h_513497de_fad0_4a15_b1f0_f120993869a3"
      unitRef="pure">0.396</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_StandardPoorsBBRatingMember"
      decimals="4"
      id="h_516487a2_144a_4caf_8ee8_7cf1761f20ee"
      unitRef="pure">0.065</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20200531_C000001877Member"
      decimals="INF"
      id="h_52007d84_081c_4763_9eab_280dbf9fa417"
      unitRef="USD">11301.392757</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_StandardPoorsBBBRatingMember"
      decimals="4"
      id="h_524ecaa3_22e7_4d62_82e0_674e9a24f099"
      unitRef="pure">0.136</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20230531_C000001879Member"
      decimals="INF"
      id="h_52f3e98f_8b7a_4d4d_a1b0_4317741ab34e"
      unitRef="USD">11159.413321</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20150531_C000001874Member"
      decimals="INF"
      id="h_533fcebd_6aec_4c70_b80e_2b7484bd6536"
      unitRef="USD">10074.415104</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20160531_BloombergMunicipalBondIndexMember"
      decimals="INF"
      id="h_53763bf5_13df_4fd0_91bd_c0f613fc8d32"
      unitRef="USD">10924.019291</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20160531_BloombergHighYieldMunicipalBondIndexMember"
      decimals="INF"
      id="h_5484988b_0ee5_4a98_ab76_1a9b49ee74fd"
      unitRef="USD">11087.241313</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20220531_C000001876Member"
      decimals="INF"
      id="h_5717d6f7_e600_4da0_bcec_dcef640d22b0"
      unitRef="USD">11918.542675</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20160531_C000193018Member"
      decimals="INF"
      id="h_571bfd56_c333_4e06_b7e4_367af0ac9296"
      unitRef="USD">1119169.607333</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20180531_C000178765Member"
      decimals="INF"
      id="h_57592784_7ed4_4f7a_8e70_2d61fd7b1f71"
      unitRef="USD">292777.737151</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_MoodysAaaRatingMember"
      decimals="4"
      id="h_580498bc_7ab4_45d4_80ec_bbc3e19556e7"
      unitRef="pure">0.011</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20150531_C000178766Member"
      decimals="INF"
      id="h_58c10fb9_3f16_4413_bbb2_b17fab6eba46"
      unitRef="USD">259378.4975</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20190531_C000001876Member"
      decimals="INF"
      id="h_59038b5b_4d3d_42ff_9c51_aa3c0cd312b5"
      unitRef="USD">11922.428404</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_CCCAndBelowMember"
      decimals="4"
      id="h_591b2ab3_da7d_45b1_8ac1_fbdb6eb9ee5d"
      unitRef="pure">0.010</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_StandardPoorsBRatingMember"
      decimals="4"
      id="h_5a6c6b1a_b683_4152_85c9_f2311a503a34"
      unitRef="pure">0.015</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_StandardPoorsBRatingMember"
      decimals="4"
      id="h_5ba9cdac_47c5_417f_8441_03392cd87b46"
      unitRef="pure">0.015</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20170531_C000178765Member"
      decimals="INF"
      id="h_5bb965c5_efde_4454_a49e_e518ba2a23c4"
      unitRef="USD">282351.324384</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20230531_C000178766Member"
      decimals="INF"
      id="h_5c135ad4_2259_4160_8a90_8eaafd404132"
      unitRef="USD">301276.785952</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_StandardPoorsAARatingMember"
      decimals="4"
      id="h_5c13c4a8_fbc6_4b00_9374_d10abaad7e3a"
      unitRef="pure">0.038</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20230531_C000236448Member"
      decimals="INF"
      id="h_5c1b9e3b_ee6a_42b2_bb4d_93fe5b411119"
      unitRef="USD">254564.9075</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_StandardPoorsARatingMember"
      decimals="4"
      id="h_60bc901b_79e4_408a_96c8_cb9af9c3e661"
      unitRef="pure">0.372</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20210531_C000178766Member"
      decimals="INF"
      id="h_61a92736_5348_4ef2_a410_bc14d63889a9"
      unitRef="USD">324155.521935</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_NotRatedMember"
      decimals="4"
      id="h_627cdb4d_56e1_4175_9464_65912946bd91"
      unitRef="pure">0.101</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20240531_C000001879Member"
      decimals="INF"
      id="h_633864e5_9497_47c3_b8d1_01c553f50514"
      unitRef="USD">11478.887461</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_StandardPoorsARatingMember"
      decimals="4"
      id="h_64bfebe6_3371_4207_9aab_6342fe2b69af"
      unitRef="pure">0.083</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20180531_C000001877Member"
      decimals="INF"
      id="h_68496ecf_3b07_4a91_ad1e_a92cdc50cb20"
      unitRef="USD">10697.381011</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20240531_BloombergMunicipalBondIndexMember"
      decimals="INF"
      id="h_6a9a81d0_71ff_4f81_ad62_8c0f69977b72"
      unitRef="USD">10336.295708</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_StandardPoorsBBBRatingMember"
      decimals="4"
      id="h_6cf3e757_9d84_4834_aef1_ac42cc2b5916"
      unitRef="pure">0.225</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20170531_C000193018Member"
      decimals="INF"
      id="h_6dbc2613_86da_4daa_8514_3ff5dc5cf972"
      unitRef="USD">1127631.066766</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_ShortTermInvestmentsQualityMember"
      decimals="4"
      id="h_6ee879ae_1fd3_45c9_9012_20aeb1815ddd"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_StandardPoorsARatingMember"
      decimals="4"
      id="h_6fac3c42_be48_4271_9ed9_7b03c14fe126"
      unitRef="pure">0.083</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_EquityMember"
      decimals="4"
      id="h_7102d12a_ad4d_42f4_a157_8b5822cedf27"
      unitRef="pure">0.003</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_StandardPoorsBRatingMember"
      decimals="4"
      id="h_724e4fe9_62b9_4096_83af_8a959b7a3b6a"
      unitRef="pure">0.016</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_StandardPoorsBBBRatingMember"
      decimals="4"
      id="h_744968bf_b625_4f34_91cd_837c24181951"
      unitRef="pure">0.136</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_StandardPoorsAARatingMember"
      decimals="4"
      id="h_7522bf1a_eae1_49f5_b8e3_6cec915f25fc"
      unitRef="pure">0.229</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20170531_C000001877Member"
      decimals="INF"
      id="h_76e8e244_c70b_4d87_a4d9_80a264f50411"
      unitRef="USD">10526.855324</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20210531_C000178765Member"
      decimals="INF"
      id="h_7797225f_6fa3_43da_a85d_81cf2a76b438"
      unitRef="USD">350322.937458</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20150531_C000193019Member"
      decimals="INF"
      id="h_77d07f9f_649d_47b4_aa96_9137b0735358"
      unitRef="USD">1037513.99</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_StandardPoorsBBRatingMember"
      decimals="4"
      id="h_79dda180_4426_4172_b62d_fdb3d1e2f1e5"
      unitRef="pure">0.065</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20150531_C000193018Member"
      decimals="INF"
      id="h_7afe446b_5707_4f47_94c1_f71ea869b7e2"
      unitRef="USD">1049418.24</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_StandardPoorsAARatingMember"
      decimals="4"
      id="h_7b67c845_326f_47a0_8e4a_a3a8312964f6"
      unitRef="pure">0.038</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20180531_C000193018Member"
      decimals="INF"
      id="h_7d2b24c2_7f96_4a84_8bb6_003e5fa682c8"
      unitRef="USD">1169202.561752</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20220531_C000193019Member"
      decimals="INF"
      id="h_7d91559a_7ad4_45e8_b0a3_71798d2c45b2"
      unitRef="USD">1208404.0115</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20210531_BloombergMunicipalBondIndexMember"
      decimals="INF"
      id="h_7e3d2d54_4ff4_4d98_9c49_c5e14a35f654"
      unitRef="USD">12986.116223</oef:AcctVal>
    <oef:PctOfNav
      contextRef="TI20240531_C000001874Member_MoodysAaaRatingMember"
      decimals="4"
      id="h_8144aed3_c3a3_4cb1_807e_e1890589757d"
      unitRef="pure">0.030</oef:PctOfNav>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_CCCAndBelowMember"
      decimals="4"
      id="h_815fc6c6_5d2a_4060_9b53_e4e1be4871d3"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_MoodysAaaRatingMember"
      decimals="4"
      id="h_82290d56_b198_4be2_8b43_c078c0d10fdb"
      unitRef="pure">0.030</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_CCCAndBelowMember"
      decimals="4"
      id="h_82d91528_8732_4df1_bd2c_dba9fb84a080"
      unitRef="pure">0.010</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20180531_C000001874Member"
      decimals="INF"
      id="h_8538a9a3_90e5_4aa2_8ae0_b35eab7c48cf"
      unitRef="USD">11209.631335</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_ShortTermInvestmentsQualityMember"
      decimals="4"
      id="h_855f3c12_7723_464e_a3c7_bb99d064cb7f"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20210531_C000193018Member"
      decimals="INF"
      id="h_856acc70_f008_431e_99f6_d891874c63f0"
      unitRef="USD">1401927.258205</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20140531_C000178766Member"
      decimals="INF"
      id="h_860da061_5e02_42b7_b704_e31a294a7e2d"
      unitRef="USD">250000</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20170531_C000001874Member"
      decimals="INF"
      id="h_87f814c1_9f85_40c9_b106_5a8fd1e5e45c"
      unitRef="USD">10825.258241</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20180531_C000178766Member"
      decimals="INF"
      id="h_8889eee5_a08f_4940_a33c_3441cafb89a3"
      unitRef="USD">279377.359349</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_MoodysAaaRatingMember"
      decimals="4"
      id="h_88bb17d8_b773_45e8_85cf_eb52c3f50503"
      unitRef="pure">0.030</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_ShortTermInvestmentsQualityMember"
      decimals="4"
      id="h_8957f291_2173_454b_b033_5123e15f5fc7"
      unitRef="pure">0.018</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20240531_C000001877Member"
      decimals="INF"
      id="h_8aa0937f_b8fb_4bd6_9215_75995e9f85de"
      unitRef="USD">11865.429419</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20140531_C000001879Member"
      decimals="INF"
      id="h_8b38fad1_3365_46c2_9878_5720f08529a1"
      unitRef="USD">10000</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_StandardPoorsAARatingMember"
      decimals="4"
      id="h_8d3f1710_444c_4a12_bc16_3a6be9dab016"
      unitRef="pure">0.280</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20220531_C000193018Member"
      decimals="INF"
      id="h_8fce4753_6bdd_4a09_beac_0acd8fd8dfff"
      unitRef="USD">1278067.265328</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20220531_C000001874Member"
      decimals="INF"
      id="h_950f814c_348d_46cc_bc60_fdf9b0fe5729"
      unitRef="USD">12147.773132</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_CCCAndBelowMember"
      decimals="4"
      id="h_9552bfd3_db5f_4240_84cf_7c5299e2105b"
      unitRef="pure">0.010</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20240531_BloombergMunicipal1-5YearIndexMember"
      decimals="INF"
      id="h_95c1a9c9_179c_460a_b285_c527244bc90c"
      unitRef="USD">10252.634992</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20170531_C000193019Member"
      decimals="INF"
      id="h_96a99097_79b5_4285_ab47_03626852023d"
      unitRef="USD">1096547.429609</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_StandardPoorsARatingMember"
      decimals="4"
      id="h_98a9bcbf_5526_4fcc_a2ce_69700ef63c57"
      unitRef="pure">0.083</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20240531_C000193018Member"
      decimals="INF"
      id="h_991016bd_0cf1_4fac_809c_1910b9b0d228"
      unitRef="USD">1321767.646088</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20210531_BloombergHighYieldMunicipalBondIndexMember"
      decimals="INF"
      id="h_99ec54ee_e487_4e5d_9d55_81e3d486f98e"
      unitRef="USD">15242.165751</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_StandardPoorsBRatingMember"
      decimals="4"
      id="h_9b16d01e_e24c_4ed9_b301_53b3d12215a9"
      unitRef="pure">0.016</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20190531_C000193019Member"
      decimals="INF"
      id="h_9cd53085_b758_48fc_991a_8d7dfb07c5e5"
      unitRef="USD">1179931.161326</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_StandardPoorsAARatingMember"
      decimals="4"
      id="h_9ec43cd2_0615_46e6_9223_d8aa2659e06b"
      unitRef="pure">0.229</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20190531_C000178766Member"
      decimals="INF"
      id="h_9ee64142_b0bc_4855_acf2_95c4d09a6f6b"
      unitRef="USD">295314.021747</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20210531_C000001877Member"
      decimals="INF"
      id="h_a000d44e_b909_4afd_a66e_e4a9b8133be2"
      unitRef="USD">12357.086707</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20210531_C000001879Member"
      decimals="INF"
      id="h_a0994db2_f674_4e2f_8a10_65c78be2d050"
      unitRef="USD">12215.178615</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20240531_C000178766Member"
      decimals="INF"
      id="h_a102a04a_88c8_473f_abce_e152859352b3"
      unitRef="USD">312702.798442</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20230531_C000236445Member"
      decimals="INF"
      id="h_a2be1936_117e_48db_8db3_679814dec8fd"
      unitRef="USD">1018431.84</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20190531_C000001879Member"
      decimals="INF"
      id="h_a629414d_437b_4e30_b36e_95494f351b74"
      unitRef="USD">11340.793004</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20140531_BloombergMunicipalBondIndexMember"
      decimals="INF"
      id="h_a82376cc_58c6_464c_8962_f413f13a4407"
      unitRef="USD">10000</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20170531_C000178766Member"
      decimals="INF"
      id="h_a8dc4848_f7d7_49ae_a373_0a6d6ad75e65"
      unitRef="USD">274510.019449</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_MoodysAaaRatingMember"
      decimals="4"
      id="h_ab781bc5_dc93_4096_a8ba_9ca750791874"
      unitRef="pure">0.030</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_StandardPoorsBRatingMember"
      decimals="4"
      id="h_ad8905e9_e209_4680_9a8e_badf53498382"
      unitRef="pure">0.016</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_NotRatedMember"
      decimals="4"
      id="h_afb1a517_ddab_412d_a50b_4e49df00bc68"
      unitRef="pure">0.136</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_ShortTermInvestmentsQualityMember"
      decimals="4"
      id="h_b03052e3_1e07_4dff_86ec_70b85dfa5c3a"
      unitRef="pure">0.018</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20140531_BloombergHighYieldMunicipalBondIndexMember"
      decimals="INF"
      id="h_b1fe4a27_578b_4526_b726_3ae90500de22"
      unitRef="USD">10000</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20200531_C000178765Member"
      decimals="INF"
      id="h_b2c3ad21_27e4_4f9a_af47_f3e489145b7b"
      unitRef="USD">299452.021976</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20240531_BloombergHighYieldMunicipalBondIndexMember"
      decimals="INF"
      id="h_b4be7038_957d_4dac_929b_f7779a4a9111"
      unitRef="USD">15121.005568</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20150531_BloombergMunicipalBondIndexMember"
      decimals="INF"
      id="h_b4e0767d_53b2_4f88_951e_81f95c1ee20b"
      unitRef="USD">10318.2155</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_StandardPoorsARatingMember"
      decimals="4"
      id="h_b5af6552_9d9c_4e30_8ac6_bacfef74d88d"
      unitRef="pure">0.372</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_StandardPoorsBRatingMember"
      decimals="4"
      id="h_b6f5aa8b_05b4_452f_a73b_038ec9552578"
      unitRef="pure">0.011</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20180531_BloombergHighYieldMunicipalBondIndexMember"
      decimals="INF"
      id="h_b8f400cc_786f_40f6_bc75_c27361ea2913"
      unitRef="USD">12336.648927</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_ShortTermInvestmentsQualityMember"
      decimals="4"
      id="h_b916eb11_79f3_4da3_b483_cc78734e9ee1"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20160531_C000001879Member"
      decimals="INF"
      id="h_b9fbe442_e819_4d49_9c6d_6b9cfef0501d"
      unitRef="USD">10777.05451</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_NotRatedMember"
      decimals="4"
      id="h_bac0b2c5_3966_45a5_bbb8_1a1a50c47096"
      unitRef="pure">0.395</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_StandardPoorsBBRatingMember"
      decimals="4"
      id="h_bba58bce_f034_4e1a_b1bb_724b9cc52e59"
      unitRef="pure">0.187</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_StandardPoorsARatingMember"
      decimals="4"
      id="h_bc5552c9_673c_4d9f_aa65_f38864e8ebe2"
      unitRef="pure">0.372</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_StandardPoorsAARatingMember"
      decimals="4"
      id="h_bcda31c1_b153_4bf1_a0fb_9cc7dff7558e"
      unitRef="pure">0.038</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20160531_C000001877Member"
      decimals="INF"
      id="h_bd55ab73_4718_48e5_9c9f_e41701a66093"
      unitRef="USD">10491.442927</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20230531_C000236447Member"
      decimals="INF"
      id="h_bfc2b4bf_e276_4413_a155_8f871c7afc53"
      unitRef="USD">10094.32116</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20200531_C000193018Member"
      decimals="INF"
      id="h_c08137b6_9e94_47eb_8689_284f030e9248"
      unitRef="USD">1198166.960875</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20160531_C000001874Member"
      decimals="INF"
      id="h_c5a5f1be_a152_4191_8f3c_9fb61dca9cf7"
      unitRef="USD">10744.02823</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20230531_C000001876Member"
      decimals="INF"
      id="h_c5bd54eb_90d5_4dcc_8bac_377e570954be"
      unitRef="USD">11378.902885</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20200531_C000001876Member"
      decimals="INF"
      id="h_c616734e_3cc8_4567_9926_7a25d7ab513a"
      unitRef="USD">11383.702269</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20190531_BloombergMunicipalBondIndexMember"
      decimals="INF"
      id="h_c98daec5_2c1b_422c_990a_8751f2ad2e11"
      unitRef="USD">11924.606872</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20220531_C000001879Member"
      decimals="INF"
      id="h_cbc7ee23_cc37_4443_ad1f_8974d559baf6"
      unitRef="USD">11293.040367</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_StandardPoorsAARatingMember"
      decimals="4"
      id="h_cce8bd71_43cb_422b_96e4_2d936d98bdf2"
      unitRef="pure">0.280</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20240531_C000236445Member"
      decimals="INF"
      id="h_cd244fcd_c99f_4547_9e1b_775fa358d2d7"
      unitRef="USD">1082917.569226</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20140531_C000178765Member"
      decimals="INF"
      id="h_cdac21e1_4781_4fa9_8c8d_f237dc1d1a27"
      unitRef="USD">250000</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20240531_C000001874Member"
      decimals="INF"
      id="h_cddfaa9e_e529_4840_8ac0_1ae6ca48f1c1"
      unitRef="USD">12537.913765</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20190531_C000178765Member"
      decimals="INF"
      id="h_cdf7d65c_c9aa_4d0d_9c23_e8fd107d0a1b"
      unitRef="USD">310782.754064</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_StandardPoorsBBBRatingMember"
      decimals="4"
      id="h_cdf8c405_df50_48e9_ab91_4cc0c71b63b6"
      unitRef="pure">0.136</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20180531_C000193019Member"
      decimals="INF"
      id="h_ce37d0d7_b604_42eb_8199_a6ea885efced"
      unitRef="USD">1115996.946195</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_StandardPoorsAARatingMember"
      decimals="4"
      id="h_ce9acced_da8f_4870_9bf4_ed169a74bc7c"
      unitRef="pure">0.229</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_StandardPoorsBRatingMember"
      decimals="4"
      id="h_cea6d4d4_85ae_4347_82ff_acf8cecd8fb9"
      unitRef="pure">0.015</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_StandardPoorsAARatingMember"
      decimals="4"
      id="h_cfcc8664_818b_4713_b217_72742ca8a15d"
      unitRef="pure">0.229</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_StandardPoorsBBBRatingMember"
      decimals="4"
      id="h_cfdb5196_b275_4e86_9d09_602aae59ee3f"
      unitRef="pure">0.130</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_MoodysAaaRatingMember"
      decimals="4"
      id="h_d2675369_8a93_4ace_b1b8_8ee7ae0be50b"
      unitRef="pure">0.011</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20140531_C000001876Member"
      decimals="INF"
      id="h_d29c334e_4b06_47ef_bbfc_cfe485d96620"
      unitRef="USD">10000</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20220531_C000178765Member"
      decimals="INF"
      id="h_d619e759_d226_40bc_823e_8cb82c29dc0a"
      unitRef="USD">319216.810963</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_EquityMember"
      decimals="4"
      id="h_d7446d6e_914f_48f6_a708_1ccb0a40590b"
      unitRef="pure">0.003</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_NotRatedMember"
      decimals="4"
      id="h_d75df679_066f_4482_a83f_a725da48e9da"
      unitRef="pure">0.136</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20200531_C000001874Member"
      decimals="INF"
      id="h_d7658082_8f50_467a_b2a0_26c8aedad46d"
      unitRef="USD">11429.917208</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_StandardPoorsBBBRatingMember"
      decimals="4"
      id="h_da7d9b6a_1ae9_4a1d_9c2e_990451b6e80a"
      unitRef="pure">0.225</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_StandardPoorsBBBRatingMember"
      decimals="4"
      id="h_da9b166e_1439_4fd9_8b81_eff6b291d798"
      unitRef="pure">0.225</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_StandardPoorsBBRatingMember"
      decimals="4"
      id="h_dc4f84eb_77c5_41c5_be8c_b0b970658157"
      unitRef="pure">0.050</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20220531_BloombergHighYieldMunicipalBondIndexMember"
      decimals="INF"
      id="h_dd41a87e_734c_4695_b1f4_9bab5ccbb61b"
      unitRef="USD">14286.148155</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_ShortTermInvestmentsQualityMember"
      decimals="4"
      id="h_dd883484_cbb4_4758_8fa1_5b1e1773acd9"
      unitRef="pure">0.018</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20230531_C000193019Member"
      decimals="INF"
      id="h_dd9bd86e_95d8_4f9b_a401_cbef48648af6"
      unitRef="USD">1203907.491837</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20180531_BloombergMunicipalBondIndexMember"
      decimals="INF"
      id="h_de45f46c_2a82_45ef_9d1c_a03f1686fda2"
      unitRef="USD">11206.888273</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20140531_C000193019Member"
      decimals="INF"
      id="h_e0db3d4a_c909_43f5_b417_503ab6f21068"
      unitRef="USD">1000000</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20230531_C000001877Member"
      decimals="INF"
      id="h_e1dc9dff_9fe8_4dd0_8690_28fb49da3b15"
      unitRef="USD">11449.02108</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20240531_C000193019Member"
      decimals="INF"
      id="h_e1e10fb9_3789_4dcb_bab1_41d3cd286ebe"
      unitRef="USD">1251130.678931</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20200531_C000193019Member"
      decimals="INF"
      id="h_e4b4c968_48cc_4d8e_b964_f7f58a00f7e6"
      unitRef="USD">1183202.579467</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20150531_C000178765Member"
      decimals="INF"
      id="h_e5c8cbf6_5dc9_4d8e_b01f_df7a8a9f2feb"
      unitRef="USD">262354.56</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20230531_C000236446Member"
      decimals="INF"
      id="h_e5ec1716_537e_485d_802f_7c793f634cbe"
      unitRef="USD">9939.206706</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20140531_C000001874Member"
      decimals="INF"
      id="h_e6ab3c1f_b010_4d74_8cc1_5845d257a40f"
      unitRef="USD">9600</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20220531_BloombergMunicipalBondIndexMember"
      decimals="INF"
      id="h_e759801f_ce6e_488a_9c5d_7c8fc4023986"
      unitRef="USD">12103.834682</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_MoodysAaaRatingMember"
      decimals="4"
      id="h_e799d809_937f_4508_8ff3_07b3b7a8684d"
      unitRef="pure">0.045</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_StandardPoorsBRatingMember"
      decimals="4"
      id="h_e7e7218b_e8b2_472e_bdd8_f46b4fd1d377"
      unitRef="pure">0.016</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20190531_C000001877Member"
      decimals="INF"
      id="h_e8306143_5434_4704_8b92_26ff3d59ec1e"
      unitRef="USD">11290.96713</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20150531_C000001877Member"
      decimals="INF"
      id="h_e8d15d0d_f9e6_4645_8943_ab619a5e1c24"
      unitRef="USD">9960.134304</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_StandardPoorsBRatingMember"
      decimals="4"
      id="h_e91ea819_c8b0_41ef_86bb_1acbb03d4130"
      unitRef="pure">0.011</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_ShortTermInvestmentsQualityMember"
      decimals="4"
      id="h_ea4a38a1_03b6_40a4_8369_94bf471b2fa2"
      unitRef="pure">0.018</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_StandardPoorsBBRatingMember"
      decimals="4"
      id="h_ed53e1b7_6449_400c_97c3_a063c76e3837"
      unitRef="pure">0.187</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_NotRatedMember"
      decimals="4"
      id="h_eda13816_05ee_408f_8950_100ddcf77482"
      unitRef="pure">0.136</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_StandardPoorsBBRatingMember"
      decimals="4"
      id="h_efacb336_3b46_4bd9_b94f_f8f5d0c337f7"
      unitRef="pure">0.187</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_StandardPoorsARatingMember"
      decimals="4"
      id="h_f0044288_c1fc_4e20_b5ee_9664349ee617"
      unitRef="pure">0.396</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20140531_C000001877Member"
      decimals="INF"
      id="h_f26e6ebb_0eda_4873_bcfd_040bdc309656"
      unitRef="USD">9600</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_StandardPoorsBBRatingMember"
      decimals="4"
      id="h_f355895e_25eb_4438_9bc5_d1b1f07422b5"
      unitRef="pure">0.065</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_CCCAndBelowMember"
      decimals="4"
      id="h_f7304992_1955_49fb_8507_f27305e1c290"
      unitRef="pure">0.002</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20230531_C000001874Member"
      decimals="INF"
      id="h_f73c682e_e7a7_4bfe_b340_e6a38ae46d9a"
      unitRef="USD">11685.452089</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_NotRatedMember"
      decimals="4"
      id="h_f7629092_bd36_42ce_9796_74170f710f22"
      unitRef="pure">0.101</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_NotRatedMember"
      decimals="4"
      id="h_f794965d_b7ce_4a54_9066_adcc6c9ef8be"
      unitRef="pure">0.101</oef:PctOfTotalInv>
    <oef:AcctVal
      contextRef="TI20240531_C000236447Member"
      decimals="INF"
      id="h_f9973c48_3616_4273_9bac_7cd03f21359b"
      unitRef="USD">10625.83601</oef:AcctVal>
    <oef:AcctVal
      contextRef="TI20200531_C000001879Member"
      decimals="INF"
      id="h_fa4ac35f_7cea_46d7_a688_21bfe2c13adc"
      unitRef="USD">11266.684551</oef:AcctVal>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_StandardPoorsBBRatingMember"
      decimals="4"
      id="h_fae6fc68_0374_4694_8a53_d6992666c014"
      unitRef="pure">0.050</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_CCCAndBelowMember"
      decimals="4"
      id="h_fdbae34c_a053_4640_826d_96734474912c"
      unitRef="pure">0.002</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_MoodysAaaRatingMember"
      decimals="4"
      id="h_fe4954f5_f69b_4db3_a9dc_93dd7ef072dc"
      unitRef="pure">0.045</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_StandardPoorsBBRatingMember"
      decimals="4"
      id="h_fffcbb90_d733_4455_82da_b617070893f8"
      unitRef="pure">0.187</oef:PctOfTotalInv>
    <dei:EntityCentralIndexKey
      contextRef="DefaultContext"
      id="h1_6eaedbd1_cd30_4ac9_96ca_739506021321">0000857769</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag
      contextRef="DefaultContext"
      id="h3_e24273c7_699a_4e0f_97bb_a3dd83d9feb8">false</dei:AmendmentFlag>
    <oef:PerfInceptionDate
      contextRef="FY2024_C000236448Member"
      id="h_2_1615e3fd-066d-00ff-ac26-0e31730e50a4">2022-06-09</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="FY2024_C000236445Member"
      id="h_2_1f062287-3295-fc28-4c3d-b4a3f0df6e66">2022-06-09</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="FY2024_C000236447Member"
      id="h_2_35ea5615-0dd0-653c-5d0f-98bc4f3839f5">2022-06-09</oef:PerfInceptionDate>
    <oef:PerfInceptionDate
      contextRef="FY2024_C000236446Member"
      id="h_4_a3cfae42-aee9-549e-0a37-27369c2af9b4">2022-06-09</oef:PerfInceptionDate>
    <dei:DocumentType
      contextRef="DefaultContext"
      id="t_1_36573d72_845c_d1e8_3b26_c65a0f98715f">N-CSR</dei:DocumentType>
    <dei:EntityRegistrantName
      contextRef="DefaultContext"
      id="t_3_f40e8958_c439_888b_0b6f_66230ad5dac9">JOHN HANCOCK MUNICIPAL SECURITIES TRUST</dei:EntityRegistrantName>
    <dei:DocumentPeriodEndDate
      contextRef="DefaultContext"
      id="t_2_c3ed1427_44c3_7d08_081e_b504f362ddc1">2024-05-31</dei:DocumentPeriodEndDate>
    <oef:FundName
      contextRef="FY2024_C000236446Member"
      id="t_1_b4101174_5cdc_1f80_989f_944691eca3c3">John Hancock Short Duration Municipal Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="FY2024_C000236446Member"
      id="t_2_9d4bbc0e_c588_bc56_9d64_0fe80421f307">Class A</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2024_C000236446Member"
      id="t_3_c3dd68e3_fad4_9186_bf86_ba31a240e0d5">JHSFX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2024_C000236446Member"
      id="t_4_3ca38d18_ecac_6e9d_b2f2_8119cb60f568">This annual shareholder report contains important information about the John Hancock Short Duration Municipal Opportunities Fund (the fund) for the period of June 1, 2023 to May 31, 2024.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2024_C000236446Member"
      id="t_6_4b9689e1_1263_8a2c_52d1_fcac4a2b06ff">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2024_C000236446Member"
      id="t_5_2badebf7_359b_d1c6_e883_bb06ef69fd03">You can find additional information about the fund at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt;. You can also request this information by contacting us at 800-225-5291.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2024_C000236446Member"
      id="t_7_81c02125_51ac_5cb7_a57b_a4bb9f25f77a">jhinvestments.com/documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2024_C000236446Member"
      id="t_8_3011af92_ce6e_f0f8_8351_6c4e5b7511da">800-225-5291</oef:AddlInfoPhoneNumber>
    <oef:ExpensesTextBlock
      contextRef="FY2024_C000236446Member"
      id="t_9_44731a73_e998_2dac_e605_0cd393f44e80">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;&lt;b&gt;What were the fund costs during the last year?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; font-weight: bold;"&gt;&lt;i&gt;(Based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; text-align: left; padding: 0px 3pt;"&gt;Fund (Class)&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs paid as a percentage&lt;br/&gt;of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; text-align: left; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;Short Duration Municipal Opportunities Fund&lt;br/&gt;(Class A/JHSFX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;62&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;0.60&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2024_C000236446Member"
      decimals="INF"
      id="h_1_9f9af961_c51e_48b2_9301_aae28849b3b1"
      unitRef="USD">62</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2024_C000236446Member"
      decimals="4"
      id="h_2_5b6bf528_2c98_4a1e_b4a2_68efc740d59c"
      unitRef="pure">0.0060</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2024_C000236446Member"
      id="t_10_a30dc085_d62e_4072_14c5_873c610043c2">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 14pt;" title="oef:FactorsAffectingPerfTextBlock"&gt;Management&#x2019;s Discussion of Fund Performance&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;SUMMARY OF RESULTS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;Short Duration Municipal Opportunities Fund (Class A/JHSFX) returned 6.16% (excluding sales charges) for the year ended May 31, 2024. The most significant factors affecting Fund performance during the period included rising municipal bond yields, stronger-than-expected economic growth, and lowered expectations for interest rate cuts by the U.S. Federal Reserve. Sector performance in the municipal market was also a key factor, with high-yield bonds outperforming by a significant margin during the period.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE CONTRIBUTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;High-yield municipal bonds&lt;/b&gt; | A noteworthy position in high-yield securities provided a boost to Fund performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Healthcare bonds&lt;/b&gt; | Bonds funding hospitals and continuing care retirement facilities were leading contributors.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Education bonds&lt;/b&gt; | Bonds backing charter schools and higher education contributed the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE DETRACTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Duration (interest rate sensitivity)&lt;/b&gt; | Rising municipal bond yields put downward pressure on municipal bond prices.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;School district bonds&lt;/b&gt; | General obligation bonds issued by school districts weighed on performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Tax-backed district bonds&lt;/b&gt; | Bonds funding municipal utility districts detracted the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The views expressed in this report are exclusively those of the portfolio management team at Manulife Investment Management (US) LLC, and are subject to change. They are not meant as investment advice.&lt;/div&gt;
</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2024_C000236446Member"
      id="t_11_56cc8b49_7ca5_7b90_e40b_9b75ab210051">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;Fund Performance&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The following graph compares the initial and subsequent account values at the end of each of the most recently completed 10 fiscal years of the fund (or for the life of the fund, if shorter). It assumes a $10,000 initial investment in the fund and in an appropriate, broad-based securities market index for the same period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 3pt; font-weight: bold;"&gt;GROWTH OF $10,000&lt;/div&gt;

&lt;div style="margin-bottom: 20pt;"&gt;&lt;img alt="Fund Performance - Growth of 10K" src="chartimages_5005675.jpg" style="display: block; margin-left: auto; margin-right: auto; width: 468pt;"/&gt; &lt;/div&gt;
</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2024_C000236446Member"
      id="t_12_11060e5c_21d0_a5d2_c147_61d1554fdc80">
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; text-align: left; width: 60%; padding: 0px 3pt;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;1 Year&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;Since inception&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Short Duration Municipal Opportunities Fund (Class A/JHSFX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;3.74&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.75&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Short Duration Municipal Opportunities Fund (Class A/JHSFX)&#x2014;excluding sales charge&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;6.16&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;3.94&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.67&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.69&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal 1-5 Year Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.53&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.27&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;The Fund has designated Bloomberg Municipal Bond Index as its broad-based securities market index in accordance with the revised definition for such an index.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000236446Member"
      id="t_19_0a34f8c4_4b57_dc0f_b446_2fbe35376133">Short Duration Municipal Opportunities Fund (Class A/JHSFX)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000236446Member"
      decimals="4"
      id="h_7_b4d8dc96_8076_3685_7e66_7716561cc919"
      unitRef="pure">0.0374</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20220609_20240531_C000236446Member"
      decimals="4"
      id="h_8_a74ee524_0e59_f91e_33ec_d43f936ea2b5"
      unitRef="pure">0.0275</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000236446Member_WithoutSalesLoadMember"
      id="t_20_f772ee00_bc6b_854e_4af4_9f8afe370f3e">Short Duration Municipal Opportunities Fund (Class A/JHSFX)&#x2014;excluding sales charge</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000236446Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_9_1f6db78c_ee7e_38d0_56c3_5c041850352b"
      unitRef="pure">0.0616</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20220609_20240531_C000236446Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_10_81c5c96d_da50_9bed_a01f_0c8530e67363"
      unitRef="pure">0.0394</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_BloombergMunicipalBondIndexMember"
      id="t_21_1b2d3bdf_4c69_b6a3_73a3_4743ea686f29">Bloomberg Municipal Bond Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_BloombergMunicipalBondIndexMember"
      decimals="4"
      id="h_11_41142376_e53c_806e_8fac_94c8b413c76d"
      unitRef="pure">0.0267</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20220609_20240531_BloombergMunicipalBondIndexMember"
      decimals="4"
      id="h_12_8cf1553c_50ef_ea72_677e_9608179a81e0"
      unitRef="pure">0.0169</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_BloombergMunicipal1-5YearIndexMember"
      id="t_22_1e808263_50b5_3887_b90b_e45cbe093eb6">Bloomberg Municipal 1-5 Year Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_BloombergMunicipal1-5YearIndexMember"
      decimals="4"
      id="h_13_1e2c4db2_7899_7eb1_da11_c9b525fcbc51"
      unitRef="pure">0.0253</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20220609_20240531_BloombergMunicipal1-5YearIndexMember"
      decimals="4"
      id="h_14_cb0f2aca_8b3a_c93d_1828_b2733e70a026"
      unitRef="pure">0.0127</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2024_C000236446Member"
      id="t_13_d6e1483e_d2a5_724e_2bfe_2169b64d3591">Past performance does not guarantee future results.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2024_C000236446Member"
      id="t_14_574f0532_56c6_4e42_0cbd_ff6885023e38">Due to market volatility and other factors, the fund&#x2019;s current performance may be higher or lower than the performance shown and can be found at &lt;span&gt;jhinvestments.com/investments&lt;/span&gt; or by calling 800-225-5291.</oef:UpdPerfInfoLocationTextBlock>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2024_C000236446Member"
      id="t_15_829b04c8_8ddd_ce34_3801_657585e00366">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2024_C000236446Member"
      id="t_16_28f9fcc6_99e8_24a6_6eb1_8a57470a0c1b">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;" title="oef:AddlFundStatisticsTextBlock"&gt;Fund Statistics&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; color: rgb(0, 0, 0); font-size: 9pt; width: 90%; text-align: left; font-family: &amp;quot;Arial Narrow&amp;quot;; font-weight: bold; padding: 0px 10pt;"&gt;Fund net assets&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; padding: 0px 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;33,345,509&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total number of portfolio holdings&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;131&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total advisory fees paid (net)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;0&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Portfolio turnover rate&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;255&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20240531_C000236446Member"
      decimals="INF"
      id="h_3_05835d8a_1d4c_4f2c_aa64_a31ec2e4e52a"
      unitRef="USD">33345509</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20240531_C000236446Member"
      decimals="INF"
      id="h_4_0d9108ae_4e40_4838_a8a7_16b32a820432"
      unitRef="Holding">131</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2024_C000236446Member"
      decimals="INF"
      id="h_5_4c8581c0_1d40_4ab5_8415_f7706e827631"
      unitRef="USD">0</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2024_C000236446Member"
      decimals="4"
      id="h_6_df8ac089_3848_461b_8a97_60e7210870a2"
      unitRef="pure">2.55</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2024_C000236446Member"
      id="t_17_ddcd43e5_c617_9ac3_88b3_9a2dc915a5a7">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;" title="oef:HoldingsTableTextBlock"&gt;Graphical Representation of Holdings&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The tables below show the investment makeup of the fund, representing percentage of the total investments of the fund.&lt;/div&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Sector Composition&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; text-align: left; padding: 0px 3pt;"&gt;&lt;strong&gt;General obligation bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; padding: 0px 3pt;"&gt;&lt;strong&gt;16.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Revenue bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;83.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Health care&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;19.0&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Other revenue&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;17.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Development&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;13.1&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Education&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;11.6&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Airport&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;9.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Utilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.0&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Housing&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;3.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Transportation&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;2.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Pollution&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.8&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Water and sewer&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Short-term investments&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;0.8&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Quality Composition&lt;/b&gt;&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_5005668.jpg" style="width: 172.8pt;"/&gt; &lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Holdings may not have been held by the fund for the entire period and are subject to change without notice. Portfolio composition is subject to review in accordance with the fund&#x2019;s investment strategy and may vary in the future. Current and future portfolio holdings are subject to risk and may change at any time.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_GeneralObligationBondsMember"
      decimals="4"
      id="h_15_43aef0d3_408b_ebf9_9c48_038d1ec7651b"
      unitRef="pure">0.161</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_RevenueBondsMember"
      decimals="4"
      id="h_16_c9f4bcd8_cd9e_17bb_5613_9c1fff138694"
      unitRef="pure">0.831</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_HealthcareSectorMember"
      decimals="4"
      id="h_19_e97b9e3c_7a51_24cb_1e14_104d5e373c47"
      unitRef="pure">0.190</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_OtherRevenueMember"
      decimals="4"
      id="h_17_e9f871f1_4088_edbc_97cc_3f06775e8147"
      unitRef="pure">0.172</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_DevelopmentMember"
      decimals="4"
      id="h_20_3c58a27e_0a41_b1dc_c055_6de38ff683a1"
      unitRef="pure">0.131</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_EducationMember"
      decimals="4"
      id="h_21_17ca7be0_89eb_c8ab_ca42_c068647323c6"
      unitRef="pure">0.116</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_AirportMember"
      decimals="4"
      id="h_22_ee239a7b_c061_8337_6e55_266b8f0fe985"
      unitRef="pure">0.093</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_UtilitiesSectorMember"
      decimals="4"
      id="h_23_c5181c67_03cf_394c_457b_8107c925ddc9"
      unitRef="pure">0.040</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_HousingMember"
      decimals="4"
      id="h_24_355d7dba_8587_79c5_dc62_9e3dc72a0733"
      unitRef="pure">0.033</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_TransportationSectorMember"
      decimals="4"
      id="h_25_23d6494b_3f7b_6aff_f2b2_ee57ec76f487"
      unitRef="pure">0.025</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_PollutionMember"
      decimals="4"
      id="h_26_cb70c126_a018_d65a_9e3e_48fcb6a63d50"
      unitRef="pure">0.018</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_WaterAndSewerMember"
      decimals="4"
      id="h_27_a6962fe2_5848_7646_5006_cd2bc82ad5cf"
      unitRef="pure">0.013</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236446Member_ShortTermInvestmentsMember"
      decimals="4"
      id="h_18_090e0949_b81d_4664_4e49_9737e39deff4"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:CreditQualityExplanationTextBlock
      contextRef="FY2024_C000236446Member"
      id="t_23_c465e60a_69cb_4f50_325b_18bbbf073894">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;
</oef:CreditQualityExplanationTextBlock>
    <oef:CreditRatingsSelectionTextBlock
      contextRef="FY2024_C000236446Member"
      id="t_24_7e819ab9_785d_ee39_6225_dd9d5acf880d">Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc.</oef:CreditRatingsSelectionTextBlock>
    <oef:FundName
      contextRef="FY2024_C000236447Member"
      id="t_1_0ffeec92_8065_a4f8_dbfe_b99adc87137a">John Hancock Short Duration Municipal Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="FY2024_C000236447Member"
      id="t_2_1b944b9f_5a5e_f496_abfe_5c9e1ed38973">Class C</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2024_C000236447Member"
      id="t_3_98d63350_3a89_f8a9_26d9_0939d126a629">JHSHX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2024_C000236447Member"
      id="t_4_c5baba2d_cc85_1e74_d905_79c8cd899b86">This annual shareholder report contains important information about the John Hancock Short Duration Municipal Opportunities Fund (the fund) for the period of June 1, 2023 to May 31, 2024.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2024_C000236447Member"
      id="t_5_797b3087_c3d4_db49_4cf6_aa5e0e9bbd0e">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2024_C000236447Member"
      id="t_6_60808d71_ce17_70e3_e4ce_ee6e49193af2">You can find additional information about the fund at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt;. You can also request this information by contacting us at 800-225-5291.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2024_C000236447Member"
      id="t_7_f66b8d91_00b8_022b_ec7b_6f5831cab011">jhinvestments.com/documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2024_C000236447Member"
      id="t_8_dc9c21ba_e9bb_dfe3_208f_b55e447bbcaf">800-225-5291</oef:AddlInfoPhoneNumber>
    <oef:ExpensesTextBlock
      contextRef="FY2024_C000236447Member"
      id="t_9_d39916b2_88c3_9ff6_6bb9_4585d5bb89f5">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;&lt;b&gt;What were the fund costs during the last year?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; font-weight: bold;"&gt;&lt;i&gt;(Based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; text-align: left; padding: 0px 3pt;"&gt;Fund (Class)&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs paid as a percentage&lt;br/&gt;of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; text-align: left; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;Short Duration Municipal Opportunities Fund&lt;br/&gt;(Class C/JHSHX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;139&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;1.35&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2024_C000236447Member"
      decimals="INF"
      id="h_7_a88331c2_cd4b_4378_93dc_3d8139450483"
      unitRef="USD">139</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2024_C000236447Member"
      decimals="4"
      id="h_8_7d779715_865e_4c34_ba7b_2cac18c2cf4e"
      unitRef="pure">0.0135</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2024_C000236447Member"
      id="t_10_9f177225_884f_ecc1_448d_3204fe1f44fc">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 14pt;" title="oef:FactorsAffectingPerfTextBlock"&gt;Management&#x2019;s Discussion of Fund Performance&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;SUMMARY OF RESULTS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;Short Duration Municipal Opportunities Fund (Class C/JHSHX) returned 5.27% (excluding sales charges) for the year ended May 31, 2024. The most significant factors affecting Fund performance during the period included rising municipal bond yields, stronger-than-expected economic growth, and lowered expectations for interest rate cuts by the U.S. Federal Reserve. Sector performance in the municipal market was also a key factor, with high-yield bonds outperforming by a significant margin during the period.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE CONTRIBUTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;High-yield municipal bonds&lt;/b&gt; | A noteworthy position in high-yield securities provided a boost to Fund performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Healthcare bonds&lt;/b&gt; | Bonds funding hospitals and continuing care retirement facilities were leading contributors.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Education bonds&lt;/b&gt; | Bonds backing charter schools and higher education contributed the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE DETRACTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Duration (interest rate sensitivity)&lt;/b&gt; | Rising municipal bond yields put downward pressure on municipal bond prices.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;School district bonds&lt;/b&gt; | General obligation bonds issued by school districts weighed on performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Tax-backed district bonds&lt;/b&gt; | Bonds funding municipal utility districts detracted the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The views expressed in this report are exclusively those of the portfolio management team at Manulife Investment Management (US) LLC, and are subject to change. They are not meant as investment advice.&lt;/div&gt;
</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2024_C000236447Member"
      id="t_11_37a665d1_1852_2158_67a5_0d65d2dd59ae">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;Fund Performance&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The following graph compares the initial and subsequent account values at the end of each of the most recently completed 10 fiscal years of the fund (or for the life of the fund, if shorter). It assumes a $10,000 initial investment in the fund and in an appropriate, broad-based securities market index for the same period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 3pt; font-weight: bold;"&gt;GROWTH OF $10,000&lt;/div&gt;

&lt;div style="margin-bottom: 20pt;"&gt;&lt;img alt="Fund Performance - Growth of 10K" src="chartimages_5005639.jpg" style="display: block; margin-left: auto; margin-right: auto; width: 468pt;"/&gt; &lt;/div&gt;
</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2024_C000236447Member"
      id="t_12_24fea110_2c8e_458b_cb40_2ff8dbe5917e">
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; text-align: left; width: 60%; padding: 0px 3pt;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;1 Year&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;Since inception&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Short Duration Municipal Opportunities Fund (Class C/JHSHX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;4.27&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;3.12&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Short Duration Municipal Opportunities Fund (Class C/JHSHX)&#x2014;excluding sales charge&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;5.27&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;3.12&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.67&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.69&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal 1-5 Year Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.53&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.27&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;The Fund has designated Bloomberg Municipal Bond Index as its broad-based securities market index in accordance with the revised definition for such an index.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000236447Member"
      id="t_19_78ad900e_12c9_d58a_7792_8a3994bdca7c">Short Duration Municipal Opportunities Fund (Class C/JHSHX)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000236447Member"
      decimals="4"
      id="h_13_3a73e01f_154d_af9a_55cc_cb864e3cf5a0"
      unitRef="pure">0.0427</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20220609_20240531_C000236447Member"
      decimals="4"
      id="h_14_77b88113_abda_4336_41ce_5b4da435ea44"
      unitRef="pure">0.0312</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000236447Member_WithoutSalesLoadMember"
      id="t_20_129b0078_af9c_c50d_ff31_5d80ddd22b41">Short Duration Municipal Opportunities Fund (Class C/JHSHX)&#x2014;excluding sales charge</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000236447Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_15_ef36d2d6_7b89_b757_4e68_6b058351b6d5"
      unitRef="pure">0.0527</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20220609_20240531_C000236447Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_16_9f1a40ed_76f6_8156_bba7_b8df3c81ba68"
      unitRef="pure">0.0312</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2024_C000236447Member"
      id="t_13_abbf3017_2a9f_7278_23b8_cc79f09c595c">Past performance does not guarantee future results.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2024_C000236447Member"
      id="t_14_2dac8d15_21a3_7d78_e28c_915eef0e7209">Due to market volatility and other factors, the fund&#x2019;s current performance may be higher or lower than the performance shown and can be found at &lt;span&gt;jhinvestments.com/investments&lt;/span&gt; or by calling 800-225-5291.</oef:UpdPerfInfoLocationTextBlock>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2024_C000236447Member"
      id="t_15_131720fa_3142_e103_d069_d277d12b753e">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2024_C000236447Member"
      id="t_16_0b7ce526_2fd2_c586_fa38_b6ddb1d346d2">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;" title="oef:AddlFundStatisticsTextBlock"&gt;Fund Statistics&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; color: rgb(0, 0, 0); font-size: 9pt; width: 90%; text-align: left; font-family: &amp;quot;Arial Narrow&amp;quot;; font-weight: bold; padding: 0px 10pt;"&gt;Fund net assets&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; padding: 0px 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;33,345,509&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total number of portfolio holdings&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;131&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total advisory fees paid (net)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;0&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Portfolio turnover rate&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;255&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20240531_C000236447Member"
      decimals="INF"
      id="h_9_6017c15a_3263_4ddc_8d2c_9bd29cd06efb"
      unitRef="USD">33345509</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20240531_C000236447Member"
      decimals="INF"
      id="h_10_6c9449b6_09aa_441a_b831_6524d0fd5d21"
      unitRef="Holding">131</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2024_C000236447Member"
      decimals="INF"
      id="h_11_81fc72be_43d5_44b5_af8e_3534e1b574fb"
      unitRef="USD">0</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2024_C000236447Member"
      decimals="4"
      id="h_12_35b34984_6261_4fd9_a7b8_44586d67e7d3"
      unitRef="pure">2.55</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2024_C000236447Member"
      id="t_17_c89103e5_8d46_f40f_3aee_e8109fe8d73a">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;" title="oef:HoldingsTableTextBlock"&gt;Graphical Representation of Holdings&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The tables below show the investment makeup of the fund, representing percentage of the total investments of the fund.&lt;/div&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Sector Composition&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; text-align: left; padding: 0px 3pt;"&gt;&lt;strong&gt;General obligation bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; padding: 0px 3pt;"&gt;&lt;strong&gt;16.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Revenue bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;83.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Health care&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;19.0&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Other revenue&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;17.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Development&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;13.1&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Education&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;11.6&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Airport&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;9.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Utilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.0&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Housing&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;3.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Transportation&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;2.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Pollution&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.8&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Water and sewer&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Short-term investments&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;0.8&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Quality Composition&lt;/b&gt;&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_5005632.jpg" style="width: 172.8pt;"/&gt; &lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Holdings may not have been held by the fund for the entire period and are subject to change without notice. Portfolio composition is subject to review in accordance with the fund&#x2019;s investment strategy and may vary in the future. Current and future portfolio holdings are subject to risk and may change at any time.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_GeneralObligationBondsMember"
      decimals="4"
      id="h_17_61d920da_06e0_7dc4_0897_2e64f3746b1c"
      unitRef="pure">0.161</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_RevenueBondsMember"
      decimals="4"
      id="h_18_28a740ff_5b5c_faca_b546_c45b86c7bc4b"
      unitRef="pure">0.831</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_HealthcareSectorMember"
      decimals="4"
      id="h_19_c9724ff4_720e_edde_418e_f8a2d0457e3c"
      unitRef="pure">0.190</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_OtherRevenueMember"
      decimals="4"
      id="h_20_73e43354_b405_5059_314b_f30a4c376678"
      unitRef="pure">0.172</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_DevelopmentMember"
      decimals="4"
      id="h_21_ab980bdc_040d_72ec_6e49_e678165a6105"
      unitRef="pure">0.131</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_EducationMember"
      decimals="4"
      id="h_22_f6fd82e6_a18a_f24e_f49d_89f8590b968d"
      unitRef="pure">0.116</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_AirportMember"
      decimals="4"
      id="h_23_e426e0c4_cece_74d8_055c_9d8912c057d1"
      unitRef="pure">0.093</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_UtilitiesSectorMember"
      decimals="4"
      id="h_24_9575c973_2956_67e1_ff3c_ded9ade20de4"
      unitRef="pure">0.040</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_HousingMember"
      decimals="4"
      id="h_25_98fe1e47_fba3_449b_35a8_071b42281d27"
      unitRef="pure">0.033</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_TransportationSectorMember"
      decimals="4"
      id="h_26_ef7305bc_e4c7_b12b_bd0a_7869fb446df4"
      unitRef="pure">0.025</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_PollutionMember"
      decimals="4"
      id="h_27_564b33ee_ee68_714a_1f2d_68d51512c4a0"
      unitRef="pure">0.018</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_WaterAndSewerMember"
      decimals="4"
      id="h_28_54005d9c_a6de_eba4_6fb3_c64b76d8a34e"
      unitRef="pure">0.013</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236447Member_ShortTermInvestmentsMember"
      decimals="4"
      id="h_29_fd7521f5_7d74_b4ec_d6e7_9b1721ff0694"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:CreditQualityExplanationTextBlock
      contextRef="FY2024_C000236447Member"
      id="t_21_52b001a5_f376_ac66_8562_a1ec319375f9">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;
</oef:CreditQualityExplanationTextBlock>
    <oef:CreditRatingsSelectionTextBlock
      contextRef="FY2024_C000236447Member"
      id="t_22_10814911_2496_fd83_3633_fcd62d47e862">Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc.</oef:CreditRatingsSelectionTextBlock>
    <oef:FundName
      contextRef="FY2024_C000236448Member"
      id="t_1_1d47e813_ad17_480d_9094_ba34d899b369">John Hancock Short Duration Municipal Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="FY2024_C000236448Member"
      id="t_2_e70ea78a_bf0d_d108_e42f_8e0a18ef12c0">Class I</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2024_C000236448Member"
      id="t_3_80ed67fb_9773_93f3_1ba1_d045ed45cc87">JHSJX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2024_C000236448Member"
      id="t_4_d1c1cec7_d5b8_9de1_2d7c_493425694ede">This annual shareholder report contains important information about the John Hancock Short Duration Municipal Opportunities Fund (the fund) for the period of June 1, 2023 to May 31, 2024. </oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2024_C000236448Member"
      id="t_5_b6221447_eeaf_3031_86ec_3569d821c9e4">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2024_C000236448Member"
      id="t_6_fab98b61_3f6a_967f_8b7a_54cd7032574b">You can find additional information about the fund at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt;. You can also request this information by contacting us at 800-225-5291.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2024_C000236448Member"
      id="t_7_8d1dbfbe_19f5_671b_9ed7_09d7347b48d8">jhinvestments.com/documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2024_C000236448Member"
      id="t_8_e6b3c166_b82d_500b_007e_e2eb1f6d946d"> 800-225-5291</oef:AddlInfoPhoneNumber>
    <oef:ExpensesTextBlock
      contextRef="FY2024_C000236448Member"
      id="t_9_b23c8789_32f0_fb61_c80d_6552f0013f47">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;&lt;b&gt;What were the fund costs during the last year?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; font-weight: bold;"&gt;&lt;i&gt;(Based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; text-align: left; padding: 0px 3pt;"&gt;Fund (Class)&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs paid as a percentage&lt;br/&gt;of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; text-align: left; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;Short Duration Municipal Opportunities Fund&lt;br/&gt;(Class I/JHSJX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;46&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;0.45&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2024_C000236448Member"
      decimals="INF"
      id="h_13_68a2e147_ea02_452b_bb0f_21b2ca6f141f"
      unitRef="USD">46</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2024_C000236448Member"
      decimals="4"
      id="h_14_fb809ad9_8d6a_459b_97ab_1758577be64f"
      unitRef="pure">0.0045</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2024_C000236448Member"
      id="t_10_b2023c48_b799_8b19_eb81_19aaa13516fa">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 14pt;" title="oef:FactorsAffectingPerfTextBlock"&gt;Management&#x2019;s Discussion of Fund Performance&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;SUMMARY OF RESULTS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;Short Duration Municipal Opportunities Fund (Class I/JHSJX) returned 6.32% for the year ended May 31, 2024. The most significant factors affecting Fund performance during the period included rising municipal bond yields, stronger-than-expected economic growth, and lowered expectations for interest rate cuts by the U.S. Federal Reserve. Sector performance in the municipal market was also a key factor, with high-yield bonds outperforming by a significant margin during the period.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE CONTRIBUTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;High-yield municipal bonds&lt;/b&gt; | A noteworthy position in high-yield securities provided a boost to Fund performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Healthcare bonds&lt;/b&gt; | Bonds funding hospitals and continuing care retirement facilities were leading contributors.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Education bonds&lt;/b&gt; | Bonds backing charter schools and higher education contributed the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE DETRACTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Duration (interest rate sensitivity)&lt;/b&gt; | Rising municipal bond yields put downward pressure on municipal bond prices.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;School district bonds&lt;/b&gt; | General obligation bonds issued by school districts weighed on performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Tax-backed district bonds&lt;/b&gt; | Bonds funding municipal utility districts detracted the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The views expressed in this report are exclusively those of the portfolio management team at Manulife Investment Management (US) LLC, and are subject to change. They are not meant as investment advice.&lt;/div&gt;
</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2024_C000236448Member"
      id="t_11_ff1620e7_cb28_35cf_d891_e0bad0b66c66">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;Fund Performance&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The following graph compares the initial and subsequent account values at the end of each of the most recently completed 10 fiscal years of the fund (or for the life of the fund, if shorter). It assumes a $250,000 initial investment in the fund and in an appropriate, broad-based securities market index for the same period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 3pt; font-weight: bold;"&gt;GROWTH OF $250,000&lt;/div&gt;

&lt;div style="margin-bottom: 20pt;"&gt;&lt;img alt="Fund Performance - Growth of 10K" src="chartimages_5005603.jpg" style="display: block; margin-left: auto; margin-right: auto; width: 542pt;"/&gt; &lt;/div&gt;
</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2024_C000236448Member"
      id="t_12_f87faeca_3438_da27_1b3b_ab3c4c2c6233">
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; text-align: left; width: 60%; padding: 0px 3pt;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;1 Year&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;Since inception&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Short Duration Municipal Opportunities Fund (Class I/JHSJX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;6.32&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;4.09&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.67&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.69&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal 1-5 Year Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.53&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.27&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;The Fund has designated Bloomberg Municipal Bond Index as its broad-based securities market index in accordance with the revised definition for such an index.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000236448Member"
      id="t_18_c38bcec7_b414_f6e4_66a3_6f225809bbb9">Short Duration Municipal Opportunities Fund (Class I/JHSJX)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000236448Member"
      decimals="4"
      id="h_20_52a117da_58e2_d5b4_050e_c34bfb841131"
      unitRef="pure">0.0632</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20220609_20240531_C000236448Member"
      decimals="4"
      id="h_25_e7c20774_406f_7119_9a0c_18a3509d80ad"
      unitRef="pure">0.0409</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2024_C000236448Member"
      id="t_13_3f8b4472_5a89_792f_5c2d_4081cc1cfdce"> Past performance does not guarantee future results.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2024_C000236448Member"
      id="t_14_5f4abc36_6511_8bf3_1b91_a8aef386a0da"> Due to market volatility and other factors, the fund&#x2019;s current performance may be higher or lower than the performance shown and can be found at &lt;span&gt;jhinvestments.com/investments&lt;/span&gt; or by calling 800-225-5291.</oef:UpdPerfInfoLocationTextBlock>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2024_C000236448Member"
      id="t_15_abe1fc87_a7a1_987f_b6bb_2039471c6f6b">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2024_C000236448Member"
      id="t_16_2e8577b3_fd4b_6927_9534_9eda970900fd">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;" title="oef:AddlFundStatisticsTextBlock"&gt;Fund Statistics&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; color: rgb(0, 0, 0); font-size: 9pt; width: 90%; text-align: left; font-family: &amp;quot;Arial Narrow&amp;quot;; font-weight: bold; padding: 0px 10pt;"&gt;Fund net assets&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; padding: 0px 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;33,345,509&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total number of portfolio holdings&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;131&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total advisory fees paid (net)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;0&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Portfolio turnover rate&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;255&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20240531_C000236448Member"
      decimals="INF"
      id="h_15_7b3c08d8_3a97_4284_889c_a06fa584b35e"
      unitRef="USD">33345509</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20240531_C000236448Member"
      decimals="INF"
      id="h_19_f4d6192a_1c2d_8bf7_0c48_30ac03a20998"
      unitRef="Holding">131</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2024_C000236448Member"
      decimals="INF"
      id="h_17_3d06318d_0a44_4525_8cbf_194c99f72659"
      unitRef="USD">0</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2024_C000236448Member"
      decimals="4"
      id="h_18_134a5559_57c1_4bcd_9985_bc1e758572f9"
      unitRef="pure">2.55</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2024_C000236448Member"
      id="t_17_dbe3d954_1d3b_a2d7_60c0_5653b030a8f4">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;" title="oef:HoldingsTableTextBlock"&gt;Graphical Representation of Holdings&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The tables below show the investment makeup of the fund, representing percentage of the total investments of the fund.&lt;/div&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Sector Composition&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; text-align: left; padding: 0px 3pt;"&gt;&lt;strong&gt;General obligation bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; padding: 0px 3pt;"&gt;&lt;strong&gt;16.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Revenue bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;83.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Health care&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;19.0&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Other revenue&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;17.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Development&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;13.1&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Education&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;11.6&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Airport&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;9.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Utilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.0&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Housing&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;3.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Transportation&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;2.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Pollution&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.8&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Water and sewer&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Short-term investments&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;0.8&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;div style="width: 33%; border-right-color: initial; border-right-style: none; border-right-width: initial; flex-grow: 1px; flex-shrink: 1px; flex-basis: auto; float: none; display: table-cell;"&gt;
&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;
&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Quality Composition&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_5005596.jpg" style="width: 172.8pt;"/&gt; &lt;/div&gt;
&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Holdings may not have been held by the fund for the entire period and are subject to change without notice. Portfolio composition is subject to review in accordance with the fund&#x2019;s investment strategy and may vary in the future. Current and future portfolio holdings are subject to risk and may change at any time.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_GeneralObligationBondsMember"
      decimals="4"
      id="h_21_91e80eda_590b_46e2_58eb_1e9394ce2d3b"
      unitRef="pure">0.161</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_RevenueBondsMember"
      decimals="4"
      id="h_22_15654aae_75d8_4a4f_00e7_87c904f1feca"
      unitRef="pure">0.831</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_HealthcareSectorMember"
      decimals="4"
      id="h_24_9dfcb408_aca0_3049_c07a_da91441ff09b"
      unitRef="pure">0.190</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_OtherRevenueMember"
      decimals="4"
      id="h_26_d5c7ae71_a199_cedf_2760_83fd5a6de7ae"
      unitRef="pure">0.172</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_DevelopmentMember"
      decimals="4"
      id="h_27_6d0dfdcb_7169_b621_a296_25da4eaf0548"
      unitRef="pure">0.131</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_EducationMember"
      decimals="4"
      id="h_28_f6f38612_cfd5_e819_88a1_f242aed363c9"
      unitRef="pure">0.116</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_AirportMember"
      decimals="4"
      id="h_29_48ad2eed_04a2_3f80_a198_eb746c70a723"
      unitRef="pure">0.093</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_UtilitiesSectorMember"
      decimals="4"
      id="h_30_95e47f19_e711_709a_f327_dd08b21cc799"
      unitRef="pure">0.040</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_HousingMember"
      decimals="4"
      id="h_31_95226cd0_8c3f_c779_d5be_2511653dfe7b"
      unitRef="pure">0.033</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_TransportationSectorMember"
      decimals="4"
      id="h_32_d7ea84a5_4048_8b58_912f_3b77bfd1ba6e"
      unitRef="pure">0.025</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_PollutionMember"
      decimals="4"
      id="h_33_b2e480d2_20a0_b4d9_d307_06f3b653bdae"
      unitRef="pure">0.018</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_WaterAndSewerMember"
      decimals="4"
      id="h_34_a7aa45c0_257e_0ee6_f240_891a6d643d2f"
      unitRef="pure">0.013</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236448Member_ShortTermInvestmentsMember"
      decimals="4"
      id="h_23_a5fd06e5_5c2d_049c_f0da_6551e64dd481"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:CreditQualityExplanationTextBlock
      contextRef="FY2024_C000236448Member"
      id="t_19_9a177b23_c62a_8805_5584_88dce650f6e9">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;
</oef:CreditQualityExplanationTextBlock>
    <oef:CreditRatingsSelectionTextBlock
      contextRef="FY2024_C000236448Member"
      id="t_20_8b62ba45_88ec_ecf2_f572_6a0b19746763">Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc.</oef:CreditRatingsSelectionTextBlock>
    <oef:FundName
      contextRef="FY2024_C000236445Member"
      id="t_1_c20bb75a_03c1_ce9c_289d_98a2b53b5967">John Hancock Short Duration Municipal Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="FY2024_C000236445Member"
      id="t_2_893bb2cf_fb32_ac21_2582_e7c4a23dcb8b">Class R6</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2024_C000236445Member"
      id="t_3_ded84b9a_4c2f_ac94_ef72_17214b6a882b">JHSKX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2024_C000236445Member"
      id="t_4_4b323284_697c_6c29_a91d_29a5b6ca6bad">This annual shareholder report contains important information about the John Hancock Short Duration Municipal Opportunities Fund (the fund) for the period of June 1, 2023 to May 31, 2024.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2024_C000236445Member"
      id="t_5_5b7c5689_58b7_6bf1_2326_b455098b609c">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2024_C000236445Member"
      id="t_6_d06dc9ef_0a00_d38e_45da_8d7dd894ac87">You can find additional information about the fund at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt;. You can also request this information by contacting us at 800-225-5291.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2024_C000236445Member"
      id="t_7_239e0c8c_1147_a554_9297_b4fa214ec78d">jhinvestments.com/documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2024_C000236445Member"
      id="t_8_ca6d6f59_b00c_e14a_9123_574bcd792306">800-225-5291</oef:AddlInfoPhoneNumber>
    <oef:ExpensesTextBlock
      contextRef="FY2024_C000236445Member"
      id="t_9_a3c04be4_b71a_c247_ba2c_fb4d794df083">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;&lt;b&gt;What were the fund costs during the last year?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; font-weight: bold;"&gt;&lt;i&gt;(Based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; text-align: left; padding: 0px 3pt;"&gt;Fund (Class)&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs paid as a percentage&lt;br/&gt;of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; text-align: left; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;Short Duration Municipal Opportunities Fund&lt;br/&gt;(Class R6/JHSKX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;45&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;0.44&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2024_C000236445Member"
      decimals="INF"
      id="h_19_f68ed3d2_7f5d_485b_9e53_9d0521574420"
      unitRef="USD">45</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2024_C000236445Member"
      decimals="4"
      id="h_20_6b09cad0_d7e1_4c01_925e_5aad68ac7ce3"
      unitRef="pure">0.0044</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2024_C000236445Member"
      id="t_10_4a5dd2a9_a657_57c0_574d_00681a1c02b4">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 14pt;" title="oef:FactorsAffectingPerfTextBlock"&gt;Management&#x2019;s Discussion of Fund Performance&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;SUMMARY OF RESULTS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;Short Duration Municipal Opportunities Fund (Class R6/JHSKX) returned 6.33% for the year ended May 31, 2024. The most significant factors affecting Fund performance during the period included rising municipal bond yields, stronger-than-expected economic growth, and lowered expectations for interest rate cuts by the U.S. Federal Reserve. Sector performance in the municipal market was also a key factor, with high-yield bonds outperforming by a significant margin during the period.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE CONTRIBUTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;High-yield municipal bonds&lt;/b&gt; | A noteworthy position in high-yield securities provided a boost to Fund performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Healthcare bonds&lt;/b&gt; | Bonds funding hospitals and continuing care retirement facilities were leading contributors.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Education bonds&lt;/b&gt; | Bonds backing charter schools and higher education contributed the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE DETRACTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Duration (interest rate sensitivity)&lt;/b&gt; | Rising municipal bond yields put downward pressure on municipal bond prices.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;School district bonds&lt;/b&gt; | General obligation bonds issued by school districts weighed on performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Tax-backed district bonds&lt;/b&gt; | Bonds funding municipal utility districts detracted the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The views expressed in this report are exclusively those of the portfolio management team at Manulife Investment Management (US) LLC, and are subject to change. They are not meant as investment advice.&lt;/div&gt;
</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2024_C000236445Member"
      id="t_11_abf57886_7fda_0b10_d497_970d33ad5f7b">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;Fund Performance&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The following graph compares the initial and subsequent account values at the end of each of the most recently completed 10 fiscal years of the fund (or for the life of the fund, if shorter). It assumes a $1,000,000 initial investment in the fund and in an appropriate, broad-based securities market index for the same period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 3pt; font-weight: bold;"&gt;GROWTH OF $1,000,000&lt;/div&gt;

&lt;div style="margin-bottom: 20pt;"&gt;&lt;img alt="Fund Performance - Growth of 10K" src="chartimages_5005567.jpg" style="display: block; margin-left: auto; margin-right: auto; width: 542pt;"/&gt; &lt;/div&gt;
</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2024_C000236445Member"
      id="t_12_c5f1553d_fa90_344c_adb0_e9f1d7d0f4e1">
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; text-align: left; width: 60%; padding: 0px 3pt;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;1 Year&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;Since inception&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Short Duration Municipal Opportunities Fund (Class R6/JHSKX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;6.33&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;4.11&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.67&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.69&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal 1-5 Year Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.53&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.27&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;The Fund has designated Bloomberg Municipal Bond Index as its broad-based securities market index in accordance with the revised definition for such an index.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000236445Member"
      id="t_18_a66a1b9b_95bc_7d78_e2c2_24d916201e7d">Short Duration Municipal Opportunities Fund (Class R6/JHSKX)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000236445Member"
      decimals="4"
      id="h_25_1c8895ae_5ce0_130d_4323_fd0b45ccb07c"
      unitRef="pure">0.0633</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="D20220609_20240531_C000236445Member"
      decimals="4"
      id="h_26_941b7743_999f_4b9a_bafe_f833ae5a7389"
      unitRef="pure">0.0411</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2024_C000236445Member"
      id="t_13_dce407de_c254_9f9d_5d8f_a5b1e2e89333"> Past performance does not guarantee future results.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2024_C000236445Member"
      id="t_14_ab5d2b08_6b71_5e50_7b52_c7fd3b51b843">Due to market volatility and other factors, the fund&#x2019;s current performance may be higher or lower than the performance shown and can be found at &lt;span&gt;jhinvestments.com/investments&lt;/span&gt; or by calling 800-225-5291.</oef:UpdPerfInfoLocationTextBlock>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2024_C000236445Member"
      id="t_15_6166e14a_49f9_a328_ca5b_903fb64321c6">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2024_C000236445Member"
      id="t_16_159a907d_2a1f_9a8d_5ff6_07afb7d54778">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;" title="oef:AddlFundStatisticsTextBlock"&gt;Fund Statistics&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; color: rgb(0, 0, 0); font-size: 9pt; width: 90%; text-align: left; font-family: &amp;quot;Arial Narrow&amp;quot;; font-weight: bold; padding: 0px 10pt;"&gt;Fund net assets&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; padding: 0px 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;33,345,509&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total number of portfolio holdings&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;131&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total advisory fees paid (net)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;0&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Portfolio turnover rate&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;255&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20240531_C000236445Member"
      decimals="INF"
      id="h_21_b8ff5c95_74f1_4272_b62b_4c5ebcd9457e"
      unitRef="USD">33345509</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20240531_C000236445Member"
      decimals="INF"
      id="h_22_4b393dab_8d7c_4fa1_8781_102be515712b"
      unitRef="Holding">131</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2024_C000236445Member"
      decimals="INF"
      id="h_23_33008b80_4088_422f_bd0e_70f110e6c029"
      unitRef="USD">0</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2024_C000236445Member"
      decimals="4"
      id="h_24_accd3e2b_428d_4439_948b_7ebbfb6af33e"
      unitRef="pure">2.55</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2024_C000236445Member"
      id="t_17_b966016b_5405_b565_109d_e28f7485b7c7">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;" title="oef:HoldingsTableTextBlock"&gt;Graphical Representation of Holdings&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The tables below show the investment makeup of the fund, representing percentage of the total investments of the fund.&lt;/div&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Sector Composition&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; text-align: left; padding: 0px 3pt;"&gt;&lt;strong&gt;General obligation bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; padding: 0px 3pt;"&gt;&lt;strong&gt;16.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Revenue bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;83.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Health care&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;19.0&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Other revenue&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;17.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Development&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;13.1&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Education&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;11.6&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Airport&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;9.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Utilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.0&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Housing&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;3.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Transportation&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;2.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Pollution&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.8&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Water and sewer&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Short-term investments&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;0.8&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;div style="width: 33%; border-right-color: initial; border-right-style: none; border-right-width: initial; flex-grow: 1px; flex-shrink: 1px; flex-basis: auto; float: none; display: table-cell;"&gt;
&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;
&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Quality Composition&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_5005560.jpg" style="width: 172.8pt;"/&gt; &lt;/div&gt;
&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Holdings may not have been held by the fund for the entire period and are subject to change without notice. Portfolio composition is subject to review in accordance with the fund&#x2019;s investment strategy and may vary in the future. Current and future portfolio holdings are subject to risk and may change at any time.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_GeneralObligationBondsMember"
      decimals="4"
      id="h_27_575ce42e_36f5_4fc6_ba9a_306fd287ce44"
      unitRef="pure">0.161</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_RevenueBondsMember"
      decimals="4"
      id="h_28_137820d9_645e_cbc6_4570_630261200e52"
      unitRef="pure">0.831</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_HealthcareSectorMember"
      decimals="4"
      id="h_29_38534122_ce9a_65c3_df78_ba252bd21ed6"
      unitRef="pure">0.190</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_OtherRevenueMember"
      decimals="4"
      id="h_30_7175b2b8_7b1a_4425_4000_30e85a439b64"
      unitRef="pure">0.172</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_DevelopmentMember"
      decimals="4"
      id="h_31_789571c5_c010_1f23_c472_861bd727b9a7"
      unitRef="pure">0.131</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_EducationMember"
      decimals="4"
      id="h_32_62cd3edf_3991_a5cf_2d01_1e25746b1c19"
      unitRef="pure">0.116</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_AirportMember"
      decimals="4"
      id="h_33_e66061f5_df0c_6fdf_19e1_d2969d2e91ac"
      unitRef="pure">0.093</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_UtilitiesSectorMember"
      decimals="4"
      id="h_34_553ce061_c5e4_6aaa_16ca_97fa380bddba"
      unitRef="pure">0.040</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_HousingMember"
      decimals="4"
      id="h_35_cc8a0385_56af_9c7b_1bd8_1c82acf77d28"
      unitRef="pure">0.033</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_TransportationSectorMember"
      decimals="4"
      id="h_36_cda6a37b_504f_19c9_9c7f_518ab23ceb04"
      unitRef="pure">0.025</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_PollutionMember"
      decimals="4"
      id="h_37_d376a7b7_a957_1d99_e668_5c31e55fe96e"
      unitRef="pure">0.018</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_WaterAndSewerMember"
      decimals="4"
      id="h_38_79f92f64_11c2_fad8_f9bb_3fb929dfaf90"
      unitRef="pure">0.013</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000236445Member_ShortTermInvestmentsMember"
      decimals="4"
      id="h_39_be06dbb4_c0a8_517b_1fe1_47bcbfce8741"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:CreditQualityExplanationTextBlock
      contextRef="FY2024_C000236445Member"
      id="t_19_541c6c90_0756_6a4b_6e29_08c796078de8">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;
</oef:CreditQualityExplanationTextBlock>
    <oef:CreditRatingsSelectionTextBlock
      contextRef="FY2024_C000236445Member"
      id="t_20_db59a390_34ba_a164_2040_1c444cef80ed">Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc.</oef:CreditRatingsSelectionTextBlock>
    <oef:FundName
      contextRef="FY2024_C000001877Member"
      id="t_1_1edbc97b_8386_ff09_1662_48ba6a62a669">John Hancock Municipal Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="FY2024_C000001877Member"
      id="t_2_87e691e3_6ff5_7e1c_30ca_1a33d7a811b0">Class A</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2024_C000001877Member"
      id="t_3_8e7e4acc_6adf_5176_0ad4_9046e7cc9e4f">TAMBX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2024_C000001877Member"
      id="t_4_1d2e7e48_3627_1aa8_3aef_19aebb88deff">This annual shareholder report contains important information about the John Hancock Municipal Opportunities Fund (the fund) for the period of June 1, 2023 to May 31, 2024.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2024_C000001877Member"
      id="t_7_d22a376e_b6ed_9715_84d3_c8fc0a4d4769">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2024_C000001877Member"
      id="t_5_be66a045_698a_84b8_060a_3189d22cd740">You can find additional information about the fund at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt;. You can also request this information by contacting us at 800-225-5291.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2024_C000001877Member"
      id="t_8_edd6d782_9f9f_a042_3173_87085d1ac990">jhinvestments.com/documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2024_C000001877Member"
      id="t_9_f87f4587_6afb_9cf6_70e2_2ad294fd3b0c">800-225-5291</oef:AddlInfoPhoneNumber>
    <oef:ExpensesTextBlock
      contextRef="FY2024_C000001877Member"
      id="t_6_9086639b_c6d4_a555_5262_8fcc4658edd8">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;&lt;b&gt;What were the fund costs during the last year?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; font-weight: bold;"&gt;&lt;i&gt;(Based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; text-align: left; padding: 0px 3pt;"&gt;Fund (Class)&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs paid as a percentage&lt;br/&gt;of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; text-align: left; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;Municipal Opportunities Fund&lt;br/&gt;(Class A/TAMBX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;72&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;0.71&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2024_C000001877Member"
      decimals="INF"
      id="h_25_b2afc134_bd4b_4c35_950c_b18d94176dcf"
      unitRef="USD">72</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2024_C000001877Member"
      decimals="4"
      id="h_26_d629ffe6_7b11_4a3a_9688_5556d8642b4f"
      unitRef="pure">0.0071</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2024_C000001877Member"
      id="t_10_49048637_3011_cfaf_aa83_9c72697b2b27">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 14pt;" title="oef:FactorsAffectingPerfTextBlock"&gt;Management&#x2019;s Discussion of Fund Performance&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;SUMMARY OF RESULTS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;Municipal Opportunities Fund (Class A/TAMBX) returned 3.64% (excluding sales charges) for the year ended May 31, 2024. The most significant factors affecting Fund performance during the period included rising municipal bond yields, stronger-than-expected economic growth, and lowered expectations for interest rate cuts by the U.S. Federal Reserve. Sector performance in the municipal market was also a key factor, with high-yield bonds outperforming by a significant margin during the period.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE CONTRIBUTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;High-yield bonds&lt;/b&gt; | A position in high-yield securities provided a boost to Fund performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Healthcare bonds&lt;/b&gt; | Bonds funding hospitals and continuing care retirement facilities were the leading contributors.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Education bonds&lt;/b&gt; | Bonds backing charter schools and higher education contributed the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE DETRACTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Duration (interest rate sensitivity)&lt;/b&gt; | Rising bond yields put downward pressure on bond prices.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Selected hospital bonds&lt;/b&gt; | Although the hospital sector performed well overall, several individual holdings in the sector detracted from performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The views expressed in this report are exclusively those of the portfolio management team at Manulife Investment Management (US) LLC, and are subject to change. They are not meant as investment advice.&lt;/div&gt;
</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2024_C000001877Member"
      id="t_11_32dbcb27_4895_4f34_a943_acb062a856d3">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;Fund Performance&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The following graph compares the initial and subsequent account values at the end of each of the most recently completed 10 fiscal years of the fund (or for the life of the fund, if shorter). It assumes a $10,000 initial investment in the fund and in an appropriate, broad-based securities market index for the same period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 3pt; font-weight: bold;"&gt;GROWTH OF $10,000&lt;/div&gt;

&lt;div style="margin-bottom: 20pt;"&gt;&lt;img alt="Fund Performance - Growth of 10K" src="chartimages_5005855.jpg" style="display: block; margin-left: auto; margin-right: auto; width: 468pt;"/&gt; &lt;/div&gt;
</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2024_C000001877Member"
      id="t_12_6161841f_2387_8437_37a7_a8825f64fee0">
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; text-align: left; width: 60%; padding: 0px 3pt;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;1 Year&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;5 Years&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;10 Years&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Municipal Opportunities Fund (Class A/TAMBX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;(0.51&lt;span&gt;)&lt;/span&gt;&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.18&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.72&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Municipal Opportunities Fund (Class A/TAMBX)&#x2014;excluding sales charge&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;3.64&lt;span style="visibility: hidden; display: none;"&gt;)&lt;/span&gt;&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.00&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.14&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.67&lt;span style="visibility: hidden; display: none;"&gt;)&lt;/span&gt;&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.93&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.25&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;The Fund has designated Bloomberg Municipal Bond Index as its broad-based securities market index in accordance with the revised definition for such an index.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000001877Member"
      id="t_16_3ce9cc8e_104d_c016_ebcb_aef857bb2ce8">Municipal Opportunities Fund (Class A/TAMBX)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000001877Member"
      decimals="4"
      id="h_27_225ffaca_e903_4fe7_8f7f_31f9fbf23748"
      unitRef="pure">-0.0051</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_C000001877Member"
      decimals="4"
      id="h_28_c8289f39_64b5_44b3_a1d2_0120ed76a314"
      unitRef="pure">0.0018</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_C000001877Member"
      decimals="4"
      id="h_29_c7b22530_9a9e_4abb_a715_2b7914b421db"
      unitRef="pure">0.0172</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000001877Member_WithoutSalesLoadMember"
      id="t_17_bc9dc5e6_985d_c0e7_b551_95fa19f1e4bb">Municipal Opportunities Fund (Class A/TAMBX)&#x2014;excluding sales charge</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000001877Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_30_bc764475_5321_42d8_8ab1_d19c5e78036a"
      unitRef="pure">0.0364</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_C000001877Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_31_f1a643b3_841b_47dd_9509_42b4f9774235"
      unitRef="pure">0.0100</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_C000001877Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_32_2fe5b41b_bb3a_4494_9650_a15c0b88f492"
      unitRef="pure">0.0214</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_BloombergMunicipalBondIndexMember"
      decimals="4"
      id="h_56_8af4a8e1_9c0e_0259_9a26_9ec31e75c0e6"
      unitRef="pure">0.0093</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_BloombergMunicipalBondIndexMember"
      decimals="4"
      id="h_57_13a2057f_94db_af6e_9b21_1bd2c1b7702c"
      unitRef="pure">0.0225</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2024_C000001877Member"
      id="t_18_c85c9ce6_384a_a1b0_af71_c7009d3b66c7">Past performance does not guarantee future results.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2024_C000001877Member"
      id="t_19_83536fc9_e761_98f7_7796_e16a7d579c38">Due to market volatility and other factors, the fund&#x2019;s current performance may be higher or lower than the performance shown and can be found at &lt;span&gt;jhinvestments.com/investments&lt;/span&gt; or by calling 800-225-5291.</oef:UpdPerfInfoLocationTextBlock>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2024_C000001877Member"
      id="t_20_3bfa3fff_5a27_5c36_eb9b_d0de5eaaf010">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2024_C000001877Member"
      id="t_13_2cb00a1d_dfe5_583c_2cf4_b833b8256a5f">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;" title="oef:AddlFundStatisticsTextBlock"&gt;Fund Statistics&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; color: rgb(0, 0, 0); font-size: 9pt; width: 90%; text-align: left; font-family: &amp;quot;Arial Narrow&amp;quot;; font-weight: bold; padding: 0px 10pt;"&gt;Fund net assets&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; padding: 0px 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;1,133,364,555&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total number of portfolio holdings&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;907&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total advisory fees paid (net)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;4,849,418&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Portfolio turnover rate&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;50&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20240531_C000001877Member"
      decimals="INF"
      id="h_36_ab1aeeca_e0f6_4a77_bb5e_7653a76dfeba"
      unitRef="USD">1133364555</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20240531_C000001877Member"
      decimals="INF"
      id="h_37_c260738e_64d0_492c_b0f3_a271e8995694"
      unitRef="Holding">907</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2024_C000001877Member"
      decimals="INF"
      id="h_38_5954c6f7_ef17_46d8_aef1_85dc9601d4cc"
      unitRef="USD">4849418</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2024_C000001877Member"
      decimals="4"
      id="h_39_fc86c508_560a_4e50_ad69_75bb7baa7a1e"
      unitRef="pure">0.50</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2024_C000001877Member"
      id="t_14_d35a146b_1bd9_6318_4f21_cf67b63a30c1">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;" title="oef:HoldingsTableTextBlock"&gt;Graphical Representation of Holdings&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The tables below show the investment makeup of the fund, representing percentage of the total investments of the fund.&lt;/div&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Sector Composition&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; text-align: left; padding: 0px 3pt;"&gt;&lt;strong&gt;General obligation bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; padding: 0px 3pt;"&gt;&lt;strong&gt;14.3&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Revenue bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;85.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Other revenue&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;23.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Health care&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;18.4&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Education&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;9.6&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Development&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;7.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Airport&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;6.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Transportation&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;5.1&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Utilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Water and sewer&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Housing&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;2.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Tobacco&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Pollution&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Facilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;0.4&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Closed-end funds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;0.3&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Corporate bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;0.3&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;div style="width: 33%; border-right-color: initial; border-right-style: none; border-right-width: initial; flex-grow: 1px; flex-shrink: 1px; flex-basis: auto; float: none; display: table-cell;"&gt;
&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;
&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Quality Composition&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_5005848.jpg" style="width: 172.8pt;"/&gt; &lt;/div&gt;
&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Holdings may not have been held by the fund for the entire period and are subject to change without notice. Portfolio composition is subject to review in accordance with the fund&#x2019;s investment strategy and may vary in the future. Current and future portfolio holdings are subject to risk and may change at any time.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_GeneralObligationBondsMember"
      decimals="4"
      id="h_40_d0792043_bd8e_279c_3379_b7797d0203c7"
      unitRef="pure">0.143</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_RevenueBondsMember"
      decimals="4"
      id="h_41_c0398c35_561e_578f_27ab_c23a386fdf37"
      unitRef="pure">0.851</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_OtherRevenueMember"
      decimals="4"
      id="h_42_4b75a3be_89ee_1de4_291b_865e86e34747"
      unitRef="pure">0.233</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_HealthcareSectorMember"
      decimals="4"
      id="h_43_261c9359_38a9_8c94_da77_605f583854e4"
      unitRef="pure">0.184</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_EducationMember"
      decimals="4"
      id="h_44_7a200e10_5042_1963_70c8_997eb6b3905e"
      unitRef="pure">0.096</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_DevelopmentMember"
      decimals="4"
      id="h_45_d209ed6b_e751_1ea8_4961_53c43629d258"
      unitRef="pure">0.077</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_AirportMember"
      decimals="4"
      id="h_46_aa0b1310_e7ed_d91e_80a8_9feffc654d0e"
      unitRef="pure">0.067</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_TransportationSectorMember"
      decimals="4"
      id="h_47_8509b01b_22bd_1779_6c8d_472574374dd0"
      unitRef="pure">0.051</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_UtilitiesSectorMember"
      decimals="4"
      id="h_48_77e0636c_3e4d_a2e6_46b6_3f3da2fc7fd6"
      unitRef="pure">0.045</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_WaterAndSewerMember"
      decimals="4"
      id="h_49_780f16d7_68fc_3e78_a827_35565b523618"
      unitRef="pure">0.045</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_HousingMember"
      decimals="4"
      id="h_50_270267f8_9df7_66b9_4781_3a065cc77ecd"
      unitRef="pure">0.025</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_TobaccoMember"
      decimals="4"
      id="h_51_614e2c7d_6425_54c4_b287_b65b37ca69b2"
      unitRef="pure">0.012</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_PollutionMember"
      decimals="4"
      id="h_52_e8e3c540_35e0_ae21_c788_7fd00d0bef74"
      unitRef="pure">0.012</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_FacilitiesMember"
      decimals="4"
      id="h_53_21c83b42_a58b_0e37_295a_3ba4b27cd525"
      unitRef="pure">0.004</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_ClosedEndFundsMember"
      decimals="4"
      id="h_54_36d857e7_e567_f02f_47d7_55307822687a"
      unitRef="pure">0.003</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001877Member_CorporateBondSecuritiesMember"
      decimals="4"
      id="h_55_d47b4235_969d_e290_235d_a57a27d2c3ad"
      unitRef="pure">0.003</oef:PctOfTotalInv>
    <oef:CreditQualityExplanationTextBlock
      contextRef="FY2024_C000001877Member"
      id="t_21_0b07ea06_28c4_3218_8a15_98a859134f64">

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;

</oef:CreditQualityExplanationTextBlock>
    <oef:CreditRatingsSelectionTextBlock
      contextRef="FY2024_C000001877Member"
      id="t_22_cedb55b9_4c44_cff7_e966_effca60ee6c9">Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc.</oef:CreditRatingsSelectionTextBlock>
    <oef:FundName
      contextRef="FY2024_C000001879Member"
      id="t_1_cfd2c366_d037_0773_93a2_4668fc69ac0b">John Hancock Municipal Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="FY2024_C000001879Member"
      id="t_2_c939a6e8_18c8_494b_d604_a0f9ff03ca79">Class C</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2024_C000001879Member"
      id="t_3_453af2ad_6c9b_3184_2026_66cc97d06762">TBMBX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2024_C000001879Member"
      id="t_4_d78cae09_e55d_e115_c8af_6c46efe149de">This annual shareholder report contains important information about the John Hancock Municipal Opportunities Fund (the fund) for the period of June 1, 2023 to May 31, 2024.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2024_C000001879Member"
      id="t_6_a3cb0707_8ddf_e367_6131_022d585a8b8f">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2024_C000001879Member"
      id="t_5_3e03a06e_1c0d_977a_e5d1_ffb9664836bf">You can find additional information about the fund at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt;. You can also request this information by contacting us at 800-225-5291.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2024_C000001879Member"
      id="t_21_c97a6494_2790_ffc8_f37d_2559f3391402">jhinvestments.com/documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2024_C000001879Member"
      id="t_8_6ff65d13_e484_bffe_0229_31b246dddb05">800-225-5291</oef:AddlInfoPhoneNumber>
    <oef:ExpensesTextBlock
      contextRef="FY2024_C000001879Member"
      id="t_9_f3bd82c3_7cbc_e3f1_9cd8_3916c0588a68">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;&lt;b&gt;What were the fund costs during the last year?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; font-weight: bold;"&gt;&lt;i&gt;(Based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; text-align: left; padding: 0px 3pt;"&gt;Fund (Class)&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs paid as a percentage&lt;br/&gt;of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; text-align: left; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;Municipal Opportunities Fund&lt;br/&gt;(Class C/TBMBX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;148&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;1.46&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2024_C000001879Member"
      decimals="INF"
      id="h_40_9acbacb7_c920_4bb2_95dc_36827d718454"
      unitRef="USD">148</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2024_C000001879Member"
      decimals="4"
      id="h_41_7140b5e6_522d_408b_9af8_c4b49c9a9019"
      unitRef="pure">0.0146</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2024_C000001879Member"
      id="t_10_3f58f317_3b8d_b0d5_920a_ac1d46ef66b0">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 14pt;" title="oef:FactorsAffectingPerfTextBlock"&gt;Management&#x2019;s Discussion of Fund Performance&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;SUMMARY OF RESULTS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;Municipal Opportunities Fund (Class C/TBMBX) returned 2.86% (excluding sales charges) for the year ended May 31, 2024. The most significant factors affecting Fund performance during the period included rising municipal bond yields, stronger-than-expected economic growth, and lowered expectations for interest rate cuts by the U.S. Federal Reserve. Sector performance in the municipal market was also a key factor, with high-yield bonds outperforming by a significant margin during the period.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE CONTRIBUTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;High-yield bonds&lt;/b&gt; | A position in high-yield securities provided a boost to Fund performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Healthcare bonds&lt;/b&gt; | Bonds funding hospitals and continuing care retirement facilities were the leading contributors.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Education bonds&lt;/b&gt; | Bonds backing charter schools and higher education contributed the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE DETRACTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Duration (interest rate sensitivity)&lt;/b&gt; | Rising bond yields put downward pressure on bond prices.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Selected hospital bonds&lt;/b&gt; | Although the hospital sector performed well overall, several individual holdings in the sector detracted from performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The views expressed in this report are exclusively those of the portfolio management team at Manulife Investment Management (US) LLC, and are subject to change. They are not meant as investment advice.&lt;/div&gt;
</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2024_C000001879Member"
      id="t_11_9d84d54c_c4d3_d14f_4a8d_a233c9199874">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;Fund Performance&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The following graph compares the initial and subsequent account values at the end of each of the most recently completed 10 fiscal years of the fund (or for the life of the fund, if shorter). It assumes a $10,000 initial investment in the fund and in an appropriate, broad-based securities market index for the same period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 3pt; font-weight: bold;"&gt;GROWTH OF $10,000&lt;/div&gt;

&lt;div style="margin-bottom: 20pt;"&gt;&lt;img alt="Fund Performance - Growth of 10K" src="chartimages_5005819.jpg" style="display: block; margin-left: auto; margin-right: auto; width: 468pt;"/&gt; &lt;/div&gt;
</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2024_C000001879Member"
      id="t_12_553b3049_2689_d7d1_57be_20cfa461260c">
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; text-align: left; width: 60%; padding: 0px 3pt;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;1 Year&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;5 Years&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;10 Years&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Municipal Opportunities Fund (Class C/TBMBX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.86&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.24&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.39&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Municipal Opportunities Fund (Class C/TBMBX)&#x2014;excluding sales charge&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.86&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.24&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.39&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.67&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.93&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.25&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;The Fund has designated Bloomberg Municipal Bond Index as its broad-based securities market index in accordance with the revised definition for such an index.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000001879Member"
      id="t_17_1a25a70d_93f1_1621_ee7b_7b87e374dc7c">Municipal Opportunities Fund (Class C/TBMBX)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000001879Member"
      decimals="4"
      id="h_42_0d02c6d6_d5b0_450a_9cbf_d4c7053fd9de"
      unitRef="pure">0.0186</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_C000001879Member"
      decimals="4"
      id="h_43_1a11f801_7082_46b7_8d9e_d7795bb92f54"
      unitRef="pure">0.0024</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_C000001879Member"
      decimals="4"
      id="h_44_092554b7_6457_4af2_b711_fdc81b258350"
      unitRef="pure">0.0139</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000001879Member_WithoutSalesLoadMember"
      id="t_18_dd28efbe_72e1_9d3c_2910_7ed6adbfe16b">Municipal Opportunities Fund (Class C/TBMBX)&#x2014;excluding sales charge</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000001879Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_45_301ac3d8_abad_41ac_ae1e_88014e48841d"
      unitRef="pure">0.0286</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_C000001879Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_46_1d34c535_5252_484e_8e9b_15bc01dda9a1"
      unitRef="pure">0.0024</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_C000001879Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_47_fe64c8f1_75b1_4ff6_9e44_06b0b1614b49"
      unitRef="pure">0.0139</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2024_C000001879Member"
      id="t_14_cfb69f14_c4f1_f67a_2374_0f8093c0de0a">Past performance does not guarantee future results.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2024_C000001879Member"
      id="t_15_893d4ce4_c278_f62f_e2fc_b3bd04a87c5d">Due to market volatility and other factors, the fund&#x2019;s current performance may be higher or lower than the performance shown and can be found at &lt;span&gt;jhinvestments.com/investments&lt;/span&gt; or by calling 800-225-5291.</oef:UpdPerfInfoLocationTextBlock>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2024_C000001879Member"
      id="t_16_23aba850_7c81_126d_2a50_78795ad9908c">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2024_C000001879Member"
      id="t_13_764bde5f_3908_a68a_b973_8a92afb4a23c">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;" title="oef:AddlFundStatisticsTextBlock"&gt;Fund Statistics&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; color: rgb(0, 0, 0); font-size: 9pt; width: 90%; text-align: left; font-family: &amp;quot;Arial Narrow&amp;quot;; font-weight: bold; padding: 0px 10pt;"&gt;Fund net assets&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; padding: 0px 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;1,133,364,555&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total number of portfolio holdings&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;907&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total advisory fees paid (net)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;4,849,418&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Portfolio turnover rate&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;50&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20240531_C000001879Member"
      decimals="INF"
      id="h_51_04f85c8d_75b1_4c48_ad6a_99d96589f0fd"
      unitRef="USD">1133364555</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20240531_C000001879Member"
      decimals="INF"
      id="h_52_7f4e97a9_be33_4dd4_896c_5c5bab7fa124"
      unitRef="Holding">907</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2024_C000001879Member"
      decimals="INF"
      id="h_53_6741ba71_6f4e_4328_91ed_36ce6bc29c1c"
      unitRef="USD">4849418</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2024_C000001879Member"
      decimals="4"
      id="h_54_530c92e7_4448_45bf_abd8_f1a415a06c4b"
      unitRef="pure">0.50</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2024_C000001879Member"
      id="t_19_f6054575_360a_69d1_5559_b3ee26403b92">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;" title="oef:HoldingsTableTextBlock"&gt;Graphical Representation of Holdings&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The tables below show the investment makeup of the fund, representing percentage of the total investments of the fund.&lt;/div&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Sector Composition&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; text-align: left; padding: 0px 3pt;"&gt;&lt;strong&gt;General obligation bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; padding: 0px 3pt;"&gt;&lt;strong&gt;14.3&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Revenue bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;85.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Other revenue&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;23.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Health care&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;18.4&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Education&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;9.6&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Development&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;7.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Airport&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;6.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Transportation&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;5.1&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Utilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Water and sewer&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Housing&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;2.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Tobacco&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Pollution&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Facilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;0.4&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Closed-end funds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;0.3&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Corporate bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;0.3&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;div style="width: 33%; border-right-color: initial; border-right-style: none; border-right-width: initial; flex-grow: 1px; flex-shrink: 1px; flex-basis: auto; float: none; display: table-cell;"&gt;
&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;
&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Quality Composition&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_5005812.jpg" style="width: 172.8pt;"/&gt; &lt;/div&gt;
&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Holdings may not have been held by the fund for the entire period and are subject to change without notice. Portfolio composition is subject to review in accordance with the fund&#x2019;s investment strategy and may vary in the future. Current and future portfolio holdings are subject to risk and may change at any time.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_GeneralObligationBondsMember"
      decimals="4"
      id="h_55_23f8ad71_fdec_17c4_b0f2_002d678762e5"
      unitRef="pure">0.143</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_RevenueBondsMember"
      decimals="4"
      id="h_56_965208f8_0ffc_6b45_cc84_d4d48603a8ba"
      unitRef="pure">0.851</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_OtherRevenueMember"
      decimals="4"
      id="h_57_c8d5eecd_3220_4b4b_030a_563aaf33f6c5"
      unitRef="pure">0.233</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_HealthcareSectorMember"
      decimals="4"
      id="h_58_171fbaf7_24a4_1acb_c9bc_9d85145c195c"
      unitRef="pure">0.184</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_EducationMember"
      decimals="4"
      id="h_59_ccf429f1_7607_a6da_992d_c7ce2b287cdf"
      unitRef="pure">0.096</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_DevelopmentMember"
      decimals="4"
      id="h_60_5ed2a7fa_428b_11bb_9af1_fd0db0543561"
      unitRef="pure">0.077</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_AirportMember"
      decimals="4"
      id="h_61_493f341a_3d2c_0471_6431_09440f04f69d"
      unitRef="pure">0.067</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_TransportationSectorMember"
      decimals="4"
      id="h_62_c620102c_d19a_2037_4107_063c10cfa457"
      unitRef="pure">0.051</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_UtilitiesSectorMember"
      decimals="4"
      id="h_63_8585531f_5225_9edc_2303_771f810e70ee"
      unitRef="pure">0.045</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_WaterAndSewerMember"
      decimals="4"
      id="h_64_4f432fb8_0aa0_0c05_bf0f_7d66ae91ee62"
      unitRef="pure">0.045</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_HousingMember"
      decimals="4"
      id="h_65_a4f9b13b_8369_2f43_1ad1_e48423267072"
      unitRef="pure">0.025</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_TobaccoMember"
      decimals="4"
      id="h_66_20b94dff_16ff_4ffa_2a34_5cf89fd07e5d"
      unitRef="pure">0.012</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_PollutionMember"
      decimals="4"
      id="h_67_bc41cb51_21ea_1a25_0a32_2a7ff975710e"
      unitRef="pure">0.012</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_FacilitiesMember"
      decimals="4"
      id="h_68_cf00eec0_d716_f701_62a6_a38392c3d609"
      unitRef="pure">0.004</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_ClosedEndFundsMember"
      decimals="4"
      id="h_69_e4f3f3d3_0a5c_0732_e1a2_59beaba5941a"
      unitRef="pure">0.003</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001879Member_CorporateBondSecuritiesMember"
      decimals="4"
      id="h_70_b12d3519_5341_c9bd_2c75_e700059e0814"
      unitRef="pure">0.003</oef:PctOfTotalInv>
    <oef:CreditQualityExplanationTextBlock
      contextRef="FY2024_C000001879Member"
      id="t_22_1cfd2491_3d5a_9b36_29b5_2ed7bfcf17d7">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;
</oef:CreditQualityExplanationTextBlock>
    <oef:CreditRatingsSelectionTextBlock
      contextRef="FY2024_C000001879Member"
      id="t_23_b236b0ba_6171_be0c_d4e0_a5f16f82ea6a">Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc.</oef:CreditRatingsSelectionTextBlock>
    <oef:FundName
      contextRef="FY2024_C000178766Member"
      id="t_1_6ebba588_3ba0_7821_0ed7_3d2d82883fe0">John Hancock Municipal Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="FY2024_C000178766Member"
      id="t_2_9befc49f_a2d6_7027_8670_e67ed97e751d">Class I</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2024_C000178766Member"
      id="t_3_b836e451_aa06_05ca_e390_649527e268e7">JTBDX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2024_C000178766Member"
      id="t_4_293f41f3_08f2_b0fa_510a_208de6316a92">This annual shareholder report contains important information about the John Hancock Municipal Opportunities Fund (the fund) for the period of June 1, 2023 to May 31, 2024.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2024_C000178766Member"
      id="t_5_c11b3caa_87ea_d88c_0878_1b6e010ba265">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2024_C000178766Member"
      id="t_6_c5370bee_ea17_4032_7717_bfc81311ca6a">You can find additional information about the fund at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt;. You can also request this information by contacting us at 800-225-5291.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2024_C000178766Member"
      id="t_7_1502df70_b04d_6be6_0876_558e99b304a4">jhinvestments.com/documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2024_C000178766Member"
      id="t_8_03370d9e_d409_7076_a451_21a20c092105">800-225-5291</oef:AddlInfoPhoneNumber>
    <oef:ExpensesTextBlock
      contextRef="FY2024_C000178766Member"
      id="t_9_ea905e21_e06d_d36f_8c1c_611e2a535617">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;&lt;b&gt;What were the fund costs during the last year?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; font-weight: bold;"&gt;&lt;i&gt;(Based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; text-align: left; padding: 0px 3pt;"&gt;Fund (Class)&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs paid as a percentage&lt;br/&gt;of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; text-align: left; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;Municipal Opportunities Fund&lt;br/&gt;(Class I/JTBDX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;57&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;0.56&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2024_C000178766Member"
      decimals="INF"
      id="h_55_b3a8df0c_2c4e_47f9_bb8b_c482129c7f40"
      unitRef="USD">57</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2024_C000178766Member"
      decimals="4"
      id="h_56_2c7bad50_c591_4d1e_b8f3_314f56cbe546"
      unitRef="pure">0.0056</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2024_C000178766Member"
      id="t_10_6b0c2548_5667_a9a2_9050_ef44bc02bf1f">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 14pt;" title="oef:FactorsAffectingPerfTextBlock"&gt;Management&#x2019;s Discussion of Fund Performance&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;SUMMARY OF RESULTS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;Municipal Opportunities Fund (Class I/JTBDX) returned 3.79% for the year ended May 31, 2024. The most significant factors affecting Fund performance during the period included rising municipal bond yields, stronger-than-expected economic growth, and lowered expectations for interest rate cuts by the U.S. Federal Reserve. Sector performance in the municipal market was also a key factor, with high-yield bonds outperforming by a significant margin during the period.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE CONTRIBUTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;High-yield bonds&lt;/b&gt; | A position in high-yield securities provided a boost to Fund performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Healthcare bonds&lt;/b&gt; | Bonds funding hospitals and continuing care retirement facilities were the leading contributors.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Education bonds&lt;/b&gt; | Bonds backing charter schools and higher education contributed the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE DETRACTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Duration (interest rate sensitivity)&lt;/b&gt; | Rising bond yields put downward pressure on bond prices.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Selected hospital bonds&lt;/b&gt; | Although the hospital sector performed well overall, several individual holdings in the sector detracted from performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The views expressed in this report are exclusively those of the portfolio management team at Manulife Investment Management (US) LLC, and are subject to change. They are not meant as investment advice.&lt;/div&gt;
</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2024_C000178766Member"
      id="t_11_507229bc_1fcc_2a57_28e6_4193e03ca44c">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;Fund Performance&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The following graph compares the initial and subsequent account values at the end of each of the most recently completed 10 fiscal years of the fund (or for the life of the fund, if shorter). It assumes a $250,000 initial investment in the fund and in an appropriate, broad-based securities market index for the same period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 3pt; font-weight: bold;"&gt;GROWTH OF $250,000&lt;/div&gt;

&lt;div style="margin-bottom: 20pt;"&gt;&lt;img alt="Fund Performance - Growth of 10K" src="chartimages_5005783.jpg" style="display: block; margin-left: auto; margin-right: auto; width: 542pt;"/&gt; &lt;/div&gt;
</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2024_C000178766Member"
      id="t_14_1ad82d66_9fc8_c05b_fa8d_759b8550b440">
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; text-align: left; width: 60%; padding: 0px 3pt;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;1 Year&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;5 Years&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;10 Years&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Municipal Opportunities Fund (Class I/JTBDX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;3.79&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.15&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.26&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.67&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.93&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.25&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;The Fund has designated Bloomberg Municipal Bond Index as its broad-based securities market index in accordance with the revised definition for such an index.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;Class I shares were first offered on 2-13-17. Returns prior to this date are those of Class A shares that have not been adjusted for class-specific expenses; otherwise, returns would vary.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000178766Member"
      id="t_16_37784467_920d_20fb_644a_0af0ad1f037f">Municipal Opportunities Fund (Class I/JTBDX)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000178766Member"
      decimals="4"
      id="h_57_ba989a54_8974_45b4_9fd6_c368dc8a47b8"
      unitRef="pure">0.0379</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_C000178766Member"
      decimals="4"
      id="h_58_33d9f0b2_d20b_4031_8145_f2aead7f5028"
      unitRef="pure">0.0115</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_C000178766Member"
      decimals="4"
      id="h_59_95f078fa_2a47_48ab_bdec_ba00f5a3c18c"
      unitRef="pure">0.0226</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2024_C000178766Member"
      id="t_17_d6d16dbe_0c08_bad1_106c_5f1fdf808022">Past performance does not guarantee future results.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2024_C000178766Member"
      id="t_19_84b053cd_d49d_6740_f4c7_60f0260e29fe">Due to market volatility and other factors, the fund&#x2019;s current performance may be higher or lower than the performance shown and can be found at &lt;span&gt;jhinvestments.com/investments&lt;/span&gt; or by calling 800-225-5291.</oef:UpdPerfInfoLocationTextBlock>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2024_C000178766Member"
      id="t_20_44a05875_1ef3_57dd_ab75_80cf20b6788e">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2024_C000178766Member"
      id="t_12_6ca99e7f_b9b2_f110_c267_5ed9ee586b07">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;" title="oef:AddlFundStatisticsTextBlock"&gt;Fund Statistics&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; color: rgb(0, 0, 0); font-size: 9pt; width: 90%; text-align: left; font-family: &amp;quot;Arial Narrow&amp;quot;; font-weight: bold; padding: 0px 10pt;"&gt;Fund net assets&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; padding: 0px 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;1,133,364,555&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total number of portfolio holdings&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;907&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total advisory fees paid (net)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;4,849,418&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Portfolio turnover rate&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;50&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20240531_C000178766Member"
      decimals="INF"
      id="h_63_0bf59917_68a1_4602_91f7_8b57f29311e4"
      unitRef="USD">1133364555</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20240531_C000178766Member"
      decimals="INF"
      id="h_64_f777e4e2_21f9_41ad_98f4_44acfef15136"
      unitRef="Holding">907</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2024_C000178766Member"
      decimals="INF"
      id="h_65_31f6fdfb_1e48_4795_b86c_5a0ae3bf4e28"
      unitRef="USD">4849418</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2024_C000178766Member"
      decimals="4"
      id="h_66_b9ddc96d_8c66_426d_b5f0_bb68df7d1686"
      unitRef="pure">0.50</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2024_C000178766Member"
      id="t_13_a9458ebd_78d2_9847_dbf3_51a8bbd4eda5">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;" title="oef:HoldingsTableTextBlock"&gt;Graphical Representation of Holdings&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The tables below show the investment makeup of the fund, representing percentage of the total investments of the fund.&lt;/div&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Sector Composition&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; text-align: left; padding: 0px 3pt;"&gt;&lt;strong&gt;General obligation bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; padding: 0px 3pt;"&gt;&lt;strong&gt;14.3&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Revenue bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;85.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Other revenue&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;23.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Health care&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;18.4&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Education&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;9.6&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Development&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;7.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Airport&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;6.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Transportation&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;5.1&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Utilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Water and sewer&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Housing&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;2.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Tobacco&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Pollution&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Facilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;0.4&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Closed-end funds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;0.3&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Corporate bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;0.3&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Quality Composition&lt;/b&gt;&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_5005776.jpg" style="width: 172.8pt;"/&gt; &lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Holdings may not have been held by the fund for the entire period and are subject to change without notice. Portfolio composition is subject to review in accordance with the fund&#x2019;s investment strategy and may vary in the future. Current and future portfolio holdings are subject to risk and may change at any time.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_GeneralObligationBondsMember"
      decimals="4"
      id="h_67_f6c234d5_14c2_5d64_df2c_2f82077e0ed9"
      unitRef="pure">0.143</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_RevenueBondsMember"
      decimals="4"
      id="h_68_370ded9c_8316_cc33_6550_3fbcb8d275fa"
      unitRef="pure">0.851</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_OtherRevenueMember"
      decimals="4"
      id="h_69_c353650b_430c_eada_a0b7_2341f3c85864"
      unitRef="pure">0.233</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_HealthcareSectorMember"
      decimals="4"
      id="h_70_f79414ac_4642_ffdd_105f_a4082e474bf7"
      unitRef="pure">0.184</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_EducationMember"
      decimals="4"
      id="h_71_99907f6e_dabd_fe0d_0e86_917a483a6c39"
      unitRef="pure">0.096</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_DevelopmentMember"
      decimals="4"
      id="h_72_17d164f9_000a_3819_b334_9a6fb53a10c6"
      unitRef="pure">0.077</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_AirportMember"
      decimals="4"
      id="h_73_c1412130_4b99_9592_68d1_b44e185d2ae8"
      unitRef="pure">0.067</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_TransportationSectorMember"
      decimals="4"
      id="h_74_7e8530a9_fdc9_47bb_6234_a9095d1e2b25"
      unitRef="pure">0.051</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_UtilitiesSectorMember"
      decimals="4"
      id="h_75_0006b02b_77f1_c250_8eb2_84429ee20826"
      unitRef="pure">0.045</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_WaterAndSewerMember"
      decimals="4"
      id="h_76_8c91de95_d1c2_94ed_b2b5_04c63400ac74"
      unitRef="pure">0.045</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_HousingMember"
      decimals="4"
      id="h_77_b8e3551b_6bbe_a1df_5636_e0d375be28b8"
      unitRef="pure">0.025</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_TobaccoMember"
      decimals="4"
      id="h_78_3eb985b4_d4c2_ccc5_80db_45668c78aa13"
      unitRef="pure">0.012</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_PollutionMember"
      decimals="4"
      id="h_79_ea6d9a56_5124_29b6_14bc_55f2642fe09f"
      unitRef="pure">0.012</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_FacilitiesMember"
      decimals="4"
      id="h_80_1285813e_c7ee_c8c9_7dfb_1430dbdebe84"
      unitRef="pure">0.004</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_ClosedEndFundsMember"
      decimals="4"
      id="h_81_0fdaf0e9_a04d_ef14_6f7f_0164c44ed712"
      unitRef="pure">0.003</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178766Member_CorporateBondSecuritiesMember"
      decimals="4"
      id="h_82_3f259ee7_c083_f952_8d1d_6ecc9d8aa589"
      unitRef="pure">0.003</oef:PctOfTotalInv>
    <oef:CreditQualityExplanationTextBlock
      contextRef="FY2024_C000178766Member"
      id="t_21_67016754_f575_b249_d8ab_68d46e2cba8f">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;
</oef:CreditQualityExplanationTextBlock>
    <oef:CreditRatingsSelectionTextBlock
      contextRef="FY2024_C000178766Member"
      id="t_22_6ff28cd7_fbbc_0c5b_bc23_d0be0c9ae39e">Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc.</oef:CreditRatingsSelectionTextBlock>
    <oef:FundName
      contextRef="FY2024_C000193019Member"
      id="t_1_de4add73_066c_ff25_3073_eedc1b15df98">John Hancock Municipal Opportunities Fund</oef:FundName>
    <oef:ClassName
      contextRef="FY2024_C000193019Member"
      id="t_2_f18cb8fb_aced_85a6_e682_b542fa770182">Class R6</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2024_C000193019Member"
      id="t_3_0acf7075_e007_e3d9_1c48_76abc97d2fa6">JTMRX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2024_C000193019Member"
      id="t_4_156db3b3_22a2_6cc3_d18e_d2bddb0c33aa">This annual shareholder report contains important information about the John Hancock Municipal Opportunities Fund (the fund) for the period of June 1, 2023 to May 31, 2024.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2024_C000193019Member"
      id="t_5_f2ddf16e_51e9_e387_50f9_56baba4cd983">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2024_C000193019Member"
      id="t_6_25edf69c_0b29_3e0d_f2cc_18f4b0c32287">You can find additional information about the fund at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt;. You can also request this information by contacting us at 800-225-5291.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2024_C000193019Member"
      id="t_7_36a607e8_8cf0_0b41_f868_9b6b4da887dc">jhinvestments.com/documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2024_C000193019Member"
      id="t_8_cfaf96de_e443_60dc_6ec7_d9d4d9b4e87e">800-225-5291</oef:AddlInfoPhoneNumber>
    <oef:ExpensesTextBlock
      contextRef="FY2024_C000193019Member"
      id="t_9_65985a80_eb03_4c2e_3765_78f34cfb2b81">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;&lt;b&gt;What were the fund costs during the last year?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; font-weight: bold;"&gt;&lt;i&gt;(Based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; text-align: left; padding: 0px 3pt;"&gt;Fund (Class)&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs paid as a percentage&lt;br/&gt;of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; text-align: left; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;Municipal Opportunities Fund&lt;br/&gt;(Class R6/JTMRX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;56&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;0.55&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2024_C000193019Member"
      decimals="INF"
      id="h_67_8e2baad9_992e_44b1_a823_2a369dcdc285"
      unitRef="USD">56</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2024_C000193019Member"
      decimals="4"
      id="h_68_3d6fc2db_96af_42d9_8824_d43446560753"
      unitRef="pure">0.0055</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2024_C000193019Member"
      id="t_10_8fc67ab3_5092_bbdb_fd8c_7740624f5709">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 14pt;" title="oef:FactorsAffectingPerfTextBlock"&gt;Management&#x2019;s Discussion of Fund Performance&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;SUMMARY OF RESULTS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;Municipal Opportunities Fund (Class R6/JTMRX) returned 3.92% for the year ended May 31, 2024. The most significant factors affecting Fund performance during the period included rising municipal bond yields, stronger-than-expected economic growth, and lowered expectations for interest rate cuts by the U.S. Federal Reserve. Sector performance in the municipal market was also a key factor, with high-yield bonds outperforming by a significant margin during the period.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE CONTRIBUTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;High-yield bonds&lt;/b&gt; | A position in high-yield securities provided a boost to Fund performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Healthcare bonds&lt;/b&gt; | Bonds funding hospitals and continuing care retirement facilities were the leading contributors.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Education bonds&lt;/b&gt; | Bonds backing charter schools and higher education contributed the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE DETRACTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Duration (interest rate sensitivity)&lt;/b&gt; | Rising bond yields put downward pressure on bond prices.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Selected hospital bonds&lt;/b&gt; | Although the hospital sector performed well overall, several individual holdings in the sector detracted from performance.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The views expressed in this report are exclusively those of the portfolio management team at Manulife Investment Management (US) LLC, and are subject to change. They are not meant as investment advice.&lt;/div&gt;
</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2024_C000193019Member"
      id="t_11_86f55aca_ecef_f29e_1e92_bbff579520e7">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;Fund Performance&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The following graph compares the initial and subsequent account values at the end of each of the most recently completed 10 fiscal years of the fund (or for the life of the fund, if shorter). It assumes a $1,000,000 initial investment in the fund and in an appropriate, broad-based securities market index for the same period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 3pt; font-weight: bold;"&gt;GROWTH OF $1,000,000&lt;/div&gt;

&lt;div style="margin-bottom: 20pt;"&gt;&lt;img alt="Fund Performance - Growth of 10K" src="chartimages_5005747.jpg" style="display: block; margin-left: auto; margin-right: auto; width: 542pt;"/&gt; &lt;/div&gt;
</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2024_C000193019Member"
      id="t_12_47f09665_26e6_3003_d77d_32dd4573a1ef">
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; text-align: left; width: 60%; padding: 0px 3pt;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;1 Year&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;5 Years&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;10 Years&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Municipal Opportunities Fund (Class R6/JTMRX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;3.92&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.18&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.27&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.67&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.93&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.25&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;The Fund has designated Bloomberg Municipal Bond Index as its broad-based securities market index in accordance with the revised definition for such an index.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;Class R6 shares were first offered on 8-30-17. Returns prior to this date are those of Class A shares that have not been adjusted for class-specific expenses; otherwise, returns would vary.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000193019Member"
      id="t_19_0830ebb5_7564_27b0_d137_d1eeeadbcfa6">Municipal Opportunities Fund (Class R6/JTMRX)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000193019Member"
      decimals="4"
      id="h_69_97943a84_75fa_426e_b66f_db9546fb6a4f"
      unitRef="pure">0.0392</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_C000193019Member"
      decimals="4"
      id="h_70_51637a25_d385_423e_94f5_76932bfa8447"
      unitRef="pure">0.0118</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_C000193019Member"
      decimals="4"
      id="h_71_3c0adeab_927c_42df_8445_264b19995f1b"
      unitRef="pure">0.0227</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2024_C000193019Member"
      id="t_13_35963efc_bd58_fd7c_aa14_c1e140627bc9">Past performance does not guarantee future results.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2024_C000193019Member"
      id="t_14_1afa2296_6bbc_7412_54c4_9f3dbf115fab">Due to market volatility and other factors, the fund&#x2019;s current performance may be higher or lower than the performance shown and can be found at &lt;span&gt;jhinvestments.com/investments&lt;/span&gt; or by calling 800-225-5291.</oef:UpdPerfInfoLocationTextBlock>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2024_C000193019Member"
      id="t_15_48eb0577_359a_560f_02ac_9eb3491fd0e2">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares. It is not possible to invest directly in an index.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2024_C000193019Member"
      id="t_16_43c3c253_580d_4ec6_09a9_70f68fd60249">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;" title="oef:AddlFundStatisticsTextBlock"&gt;Fund Statistics&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; color: rgb(0, 0, 0); font-size: 9pt; width: 90%; text-align: left; font-family: &amp;quot;Arial Narrow&amp;quot;; font-weight: bold; padding: 0px 10pt;"&gt;Fund net assets&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: &amp;quot;Arial Narrow&amp;quot;; color: rgb(0, 0, 0); font-size: 9pt; padding: 0px 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;1,133,364,555&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total number of portfolio holdings&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;907&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total advisory fees paid (net)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;4,849,418&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Portfolio turnover rate&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;50&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20240531_C000193019Member"
      decimals="INF"
      id="h_75_2b35c148_5c87_4e03_8efb_c2b6266bae79"
      unitRef="USD">1133364555</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20240531_C000193019Member"
      decimals="INF"
      id="h_76_985eb0d8_2c9a_4c23_bde5_391f3885f8b4"
      unitRef="Holding">907</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2024_C000193019Member"
      decimals="INF"
      id="h_77_12909442_af41_4ecb_aede_1fca6c6e7bf2"
      unitRef="USD">4849418</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2024_C000193019Member"
      decimals="4"
      id="h_78_85c2b157_2df0_4715_9999_7905b19d8e1c"
      unitRef="pure">0.50</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2024_C000193019Member"
      id="t_17_4aac07b9_76b0_93bb_6279_1b6e0f9e268f">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;" title="oef:HoldingsTableTextBlock"&gt;Graphical Representation of Holdings&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The tables below show the investment makeup of the fund, representing percentage of the total investments of the fund.&lt;/div&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Sector Composition&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; text-align: left; padding: 0px 3pt;"&gt;&lt;strong&gt;General obligation bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; padding: 0px 3pt;"&gt;&lt;strong&gt;14.3&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Revenue bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;85.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Other revenue&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;23.3&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Health care&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;18.4&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Education&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;9.6&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Development&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;7.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Airport&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;6.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Transportation&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;5.1&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Utilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Water and sewer&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Housing&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;2.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Tobacco&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Pollution&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Facilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;0.4&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Closed-end funds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;0.3&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Corporate bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;0.3&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Quality Composition&lt;/b&gt;&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_5005740.jpg" style="width: 172.8pt;"/&gt; &lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Holdings may not have been held by the fund for the entire period and are subject to change without notice. Portfolio composition is subject to review in accordance with the fund&#x2019;s investment strategy and may vary in the future. Current and future portfolio holdings are subject to risk and may change at any time.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_GeneralObligationBondsMember"
      decimals="4"
      id="h_79_05b5933e_6e42_8be6_443b_5cb41effa64c"
      unitRef="pure">0.143</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_RevenueBondsMember"
      decimals="4"
      id="h_80_d0ef9a40_4681_5b42_7f83_51a541db104a"
      unitRef="pure">0.851</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_OtherRevenueMember"
      decimals="4"
      id="h_81_44b78916_94b3_bdb9_f873_e1d3f6d7cf4b"
      unitRef="pure">0.233</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_HealthcareSectorMember"
      decimals="4"
      id="h_82_fe067e4b_4ef7_82ee_dbc4_ee4fccee703a"
      unitRef="pure">0.184</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_EducationMember"
      decimals="4"
      id="h_83_ab4085cd_2015_4343_0fdc_b82d8d9650b2"
      unitRef="pure">0.096</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_DevelopmentMember"
      decimals="4"
      id="h_84_bef3ef60_eff4_15e2_20bb_dcfa8ee2b253"
      unitRef="pure">0.077</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_AirportMember"
      decimals="4"
      id="h_85_92b53916_2d5d_c9e9_1e38_66b14357fc87"
      unitRef="pure">0.067</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_TransportationSectorMember"
      decimals="4"
      id="h_86_350c5ee3_645a_f8f2_d811_02d0932f9bed"
      unitRef="pure">0.051</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_UtilitiesSectorMember"
      decimals="4"
      id="h_87_d4222e66_746f_f2ef_1412_00031e1c95cb"
      unitRef="pure">0.045</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_WaterAndSewerMember"
      decimals="4"
      id="h_88_5ba1e0bd_0168_9da5_68e7_83e3b075d137"
      unitRef="pure">0.045</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_HousingMember"
      decimals="4"
      id="h_89_02a46cd2_dc98_c1cf_a187_d018ecc0fce8"
      unitRef="pure">0.025</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_TobaccoMember"
      decimals="4"
      id="h_90_11711393_0afd_cef0_dce0_808c6823fdfd"
      unitRef="pure">0.012</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_PollutionMember"
      decimals="4"
      id="h_91_e258ac90_4f70_8794_d981_58339e2f7219"
      unitRef="pure">0.012</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_FacilitiesMember"
      decimals="4"
      id="h_92_3936cf50_bd6f_f6c3_8703_572ba6116c5e"
      unitRef="pure">0.004</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_ClosedEndFundsMember"
      decimals="4"
      id="h_93_7a6335e0_fafb_0877_d5cf_bc1792f7d13a"
      unitRef="pure">0.003</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193019Member_CorporateBondSecuritiesMember"
      decimals="4"
      id="h_94_60c24ac9_050b_0308_fad1_c1e3a7bc3ce6"
      unitRef="pure">0.003</oef:PctOfTotalInv>
    <oef:CreditQualityExplanationTextBlock
      contextRef="FY2024_C000193019Member"
      id="t_18_7e40a39c_2128_6640_4c05_c615639d7b98">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;
</oef:CreditQualityExplanationTextBlock>
    <oef:CreditRatingsSelectionTextBlock
      contextRef="FY2024_C000193019Member"
      id="t_20_abbf70a6_b457_a3c5_09dd_6a63a1e85a40">Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc.</oef:CreditRatingsSelectionTextBlock>
    <oef:FundName
      contextRef="FY2024_C000001874Member"
      id="t_1_1b3fbd7d_6737_8310_1ac0_c7ec529b722b"> John Hancock High Yield Municipal Bond Fund </oef:FundName>
    <oef:ClassName
      contextRef="FY2024_C000001874Member"
      id="t_2_0acbb60e_c54e_43b1_3d57_aab0fb20abe1">Class A</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2024_C000001874Member"
      id="t_3_c93ae7a3_5dcb_c782_e3a3_2ce5cbbe7ca6">JHTFX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_4_1aab079b_4739_7a40_8701_45d3a171ac1c">This annual shareholder report contains important information about the John Hancock High Yield Municipal Bond Fund (the fund) for the period of June 1, 2023 to May 31, 2024.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2024_C000001874Member"
      id="t_20_24d80f93_1872_d475_ec9f_30e611f665ef">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_5_ce6532bb_6b67_63c8_1a9a_ccecbdc70364">You can find additional information about the fund at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt;. You can also request this information by contacting us at 800-225-5291.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2024_C000001874Member"
      id="t_6_68ffbdb8_1336_48a5_e899_8baad77db93e">jhinvestments.com/documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2024_C000001874Member"
      id="t_7_3a98e96b_b0fe_0ecb_1d32_d1166a8e39fb">800-225-5291</oef:AddlInfoPhoneNumber>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_25_a4a8e571_22f6_0835_c579_c88f2b48abd4">
&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; font-size: 9pt; font-weight: bold;" title="oef:MaterialFundChngNoticeTextBlock"&gt;&lt;b&gt;This report describes changes to the fund that occurred during the reporting period.&lt;/b&gt;&lt;/div&gt;
</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_9_566a3e91_f0cd_d0ad_9464_6e42a09ab3b6">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;&lt;b&gt;What were the fund costs during the last year?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; font-weight: bold;"&gt;&lt;i&gt;(Based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; vertical-align: bottom; text-align: left; padding: 0px 3pt;"&gt;Fund (Class)&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs paid as a percentage&lt;br/&gt;of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; text-align: left; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;High Yield Municipal Bond Fund&lt;br/&gt;(Class A/JHTFX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;84&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;0.81&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2024_C000001874Member"
      decimals="INF"
      id="h_79_b89e7aa7_8663_4283_bce0_880a5635bf33"
      unitRef="USD">84</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2024_C000001874Member"
      decimals="4"
      id="h_80_9229839f_bbc0_46cb_aed0_f94ddca60ebe"
      unitRef="pure">0.0081</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_8_1253b40c_634f_f4fc_4aa7_389be4339d76">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 14pt;" title="oef:FactorsAffectingPerfTextBlock"&gt;Management&#x2019;s Discussion of Fund Performance&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;SUMMARY OF RESULTS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;High Yield Municipal Bond Fund (Class A/JHTFX) returned 7.30% (excluding sales charges) for the year ended May 31, 2024. The most significant factors affecting Fund performance during the period included rising municipal bond yields, stronger-than-expected economic growth, and lowered expectations for interest rate cuts by the U.S. Federal Reserve. The meaningful outperformance of high-yield bonds within the municipal market was another key factor during the period.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE CONTRIBUTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Healthcare bonds &lt;/b&gt; | Bonds funding hospitals and continuing care retirement facilities were the leading contributors.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Education bonds &lt;/b&gt; | Bonds backing charter schools and higher education contributed the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Industrial development bonds &lt;/b&gt; | Bonds supporting economic and industrial development projects fared well amid better-than-expected economic conditions.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE DETRACTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Duration (interest rate sensitivity) &lt;/b&gt; | Rising municipal bond yields put downward pressure on municipal bond prices.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Electric utility bonds &lt;/b&gt; | The fund&#x2019;s holdings of electric power bonds weighed on performance during the period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The views expressed in this report are exclusively those of the portfolio management team at Manulife Investment Management (US) LLC, and are subject to change. They are not meant as investment advice.&lt;/div&gt;
</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_10_bf410974_baed_6f31_dea3_3fe8c22e7242">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;Fund Performance&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The following graph compares the initial and subsequent account values at the end of each of the most recently completed 10 fiscal years of the fund (or for the life of the fund, if shorter). It assumes a $10,000 initial investment in the fund and in an appropriate, broad-based securities market index for the same period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 3pt; font-weight: bold;"&gt;GROWTH OF $10,000&lt;/div&gt;

&lt;div style="margin-bottom: 20pt;"&gt;&lt;img alt="Fund Performance - Growth of 10K" src="chartimages_5006035.jpg" style="display: block; margin-left: auto; margin-right: auto; width: 468pt;"/&gt; &lt;/div&gt;
</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_22_790f4610_eb5b_67d6_8c23_e7ead443c47d">
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; text-align: left; width: 60%; padding: 0px 3pt;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;1 Year&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;5 Years&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;10 Years&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;High Yield Municipal Bond Fund (Class A/JHTFX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.97&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.25&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.29&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;High Yield Municipal Bond Fund (Class A/JHTFX)&#x2014;excluding sales charge&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;7.30&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.08&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.71&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.67&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.93&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.25&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg High Yield Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;8.19&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.61&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;4.22&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;The Fund has designated Bloomberg Municipal Bond Index as its broad-based securities market index in accordance with the revised definition for such an index.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000001874Member"
      id="t_11_800a926c_7922_de84_29dd_c0103114522a">High Yield Municipal Bond Fund (Class A/JHTFX)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000001874Member"
      decimals="4"
      id="h_81_c2d2a07e_446e_46dd_887c_3a5e401e16c8"
      unitRef="pure">0.0297</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_C000001874Member"
      decimals="4"
      id="h_82_7df0ce11_02e9_4162_bba2_b9db334ba1b1"
      unitRef="pure">0.0025</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_C000001874Member"
      decimals="4"
      id="h_83_a5116b87_7545_4b03_9738_6530557cdd3a"
      unitRef="pure">0.0229</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000001874Member_WithoutSalesLoadMember"
      id="t_12_b88af058_0f11_8bd0_ba6d_d790174bb8ba">High Yield Municipal Bond Fund (Class A/JHTFX)&#x2014;excluding sales charge</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000001874Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_84_565d1c80_a9e4_4ddf_8b7a_f105fcf5c56d"
      unitRef="pure">0.0730</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_C000001874Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_85_fd1788a2_e972_400a_9622_c6c5ead7f55a"
      unitRef="pure">0.0108</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_C000001874Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_86_3e7a5985_cf06_4d15_aebb_1927e0c40ed8"
      unitRef="pure">0.0271</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_BloombergHighYieldMunicipalBondIndexMember"
      id="t_13_9a073b02_85c3_39b7_d947_88582fcbeb5b">Bloomberg High Yield Municipal Bond Index</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_BloombergHighYieldMunicipalBondIndexMember"
      decimals="4"
      id="h_90_e7259b4b_8503_4071_b3cf_1095610107bd"
      unitRef="pure">0.0819</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_BloombergHighYieldMunicipalBondIndexMember"
      decimals="4"
      id="h_91_58b9f078_ae70_40db_b7b5_3fd7212ce11c"
      unitRef="pure">0.0261</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_BloombergHighYieldMunicipalBondIndexMember"
      decimals="4"
      id="h_92_0da26d66_3867_4318_85b6_39af9ec435d5"
      unitRef="pure">0.0422</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2024_C000001874Member"
      id="t_14_66bc111d_d34e_11aa_4caf_05dcd1281e12">Past performance does not guarantee future results.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_16_3d46b5ae_c44e_2e9b_6ad7_7d0a0601f66a">Due to market volatility and other factors, the fund&#x2019;s current performance may be higher or lower than the performance shown and can be found at &lt;span&gt;jhinvestments.com/investments&lt;/span&gt; or by calling 800-225-5291.</oef:UpdPerfInfoLocationTextBlock>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_15_41a4c2a5_64c6_285e_bf35_f9b71cda798d">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_17_4aadc669_7009_4a93_e893_1b53409592ba">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;" title="oef:AddlFundStatisticsTextBlock"&gt;Fund Statistics&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 0px 10pt;"&gt;Fund net assets&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 0px 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;228,883,275&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total number of portfolio holdings&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;300&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total advisory fees paid (net)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;791,691&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Portfolio turnover rate&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;22&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20240531_C000001874Member"
      decimals="INF"
      id="h_93_5160dba3_9624_4915_b71d_a1a3f6fafa0c"
      unitRef="USD">228883275</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20240531_C000001874Member"
      decimals="INF"
      id="h_94_c6620c0d_fce3_4dcb_8144_9776fd89ba9a"
      unitRef="Holding">300</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2024_C000001874Member"
      decimals="INF"
      id="h_95_f679d150_3ee3_4c47_b84a_46b388cb9062"
      unitRef="USD">791691</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2024_C000001874Member"
      decimals="4"
      id="h_96_a9a65973_96fd_4b0d_aab5_41bd9100fb1b"
      unitRef="pure">0.22</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_21_da8f4227_39df_f717_4b06_49c64f959660">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;" title="oef:HoldingsTableTextBlock"&gt;Graphical Representation of Holdings&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The tables below show the investment makeup of the fund, representing percentage of the total investments of the fund.&lt;/div&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Sector Composition&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; text-align: left; padding: 0px 3pt;"&gt;&lt;strong&gt;General obligation bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; padding: 0px 3pt;"&gt;&lt;strong&gt;10.9&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Revenue bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;86.2&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Health care&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;20.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Development&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;19.0&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Education&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;17.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Other revenue&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;10.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Tobacco&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Housing&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;3.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Transportation&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;3.6&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Facilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;2.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Airport&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.9&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Pollution&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Utilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;0.9&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Water and sewer&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;0.8&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Corporate bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;1.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Short-term investments&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;1.8&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Quality Composition&lt;/b&gt;&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_5006028.jpg" style="width: 172.8pt;"/&gt; &lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Holdings may not have been held by the fund for the entire period and are subject to change without notice. Portfolio composition is subject to review in accordance with the fund&#x2019;s investment strategy and may vary in the future. Current and future portfolio holdings are subject to risk and may change at any time.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_GeneralObligationBondsMember"
      decimals="4"
      id="h_97_57fb4425_400a_717c_4a78_1e12a3c45d11"
      unitRef="pure">0.109</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_RevenueBondsMember"
      decimals="4"
      id="h_98_0da4ea82_a651_038c_e405_4246c1675cfe"
      unitRef="pure">0.862</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_HealthcareSectorMember"
      decimals="4"
      id="h_99_abc77b25_a1e7_042b_3cde_572c94ccdd24"
      unitRef="pure">0.202</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_DevelopmentMember"
      decimals="4"
      id="h_100_0732995c_783b_4b0c_c901_b76939431d55"
      unitRef="pure">0.190</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_EducationMember"
      decimals="4"
      id="h_101_1a33ea68_fd5a_ceac_caaf_b08fe2329724"
      unitRef="pure">0.177</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_OtherRevenueMember"
      decimals="4"
      id="h_102_92121a12_827e_2e6b_97f9_f54a64228cd0"
      unitRef="pure">0.105</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_TobaccoMember"
      decimals="4"
      id="h_103_80299d3f_bcc4_f206_e122_197c72826a08"
      unitRef="pure">0.042</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_HousingMember"
      decimals="4"
      id="h_104_e85b6244_b74a_2964_466d_a64ee4b8d41c"
      unitRef="pure">0.037</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_TransportationSectorMember"
      decimals="4"
      id="h_105_052ac5e8_bed0_000c_9f4c_c814c6045379"
      unitRef="pure">0.036</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_FacilitiesMember"
      decimals="4"
      id="h_106_ca4eae91_34e9_636a_57e1_0dd548b3aaf7"
      unitRef="pure">0.022</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_AirportMember"
      decimals="4"
      id="h_107_1a0f9c86_65a7_12b9_f17d_b1b74f086310"
      unitRef="pure">0.019</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_PollutionMember"
      decimals="4"
      id="h_108_9790a39f_3ff4_fc63_ca6a_0d6a6596b1df"
      unitRef="pure">0.015</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_UtilitiesSectorMember"
      decimals="4"
      id="h_109_9aa3971e_7bdb_4fde_47b9_d046010b3815"
      unitRef="pure">0.009</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_WaterAndSewerMember"
      decimals="4"
      id="h_110_e08ac498_2f31_fdf7_6e54_e9fc9d4a5ce1"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_CorporateBondSecuritiesMember"
      decimals="4"
      id="h_111_35a154ca_c1d4_97d4_f989_f23b55835699"
      unitRef="pure">0.011</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001874Member_ShortTermInvestmentsMember"
      decimals="4"
      id="h_112_9a06b777_b292_16da_4a37_4ef699958678"
      unitRef="pure">0.018</oef:PctOfTotalInv>
    <oef:CreditQualityExplanationTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_23_4d59599e_4078_2c9e_9a66_9e95e93e7383">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;
</oef:CreditQualityExplanationTextBlock>
    <oef:CreditRatingsSelectionTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_24_14e6b3b0_f8b7_d4f8_0e29_a9e790559160">Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc.</oef:CreditRatingsSelectionTextBlock>
    <oef:MaterialFundChngTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_26_8c137316_81d3_bfe7_70c4_1db1806afde3">&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 1.5pt;" title="oef:MaterialFundChngTextBlock"&gt;&lt;b&gt;Material Fund Changes&lt;/b&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Effective 10-1-23 the fund changed its objective from "To seek a high level of current income that is largely exempt from federal income tax, consistent with the preservation of capital." to "To seek a high level of income that is largely exempt from federal income taxes."&lt;/div&gt;&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;&lt;i&gt;For more complete information, please refer to the fund&#x2019;s prospectus.&#160;The currently effective prospectus is available at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt; or by calling 800-225-5291.&lt;/i&gt;&lt;/div&gt;</oef:MaterialFundChngTextBlock>
    <oef:MaterialFundChngObjectivesTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_31_2e4d47d2_3629_30bc_88ed_8f4813029551">&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Effective 10-1-23 the fund changed its objective from "To seek a high level of current income that is largely exempt from federal income tax, consistent with the preservation of capital." to "To seek a high level of income that is largely exempt from federal income taxes."&lt;/div&gt;</oef:MaterialFundChngObjectivesTextBlock>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="FY2024_C000001874Member"
      id="t_32_8d84e523_bb65_7ddb_e701_45c31bbc8ca8">&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;&lt;i&gt;For more complete information, please refer to the fund&#x2019;s prospectus.&#160;The currently effective prospectus is available at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt; or by calling 800-225-5291.&lt;/i&gt;&lt;/div&gt;</oef:SummaryOfChngLegendTextBlock>
    <oef:UpdProspectusWebAddress
      contextRef="FY2024_C000001874Member"
      id="t_29_78970df6_0dbf_ed35_1e37_9e7ad0cc2b48">jhinvestments.com/documents</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="FY2024_C000001874Member"
      id="t_28_30761fa5_9c91_a6e8_3df3_83a40f9c817d">800-225-5291</oef:UpdProspectusPhoneNumber>
    <oef:FundName
      contextRef="FY2024_C000001876Member"
      id="t_1_06a47a13_2e93_e0bd_3aaa_fcb20cbbf8ac"> John Hancock High Yield Municipal Bond Fund </oef:FundName>
    <oef:ClassName
      contextRef="FY2024_C000001876Member"
      id="t_2_c16e0de6_6d6e_07be_ca38_1a2f3313c137">Class C</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2024_C000001876Member"
      id="t_3_234762fd_8ac0_38c3_8b56_8d8e3bb66c89">JCTFX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_4_a191c1de_0ca4_a789_3584_7e7669fcd8e2">This annual shareholder report contains important information about the John Hancock High Yield Municipal Bond Fund (the fund) for the period of June 1, 2023 to May 31, 2024.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2024_C000001876Member"
      id="t_5_e4550f0a_4cb1_55c8_eb94_17025811eb07">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_6_039fc9c2_bb24_dd43_0058_eeb9f38f7cc6">You can find additional information about the fund at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt;. You can also request this information by contacting us at 800-225-5291.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2024_C000001876Member"
      id="t_7_2b6709df_278d_a56e_01b1_a77ca3dc3a3a">jhinvestments.com/documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2024_C000001876Member"
      id="t_8_0ea9c565_2ac4_8f45_89f5_db8f451a1b83">800-225-5291</oef:AddlInfoPhoneNumber>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_22_ac9a61f5_2c98_ba25_fb85_97eec7eb769c">&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; font-size: 9pt; font-weight: bold;" title="oef:MaterialFundChngNoticeTextBlock"&gt;&lt;b&gt;This report describes changes to the fund that occurred during the reporting period.&lt;/b&gt;&lt;/div&gt;</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_9_2e7640ef_29ac_c20f_287c_54c27f06aea6">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;&lt;b&gt;What were the fund costs during the last year?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; font-weight: bold;"&gt;&lt;i&gt;(Based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; vertical-align: bottom; text-align: left; padding: 0px 3pt;"&gt;Fund (Class)&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs paid as a percentage&lt;br/&gt;of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; text-align: left; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;High Yield Municipal Bond Fund&lt;br/&gt;(Class C/JCTFX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;161&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;1.56&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2024_C000001876Member"
      decimals="INF"
      id="h_97_88333a95_f26e_49c1_9120_45fcbca0071e"
      unitRef="USD">161</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2024_C000001876Member"
      decimals="4"
      id="h_98_0782d8d5_01b4_45a8_923e_99b23b0a3f5b"
      unitRef="pure">0.0156</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_10_07ab728c_9fba_8f25_4dd6_4263dbf92f06">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 14pt;" title="oef:FactorsAffectingPerfTextBlock"&gt;Management&#x2019;s Discussion of Fund Performance&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;SUMMARY OF RESULTS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;High Yield Municipal Bond Fund (Class C/JCTFX) returned 6.50% (excluding sales charges) for the year ended May 31, 2024. The most significant factors affecting Fund performance during the period included rising municipal bond yields, stronger-than-expected economic growth, and lowered expectations for interest rate cuts by the U.S. Federal Reserve. The meaningful outperformance of high-yield bonds within the municipal market was another key factor during the period.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE CONTRIBUTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Healthcare bonds &lt;/b&gt; | Bonds funding hospitals and continuing care retirement facilities were the leading contributors.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Education bonds &lt;/b&gt; | Bonds backing charter schools and higher education contributed the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Industrial development bonds &lt;/b&gt; | Bonds supporting economic and industrial development projects fared well amid better-than-expected economic conditions.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE DETRACTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Duration (interest rate sensitivity) &lt;/b&gt; | Rising municipal bond yields put downward pressure on municipal bond prices.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Electric utility bonds &lt;/b&gt; | The fund&#x2019;s holdings of electric power bonds weighed on performance during the period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The views expressed in this report are exclusively those of the portfolio management team at Manulife Investment Management (US) LLC, and are subject to change. They are not meant as investment advice.&lt;/div&gt;
</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_11_7a4ffbbe_3573_1a6b_bbca_2b537b279b98">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;Fund Performance&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The following graph compares the initial and subsequent account values at the end of each of the most recently completed 10 fiscal years of the fund (or for the life of the fund, if shorter). It assumes a $10,000 initial investment in the fund and in an appropriate, broad-based securities market index for the same period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 3pt; font-weight: bold;"&gt;GROWTH OF $10,000&lt;/div&gt;

&lt;div style="margin-bottom: 20pt;"&gt;&lt;img alt="Fund Performance - Growth of 10K" src="chartimages_5005999.jpg" style="display: block; margin-left: auto; margin-right: auto; width: 468pt;"/&gt; &lt;/div&gt;
</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_27_f3f5508a_1e6b_9b6a_4ce2_6795b359c4ac">&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; text-align: left; width: 60%; padding: 0px 3pt;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;1 Year&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;5 Years&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;10 Years&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;High Yield Municipal Bond Fund (Class C/JCTFX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;5.50&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.33&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.94&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;High Yield Municipal Bond Fund (Class C/JCTFX)&#x2014;excluding sales charge&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;6.50&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.33&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.94&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.67&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.93&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.25&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg High Yield Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;8.19&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.61&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;4.22&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;The Fund has designated Bloomberg Municipal Bond Index as its broad-based securities market index in accordance with the revised definition for such an index.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000001876Member"
      id="t_12_fc920379_3567_a48d_33a9_55d3a49f44e5">High Yield Municipal Bond Fund (Class C/JCTFX)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000001876Member"
      decimals="4"
      id="h_99_fb217509_c9ba_44fa_9f50_855cb7405923"
      unitRef="pure">0.0550</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_C000001876Member"
      decimals="4"
      id="h_100_b6a1769b_a6cd_46c5_86fa_8cffedb8ead1"
      unitRef="pure">0.0033</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_C000001876Member"
      decimals="4"
      id="h_101_dc69f338_2153_490d_913f_2fecfde60a5a"
      unitRef="pure">0.0194</oef:AvgAnnlRtrPct>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000001876Member_WithoutSalesLoadMember"
      id="t_13_095354d1_f3e7_2442_c4da_18c20fb3c09c">High Yield Municipal Bond Fund (Class C/JCTFX)&#x2014;excluding sales charge</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000001876Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_102_e7fb49a4_15b2_4af0_b11a_6d6ab878a6c4"
      unitRef="pure">0.0650</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_C000001876Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_103_934a77bd_1b22_4507_9ab9_a5e395c22594"
      unitRef="pure">0.0033</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_C000001876Member_WithoutSalesLoadMember"
      decimals="4"
      id="h_104_fcc35cce_b9dd_4a43_9d04_33f23664dc49"
      unitRef="pure">0.0194</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2024_C000001876Member"
      id="t_15_0cf194f0_68eb_b6a2_e5a6_8aad830c599d">Past performance does not guarantee future results.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_16_1bfe77c5_73d6_e9ae_7a46_7d3eb544ec63">Due to market volatility and other factors, the fund&#x2019;s current performance may be higher or lower than the performance shown and can be found at &lt;span&gt;jhinvestments.com/investments&lt;/span&gt; or by calling 800-225-5291.</oef:UpdPerfInfoLocationTextBlock>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_17_f008f02b_ac4b_02cd_a5f3_2ca76a7af689">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_18_0a9af9b9_0d54_5461_18a2_2e5412c22cd5">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;" title="oef:AddlFundStatisticsTextBlock"&gt;Fund Statistics&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 0px 10pt;"&gt;Fund net assets&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 0px 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;228,883,275&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total number of portfolio holdings&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;300&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total advisory fees paid (net)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;791,691&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Portfolio turnover rate&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;22&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20240531_C000001876Member"
      decimals="INF"
      id="h_111_c1afaadc_f3b6_47f5_91a9_4d7262cbc021"
      unitRef="USD">228883275</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20240531_C000001876Member"
      decimals="INF"
      id="h_112_9fbdfd49_2996_4d85_a853_d513d565f7a8"
      unitRef="Holding">300</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2024_C000001876Member"
      decimals="INF"
      id="h_113_bff94ec9_a2dc_4a1c_a031_cad8177f8283"
      unitRef="USD">791691</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2024_C000001876Member"
      decimals="4"
      id="h_114_ea7e9db2_bf2a_4c5c_b2e4_469eeb99e564"
      unitRef="pure">0.22</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_20_d9f620ef_d7f8_8df2_089d_ca1f48602954">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;" title="oef:HoldingsTableTextBlock"&gt;Graphical Representation of Holdings&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The tables below show the investment makeup of the fund, representing percentage of the total investments of the fund.&lt;/div&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Sector Composition&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; text-align: left; padding: 0px 3pt;"&gt;&lt;strong&gt;General obligation bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; padding: 0px 3pt;"&gt;&lt;strong&gt;10.9&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Revenue bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;86.2&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Health care&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;20.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Development&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;19.0&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Education&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;17.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Other revenue&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;10.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Tobacco&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Housing&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;3.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Transportation&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;3.6&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Facilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;2.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Airport&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.9&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Pollution&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Utilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;0.9&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Water and sewer&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;0.8&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Corporate bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;1.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Short-term investments&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;1.8&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Quality Composition&lt;/b&gt;&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_5005992.jpg" style="width: 172.8pt;"/&gt; &lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Holdings may not have been held by the fund for the entire period and are subject to change without notice. Portfolio composition is subject to review in accordance with the fund&#x2019;s investment strategy and may vary in the future. Current and future portfolio holdings are subject to risk and may change at any time.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_GeneralObligationBondsMember"
      decimals="4"
      id="h_115_d143d410_ab96_9b7e_5f0e_53b23092fb4b"
      unitRef="pure">0.109</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_RevenueBondsMember"
      decimals="4"
      id="h_116_56edf0d8_efe0_9ff8_a4d4_908d38c0106e"
      unitRef="pure">0.862</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_HealthcareSectorMember"
      decimals="4"
      id="h_117_bd3ee7fc_ff34_464f_c8fd_e97001b81abe"
      unitRef="pure">0.202</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_DevelopmentMember"
      decimals="4"
      id="h_118_97df8fbc_9736_49ad_4845_1e05dcef6384"
      unitRef="pure">0.190</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_EducationMember"
      decimals="4"
      id="h_119_ddca3cc2_c502_4e6d_907d_3f9b47157d09"
      unitRef="pure">0.177</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_OtherRevenueMember"
      decimals="4"
      id="h_120_2e6245a5_5287_bde7_9365_d38a2d2427f9"
      unitRef="pure">0.105</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_TobaccoMember"
      decimals="4"
      id="h_121_16760fa9_52a9_417c_bebf_d68041dd5d80"
      unitRef="pure">0.042</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_HousingMember"
      decimals="4"
      id="h_122_edbdcaa3_1dc4_0250_9a15_a28644680f5f"
      unitRef="pure">0.037</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_TransportationSectorMember"
      decimals="4"
      id="h_123_ed91cd23_965a_c5cc_a2ac_a16b97160b69"
      unitRef="pure">0.036</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_FacilitiesMember"
      decimals="4"
      id="h_124_8f3b845b_7e36_2413_1ff8_de424be611b7"
      unitRef="pure">0.022</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_AirportMember"
      decimals="4"
      id="h_125_bd4bf9f3_ca28_fc81_e6cb_553fe7867c25"
      unitRef="pure">0.019</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_PollutionMember"
      decimals="4"
      id="h_126_055e99b8_4904_8512_2395_0d175b23bb36"
      unitRef="pure">0.015</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_UtilitiesSectorMember"
      decimals="4"
      id="h_127_3f5f29a5_3c1d_ca2f_931d_b1f05ac286e2"
      unitRef="pure">0.009</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_WaterAndSewerMember"
      decimals="4"
      id="h_128_114910ed_9ae5_e686_2c5b_7a3d42b0e715"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_CorporateBondSecuritiesMember"
      decimals="4"
      id="h_129_acd78e31_683d_ef4b_8a4c_3e36471259f2"
      unitRef="pure">0.011</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000001876Member_ShortTermInvestmentsMember"
      decimals="4"
      id="h_130_9a0d0a87_4d6b_6f31_67cc_eaa797ae7b82"
      unitRef="pure">0.018</oef:PctOfTotalInv>
    <oef:CreditQualityExplanationTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_19_7dfe68dd_7f52_e527_c8f0_d19c6065c75e">

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;

</oef:CreditQualityExplanationTextBlock>
    <oef:CreditRatingsSelectionTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_21_49ecaddb_11f1_4914_cd73_d459b7042a32">Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc.</oef:CreditRatingsSelectionTextBlock>
    <oef:MaterialFundChngTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_23_f06b6f18_ec46_42fb_cf62_4eb954b26cae">&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 1.5pt;" title="oef:MaterialFundChngTextBlock"&gt;&lt;b&gt;Material Fund Changes&lt;/b&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Effective 10-1-23 the fund changed its objective from "To seek a high level of current income that is largely exempt from federal income tax, consistent with the preservation of capital." to "To seek a high level of income that is largely exempt from federal income taxes."&lt;/div&gt;&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;&lt;i&gt;For more complete information, please refer to the fund&#x2019;s prospectus.&#160;The currently effective prospectus is available at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt; or by calling 800-225-5291.&lt;/i&gt;&lt;/div&gt;</oef:MaterialFundChngTextBlock>
    <oef:MaterialFundChngObjectivesTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_26_1ce78ee4_9ad9_9a38_5b88_4e8c50c07f99">&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Effective 10-1-23 the fund changed its objective from "To seek a high level of current income that is largely exempt from federal income tax, consistent with the preservation of capital." to "To seek a high level of income that is largely exempt from federal income taxes."&lt;/div&gt;</oef:MaterialFundChngObjectivesTextBlock>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="FY2024_C000001876Member"
      id="t_28_e63aad24_6f44_a89b_6230_749c94ccfbe0">&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;&lt;i&gt;For more complete information, please refer to the fund&#x2019;s prospectus.&#160;The currently effective prospectus is available at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt; or by calling 800-225-5291.&lt;/i&gt;&lt;/div&gt;</oef:SummaryOfChngLegendTextBlock>
    <oef:UpdProspectusWebAddress
      contextRef="FY2024_C000001876Member"
      id="t_24_349aef12_0693_3899_b576_ccface253b92">jhinvestments.com/documents</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="FY2024_C000001876Member"
      id="t_25_c5f834cc_04b3_4d62_7dee_b70100a01592">800-225-5291</oef:UpdProspectusPhoneNumber>
    <oef:FundName
      contextRef="FY2024_C000178765Member"
      id="t_1_3e1a41da_1fb9_f82e_efbb_ed67ad3dbe0c">John Hancock High Yield Municipal Bond Fund</oef:FundName>
    <oef:ClassName
      contextRef="FY2024_C000178765Member"
      id="t_2_387cd521_bdcd_fa4b_2d4d_e09ee540860e">Class I</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2024_C000178765Member"
      id="t_3_255872a4_2936_1807_085a_d9a2b1ad7296">JHYMX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_4_f0e71e7b_d681_0957_1938_24fb745b4a23">This annual shareholder report contains important information about the John Hancock High Yield Municipal Bond Fund (the fund) for the period of June 1, 2023 to May 31, 2024.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2024_C000178765Member"
      id="t_5_999fbc69_b45c_f676_49a0_46cca4aceabd">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_6_f3004783_0d72_753c_35e1_93cad634f114">You can find additional information about the fund at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt;. You can also request this information by contacting us at 800-225-5291.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2024_C000178765Member"
      id="t_7_8b993578_0703_6cf1_5ac9_87d2bc349847">jhinvestments.com/documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2024_C000178765Member"
      id="t_8_a641f7a9_36a6_039d_62a1_f1dc967931be">800-225-5291</oef:AddlInfoPhoneNumber>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_25_c20fb9eb_459e_926f_f104_7bb208ecc839">&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; font-size: 9pt; font-weight: bold;" title="oef:MaterialFundChngNoticeTextBlock"&gt;&lt;b&gt;This report describes changes to the fund that occurred during the reporting period.&lt;/b&gt;&lt;/div&gt;</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_9_cdd8a3f4_4a67_2b3b_3ae6_96faaf7424bc">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;&lt;b&gt;What were the fund costs during the last year?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; font-weight: bold;"&gt;&lt;i&gt;(Based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; vertical-align: bottom; text-align: left; padding: 0px 3pt;"&gt;Fund (Class)&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs paid as a percentage&lt;br/&gt;of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; text-align: left; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;High Yield Municipal Bond Fund&lt;br/&gt;(Class I/JHYMX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;68&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;0.66&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2024_C000178765Member"
      decimals="INF"
      id="h_115_0ab38766_b026_4c37_8287_e09abead0bd9"
      unitRef="USD">68</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2024_C000178765Member"
      decimals="4"
      id="h_116_956d19a8_870f_4321_b33a_975523ac65e4"
      unitRef="pure">0.0066</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_10_a1332d67_f70e_38e1_5cba_1517db63213c">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 14pt;" title="oef:FactorsAffectingPerfTextBlock"&gt;Management&#x2019;s Discussion of Fund Performance&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;SUMMARY OF RESULTS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;High Yield Municipal Bond Fund (Class I/JHYMX) returned 7.45% for the year ended May 31, 2024. The most significant factors affecting Fund performance during the period included rising municipal bond yields, stronger-than-expected economic growth, and lowered expectations for interest rate cuts by the U.S. Federal Reserve. The meaningful outperformance of high-yield bonds within the municipal market was another key factor during the period.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE CONTRIBUTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Healthcare bonds &lt;/b&gt; | Bonds funding hospitals and continuing care retirement facilities were the leading contributors.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Education bonds &lt;/b&gt; | Bonds backing charter schools and higher education contributed the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Industrial development bonds &lt;/b&gt; | Bonds supporting economic and industrial development projects fared well amid better-than-expected economic conditions.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE DETRACTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Duration (interest rate sensitivity) &lt;/b&gt; | Rising municipal bond yields put downward pressure on municipal bond prices.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Electric utility bonds &lt;/b&gt; | The fund&#x2019;s holdings of electric power bonds weighed on performance during the period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The views expressed in this report are exclusively those of the portfolio management team at Manulife Investment Management (US) LLC, and are subject to change. They are not meant as investment advice.&lt;/div&gt;
</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_22_fdf2d06c_019e_6f60_1d61_69c6dc3ceafe">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;Fund Performance&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The following graph compares the initial and subsequent account values at the end of each of the most recently completed 10 fiscal years of the fund (or for the life of the fund, if shorter). It assumes a $250,000 initial investment in the fund and in an appropriate, broad-based securities market index for the same period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 3pt; font-weight: bold;"&gt;GROWTH OF $250,000&lt;/div&gt;

&lt;div style="margin-bottom: 20pt;"&gt;&lt;img alt="Fund Performance - Growth of 10K" src="chartimages_5005963.jpg" style="display: block; margin-left: auto; margin-right: auto; width: 542pt;"/&gt; &lt;/div&gt;
</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_12_0dfb979f_aa5b_a7d8_0aa4_4416de1c1252">
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; text-align: left; width: 60%; padding: 0px 3pt;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;1 Year&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;5 Years&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;10 Years&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;High Yield Municipal Bond Fund (Class I/JHYMX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;7.45&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.24&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.83&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.67&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.93&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.25&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg High Yield Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;8.19&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.61&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;4.22&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;The Fund has designated Bloomberg Municipal Bond Index as its broad-based securities market index in accordance with the revised definition for such an index.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;Class I shares were first offered on 2-13-17. Returns prior to this date are those of Class A shares that have not been adjusted for class-specific expenses; otherwise, returns would vary.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000178765Member"
      id="t_13_22ecfe5e_1b1a_6070_ee1a_e05476bae794">High Yield Municipal Bond Fund (Class I/JHYMX)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000178765Member"
      decimals="4"
      id="h_117_04a0dfff_0288_4faa_8cb7_8245cd5ed029"
      unitRef="pure">0.0745</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_C000178765Member"
      decimals="4"
      id="h_118_a557ed7e_573c_4ba7_ab82_8b63a4f123a6"
      unitRef="pure">0.0124</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_C000178765Member"
      decimals="4"
      id="h_119_79c0dbd3_7228_4495_a3ec_bb0912c71369"
      unitRef="pure">0.0283</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2024_C000178765Member"
      id="t_14_3655ccf0_feac_462d_0093_92b5d53b09a9">Past performance does not guarantee future results.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_15_e62a690f_d04c_c25d_e81a_cd8531bb06fa">Due to market volatility and other factors, the fund&#x2019;s current performance may be higher or lower than the performance shown and can be found at &lt;span&gt;jhinvestments.com/investments&lt;/span&gt; or by calling 800-225-5291.</oef:UpdPerfInfoLocationTextBlock>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_16_887a2ea2_a0a8_037d_94ea_bf4ac1a0ba42">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_17_d52585e3_2422_e2cf_f1ed_b1801d9111be">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;" title="oef:AddlFundStatisticsTextBlock"&gt;Fund Statistics&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 0px 10pt;"&gt;Fund net assets&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 0px 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;228,883,275&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total number of portfolio holdings&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;300&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total advisory fees paid (net)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;791,691&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Portfolio turnover rate&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;22&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20240531_C000178765Member"
      decimals="INF"
      id="h_126_554378f4_5e7e_404a_888c_c30970a23adf"
      unitRef="USD">228883275</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20240531_C000178765Member"
      decimals="INF"
      id="h_127_33214998_1bb6_483c_b1f6_b2d23d073231"
      unitRef="Holding">300</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2024_C000178765Member"
      decimals="INF"
      id="h_128_bd453fd7_f4b9_44bf_9c5a_79e09bf42e27"
      unitRef="USD">791691</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2024_C000178765Member"
      decimals="4"
      id="h_129_f4edfa77_52c4_4a67_8659_a5d84db8c2a0"
      unitRef="pure">0.22</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_23_41fc13a6_2dfa_5585_6476_3f170ac7db8f">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;" title="oef:HoldingsTableTextBlock"&gt;Graphical Representation of Holdings&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The tables below show the investment makeup of the fund, representing percentage of the total investments of the fund.&lt;/div&gt;

&lt;div style="width: 33%; border-right-color: #000000; border-right-style: solid; border-right-width: 0.5pt; padding-left: 0px; flex-grow: 1px; flex-shrink: 1px; flex-basis: auto; float: none; display: table-cell;"&gt;
&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;
&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Sector Composition&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; text-align: left; padding: 0px 3pt;"&gt;&lt;strong&gt;General obligation bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; padding: 0px 3pt;"&gt;&lt;strong&gt;10.9&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Revenue bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;86.2&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Health care&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;20.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Development&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;19.0&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Education&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;17.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Other revenue&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;10.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Tobacco&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Housing&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;3.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Transportation&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;3.6&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Facilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;2.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Airport&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.9&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Pollution&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Utilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;0.9&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Water and sewer&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;0.8&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Corporate bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;1.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Short-term investments&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;1.8&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Quality Composition&lt;/b&gt;&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_5005956.jpg" style="width: 172.8pt;"/&gt; &lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Holdings may not have been held by the fund for the entire period and are subject to change without notice. Portfolio composition is subject to review in accordance with the fund&#x2019;s investment strategy and may vary in the future. Current and future portfolio holdings are subject to risk and may change at any time.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_GeneralObligationBondsMember"
      decimals="4"
      id="h_130_016c459a_9c57_cd75_1b3a_26e389e071b6"
      unitRef="pure">0.109</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_RevenueBondsMember"
      decimals="4"
      id="h_131_8c48d4ba_459e_c8f2_2650_15748245335d"
      unitRef="pure">0.862</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_HealthcareSectorMember"
      decimals="4"
      id="h_132_b3a9d719_b769_4812_97ef_37cfaa943dc8"
      unitRef="pure">0.202</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_DevelopmentMember"
      decimals="4"
      id="h_133_dc514d28_9bfb_cc93_1975_27687102d1b9"
      unitRef="pure">0.190</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_EducationMember"
      decimals="4"
      id="h_134_8b0ff00e_0bcf_9e62_aa0b_2649df57debc"
      unitRef="pure">0.177</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_OtherRevenueMember"
      decimals="4"
      id="h_135_1f6e26fc_50a2_f2ae_5fe5_c7e7de82fc83"
      unitRef="pure">0.105</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_TobaccoMember"
      decimals="4"
      id="h_136_35a73013_e6a9_aebd_d199_68ac320e8574"
      unitRef="pure">0.042</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_HousingMember"
      decimals="4"
      id="h_137_c426b447_e34b_665b_82ea_f0ec090c5790"
      unitRef="pure">0.037</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_TransportationSectorMember"
      decimals="4"
      id="h_146_025ed4ee_8085_92c1_e5f6_63da34ac5c9c"
      unitRef="pure">0.036</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_FacilitiesMember"
      decimals="4"
      id="h_139_c0178cc4_aa72_7042_2ac7_13d4ab39f166"
      unitRef="pure">0.022</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_AirportMember"
      decimals="4"
      id="h_140_ed14511b_366b_7080_a274_0508c1686281"
      unitRef="pure">0.019</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_PollutionMember"
      decimals="4"
      id="h_141_9a565a9b_94e5_7c3f_a0ef_ea245e239ddb"
      unitRef="pure">0.015</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_UtilitiesSectorMember"
      decimals="4"
      id="h_142_7eb30827_3ae4_2bf6_e295_dfa02712ab4f"
      unitRef="pure">0.009</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_WaterAndSewerMember"
      decimals="4"
      id="h_143_1995ed2e_c32f_b8aa_5e68_b058bb6f0886"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_CorporateBondSecuritiesMember"
      decimals="4"
      id="h_144_c1e46e7e_2873_d39d_8dcb_24fd906e4f40"
      unitRef="pure">0.011</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000178765Member_ShortTermInvestmentsMember"
      decimals="4"
      id="h_145_fcb1cb6d_23b0_4654_a90d_7a266af45a04"
      unitRef="pure">0.018</oef:PctOfTotalInv>
    <oef:CreditQualityExplanationTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_19_230d636c_dc0d_b0d0_c961_4c7c242237e8">

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;

</oef:CreditQualityExplanationTextBlock>
    <oef:CreditRatingsSelectionTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_24_2b4a21a1_afc8_a4a2_e1d2_da755b076da7">Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc.</oef:CreditRatingsSelectionTextBlock>
    <oef:MaterialFundChngTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_26_d03288de_e309_27d4_180b_e79b24d88a83">&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 1.5pt;" title="oef:MaterialFundChngTextBlock"&gt;&lt;b&gt;Material Fund Changes&lt;/b&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Effective 10-1-23 the fund changed its objective from "To seek a high level of current income that is largely exempt from federal income tax, consistent with the preservation of capital." to "To seek a high level of income that is largely exempt from federal income taxes."&lt;/div&gt;&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;&lt;i&gt;For more complete information, please refer to the fund&#x2019;s prospectus.&#160;The currently effective prospectus is available at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt; or by calling 800-225-5291.&lt;/i&gt;&lt;/div&gt;</oef:MaterialFundChngTextBlock>
    <oef:MaterialFundChngObjectivesTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_31_f248d0cf_a428_982c_ea3e_6b06c95e5c78">&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Effective 10-1-23 the fund changed its objective from "To seek a high level of current income that is largely exempt from federal income tax, consistent with the preservation of capital." to "To seek a high level of income that is largely exempt from federal income taxes."&lt;/div&gt;</oef:MaterialFundChngObjectivesTextBlock>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="FY2024_C000178765Member"
      id="t_32_4441f059_66ee_2834_9d69_0d27bceb7fa5">&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;&lt;i&gt;For more complete information, please refer to the fund&#x2019;s prospectus.&#160;The currently effective prospectus is available at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt; or by calling 800-225-5291.&lt;/i&gt;&lt;/div&gt;</oef:SummaryOfChngLegendTextBlock>
    <oef:UpdProspectusWebAddress
      contextRef="FY2024_C000178765Member"
      id="t_29_e0ba321b_7836_2283_5548_c9fb02a5242d">jhinvestments.com/documents</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="FY2024_C000178765Member"
      id="t_30_3093c8e0_dee7_1f5c_c238_de52858ad7e1">800-225-5291</oef:UpdProspectusPhoneNumber>
    <oef:FundName
      contextRef="FY2024_C000193018Member"
      id="t_1_d9bdd704_c54a_1958_0c2d_520285fd2900">John Hancock High Yield Municipal Bond Fund</oef:FundName>
    <oef:ClassName
      contextRef="FY2024_C000193018Member"
      id="t_2_fe5ce1bd_84de_338f_a0bb_56a0bbfdb7af">Class R6</oef:ClassName>
    <dei:TradingSymbol
      contextRef="FY2024_C000193018Member"
      id="t_3_16ff9641_f800_bd8e_5b22_f395af5e38c4">JCTRX</dei:TradingSymbol>
    <oef:AnnlOrSemiAnnlStatementTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_4_62d2c7c0_16b3_71dd_dba4_33cb66e624e7">This annual shareholder report contains important information about the John Hancock High Yield Municipal Bond Fund (the fund) for the period of June 1, 2023 to May 31, 2024.</oef:AnnlOrSemiAnnlStatementTextBlock>
    <oef:ShareholderReportAnnualOrSemiAnnual
      contextRef="FY2024_C000193018Member"
      id="t_6_8468b766_7fc7_7367_16c1_8d7c9c064261">annual shareholder report</oef:ShareholderReportAnnualOrSemiAnnual>
    <oef:AddlInfoTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_5_c82c5100_f303_84cb_02fa_8ce3adb69994">You can find additional information about the fund at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt;. You can also request this information by contacting us at 800-225-5291.</oef:AddlInfoTextBlock>
    <oef:AddlInfoWebsite
      contextRef="FY2024_C000193018Member"
      id="t_7_ffcfea3f_155b_1198_f8c5_6fedf90b7d0d">jhinvestments.com/documents</oef:AddlInfoWebsite>
    <oef:AddlInfoPhoneNumber
      contextRef="FY2024_C000193018Member"
      id="t_8_f5507ab4_e099_6aeb_ab64_1aeae736002e">800-225-5291</oef:AddlInfoPhoneNumber>
    <oef:MaterialFundChngNoticeTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_23_c5bc5147_810e_a143_92c0_edf18a9f7afa">&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; font-size: 9pt; font-weight: bold;" title="oef:MaterialFundChngNoticeTextBlock"&gt;&lt;b&gt;This report describes changes to the fund that occurred during the reporting period.&lt;/b&gt;&lt;/div&gt;</oef:MaterialFundChngNoticeTextBlock>
    <oef:ExpensesTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_9_3eeb4c8f_67a6_b6ad_ce26_ed173d6ee0bc">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;&lt;b&gt;What were the fund costs during the last year?&lt;/b&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; margin-bottom: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; font-weight: bold;"&gt;&lt;i&gt;(Based on a hypothetical $10,000 investment)&lt;/i&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; vertical-align: bottom; text-align: left; padding: 0px 3pt;"&gt;Fund (Class)&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs of a $10,000 investment&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; vertical-align: bottom; padding: 0px 3pt;"&gt;Costs paid as a percentage&lt;br/&gt;of a $10,000 investment&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; text-align: left; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;High Yield Municipal Bond Fund&lt;br/&gt;(Class R6/JCTRX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;67&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; vertical-align: bottom; padding: 6pt 3pt 3pt 3pt;"&gt;0.65&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:ExpensesTextBlock>
    <oef:ExpensesPaidAmt
      contextRef="FY2024_C000193018Member"
      decimals="INF"
      id="h_130_cd37a3f2_71c6_453e_9077_09fc630103a2"
      unitRef="USD">67</oef:ExpensesPaidAmt>
    <oef:ExpenseRatioPct
      contextRef="FY2024_C000193018Member"
      decimals="4"
      id="h_131_c05dfcb4_a631_428f_8c9a_e5859687b96c"
      unitRef="pure">0.0065</oef:ExpenseRatioPct>
    <oef:FactorsAffectingPerfTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_10_bea713dc_0f78_3593_6bde_7a29448ca48d">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 14pt;" title="oef:FactorsAffectingPerfTextBlock"&gt;Management&#x2019;s Discussion of Fund Performance&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;SUMMARY OF RESULTS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;High Yield Municipal Bond Fund (Class R6/JCTRX) returned 7.30% for the year ended May 31, 2024. The most significant factors affecting Fund performance during the period included rising municipal bond yields, stronger-than-expected economic growth, and lowered expectations for interest rate cuts by the U.S. Federal Reserve. The meaningful outperformance of high-yield bonds within the municipal market was another key factor during the period.&lt;br/&gt;&lt;br/&gt;&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE CONTRIBUTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Healthcare bonds &lt;/b&gt; | Bonds funding hospitals and continuing care retirement facilities were the leading contributors.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Education bonds &lt;/b&gt; | Bonds backing charter schools and higher education contributed the most in this sector.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Industrial development bonds &lt;/b&gt; | Bonds supporting economic and industrial development projects fared well amid better-than-expected economic conditions.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 6.5pt; font-weight: bold;"&gt;TOP PERFORMANCE DETRACTORS&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Duration (interest rate sensitivity) &lt;/b&gt; | Rising municipal bond yields put downward pressure on municipal bond prices.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;&lt;b&gt;Electric utility bonds &lt;/b&gt; | The fund&#x2019;s holdings of electric power bonds weighed on performance during the period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The views expressed in this report are exclusively those of the portfolio management team at Manulife Investment Management (US) LLC, and are subject to change. They are not meant as investment advice.&lt;/div&gt;
</oef:FactorsAffectingPerfTextBlock>
    <oef:LineGraphTableTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_11_e7f2237d_40fa_0bf2_d7cf_f48442702cf5">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;"&gt;Fund Performance&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The following graph compares the initial and subsequent account values at the end of each of the most recently completed 10 fiscal years of the fund (or for the life of the fund, if shorter). It assumes a $1,000,000 initial investment in the fund and in an appropriate, broad-based securities market index for the same period.&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; margin-bottom: 3pt; font-weight: bold;"&gt;GROWTH OF $1,000,000&lt;/div&gt;

&lt;div style="margin-bottom: 20pt;"&gt;&lt;img alt="Fund Performance - Growth of 10K" src="chartimages_5005927.jpg" style="display: block; margin-left: auto; margin-right: auto; width: 542pt;"/&gt; &lt;/div&gt;
</oef:LineGraphTableTextBlock>
    <oef:AvgAnnlRtrTableTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_17_46d6a3a9_c8c6_1074_1f06_bdfb3a059fce">
&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; text-align: left; width: 60%; padding: 0px 3pt;"&gt;AVERAGE ANNUAL TOTAL RETURN&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;1 Year&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;5 Years&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; font-weight: bold; padding: 0px 3pt;"&gt;10 Years&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;High Yield Municipal Bond Fund (Class R6/JCTRX)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;7.30&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;1.24&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.83&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.67&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;0.93&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.25&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; color: #000000; font-size: 9pt; font-family: 'Arial Narrow'; font-weight: normal; padding: 6pt 3pt 3pt 3pt;"&gt;Bloomberg High Yield Municipal Bond Index&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;8.19&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;2.61&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 3pt 3pt 3pt;"&gt;4.22&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-family: 'Arial Narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0; padding: 0;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;The Fund has designated Bloomberg Municipal Bond Index as its broad-based securities market index in accordance with the revised definition for such an index.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none; font-family: 'arial narrow'; font-style: italic;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;&#160;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; font-size: 8pt; color: #000000; text-align: left; padding: 0;"&gt;
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; font-style: italic; font-size: 8pt; color: #000000; text-align: left; margin-bottom: 0px; padding: 0px;"&gt;Class R6 shares were first offered on 8-30-17. Returns prior to this date are those of Class A shares that have not been adjusted for class-specific expenses; otherwise, returns would vary.&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AvgAnnlRtrTableTextBlock>
    <oef:LineGraphAndTableMeasureName
      contextRef="FY2024_C000193018Member"
      id="t_20_6746f1e1_8b9c_054a_ed21_5ebec9725389">High Yield Municipal Bond Fund (Class R6/JCTRX)</oef:LineGraphAndTableMeasureName>
    <oef:AvgAnnlRtrPct
      contextRef="FY2024_C000193018Member"
      decimals="4"
      id="h_132_5ede7936_5f89_4e29_8bbc_90766afff17e"
      unitRef="pure">0.0730</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="FiveY2024_C000193018Member"
      decimals="4"
      id="h_133_a56f572b_df35_4618_b3fa_231934159202"
      unitRef="pure">0.0124</oef:AvgAnnlRtrPct>
    <oef:AvgAnnlRtrPct
      contextRef="TenY2024_C000193018Member"
      decimals="4"
      id="h_134_1cd76894_cd58_4077_8538_7f2e5a551556"
      unitRef="pure">0.0283</oef:AvgAnnlRtrPct>
    <oef:PerformancePastDoesNotIndicateFuture
      contextRef="FY2024_C000193018Member"
      id="t_13_b5b6143a_58b4_d41e_7fae_a39dbe640f23">Past performance does not guarantee future results.</oef:PerformancePastDoesNotIndicateFuture>
    <oef:UpdPerfInfoLocationTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_14_f3223e6e_76ba_ed02_88c6_c3f7e143a098">Due to market volatility and other factors, the fund&#x2019;s current performance may be higher or lower than the performance shown and can be found at &lt;span&gt;jhinvestments.com/investments&lt;/span&gt; or by calling 800-225-5291.</oef:UpdPerfInfoLocationTextBlock>
    <oef:NoDeductionOfTaxesTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_21_14efe76d_df3d_e922_37f6_2b0a6bc6156f">The graph and table do not reflect the deduction of taxes that a shareholder would pay on fund distributions or redemption of fund shares.</oef:NoDeductionOfTaxesTextBlock>
    <oef:AddlFundStatisticsTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_16_aaad54b8_025e_d094_78f7_3dea2d980596">
&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-top: 0px; margin-bottom: 0px;" title="oef:AddlFundStatisticsTextBlock"&gt;Fund Statistics&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 0px 10pt;"&gt;Fund net assets&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 0px 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;228,883,275&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total number of portfolio holdings&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;300&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Total advisory fees paid (net)&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="float: none;"&gt;$&lt;/span&gt;791,691&lt;span style="visibility: hidden; display: none;"&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; color: #000000; font-size: 9pt; width: 90%; text-align: left; font-family: 'Arial Narrow'; font-weight: bold; padding: 6pt 10pt 3pt 10pt;"&gt;Portfolio turnover rate&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; font-family: 'Arial Narrow'; color: #000000; font-size: 9pt; padding: 6pt 10pt 3pt 10pt;"&gt;&lt;span style="width: 12pt;"&gt; &lt;/span&gt; &lt;span style="visibility: hidden; display: none; float: none;"&gt;$&lt;/span&gt;22&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;
</oef:AddlFundStatisticsTextBlock>
    <us-gaap:AssetsNet
      contextRef="TI20240531_C000193018Member"
      decimals="INF"
      id="h_141_1ee4d932_4e6b_400c_96e9_5b6ddd6b0c63"
      unitRef="USD">228883275</us-gaap:AssetsNet>
    <oef:HoldingsCount
      contextRef="TI20240531_C000193018Member"
      decimals="INF"
      id="h_142_66657539_9ead_4c4d_92c3_d65caa493e23"
      unitRef="Holding">300</oef:HoldingsCount>
    <oef:AdvisoryFeesPaidAmt
      contextRef="FY2024_C000193018Member"
      decimals="INF"
      id="h_143_827e49fd_ec02_4a75_9ac5_3180c42b55a6"
      unitRef="USD">791691</oef:AdvisoryFeesPaidAmt>
    <us-gaap:InvestmentCompanyPortfolioTurnover
      contextRef="FY2024_C000193018Member"
      decimals="4"
      id="h_144_184194a9_7176_45e6_8e40_cddb2544918d"
      unitRef="pure">0.22</us-gaap:InvestmentCompanyPortfolioTurnover>
    <oef:HoldingsTableTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_18_126b2eb2_1d2e_df3f_dd49_c585a5934bfd">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt;" title="oef:HoldingsTableTextBlock"&gt;Graphical Representation of Holdings&lt;/div&gt;

&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7pt;"&gt;The tables below show the investment makeup of the fund, representing percentage of the total investments of the fund.&lt;/div&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Sector Composition&lt;/b&gt;&lt;/div&gt;

&lt;table style="width: 100%; border-collapse: collapse; page-break-inside: avoid;"&gt;

&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="break-inside: avoid; vertical-align: middle; text-align: left; padding: 0px 3pt;"&gt;&lt;strong&gt;General obligation bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="break-inside: avoid; text-align: right; vertical-align: middle; padding: 0px 3pt;"&gt;&lt;strong&gt;10.9&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Revenue bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;86.2&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Health care&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;20.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Development&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;19.0&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Education&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;17.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Other revenue&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;10.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Tobacco&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;4.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Housing&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;3.7&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Transportation&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;3.6&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Facilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;2.2&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Airport&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.9&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Pollution&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;1.5&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Utilities&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;0.9&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;Water and sewer&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;0.8&lt;span&gt;%&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Corporate bonds&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;1.1&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; height: 20pt;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;Short-term investments&lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt;1.8&lt;span&gt;%&lt;/span&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="page-break-inside: avoid; height: 20pt; border-bottom-width: initial; border-bottom-color: initial; border-bottom-style: none;"&gt;
&lt;td style="page-break-inside: avoid; vertical-align: middle; text-align: left; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;td style="page-break-inside: avoid; text-align: right; vertical-align: middle; padding: 6pt 3pt 3pt 3pt;"&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;

&lt;div style="border-bottom-color: #000000; border-bottom-style: solid; border-bottom-width: 0.5pt; font-family: 'arial narrow'; color: #000000; letter-spacing: 1.25px; text-transform: uppercase; font-size: 10pt; text-align: center; padding-bottom: 0px; margin-bottom: 0px; margin-top: 5pt; font-weight: bold;"&gt;&lt;b&gt;Quality Composition&lt;/b&gt;&lt;/div&gt;

&lt;div style="padding-right: 6pt; padding-left: 6pt;"&gt;&lt;img alt="Graphical Representation - Allocation 1 Chart" src="chartimages_5005920.jpg" style="width: 172.8pt;"/&gt; &lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;


&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Holdings may not have been held by the fund for the entire period and are subject to change without notice. Portfolio composition is subject to review in accordance with the fund&#x2019;s investment strategy and may vary in the future. Current and future portfolio holdings are subject to risk and may change at any time.&lt;/div&gt;
</oef:HoldingsTableTextBlock>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_GeneralObligationBondsMember"
      decimals="4"
      id="h_145_0ee1e92d_7f85_2527_e906_7c3ba0302290"
      unitRef="pure">0.109</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_RevenueBondsMember"
      decimals="4"
      id="h_146_84fc59e1_3d50_c21a_ca2c_68fdc5da1f2e"
      unitRef="pure">0.862</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_HealthcareSectorMember"
      decimals="4"
      id="h_147_3183e107_802c_5503_dbbe_d245b20b9ff2"
      unitRef="pure">0.202</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_DevelopmentMember"
      decimals="4"
      id="h_148_4f546c7f_73e8_2bc8_f9a5_510426970a8d"
      unitRef="pure">0.190</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_EducationMember"
      decimals="4"
      id="h_149_0a694b6b_393d_56c0_bcd2_673401fe00fd"
      unitRef="pure">0.177</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_OtherRevenueMember"
      decimals="4"
      id="h_150_3c5c8814_c40a_2dbb_5e8b_37f4ec1d67da"
      unitRef="pure">0.105</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_TobaccoMember"
      decimals="4"
      id="h_151_ae33451a_d6fd_35b1_5282_5d00ef14de28"
      unitRef="pure">0.042</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_HousingMember"
      decimals="4"
      id="h_152_2901f9d0_ddd4_1072_8cd1_7121db6f85ba"
      unitRef="pure">0.037</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_TransportationSectorMember"
      decimals="4"
      id="h_153_8ce6dd80_b5c6_215c_cbcb_48524c4a4959"
      unitRef="pure">0.036</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_FacilitiesMember"
      decimals="4"
      id="h_154_2e2e1b63_3236_75ed_1966_ec6a02740843"
      unitRef="pure">0.022</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_AirportMember"
      decimals="4"
      id="h_155_ef600f0b_4ad4_4aaf_f47f_68c1617b536a"
      unitRef="pure">0.019</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_PollutionMember"
      decimals="4"
      id="h_156_556d6910_865c_e290_965a_9852ad007c6d"
      unitRef="pure">0.015</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_UtilitiesSectorMember"
      decimals="4"
      id="h_157_68316f21_f418_2094_ca80_5a406206ed26"
      unitRef="pure">0.009</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_WaterAndSewerMember"
      decimals="4"
      id="h_158_929050ad_0a13_837e_c25d_9f7be0151a82"
      unitRef="pure">0.008</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_CorporateBondSecuritiesMember"
      decimals="4"
      id="h_159_91cd641c_53ff_9ee5_820b_bc55faa557b1"
      unitRef="pure">0.011</oef:PctOfTotalInv>
    <oef:PctOfTotalInv
      contextRef="TI20240531_C000193018Member_ShortTermInvestmentsMember"
      decimals="4"
      id="h_160_228ac62b_86ff_a7d0_7813_0c838295e918"
      unitRef="pure">0.018</oef:PctOfTotalInv>
    <oef:CreditQualityExplanationTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_19_ebccfdf2_b319_ec9a_4107_616d16da388f">
&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc. &#x201c;Not rated&#x201d; securities are those with no ratings available from these agencies. All ratings are as of 5-31-24 and do not reflect subsequent downgrades or upgrades, if any.&lt;/div&gt;
</oef:CreditQualityExplanationTextBlock>
    <oef:CreditRatingsSelectionTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_22_df83dd1c_3564_1ac4_cfd9_a11065628d65">Ratings are from Moody&#x2019;s Investors Service, Inc. If not available, we have used S&amp;amp;P Global Ratings. In the absence of ratings from these agencies, we have used Fitch Ratings, Inc.</oef:CreditRatingsSelectionTextBlock>
    <oef:MaterialFundChngTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_24_35bc08c2_823f_4fde_a31a_9f32d9e65c7d">&lt;div style="font-family: 'arial narrow'; color: #000000; font-size: 10pt; font-weight: bold; margin-bottom: 6pt; margin-top: 1.5pt;" title="oef:MaterialFundChngTextBlock"&gt;&lt;b&gt;Material Fund Changes&lt;/b&gt;&lt;/div&gt;&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Effective 10-1-23 the fund changed its objective from "To seek a high level of current income that is largely exempt from federal income tax, consistent with the preservation of capital." to "To seek a high level of income that is largely exempt from federal income taxes."&lt;/div&gt;&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;&lt;i&gt;For more complete information, please refer to the fund&#x2019;s prospectus.&#160;The currently effective prospectus is available at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt; or by calling 800-225-5291.&lt;/i&gt;&lt;/div&gt;</oef:MaterialFundChngTextBlock>
    <oef:MaterialFundChngObjectivesTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_25_5c544aeb_ceff_0a7e_97c7_15678f23a91c">&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;Effective 10-1-23 the fund changed its objective from "To seek a high level of current income that is largely exempt from federal income tax, consistent with the preservation of capital." to "To seek a high level of income that is largely exempt from federal income taxes."&lt;/div&gt;</oef:MaterialFundChngObjectivesTextBlock>
    <oef:SummaryOfChngLegendTextBlock
      contextRef="FY2024_C000193018Member"
      id="t_29_84a2c635_4047_1edb_0492_85018002d86f">&lt;div style="margin-top: 0px; font-family: 'arial narrow'; color: #000000; font-size: 9pt; margin-bottom: 7.5pt;"&gt;&lt;i&gt;For more complete information, please refer to the fund&#x2019;s prospectus.&#160;The currently effective prospectus is available at &lt;span&gt;jhinvestments.com/documents&lt;/span&gt; or by calling 800-225-5291.&lt;/i&gt;&lt;/div&gt;</oef:SummaryOfChngLegendTextBlock>
    <oef:UpdProspectusWebAddress
      contextRef="FY2024_C000193018Member"
      id="t_27_cc27c9d1_ff4c_0742_1cb2_d1aed49e3654">jhinvestments.com/documents</oef:UpdProspectusWebAddress>
    <oef:UpdProspectusPhoneNumber
      contextRef="FY2024_C000193018Member"
      id="t_28_2d6700fd_8288_b871_8fb9_e8a936916b4e">800-225-5291</oef:UpdProspectusPhoneNumber>
</xbrl>
