
/* ボタン */
.btnarrow4{
	position: relative;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    outline: none;
}

/*矢印と下線の形状*/
.btnarrow4::before{
    content: '';
	position: absolute;
    bottom:-8px;
    left:3%;  
    width: 27%;
    height: 1px;
	background:#fff;
    transition: all .3s;
}

.btnarrow4::after{
    content: '';
	position: absolute;
    bottom:-3px;
    left:28%; 
    width: 15px;
    height:1px;
	background:#fff;
    transform: rotate(35deg);
    transition: all .3s;
}

/*hoverした際の移動*/
.btnarrow4:hover::before{
    left:5%;
}

.btnarrow4:hover::after{
    left:30%;
}



/* mainvisual */

.menuWapper{
    height: 28rem;
    padding-top: 4rem;
    background-image: url("/Media/jim/jim-header.webp");
    background-size: cover;
    background-position: top;
    display: flex;
    align-items: center;
}

#mainviual h1::after{
    content: "Fitness";
    font-weight: 400;
    font-size: 5rem;
    line-height: 80px;
    color: #fff;
}




/* visual */
.maincontainer{
    margin-bottom: 10%;
    width: 100%;
}

.maincontainer .visual{
    width: 95%;
    max-width: 1200px;
    margin-top: 7%;
    position: relative;
}

.maincontainer .visual .visualInside{
    background-color: rgb(172, 172, 172);
    padding: 5% 0;
}

.visualInside img{
    width: 100%;
    aspect-ratio: 16/7;
    object-fit: cover ;
    object-position: left 0 top 20% ;
    
}

.visual .visualtext{
    position: absolute;
    top: 40%;
    left: 10%;
}

.visual .visualtext h1{
    color: #fff;
    font-weight: 700;
    font-size: 5rem;
    line-height: 81px;
}
.visual .visualtext p{
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 22px;
    margin-top: 5%;
}

