@charset "utf-8";

/* HEADER */
.pc-nav__item a{
    font-weight: bold;
}

/* TOP */
.section-title-01.section-title-01-top-works::after{
    z-index: -1;
}
.top-service__swiper-slide-title{
    bottom: 4.875rem;
}
.top-service__swiper-slide-text{
    color: #fff;
    position: absolute;
    font-size: calc(14 / 16 * 1rem);
    left: 1.875rem;
    bottom: 1.875rem;
    padding-right: 1.875rem;
    line-height: 1.6;
    z-index: 2;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.top-service--build{
    position: relative;
    z-index: 12;
}
.top-works__no-posts{
    padding:0 20px;
}
@media only screen and (min-width:768px){
    .top-works__no-posts{
        text-align:center;
    }
}
.top-recruit__img-inner{
    padding-top: 113%;
    position: relative;
}
.top-recruit__img-inner video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}
.top-recruit__title{
    z-index: 1;
}

/* WORKS */
.works__no-posts{
    margin-top:30px;
}
@media only screen and (min-width:768px){
    .works__no-posts{
        margin-top:90px;
        text-align:center;
    }
}
.works-detail__detail.full{
    width: 100%;
}
.works-detail__img img{
    height:auto;
    max-height:90dvh;
}
.works-modal__close-btn{
    top:-1.9rem;
}

.message__img-inner{
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.message__img-inner::before{
    content: "";
    height:100%;
    width:30px;
    position:absolute;
    top:-180px;
    left:0;
    background-color: #fff;
    opacity:0;
    transform: rotate(45deg);
    z-index: 1;
    transition: cubic-bezier(0.32, 0, 0.67, 0);
}
@media screen and (min-width: 992px) {
    .message__img-inner:hover::before{
        animation: reflection 1s linear forwards;
    }
}
.top-company__grid{
    padding: 0;
}
.top-company__grid-slider__item{
    width: 240vw;
}
.top-company__grid-slider .slick-track{
    width: calc(240vw * 7) !important;
}
.recruit-reiwa-heros__slider-wrap{
    display: none;
}

@keyframes reflection {
    0% {
        transform: scale(2) rotate(45deg);
        opacity: 0;
    }
    20% {
        transform: scale(20) rotate(45deg);
        opacity: 0.6;
    }
    40% {
        transform: scale(30) rotate(45deg);
        opacity: 0.4;
    }
    80% {
        transform: scale(45) rotate(45deg);
        opacity: 0.2;
    }
    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}

@media screen and (max-width: 768px) {
    .mv{
        margin-top: 3.75rem;
        height: calc(100svh - 3.75rem);
        overflow: hidden;
        min-height: 600px;
    }
    .mv__main-img{
        height: 105%;
    }
    .mv__main-img img{
        height: 100%;
        aspect-ratio: initial;
    }
    .mv__title-02{
        width: 30vw;
    }
    .mv__title-01{
        width: 24vw;
    }
    .top-vision{
        margin-top: 3rem;
    }
    .footer__link-list{
        display: grid;
        grid-template-columns: repeat(2,1fr);
        text-align: center;
    }
    .top-service .section-title-02.top-service__section-title-02{
        right:unset !important;
        left:20px !important;
    }
    .top-company__grid{
        margin-top: 2rem;
    }
    .top-company__grid-slider__item{
        width: 300vw;
    }
    .top-company__grid-slider .slick-track{
        width: calc(300vw * 7) !important;
    }

    .works-modal__close-btn{
        top:-1.4rem;
    }

    .interview__fv-contents{
        padding-bottom: 1rem;
    }
    .wpcf7 table,
    .wpcf7 table tr,
    .wpcf7 table tbody{
        display: block;
    }
    .recruit-intro__text-area{
        display: flex;
        gap: 0;

    }
    .recruit-intro__heading{
        width: 90px;
    }
    .recruit-intro__heading img{
        width: 26px;
        display: block;
        margin: 0 auto;
    }
    .recruit-intro__text-wrapper{
        width: calc(100% - 100px);
    }
    .recruit-intro__inner{
        padding: 0 0.625rem 0 0;
    }
    .recruit-intro__text{
        font-size: 13px;
        line-height: 2;
    }

    .privacy-mvtitle--en{
        font-size:min(6vw,2.5rem);
    }
}

@media screen and (max-width: 480px) {
    section.padding-tb{
        padding: 3.25rem 0;
    }
    .requirement-tab li{
        padding: 0.875rem 1.725rem;
        font-size: 14px;
    }
    .requirement-tab-content table,
    .requirement-tab-content table tr,
    .requirement-tab-content table tbody{
        display: block;
    }
    .requirement-tab-content table th,
    .requirement-tab-content table td{
        width: 100%;
        display: block;
        border-radius: 0;
        font-size: 14px;
    }
    .contact-text{
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    .recruit-reiwa-heros__slider-wrap{
        display: block;
    }
    .recruit-reiwa-heros__carousel-wrapper{
        display: none;
    }
    .recruit-reiwa-heros__slider .slick-slide{
        margin: 0 5px;
        transition: .3s;
    }
    .recruit-reiwa-heros__slider .slick-slide.slick-current{
        filter: grayscale(0);
    }
    .recruit-reiwa-heros{
        height: auto;
    }
    .recruit-reiwa-heros{
        padding-bottom: 13rem;
    }
    .recruit-reiwa-heros__title{
        bottom: 3rem;
    }
    .recruit-reiwa-heros__slider .slick-prev,
    .recruit-reiwa-heros__slider .slick-next,
    .recruit-reiwa-heros__slider .slick-prev::before,
    .recruit-reiwa-heros__slider .slick-next::before{
        width: 40px;
        height: 40px;
        opacity: 1;
    }
    .recruit-reiwa-heros__slider .slick-prev,
    .recruit-reiwa-heros__slider .slick-next{
        z-index: 1;
    }
    .recruit-reiwa-heros__slider .slick-prev::before,
    .recruit-reiwa-heros__slider .slick-next::before{
        content: "";
        display: block;
    }
    .recruit-reiwa-heros__slider .slick-prev{
        left: 10px;
    }
    .recruit-reiwa-heros__slider .slick-next{
        right: 10px;
    }
    .recruit-reiwa-heros__slider .slick-prev::before{
        background: url(../../assets/images/common/icon-slide-arrow-left.svg) no-repeat center center / contain;
    }
    .recruit-reiwa-heros__slider .slick-next::before{
        background: url(../../assets/images/common/icon-slide-arrow-right.svg) no-repeat center center / contain;
    }
}

@media screen and (max-width: 375px) {
    .interview__fv-text--ashikaga, .interview__fv-text--tsukuda {
        max-width: 18.375rem;
    }
    .interview__fv-contents{
        gap: 1.125rem;
    }
    .interview__fv-text--rice {
        max-width: 19.375rem;
    }
}