@media screen and (min-width:1690px) and (max-width:1920px) {
    .nav-flex {
        /* padding:20px 12% 0 20px; */
    }

    .my-flex-item-center {
        min-height: 270px;
    }

    .banner-btn-lp {
        left: 41%;
    }
}

@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:1100px) {
    
    .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: rgba(136, 191, 109, 1);
        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: 25px;
        right: -295%;
        border: 1px solid rgba(239, 136, 22, 1);
        padding: 5px 10px;
        color: rgba(239, 136, 22, 1);
        cursor: pointer;
        height: 35px;
    }
    
    .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: #000;;
    }

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

    .menu-item {
        line-height: 2.4em;
        list-style: none;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #fff;
        background: rgba(136, 191, 109, 1);
    }

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

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

    .menu-item.active a {
        color: rgba(239, 136, 22, 1);
    }

    .menu-item:last-child {
        border-bottom: none;
    }
    
    .logo-header {
        max-width: 130px;       
    }
    
    .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;
    }

    .btn-contact-hd {
        width: 40%;
        margin: 20px auto 20px;
    }
    /*== End hamburger menu ==*/
}

@media screen and (max-width:1024px) { 
    .my-list1 li {
        font-size: 15px;
    }
    .my-list2 li {
        font-size: 15px;
    }

    .my-list1a li {
        font-size: 15px;
    }

    .my-list3 li {
        font-size: 15px;
    }

    .deco-border01 {
        height: 240px;
    }
    .voice-item-text p {
        top: 50%;
    }

    .lunch-img {
        margin-top: 52px;
    }

    .deco-border01.deco-border02 {
        min-height: 450px;
    }

    .deco-border01.deco-border03 {
        min-height: 450px;
    }
}

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

    .my-list1 li span {
        margin-right: 0;
    }

    .my-list2 li span {
        margin-right: 0;
    }

    .my-list1a li span {
        margin-right: 0;
    }

    .my-list3 li span {
        margin-right: 0;
    }

    .deco-border01 {
        height: 260px;
    }

    img.flower-img {
        margin-top: 0;
    }
}

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

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

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

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

    .my-list1 {
        max-width: 100%;
        margin-bottom: 0;
    }

    .my-list2 {
        max-width: 100%;
    }

    .my-list3 li {
        line-height: 2.4em;
    }

    .deco-border01 {
        height: 290px;
    }

    .deco-border01.deco-border02 {
        min-height: 550px;
    }

    .deco-border01.deco-border03 {
        min-height: 500px;
    }

    .rounded-text-sm {
        width: 60%;
    }

    .deco-person {
       max-width: 100%;
       margin: 0 0 20px 0;
    }

    .img-tree01 {
        width: 80% !important;
    }

    .img-tree02 {
        width: 80% !important;
    }

    .childcare-policy-text p {
        text-align: left;
    }

    .environment-wrapper p {
        text-align: left;
    }
    
}

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

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

    .txt-em {
        font-size: 17px;
    }

    .childcare-policy-text {
        padding: 0 15px;
    }

    .deco-border01 {
        height: 360px;
    }

    .footer-info {
        font-size: 14px;
    }

    .deco-border01.deco-border02 {
        min-height: 620px;
    }

    .deco-border01.deco-border03 {
        min-height: 550px;
    }

    .deco-flower2 {
        left: 0;
    }
}

