@media screen and (max-width: 1440px) {
    #categories {
        margin-top: 170px;
    }
}

@media screen and (max-width: 1054px) {
    .cto img {
        min-width: 360px;
    }

    .achievement .achievement-item a{
        text-wrap-mode: unset;
    }

    #company-informartion .box-text {
        padding-right: 20px;
    }
}

@media screen and (max-width: 1024px) {
    .header-top {
        padding: 0.5rem 1rem 0.25rem 1rem;
    }
    .hero-image img {
        transform: none;
    }
    #solutions img {
        transform: translate(0rem, -5rem);
    }
    #contact-us .box {
        max-width: 1440px;
        width: 100%;
        height: 500px;
        padding: 2rem;
    }
    #contact-us .box .box-text {
        margin-right: 25px;
    }
    .contact-us-container > img{
        width: 350px;
    }

    .hero-text {
        margin: 0.5rem 1rem;
    }
    #solutions {
        padding: 12rem 0 3rem 0;
    }

    #our-products .carousel-section .box-text .table-box {
        display: none;
    }

    .our-products-title, .company-infor-title {
        font-size: 28px;
    }

    .our-products-short {
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        margin-bottom: 24px;
        font-size: 1rem;
        line-height: 1.5rem;
        height: 4.5rem !important;
    }

    .modal {
        display: block;
    }

    #customer-voices .box-text {
        max-width: 380px;
    }

    #customer-voices .customer-icon {
        max-width: 380px;
        margin: auto;
    }

    #customer-voices .slick-track {
        height: 100%;
    }

    .slick-slide .box-text {
        margin: auto;
    }

    .img-products .box-image img {
        width: 90%;
    }

    .banner {
        height: 600px;
    }
}
@media screen and (max-width: 768px) {
    .cto img {
        max-width: 360px;
        min-width: unset;
        width: 100%;
    }

    .infor-cto {
        margin: auto;
    }
    #company-informartion .box-text {
        padding-right: 0;
    }

    .sp {
        display: block;
    }
    
    .non-sp {
        display: none;
    }
    .our-products-title, .company-infor-title {
        font-size: 5.625vw;
    }
    .sp-menu {
        width: 70% !important;
        background-color: #373d4e;
        border-top-right-radius: 25px;
        border-bottom-right-radius: 25px;
        padding: 1rem;
    }
    .sp-menu .menu-items .mail-item {
        margin-top: 10px;
    }

    .menu-items {
        font-size: 16px;
    }

    .mail-item > a > p {
        left: 8%;
    }
    .hero {
        flex-direction: column;
        padding-top: 2rem
    }
    .hero-image {
        text-align: right;
    }
    .hero-image img {
        height: 300px;
    }
    .box-grid {
        grid-template-columns: none;
    }
    .image-gallery img{
        width: 30%;
    }
    #technology .box-items {
        grid-template-columns: repeat(3, 1fr);
    }
    #technology h2 > img:first-child{
        visibility: hidden;
    }
    #about-kiaisoft .box-items {
        grid-template-columns: 1fr;
    }
    #achievements .grid-items {
        grid-template-columns: repeat(2, 1fr);
    }
    #achievements .grid-items .box-item {
        width: 100%;
        background-position-x: center;
    }
    #our-products .carousel-section .btn {
        display: block;
    }
    #contact-us {
        padding: 2rem 0 4rem 0;
    }
    #contact-us .box-info {
        max-width: 30rem;
        margin-left: auto;
        margin-right: auto;
    }
    #contact-us .box {
        grid-template-columns: 1fr;
        max-width: 34rem;
        margin-left: auto;
        margin-right: auto;
        height: 1000px;
    }
    #contact-us .box .box-form form {
        width: 100%;
        padding: 0;
        padding-top: 20px;
    }
    #contact-us .box .box-form .form-group {
        grid-template-columns: 1fr;
    }
    #contact-us .box .box-text {
        max-width: 20rem;
        justify-self: center;
        margin-top: 0;
        margin-right: 0;
    }
    .contact-us-container > img {
        left: 50%;
        transform: translateX(-50%);
        top: 20%;
        max-width: 60%;
        height: auto;
    }
    #about-kiaisoft .box-items {
        grid-template-columns: 1fr;
        max-width: 40rem;
        margin: 0 auto;
    }
    #about-kiaisoft .box-items .box-info > div{
        text-align: center;
    }
    #about-kiaisoft .item-branch {
        margin-top: 80px;
        font-size: 16px;
    }
    .navbar-top {
        display: none;
    }
    .navbar-toggler {
        display: block;
    }
    footer .box-footer {
        flex-direction: column;
        padding: 0 20px;
    }
    footer .branch-info .branch-item:nth-child(n + 3) {
        margin-right: 1rem;
    }
    #categories .box-items {
        flex-direction: column;
    }

    #industries .box-items{
        grid-template-columns: repeat(2, 1fr);
    }

    #industries .overlay {
        font-size: 14px;
    }

    #industries, #company-informartion, #technology, #clients,#categories {
        margin-bottom: 80px
    }

    #industries h2 {
        margin-bottom: 60px;
    }

    #company-informartion h2 {
        margin-bottom: 60px;
    }

    #our-products .box-grid {
        display: block;
        height: auto;
    }

    #our-products-1 .box-grid {
        padding-left: 0;
        margin-top: 0;
    }

    #our-products-1 .box-text {
        margin-bottom: 40px;
    }

    #our-products .box-text {
        margin-top: 30px;
    }

    #our-products .qa-project {
        display: none;
    }

    #industries .box-items .box-item{
        margin-bottom: 10px;
    }

    #categories .box-item {
        margin-bottom: 20px;
    }

    #categories .overlay {
        line-height: 1.25;
    }

    .banner {
        max-height: 600px;
        background-position: 70% center;
        margin-top: 55px;
    }
    .banner .item{
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

    #technology .box-item img {
        max-height: 75px;
        max-width: 65%;
    }

    #technology .box-item {
        padding: 20px 0;
    }

    #technology {
        padding: 0 0 2rem;
    }

    .certification {
        grid-template-columns: repeat(1, 1fr);
    }

    .carousel-nav {
        display: flex;
    }

    #clients .box-items{
        grid-template-columns: repeat(2, 1fr);
    }

    #clients .box-item{
        margin-top: 0;
    }

    .frame {
        height: 200px;
    }

    .frame::before {
        border-radius: 20px;
        height: 1000px;
    }
    .cto {
        margin-top: 30px;
    }
    .cto-2, .cto-3 {
        margin-top: 50px;
    }
    .cto-2 {
        flex-direction: column;
    }
    .cto-2 .box-image {
        order: 1;
    }
    .cto-2 .box-text {
        order: 0;
    }
    #solutions {
        margin-bottom: 80px;
    }
    .branch-box {
        flex-direction: column;
        gap: 0;
    }

    .slick-initialized {
        margin: auto;
    }

    .slick-list{
        padding:0 20% 0 0 !important;
    }

    #customer-voices .name-company {
        font-size: 18px;
    }

    #customer-voices .box-item-2 {
        height: 100%;
    }

    .slick-slide {
        margin-right: 40px;
    }
    
    #customer-voices .slick-slide {
        margin-right: 0;
    }

    .slick-list {
        margin-right: -40px;
    }


    .img-products .box-image {
        height: 100%;
    }

    .img-products .box-image img {
        width: 100%;
    }

    .c-bnr__list {
        display: block;
    }

    .c-bnr__item {
        margin-top: 10px;
    }

    .footer-our-certifications {
        position: unset;
        justify-content: center;
        margin: -30px 0 20px 0;
        width: 100%;
    }

    .nav-div {
        grid-template-columns: repeat(3, 1fr);
    }

    #customer-voices .box-content {
        height: 40%;
    }

    .slick-next:before, .slick-prev:before {
        display: none;
    }

    #customer-voices .box-item .box-text {
        font-size: 12px;
    }
    .footer-copyright .copyright-content .box-copyright {
        display: block;
        text-align: center;
    }

    .footer-copyright .copyright-content .box-link {
        justify-content: center;
    }

    #kyoryoku {
        margin: 80px 0 0 0;
    }

    #kyoryoku .box-text {
        padding: 15px;
        font-size: 13px;
        padding-right: 10px;
        display: block;
    }

    #kyoryoku .box-text p {
        width: 100%;
    }
    
    #kyoryoku .box-text img {
        margin-top: 20px;
        width: 400px;
    }
    #our-products, #industries, #company-informartion, #technology, #clients, #categories {
        padding-top: 0;
    }

    .hero-text a {
        font-size: 16px;
        margin-bottom: 2px;
    }

    #customer-voices .slick-dots {
        bottom: -50px;
    }

    #customer-voices {
        margin-bottom: 100px;
    }

    .slick-sp {
        height: 80px;
        width: 80px;
        z-index: 3;
    }
}
@media screen and (max-width: 640px) {
    body {
        font-size: 2.9vw;
        line-height: 1.75;
    }
    .hero-text {
        margin: 0.5rem 0;
    }
    h2 {
        font-size: 7.5vw;
        line-height: 1.4;
    }
    .container {
        padding: 0 20px;
    }
    header {
        background-position-y: bottom;
    }
    .table-rows .table-row label {
        min-width: 6rem;
    }
    .hero-text h1 {
        font-size: 12vw;
        line-height: 1.25;
    }
    .hero-text p {
        font-size: 4vw;
        line-height: 23px;
        width: 100%;
        margin-bottom: 30px;
    }
    .company-infor-title {
        font-size: 6.5vw;
        line-height: 1.4;
    }
    #achievements .grid-items {
        grid-template-columns: repeat(1, 1fr);
    }
    #achievements .box-items {
        flex-direction: column;
        gap: 2rem;
    }
    #achievements .box-item {
        line-height: 1.25;
    }
    #technology h2 > img {
        display: none;
    }

    #technology .box-item {
        padding: 10px 0;
    }

    #technology .box-items {
        grid-template-columns: repeat(2, 1fr);
    }

    #about-kiaisoft .box-description h3 {
        font-size: 1.125rem;
    }
    #about-kiaisoft .box-info h3 {
        font-size: 1.25rem;
    }
    #about-kiaisoft p, #customer-voices .box-item .box-text {
        font-size: 2.9vw;
    }
    #achievements .grid-items .box-item {
        background-size: 300px 300px;
        height: 18rem;
    }
    #contact-us .box-info {
        padding: 1.2rem;
    }
    #contact-us h3 {
        margin-bottom: 50px;
        font-size: 1.125rem;
    }
    #contact-us .box-info .text-heading {
        font-size: 1.5rem;
    }
    #contact-us .box-info .text-desc {
        font-size: .75rem;
    }
    #contact-us .box .box-text {
        font-size: 0.875rem;
    }
    footer .footer-copyright {
        font-size: 0.75rem;
        padding: 1rem 0;
    }
    .footer-copyright .copyright-content {
        display: block;
        text-align: left;
    }
    footer .branch-title p {
        line-height: 1.25rem;
        margin-bottom: 1rem;
    }
    footer .box-item {
        line-height: 1.2rem;
    }
    .go-top {
        width: 30px;
        display: none;
    }

    #customer-voices .slick-carousel {
        padding-bottom: 10px;
    }
    #customer-voices .name-company {
        font-size: 4vw;
        margin-top: 20px
    }
    #customer-voices .ceo, #about-kiaisoft .item-branch, .certification .box-item {
        font-size: 3.5vw;
        bottom: 18%;
    }
    #clients .box-image {
        width: 73px;
        height: 73px;
        margin-bottom: 25px;
    }
    #clients .box-item h3 {
        font-size: 3.5vw;
    }
    #clients .box-image img, #customer-voices .box-image img {
        border-radius: 5px;
    }
    .asakurasoft {
        height: 50px;
    }
    .nav-div {
        grid-template-columns: repeat(2, 1fr);
    }

    .slick-list .box-item .box-text {
        position: relative;
    }

    .slick-dots li {
        width: 16px;
        height: 16px;
        margin: 0 6px
    }
    .slick-dots {
        bottom: -40px
    }

    footer .box-logo {
        margin-top: 20px;
        margin-right: 0;
    }

    .mobile-line-break {
        display: block;
    }

    #our-products #our-products-1 .box-text > p {
        height: 100vw;
    }
    #our-products #category-2 .box-text > p {
        height: 110vw;
    }
    #our-products .category-title {
        font-size: 5vw
    }

    #industries .box-item {
        margin-top: -10px;
    }
}
@media screen and (min-width: 1441px) {
    header {
        height: 45rem;
        background-position-y: -8rem;
    }
    .hero-text {
        margin-bottom: 0;
    }
    #solutions img {
        transform: translate(-16rem, -4rem);
    }
}
@media screen and (min-width: 2440px) {
    header {
        height: 50em;
        background-position-y: -30em;
    }
    #solutions img {
        transform: translate(-100%, -4rem);
    }
}