:root {
    --primary: #65BD42;
    --secondary: #2F4D27;
    --error: #FF471F;
    --linear-gradient-primary: linear-gradient(to left, var(--secondary), var(--primary));
    --custom-rem: calc(100vw * 10 / 1440);
}

@media (max-width: 767.9px) {
    :root {
        --custom-rem: calc(100vw * 10 / 375);
    }
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
}

.navbar-nav .nav-link {
    padding-right: 0px;
    padding-left: 0px;
}


body.modal-open {
    height: 100vh;
    width: 100vw !important;
}
.vi-text-align-justify {
    text-align: justify;
}
.vj-cursor-pointer {
    cursor: pointer;
}
select[readonly] {
    pointer-events: none;
}

.text-lg {
    font-size: 24px;
}

.text-md {
    font-size: 18px;
}

.text-sm {
    font-size: 14px;
}

.text-xs {
    font-size: 12px;
}

.vj-text-primary {
    color: var(--primary);
}

.vj-bg-primary {
    background-color: var(--primary);
}

.vj-text-secondary {
    color: var(--secondary);
}

.vj-bg-secondary {
    background-color: var(--secondary);
}

.vj-text-error {
    color: var(--error);
}

.vj-bg-error {
    background-color: var(--secondary);
}

.vj-header {
    background: white;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}

.navbar-toggler {
    border: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.nav-link.active {
    color: var(--primary) !important;
}

.vj-language {
    font-size: 18px;
    width: 40px;
    color: var(--primary);
    margin-right: 10px;
    display: inline-block;
    border: 1px solid var(--primary);
    border-radius: 8px;
    height: 37px;
    text-align: center;
    vertical-align: text-bottom;
    line-height: 35px;
    font-weight: bold;
}

.vj-language:hover,
.vj-language.active {
    color: #fff;
    background-color: var(--primary);
}

#back-to-top {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 99;
    font-size: 16px;
    border: none;
    outline: none;
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    border-radius: 99px;
    width: 45px;
    height: 45px;
}

#back-to-top:hover {
    background-color: var(--secondary);
}



.vj-footer-logo span {
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
    margin: 14px 0 0 0;
    color: var(--secondary);
    text-align: center;
}


@media only screen and (max-width: 992px) {
    .nav-link.active {
        width: fit-content !important;
    }

    /* .vj-footer-logo span {
        font-size: 16px !important;
    } */
    .vj-footer-mail {
        margin: auto;
    }
}

.vj-ul-footer {
    list-style-type: none;
}

.vj-ul-footer a:hover {
    color: var(--primary) !important;
}
.vj-container {
    max-width: 1920px;
    margin: 0px auto;
}
.vj-sub-container {
    max-width: 1600px;
    margin: 0px auto;
}

.vj-container-content {
    max-width: 1920px;
    margin: 0px;
    margin-left: calc((100vw - 1600px) / 2);
}
@media only screen and (max-width: 1500px) {
    .vj-container-content {
        margin: 0px auto;
    }
}
#vj-splide img {
    height: 100%;
    max-height: calc(100vh - 110px);
    object-fit: cover;
}
@media only screen and (max-width: 575px) {
    #vj-splide img {
        height: 193px !important;
    }
}
.splide__progress__bar {
    background: var(--primary);
}
.vj-view-more {
    width: 170px;
}
.vj-view-more-dash {
    height: 5px;
    background: var(--linear-gradient-primary);
}
.vj-view-more:hover .vj-view-more-dash {
    animation: identifier .5s cubic-bezier(1, 0, 0, 1);
}
.vj-view-more-content label {
    color: black
}
.vj-view-more-content span{
    border-radius: 50%;
    border: 1px solid #ccc;
    padding: 10px 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all .8s;
}
.vj-view-more-content span i {
    font-size: 11px;
    font-weight: 900;
    line-height: 0;
    color: var(--primary);
}

.vj-view-more:hover label {
    color: var(--primary) !important;
}

.vj-view-more:hover span {
    border-color: var(--primary);
}

