@media screen and (min-width:1690px) and (max-width:1920px) {
    .nav-flex {
       
    }

    

    
}

@media screen and (max-width:1550px) {
    .my-flex-item-center {
        min-height: 270px;
    }
}

@media screen and (max-width:1380px) {
    .my-flex-item-center {
        min-height: 235px;
    }
}

@media screen and (max-width:1024px) {
    .my-flex-item-center {
        min-height: 187px;
    }

    .banner-txt {
        font-size: 26px;
    }

    .news-date {
        max-width: 25%;
    }

    .news-title {
        max-width: 75%;
    }
}


@media screen and (max-width:1024px) {
    
    .sp-show {
        display: block !important;
    }

    .sp-none {
        display: none !important;
    }

    .pc-none {
        display: inline-flex !important;
    }
    
    /* Hamburger menu */
    .top-headline.active {
        background: #fff;
        display: block;
    }

    .my-logo-sp {
        display: block;
    }

    .my-logo-sp.remove {
        display: none;
    }

    .my-menu {
        position: relative;
        padding: 15px 0 0 10px;
    }

    .my-menu.active {
        background: #fff;
        display: block;
        padding-left: 10px;       
    }
    
    .my-menu.active .logo-header {
        margin-left: -10px;
        margin-top: -10px;
    }
    
    .logo-header {
        margin-left: 0;
        position: relative;
        top: 0!important;
    }
    
    .icon-menu {
        position: absolute;      
        top: 8px;
        right: -295%;
        border: 1px solid red;
        padding: 5px 10px;
        color: red;
        cursor: pointer;
    }
    
    .icon-menu.active {
        right: 16px;        
    }

    .openMenu {
        display: block!important;
    }

    .openMenu.active {
        display: none!important;
    }

    .closeMenu {
        display: none !important;
    }

    .closeMenu.active {
        display: block !important;
    }
      
    .menu-sp {
        display: none;  
        overflow-y: auto; /* Enable vertical scrolling */
    }

    .menu-sp.active {
        display: block;
        position: fixed;
        height: 100vh;
        width: 100%;        
        z-index: 999;
        padding: 0;
        transition: height 3s ease;
        background: #fff;
    }

    .menu-flex {
        padding-left: 0;
        margin-top: -8px;
        background: #fff;
        padding-bottom: 5px;
    }

    .menu-item {
        line-height: 2.4em;
        list-style: none;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #000;
    }

    .menu-item a {
        color: #000;
    }

    .menu-item.active {
        /* background: rgba(255, 255, 255, 0.6); */
    }

    .menu-item.active a {
        color: rgba(195, 34, 39, 1);
    }

    .menu-item:last-child {
        border-bottom: none;
    }
    
    .logo-header {
        max-width: 290px;       
    }
    
    .sp-menu-ft {
        background: #fff;
        position: relative;
        z-index: 999;
        top: -17px;
    }

    .menu-sp-footer {
        background: #eef4fb;
        width: 100%;   
        padding: 30px 0 0;
        margin-top: -20px;
    }
    
    .txt-footer1 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .txt-footer2 {
        padding: 0 15px;
    }
    
    .tel-ft {
        padding: 0 15px;
    }
    
    .menu-sp-footer .logo-ft {
        display: block;
        margin: 0 auto;
    }
    
    .menu-sp-footer .logo-ft img {
        width: 80%;
        display: block;
        margin: 0 auto 20px;
    }
    
    .menu-sp-footer .icon-tel {
        margin-bottom: -10px;
    }
    
    .menu-sp-footer .map-ft {
        margin-top: 20px;
        margin-bottom: 20px;
    }    
    
    .menu-sp-footer .copyright {
        background: #3572b7;
        color: #fff;
        text-align: center;
        padding: 15px 0;
    }

    .top-headline h1 {
        font-size: 13px;
        padding: 10px 5px 10px;
		text-align: center;
    }

    .top-headline h1.active {
        padding: 5px 5px;
        text-align: center;
    }
    /*== End hamburger menu ==*/
}


@media screen and (max-width:834px) { 
    .txt-em {
        font-size: 18px;
    }

    .news-date {
        max-width: 30%;
    }

    .news-title {
        max-width: 70%;
    }

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

    .feature-content-img img {
        width: 100%;
        height: 320px;
        object-fit: cover;
    }

    .reviews-wrapper {
        padding: 40px 15px;
    }
}

@media screen and (max-width:768px) { 
    .main-content {
        top: 60%;
    }

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

    .feature-content-img img {
        height: 380px;
    }

    .reviews-content {
        padding-left: 40px;
    }
}

@media screen and (max-width:767px) {    
    #main {
        top: 0;
    }
    
    #top-bar {
        background: #fff;
    }

    #main h2 img {
        min-height: 300px;        
    }

    #main h2 video {
        min-height: 300px;
    }

    .main-content {
        top: 60%;
    }

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

    .main-content-btn a img {
        margin-top: 0;
    }

    .banner-img img {
        object-fit: cover;
    }

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

    .footer-right {
        margin-top: 40px;
    }  

    .banner-txt {
        font-size: 18px;
        width: 80%;
    }

    .title-en {
        font-size: 30px;
    }
    .order1-sp {
        order: 1;
    }

    .order2-sp {
        order: 2;
    }

    .tabs-wrap {
        flex-wrap: wrap;
    }
    
    .tab-item {
        max-width: 100%;
        margin: 0;
    }
    
    .tab-item:last-child {
        max-width: 100%;
    }

    #main h2 img {
        height: 350px;
    }

    #main h2 video {
        height: 350px;
    }

    .logo-text-sub {
        font-size: 20px;
    }

    .news-wrapper {
        padding: 40px 15px;
    }

    .news-date {
        text-align: left;
        padding-right: 0;
        max-width: 100%;
    }

    .news-title {
        max-width: 100%;
    }

    .img-greeting {
        margin-bottom: 20px;
    }

    .desc-feature {
        padding: 0 15px;
        text-align: left;
    }

    .feature-content-img {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .feature-content-text {
        max-width: 100%;
        padding: 0 15px;
    }

    .feature-content-img img {
        height: auto;
    }

    .slick-prev img {
        height: 24px;
    }

    .slick-next img {
        height: 24px;
    }

    .gallery-slider .slick-arrow.slick-prev {
        left: 1vw;
    }

    .gallery-slider .slick-arrow.slick-next {
        right: 1vw;
    }

    .access-img {
        margin-bottom: 20px;
    }

    .reviews-wrapper {
        padding: 40px 15px;
    }
    

    .reviews-img {
        max-width: 100%;
        margin: 0 0 20px 0;
        padding: 0 15px;
    }

    .reviews-img img {
        width: 168px;
        height: 168px;
        object-fit: cover;
    }

    .reviews-content {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .question-wrapper {
        padding: 15px;
    }

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

    .footer-right {
        margin-top: 0;
    }

    .access-text {
        margin-left: 0;
    }

    .greeting-text {
        padding-left: 0;
    }

    #greetings {
        background-position: 64% 0;
    }

    .sp-show767 {
        display: block;
    }

    .reviews-content p:first-child {
        text-align: center;
    }

    .reviews-content {
        padding-left: 0;
    } 
}

@media (max-width: 376px) {
    .logo-text {
        font-size: 14px;
    }

    .logo-text-sub {
        font-size: 16px;
    }

}

/* 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;
    }
}
