@media screen and (orientation: portrait) {
    #pcOnly,
    .pcOnly {
        display: none!important;
    }
    #pcOnly_inline,
    .pcOnly_inline {
        display: none!important;
    }
    #pcOnly_inline-block,
    .pcOnly_inline-block {
        display: none!important;
    }

    #spOnly,
    .spOnly {
        display: block!important;
    }
    #spOnly_inline,
    .spOnly_inline {
        display: inline!important;
    }
    #spOnly_inline-block,
    .spOnly_inline-block {
        display: inline-block!important;
    }
}

@media screen and (orientation: portrait) {
    header#sqexHeader-black_rsp,
    header#sqexHeader-white_rsp {
        height: auto;
        padding:10px 0;
        zoom:2;
    }
}

@media screen and (orientation: portrait) {
    #header-title {
        display: none;
    }

    #phone-title {
        width: 100%; /* 608px;*/
        height: auto;
        position: relative;
    }

    #phone-title div.logo {
        width: 40%; /* 418px */
        /*height: auto; /* 35px */
        margin: 0 auto;
        text-align: center;
        max-width: 160px;
    }
    #phone-title div.logo img {
        display:block;
        width:100%;
    }
}

@media screen and (orientation: portrait) {
    #contents {
        width:100%;
    }
}

@media screen and (orientation: portrait) {
    div#sqexFooter {
        zoom:2;
    }
}

@media screen and (orientation: portrait) {
    div#sqexFooter div.sqex-footer-links {
        margin:0;
        float:none;
        text-align:center;
        border-top: 1px solid #333;
        position:relative;
        right:auto;
        top:auto;
    }
    div#sqexFooter.sqex-footer-white div.sqex-footer-links {
         border-top: 1px solid #ccc;
    }

    div#sqexFooter div.sqex-footer-links a {
        margin: 0 5px;
    }
}

@media screen and (orientation: portrait) {
    div#sqexFooter div.sqex-footer-shares-wrap {
        width:auto;
        position:relative;
        left:auto;
        margin-left:auto;
    }
    div#sqexFooter dl.sqex-footer-shares {
        width:auto;
        border:none;
        float:none;
    }
    div#sqexFooter dl.sqex-footer-shares dt {
        display:none;
    }
}

@media screen and (orientation: portrait) {
    div#sqexFooter div.sqex-footer-logos {
        float:none;
        padding:10px;
        margin:0;
        text-align:center;
        border-bottom:1px solid #333;
    }
    div#sqexFooter.sqex-footer-white div.sqex-footer-logos {
        border-bottom:1px solid #ccc;
    }
    div#sqexFooter div.sqex-footer-logos img {
        margin:5px;
    }
    div#sqexFooter div.sqex-footer-logos object {
        margin:5px;
    }
}

@media screen and (orientation: portrait) {
    div#sqexFooter ul {
        display: flex;
        flex-wrap: wrap;
    }
    div#sqexFooter ul li {
        box-sizing:border-box;
        width:50%;
        padding:0.5%;
        margin:1% 0;
        border:none;
    }
    div#sqexFooter ul li:nth-child(odd) {
        border-right:1px dotted #666;
    }
}

@media screen and (orientation: portrait) {
    div#sqexFooter .sqex-footer-exlogo {
        display:none;
    }
    div#sqexFooter .sqex-footer-exlogo_sp {
        display:block;
    }
}

@media screen and (orientation: portrait) {
    div.column3 div#sqex-footer-contents div.sqex-footer-links {
        float:none;
    }
}

@media screen and (orientation: portrait) {
    div#sqexFooter ul.addcomArea li { padding: 0; margin: 0; }
}