@keyframes identifier {
    0% {
        transform-origin: right top;
        transform: scaleX(1);
    }
    30% {
        transform-origin: right top;
        transform: scaleX(0);
    }
    
    31% {
        transform-origin: left top;
        transform: scaleX(0);
    }
    100% {
        transform-origin: left top;
        transform: scaleX(1);
    }
}
.vj-splide-card {
    margin-bottom: 60px;
    transition: all 0.5s ease;
}
.vj-splide-card img {
    padding: 30px 30px 0 30px;
    border: 1px solid #d9d9d9;
    border-right: 0;
    border-bottom: 0;
    height: 300px;
}
@media only screen and (max-width: 1475px) {
    .vj-splide-card img {
        height: 250px !important;
    }
}
.vj-splide-card-content, .vj-card-content {
    display: flex;
    flex-direction: column;
    padding: 20px 50px 50px;
    height: 270px
}
.vj-splide-card-date, .vj-card-date {
    color: #767676;
}
.vj-splide-card-title, .vj-card-title {
    color:black;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    flex: 1 1 0%;
    -webkit-box-orient: vertical;
    line-height: 35px;
}
.vj-read-more span {
    border-radius: 50%;
    border: 1px solid #ccc;
    padding: 10px 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all .8s;
}
.vj-read-more label {
    color: #000;
}
.vj-read-more-dash {
    height: 2px;
    background-color: #ccc;
}
.vj-read-more-dash::after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 35px;
    height: 2px;
    background-color: var(--primary);
    right: 0;
}

.vj-splide-card:hover {
    box-shadow: 0 0 rgba(0, 0, 0, 0), 0 0 #000, 0 0 rgba(0, 0, 0, 0), 0 0 #000, 0 14px 10px rgba(14, 51, 108, 0.06), 40px 30px 40px rgba(14, 51, 108, 0.12);
}
.vj-splide-card:hover .vj-splide-card-title, .vj-splide-card:hover .vj-splide-read-more label {
    color: var(--primary);
}

.vj-splide-card:hover .vj-splide-read-more span {
    border-color: var(--primary);
}

.vj-home-service {
    background: var(--linear-gradient-primary);
    padding-top: 100px;
}
.vj-home-service-left {
    min-height: 500px;
    padding-top: 50px;
}
.vj-home-service-left .vj-home-service-content {
    position: absolute;
    bottom: 150px;
    padding-right: 50px;
}
.vj-home-service-left h5 {
    text-align: justify;
}
.vj-home-service-left .vj-view-more .vj-view-more-content label {
    color: black;
}
.vj-home-service-left .vj-view-more:hover label, .vj-home-service-left .vj-view-more:hover .vj-view-more-content span i{
    color: #fff !important;
}
.vj-home-service-left .vj-view-more-dash {
    background: linear-gradient(to left, #000, #fff);
}
.vj-home-service-left .vj-view-more-content span i {
    color: #000;
}
.vj-home-service-right {
    background: #fff;
    padding-top: 100px;
    padding-left: 100px;
}

.vj-home-culture {
    background-image: url('https://mw-vejob-web.s3.ap-northeast-1.amazonaws.com/banner/top-bg.png');
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: center center;
    background-origin: content-box;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* contact */
.vj-contact-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--primary);
}

.vj-contact-circle i {
    font-size: 55px;
}

.vj-contact-submit {
    background-color: var(--primary);
}

.vj-contact-text {
    color: var(--primary);
}

.vj-input-group {
    position: relative;
    margin: 45px 0;
}

.vj-contact-form input,
.vj-contact-form textarea {
    background: none;
    color: #000;
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 100%;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #c6c6c6;
}
.vj-contact-form input:focus,
.vj-contact-form textarea:focus {
    outline: none;
}
.vj-contact-form input:focus ~ label,
.vj-contact-form input:not(:placeholder-shown) ~ label,
.vj-contact-form textarea:focus ~ label,
.vj-contact-form textarea:not(:placeholder-shown) ~ label {
    top: -14px;
    font-size: 16px;
    color: #2196F3;
}
.vj-contact-form input:focus ~ .bar:before,
.vj-contact-form textarea:focus ~ .bar:before {
    width: 100%;
}

.vj-contact-form input[type=password] {
    letter-spacing: 0.3em;
}

.vj-contact-form label {
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 300ms ease all;
}

.vj-contact-form .bar {
    position: relative;
    display: block;
    width: 100%;
}
.vj-contact-form .bar:before {
    content: "";
    height: 2px;
    width: 0;
    bottom: 0px;
    position: absolute;
    background: var(--primary);
    transition: 300ms ease all;
    left: 0%;
}

.vj-btn-contact {
    font-size: 30px;
}

.vj-contact-website:hover {
    color: red;
}

.vj-contact-label {
    color: var(--secondary);
    font-weight: bold;
    font-size: 20px;
}

.vj-contact {
    border: 50px solid;
    border-image-slice: 1;
    border-image-source: var(--linear-gradient-primary);
}

.vj-submit-contact:disabled {
    background-color: #ccc;
    color: #666;
    opacity: 0.7;
}

