@media screen and (min-width:1690px) and (max-width:1920px) {
    .dl-pausevid__vid {
        width: 48%;
    }

    section.main-lower {
        height: 800px;
    }

    .banner-img img {
        height: 800px;
    }

    /* .policy-text.order1-sp {
        position: relative;
        left: -120px;
    } */
}

@media screen and (max-width:1689px) {
    .dl-pausevid__vid {
        width: 52%;
    }

}

@media screen and (max-width:1550px) {
   
}

@media screen and (max-width:1380px) {
    .dl-pausevid__vid {
        width: 58%;
    }
}

@media screen and (max-width:1024px) {
    .features-title {
        font-size: 17px;
    }

    .img-review {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }

    .dl-pausevid__vid {
        height: 508px;
        width: 74%;
    }

    .feature-menu-item {
        padding: 20px 10px;
    }

    .brnone-1024 {
        display: none;
    }

    .feature-menu-item {
        padding: 20px 7px;
    }

    .feature-menu-item .features-title {
        font-size: 18px;
    }
}

@media screen and (max-width:834px) {
    .btn-contact {
        margin: 20px auto;
    }

    .news-item {
        justify-content: flex-start;
    }

    .slider__item-aboutus.frame.aboutus-video img {
        width: 100%;
    }

    .feature-desc {
        text-align: left;
    }

    .feature-item-text {
        padding: 20px 20px;
    }

    .features-title {
        font-size: 14px;
    }

    .class-desc {
        text-align: left;
    }

    .ft-info {
        font-size: 15px;
    }

    .dl-pausevid__vid {
        height: 554px;
        width: 100%;
    }

    .jac-feature-desc {
        text-align: left;
    }

    .policy-title {
        font-size: 17px;
    }

    table.table-fee1 tr th,
    table.table-fee1 tr td {
        padding: 20px 10px;
    }
}

@media screen and (max-width:768px) {
    .feature-item-text {
        padding: 20px 9px;
    }

    .vid-frame {
        width: 93%;
        height: 87%;
    }

    .video__controls {
        bottom: 20px;
    }

    .ft-info {
        font-size: 13px;
    }

    .ft-nav ul li a {
        font-size: 14px;
    }

    .policy-title img {
        width: 32px;
        height: auto;
    }

    .policy-title {
        font-size: 16px;
    }
}

@media screen and (max-width:767px) {
    .sp-show {
        display: inline-block;
    }

    .title-bg img {
        width: 100%;
    }

    #main h2 img {
        margin-top: 90px;
    }

    .main-content {
        top: 60%;
    }

    .main-content-text p {
        font-size: 28px;
    }

    .vid-frame {
        width: auto;
        height: 100%;
    }

    .dl-pausevid__vid {
        height: 554px;
        width: 62%;
    }

    .video__controls {
        bottom: -45px;
    }

    .aboutus-text {
        margin-top: 80px;
    }

    .aboutus-text h4 {
        font-size: 24px;
    }

    .features-title {
        font-size: 16px;
    }

    .title-jp {
        font-size: 22px;
    }

    .profile-text {
        padding: 0;
    }

    .class-item {
        margin-bottom: 40px;
    }

    #class .btn-wrap {
        margin-top: 20px;
    }

    .img-recommendation {
        width: 100%;
        margin: 0 0 10px 0;
    }

    .recommendation-item {
        margin-bottom: 40px;
    }

    .text-review::before {
        left: 50%;
        top: -24px;
        transform: translateX(-50%);
        border-right: 15px solid transparent;
        border-left: 15px solid transparent;
        border-bottom: 25px solid #fff;
        border-top: none;
    }
    
    .text-review {
        margin-left: 0;
        margin-top: 60px; /* Add space for the triangle */
    }

    .ig-item {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .blog-item {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .blog-item:last-child {
        margin-bottom: 0;
    }

    .footer-left {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .footer-right {
        max-width: 100%;
        margin-top: 30px;
    }

    .ft-nav ul {
        display: flex;
        flex-direction: column;
    }

    .ft-nav ul li {
        margin-bottom: 10px;
    }
    
    .ft-nav ul li a {
        font-size: 16px;
    }

    #recommendation .mgt-60 {
        margin-top: 40px;
    }

    .about-text {
        text-align: left;
    }

    .policy-text {
        max-width: 100%;
    }

    .policy-img {
        max-width: 100%;
        left: 0;
    }

    .policy-img img {
        width: 100%;
    }

    .policy-img2 {
        max-width: 100%;
    }

    .policy-img2 img {
        width: 100%;
    }    

    .order1-sp {
        order: 1;
    }

    .order2-sp {
        order: 2;
    }

    .feature-menu-item {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .my-flex-item {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    #achivements {
        padding: 80px 0 40px;
    }

    table.table-fee1 {
        width: 800px;
    }

    .scroll-hint-icon {       
        position: absolute;
        top: 60px!important;
        width: 180px!important;
        min-height: 100px;
    }

    .policy-item {
        width: 100%;
    }

    span.ft-sns {
        display: block;
        margin: 10px 0;
    }

    .hdr__navi-menu-sns .ft-sns-list {
        margin-right: 15px;
    }

    .news-item .news-date {
        max-width: 100%;
        text-align: left;
    }

    .news-item .news-title {
        max-width: 100%;
        padding-left: 0;
    }

    span.wpcf7-list-item-label {
        white-space: normal;
        word-break: break-all;
    }
	
	.weekly-schedule_table table {
		width: 1200px;
	}

}

@media screen and (max-width:376px) {
    .dl-pausevid__vid {
        height: 554px;
        width: 74%;
    }

    .main-content-text p {
        font-size: 24px;
    }

    .aboutus-text h4 {
        font-size: 20px;
    }

    #aboutus .btn-wrap {
        margin-top: 50px;
    }

    .title-text {
        width: 100%;
    }

    .ft-sns-list {
        margin-left: 5px;
    }

    .feature-title2 {
        font-size: 19px;
    }

    .achivements-desc {
        font-size: 17px;    
    }

    .alumnni-desc {
        font-size: 17px;
    }
}

/* Make the form responsive */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group label {
        margin-bottom: 5px;
    }

    .form-group .form-control {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .contact-form {
        width: 88%;
    }

    .form-group p label {
        min-width: 300px;
    }
}

