@media screen and (max-width: 800px) {
    .page-sub-title {
        font-size: 3rem;
        text-align: left;
    }
    .ptop {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .ptop .thumb img {
        width: 100%;
        margin: 0;
    }
    .ptop .thumb .bg {
        display: none;
    }
    .ptop.row {
        margin-left: -2rem;
        margin-right: -2rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .ptop.row div[class^=col-xs] {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .ptop.row .col-xs-4 {
        width: 40%;
    }
    .ptop.row .col-xs-8 {
        width: 60%;
    }
    .self-content .row {
        display: flex;
        align-items: stretch;
        flex-wrap: wrap;
    }
    .self-content .col-xs-4 .border {
        height: 100%;
        box-sizing: border-box;
    }
    .self-content .thumb .title {
        padding: 1.5rem;
    }
    .sub-menu a {
        font-size: 2rem;
        line-height: 1.2;
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 500px) {
    .ptop.row div[class^=col-xs] {
        width: 100% !important;
    }
    .ptop.row .col-xs-4 {
        margin-bottom: 2rem;
    }
    .ptop .thumb img {
        width: 50%;
    }
    .ptop p {
        font-size: 1.8rem;
    }
    .sub-menu table,
    .sub-menu tbody,
    .sub-menu tr,
    .sub-menu td,
    .sub-menu a {
        display: block;
    }
    .sub-menu a {
        padding: 1.5rem;
    }
    .self-content .col-xs-4 {
        width: 100%;
        margin-bottom: 2rem;
    }
    .self-content .col-xs-5 {
        margin-bottom: 2rem;
    }
    .self-content .col-xs-5,
    .self-content .col-xs-7 {
         width: 100%;
    }
}