@media only screen and (max-width: 767px) {
    .vj-contact {
        border: 22px solid;
        border-image-slice: 1;
        border-image-source: var(--linear-gradient-primary);
    }
}
/* end contact */
.vj-home-culture-left {
    background-color: #65bd428a;
    padding: 50px 20px;
    margin: 70px 0px;
}
.vj-home-culture-title::after {
    background-image: radial-gradient(circle at left 1px top 1px, #646d76 1px, transparent 1px);
    background-repeat: repeat-x;
    background-size: 5px 2px;
    content: "";
    display: block;
    flex: 1 1 auto;
    height: 2px;
    margin: 0 16px;
    min-width: 35px;
}
.vj-home-culture-number {
    order: 2;
}
.vj-home-culture-number h2{
    color: #0065bd
}
.vj-home-contact {
    background: rgb(45 49 51 / 1);
}

.vj-btn-primary {
    color: #fff;
    background: var(--primary);
}
.btn.vj-btn-primary:hover {
    color: #fff;
    background-color: var(--primary);
    opacity: .9;
}
@media only screen and (max-width: 767px) {
    .vj-home-service-left {
        padding-bottom: 0;
        border-right: 0;
    }
}

.vj-card {
    box-shadow: 0 0 18px 0 rgba(81, 101, 111, 0.15);
    border-radius: 15px;
}
.vj-card img {
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
    transition: all 0.9s;
    height: 250px;
}
.vj-card:hover img {
    -ms-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

@media only screen and (max-width: 575px) {
    .vj-card img {
        height: 100%;
    }
}

.vj-service-banner {
    background: url('https://mw-vejob-web.s3.ap-northeast-1.amazonaws.com/banner/top-bg.png');
    position: relative;
}

.vj-service-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(189, 186, 186, 0.35);
}

.vj-service-title {
    font-size: calc(var(--custom-rem, 1rem) * 5);
}


@media (min-width: 768px) {
    .vj-service-title {
        font-size: calc(var(--custom-rem, 1rem)* 8);
    }
}

.vj-service-card {
    transition: box-shadow .5s ease;
}

.vj-service-image {
    border-top: 1px rgb(223 226 229 / 1) solid;
    border-right: 1px rgb(223 226 229 / 1) solid;
}

.vj-service-image picture {
    display: block;
    width: 100%;
    height: auto;
}

.vj-service-image picture img {
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .vj-service-card:hover {
        --tw-shadow: 0px 14px 10px rgba(14, 51, 108, .06), 40px 30px 40px rgba(14, 51, 108, .12);
        --tw-shadow-colored: 0px 14px 10px var(--tw-shadow-color), 40px 30px 40px var(--tw-shadow-color);
        box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    }

    .vj-service-image {
        border-left-width: 1px;
        border-right-width: 1px;
        padding-left: calc(var(--custom-rem, 1rem)* 4.8);
        padding-right: calc(var(--custom-rem, 1rem)* 4.8);
        padding-top: calc(var(--custom-rem, 1rem)* 4.8);
    }
}

.vj-service-card .vj-card-inner {
    padding-bottom: calc(var(--custom-rem, 1rem)* 4.8);
}

/* banner home page */
#vj-splide .splide__arrows {
    display: none !important;
}

#vj-splide .splide__list,
#vj-splide-news .splide__list,
#vj-splide-service .splide__list {
    height: fit-content !important;
}
/* End banner home page */

@media only screen and (max-width: 992px) {
    .vj-home-service-left {
        min-height: auto;
        padding-top: 0;
    }
    .vj-home-service-left .vj-home-service-content {
        position: relative;
        bottom: 0;
    }
    .vj-home-culture-left {
        margin: 0px;
        padding: calc((var(--bs-gutter-x) * .5) + 1.5rem);
    }
}

@media only screen and (max-width: 575px) {
    .vj-home-service {
        padding-top: 50px;
    }
    .vj-home-service-right {
        padding-top: 50px;
        padding-left: 0px;
        margin-left: 10px;
    }
    .vj-home-service-left .vj-home-service-content {
        position: relative;
        bottom: 0;
    }
    .vj-home-culture {
        background-position-y: 60%;
        background-size: auto;
        -moz-background-size: auto;
        -o-background-size: auto;
    }
    .vj-splide-card {
        margin-bottom: 35px;
    }
}

.vj-text-2-row {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    height: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vj-custom-card {
    border-radius: 16px;
    box-shadow: 0 0 10px 0 rgba(81, 101, 111, 0.15);
}

.vj-custom-card img {
    border-top-right-radius: 16px;
    border-top-left-radius: 16px;
    transition: all 0.9s;
    max-height: 250px;
}

.vj-custom-card img:hover {
    -ms-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}