.maincontainer .visual .imgItem{
    position: absolute;
    top: 90%;
    left: 80%;
    width: 35%;
}
.maincontainer .visual .imgItem img{
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.maincontainer .textcontainer{
    width: 36%;
    margin-top: 5%;
    margin-left: 10%;
}

.maincontainer .textcontainer h1{
    margin-bottom: 5%;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 26px;
    color: #191919;
}

.maincontainer .textcontainer p{
    margin-bottom: 3%;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: 1rem;
    line-height: 26px;
}



/* jimdetail */
.jimWrapper{
    background-color: #191919;
    padding: 7% 0 15% 0;
}
.jimWrapper .jimBG{
    background-image: url("/Media/jim/JAG FIT back.png");
    background-size: cover;
}

.jimWrapper .jimPlancontainer{
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1300px;

}

.jimWrapper .jimPlancontainer img{
    aspect-ratio: 16/9;
    width: 45%;
    object-fit: cover;
    object-position: left 0 top 40%;
}

.jimWrapper .jimPlancontainer .jimPlamText{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 45%;
    padding-bottom: 1%;
}

.jimWrapper 
.jimPlancontainer 
.jimPlamText h1{
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: 2.1rem;
    line-height: 36px;
    color: #FFFFFF;
}

.jimWrapper 
.jimPlancontainer 
.jimPlamText p{
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: 1rem;
    line-height: 36px;
    color: #FFFFFF;
}



.jimGalleryContainer{
    margin-top: 10%;
}

.jimGalleryContainer .galleryContainerText{
    text-align: center;
    width: 50%;
    margin: 0 auto;
}

.jimGalleryContainer .galleryContainerText
h1{
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    font-size: 2.1rem;
    line-height: 26px;
    color: #FFFFFF;
    margin-bottom: 5%;
}

.jimGalleryContainer .galleryContainerText
p{
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 350;
    font-size: 1rem;
    line-height: 24px;
    color: #FFFFFF;
}


.jimGalleryContainer .galleryContainer{
    margin-top: 5%;
    display: flex;
    padding-right: 5%;
}

.jimGalleryContainer .galleryContainer ul{
    list-style: none;
}

.jimGalleryContainer .galleryContainer
.displayGallery{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    width: 40%;
}

.jimGalleryContainer .galleryContainer
.displayGallery  li{
    width: 50%;
}
.jimGalleryContainer .galleryContainer
.displayGallery  li img{
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.jimGalleryContainer .galleryContainer
.slideGallery{
    width: 60%;
}

.jimGalleryContainer .galleryContainer
.slideGallery li {
    width: 100%;
}

.jimGalleryContainer .galleryContainer
.slideGallery li img{
    width: 100%;
    aspect-ratio: 3/2;
    object-fit:scale-down;
}

.jimGalleryContainer .galleryContainer
.slideGallery li video{
    width: 100%;
}

.jimGalleryContainer .galleryContainer
.slideGallery .slide{
    display: none;
}

.jimGalleryContainer .galleryContainer
.slideGallery .active{
    display: block;
}



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

    .maincontainer .visual{
        width: 100%;
    }

    .maincontainer .textcontainer{
        width: 45%;
        margin-top: 5%;
        margin-left: 10%;
    }

    .maincontainer .visual .imgItem{
        position:unset;
        width: 80%;
        margin: 5% auto 0 auto;
    }

    .visual .visualtext{
        top: 16%;
        left: 5%;
    }
    
    .maincontainer .textcontainer h1{
        margin-bottom: 5%;
        font-family: 'Noto Sans JP';
        font-style: normal;
        font-weight: 700;
        font-size: 1.6rem;
        line-height: 26px;
        color: #191919;
    }
    
    .maincontainer .textcontainer p{
        margin-bottom: 3%;
        font-family: 'Noto Sans JP';
        font-style: normal;
        font-weight: 700;
        font-size: 1rem;
        line-height: 26px;
    }



    .jimWrapper{
        padding: 7% 0;
    }

    .jimWrapper .jimPlancontainer{
        width: 90%;
        flex-direction: column;
    
    }
    
    .jimWrapper .jimPlancontainer img{
        width: 100%;
        object-fit: cover;
    }
    
    .jimWrapper .jimPlancontainer .jimPlamText{
        width: 100%;
        padding-bottom: 1%;
        margin-top: 5%;
    }
    
    .jimWrapper 
    .jimPlancontainer 
    .jimPlamText h1{
        font-family: 'Noto Sans JP';
        font-style: normal;
        font-weight: 700;
        font-size: 1.8rem;
        line-height: 36px;
        color: #FFFFFF;
        margin: 4% 0;
    }
    
    .jimWrapper 
    .jimPlancontainer 
    .jimPlamText p{
        font-weight: 350;
        font-size: 1rem;
        margin-bottom: 3%;
    }

    .maincontainer .textcontainer{
        width: 95%;
        margin: 5% auto 0 auto;
    }



    .jimGalleryContainer{
        margin-top: 10%;
    }
    
    .jimGalleryContainer .galleryContainerText{
        width: 90%;
    }

    
    .jimGalleryContainer .galleryContainer{
        flex-direction: column;
        padding-right: 0%;
    }

    .jimGalleryContainer .galleryContainer
    .displayGallery{
        flex-direction:unset;
        width: 95%;
        margin: 0 auto;
    }
    
    .jimGalleryContainer .galleryContainer
    .displayGallery  li{
        width: 30%;
    }
    
    .jimGalleryContainer .galleryContainer
    .slideGallery{
        width: 95%;
        margin: 5% auto 0 auto;
    }



    /* bottom */
    .btnarrow4{
        padding-right: 3%;
    }

    .btnarrow4::before{  
        width: 20%;
    }
    
    .btnarrow4::after{
        left:21.5%;
    }
    
    /*hoverした際の移動*/
    .btnarrow4:hover::before{
        left:5%;
    }
    
    .btnarrow4:hover::after{
        left:23.5%;
    }


}



@media (max-width:768px){

    .menuWapper{
        height: 18rem;
        padding: 2rem;
        background-position: right 35% top 0;
    }


    .maincontainer .visual{
        width: 100%;
    }

    .visual .visualtext h1{
        color: #fff;
        font-weight: 700;
        font-size: 4rem;
        line-height: 81px;
    }
    .visual .visualtext p{
        color: #fff;
        font-weight: 700;
        font-size: 1.5rem;
        line-height: 22px;
        margin-top: 5%;
    }
    
    .visualInside img{
        width: 100%;
        object-fit: cover;
        object-position: left 10% top 5%;
    }
    
    .visual .visualtext{
        top: 12%;
        left: 5%;
    }
    
    .maincontainer .visual .imgItem{
        position:unset;
        width: 80%;
        margin: 5% auto 0 auto;
    }
    .maincontainer .visual .imgItem img{
        width: 100%;
    }
    
    .maincontainer .textcontainer{
        width: 95%;
        margin: 5% auto 0 auto;
    }



    .jimWrapper{
        padding: 10% 0;
    }

    .jimWrapper .jimPlancontainer{
        width: 90%;
        flex-direction: column;
    }
    
    .jimWrapper .jimPlancontainer img{
        width: 100%;
        object-fit: cover;
    }
    
    .jimWrapper .jimPlancontainer .jimPlamText{
        width: 100%;
        padding-bottom: 1%;
        margin-top: 5%;
    }
    
    .jimWrapper 
    .jimPlancontainer 
    .jimPlamText h1{
        font-size: 1.4rem;
        margin: 4% 0;

    }
    
    .jimWrapper 
    .jimPlancontainer 
    .jimPlamText p{
        font-weight: 300;
        font-size: 0.9rem;
        margin-bottom: 3%;
    }



    .jimGalleryContainer{
        margin-top: 25%;
    }
    
    .jimGalleryContainer .galleryContainerText{
        width: 90%;
        text-align: left;
    }

    .jimGalleryContainer .galleryContainerText
    h1{
        font-size: 1.4rem;
    }

.jimGalleryContainer .galleryContainerText
    p{
        font-size: 0.9rem;
    }
    
    .jimGalleryContainer .galleryContainer{
        flex-direction: column;
        padding-right: 0%;
    }



    .jimGalleryContainer .galleryContainer
    .displayGallery{
        flex-direction:unset;
        width: 95%;
        margin: 0 auto;
    }
    
    .jimGalleryContainer .galleryContainer
    .displayGallery  li{
        width: 30%;
    }
    
    .jimGalleryContainer .galleryContainer
    .slideGallery{
        width: 95%;
        margin: 5% auto 0 auto;
    }







    .btnarrow4{
        margin: 0 0 0 auto;
        padding-right: 3%;
    }

    .btnarrow4::before{  
        width: 95%;
    }
    
    .btnarrow4::after{
        left:89%;
    }
    
    /*hoverした際の移動*/
    .btnarrow4:hover::before{
        left:11%;
    }
    
    .btnarrow4:hover::after{
        left:96%;
    }
}