/* Phone layout for the legacy WordPress subpage header only. */
@media only screen and (max-width: 640px) {
    body.morino-responsive-subpage {
        min-width: 0;
        overflow: visible;
    }
    body.morino-responsive-subpage header,
    body.morino-responsive-subpage #wrap,
    body.morino-responsive-subpage footer,
    body.morino-responsive-subpage #copy {
        min-width: 0;
        width: auto;
    }
    body.morino-responsive-subpage .md_container {
        min-width: 0;
        width: auto;
        max-width: 100%;
    }
    body.morino-responsive-subpage #contents,
    body.morino-responsive-subpage #side,
    body.morino-responsive-subpage #newsArticle,
    body.morino-responsive-subpage #articleNaviArea {
        float: none;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    body.morino-responsive-subpage #side {
        display: block;
        margin-top: 24px;
    }
    body.morino-responsive-subpage #contents img,
    body.morino-responsive-subpage #newsArticle img {
        max-width: 100%;
        height: auto;
    }
    body.morino-responsive-subpage iframe,
    body.morino-responsive-subpage video {
        max-width: 100%;
    }
    body.morino-responsive-subpage #contents p,
    body.morino-responsive-subpage #contents a,
    body.morino-responsive-subpage #newsArticle p {
        overflow-wrap: anywhere;
    }
    body.morino-responsive-subpage #contents .left01,
    body.morino-responsive-subpage #contents .left02,
    body.morino-responsive-subpage #contents .left03,
    body.morino-responsive-subpage #contents .right01,
    body.morino-responsive-subpage #contents .right02,
    body.morino-responsive-subpage #contents .right03 {
        float: none;
        width: auto;
        max-width: 100%;
        padding: 0 0 24px;
    }
    body.morino-responsive-subpage #contents .subttl {
        margin: 20px 0 30px;
    }
    body.morino-responsive-subpage #contents #list dl {
        float: none;
        width: 100%;
        max-width: 100%;
    }
    body.morino-responsive-subpage #contents #tour dl {
        width: auto;
        margin-left: 0;
        padding-right: 12px;
        padding-left: 12px;
    }
    body.morino-responsive-subpage #contents #tour dt,
    body.morino-responsive-subpage #contents #tour dd {
        float: none;
        width: auto;
    }
    body.morino-responsive-subpage #contents .tourList,
    body.morino-responsive-subpage #contents .photoList {
        padding-left: 0;
    }
    body.morino-responsive-subpage #contents .tourList li {
        width: auto;
        max-width: 100%;
    }
    body.morino-responsive-subpage #contents .photoList li {
        max-width: 100%;
    }
    body.morino-responsive-subpage #contents .listTtl img {
        max-width: 100%;
    }
    body.morino-responsive-subpage #articleNaviArea {
        clear: both;
        margin-top: 24px;
    }
    body.morino-responsive-subpage .global-nav {
        width: min(300px, calc(100vw - 64px));
    }
    body.morino-responsive-subpage.nav-open .hamburger {
        right: min(300px, calc(100vw - 64px));
    }
}