@media screen and (max-width:767px) {    
    .icon-menu {
        position: absolute;      
        top: 15px;
        right: 10px;
        border: 1px solid red;
        padding: 5px 10px;
        color: red;
    }
    
    .icon-menu.active {
        right: 10px;
    }
    
    .my-menu.active .logo-header {
        margin-top: -10px;
    }

    .banner-btn-lp {
        left: 50%;
    }
   
    #main {
        top: 0;
    }
    
    #top-bar {
        background: rgba(136, 191, 109, 1);
    }

    .btn-contact-hd {
        width: 80%;        
    }

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

    .main-content {
        top: 50%;
    }

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

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

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

    .greeting-text p {
        margin-top: 20px;
    }

    .voice-content-wrapper {
        width: 100%;
    }

    .voice-text p {
        margin-top: 20px;
    }

    .voice-img1 {
        margin-bottom: 0;
    }

    .voice-text1 {
        margin-bottom: 60px;
    }

    .my-flex-item {
        max-width: 100%;
    }

    .my-flex-item-center {
        max-width: 100%;
    }

    .ig-item {
        max-width: calc(100% / 3 - 10px);
        margin: 0 0 10px 0;
    }

    .ig-item:nth-child(6) {
        margin: 0 0 10px 0;
    }

    .news-wrap {
        width: 100%;
    }

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

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

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

    .txt-em {
        font-size: 16px;
    }

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

    .title-en {
        font-size: 30px;
    }

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

    .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%;
    }

    .deco-flower03 {
        max-width: 11%;
        margin-right: 0;
    }

    .deco-flower04 {
        max-width: 11%;
        margin-left: 0;
    }

    .greeting-signature img {
        width: 30%;
    }

    .title-jp2::after {
        top: 40px;
    }

    .headline-rounded {
        width: 90%;
        font-size: 16px;
        margin: 20px auto 0;
    }

    .childcare-policy-wrapper {
        padding: 40px 0 0;
    }

    .childcare-policy-list {
        margin-top: 20px;
    }
    
    .childcare-policy-item {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .childcare-policy-item1a {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .childcare-policy-item1b {
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .img-tree01 {
        width: 100%!important;       
    }
    
    .img-tree02 {
        width: 100%!important;        
    }

    .my-list3 {
        padding-left: 10px;
    }

    .rounded-text-sm {
        width: 80%;
    }

    .childcare-policy-item-img.txt-right {
        text-align: center;
    }

    .childcare-policy-item2 {
        max-width: 100%;
        margin: 0;
        padding: 0 15px;
    }

    .childcare-policy-item1 {
        max-width: 100%;
        margin: 0;
    }

    .deco-flower1 {
        width: 50%!important;
    }
    
    .childcare-policy-item3 {
        max-width: 100%;
        margin: 0;
    }
    
    .deco-flower2 {
        width: 50%!important;
    }

    .voice-item-img {
        margin-bottom: 20px;
    }

    .voice-item-text p {
        padding: 20px 45px;
    }
    .deco-border01 {
        height: 430px;
    }

    .footer-time {
        font-size: 14px;
    }

    .footer-time-text1 {
        margin-right: 0;
    }

    .school-features-img {
        margin-bottom: 20px;
    } 

    .features-menu-item img {
        max-width: 100%;
    }

    .features-menu-item {
        /* font-size: 20px; */
        display: flex;
    }

    .feature-text {
        padding: 10px 0 10px 10px;
        font-size: 20px;
    }

    .school-features-heading .green-heading2 {
        display: flex;
    }

    span.feature-num img {
        max-width: 100%;
    }

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

    .event-item-img {
        margin-bottom: 20px;
    }

    .lunch-img2 {
        margin-bottom: 20px;
    }

    .lunch-img2 {
        margin-bottom: 20px;
    }

    .lunch-img {
        margin-top: 10px;
    }

    .lunch-img img {
        margin-top: 0;
    }

    .deco-border01.deco-border02 {
        min-height: 750px;
    }

    .deco-border01.deco-border03 {
        min-height: 830px;
    }
    

    .row.mgt-20 {
        margin-top: 0;
    }

    .message-item-img {
        margin-bottom: 20px;
    }

    .img-msg30 {
        margin-top: 20px;
    }

    .title-jp2 {
        font-size: 20px;
    }

    .about-img {
        text-align: center;
    }

    .about-img img {
        width: 100%;
        margin-top: 0;
    }

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

    .school-features-img img {
        width: 100%;
    }

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

    .sp-show767 {
        display: block;
    }
    
}

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