.m-sub-tit_box, .sub-tit {
    margin-top: 0 !important;
}

.homestay p.pc {
    background-size: contain !important;
}

.homestay p img {
    width: 100%;
    object-fit: contain;
}

.trip_info li img, .program_info li img {
    width: 100%;
    object-fit: contain;
}

.program_info ul {
    display: flex;
    flex-wrap: wrap;
}

.program_info ul li {
    float: none;
}

@media screen and (min-width: 1025px) {
    h2.sub-tit {
        display: flex;
        flex-direction: column;
    }

    h2.sub-tit span.subtitle {
        width: 100%;
        font-size: 36px;
        padding-top: 30px;
        display: block;
        font-weight: 500;
        background: url(/images/sub/sub_tit_h5.gif) no-repeat top center;
        margin-top: 30px;
    }
}

@media screen and (max-width: 1024px) {
    main {
        padding-top: 90px;
    }

    .m-sub-tit_box {
        top: 0;
        height: auto;
    }

    .m-sub-tit_box .m-sub-tit {
        display: flex;
        flex-direction: column;
    }

    .m-sub-tit_box .m-sub-tit span.subtitle {
        font-size: 30px;
        font-weight: 500;
        background: url(/images/sub/sub_tit_h5.gif) no-repeat top center;
        margin-top: 0;
    }
}

@media screen and (max-width: 780px) {
    #tab05 img.img {
        width: 100%;
    }    
}

@media screen and (min-width: 759px) {
    .homestay p.mo {
        background: none !important;
        height: auto;
    }
}

@media screen and (max-width: 758px) {
    main {
        padding-top: 55px;
    }

    .homestay p.pc {
        background: none !important;
    }

    .m-sub-tit_box {
        margin-bottom: 20px;
    }

    .m-sub-tit_box .m-sub-tit span.subtitle {
        font-size: 18px;
    }
}

@media screen and (max-width: 650px) {
    /* .cal_tbl tbody tr th:nth-child(1), .cal_tbl tbody tr th:nth-child(3), .cal_tbl tbody tr th:nth-child(5), .cal_tbl tbody tr th:nth-child(7) {
        width: 12.5%;
    } */

    .cal_tbl, .cal_day_tbl {
        overflow-x: auto;
    }
}