@charset "utf-8";

/*lp_mv
--------------------------------------------*/
.lp_mv-img{
    background-image: url(../img/cmn/lp_mv08.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.lp_pagettl.sec_ttl01.sec_ttl01_left:before{
    content: "COMPANY";
}


/*sec_lp_company
--------------------------------------------*/
#sec_lp_company{
    padding: 110px 0 90px;
}

#sec_lp_company .sec_lead{
    font-size: 1.6rem;
}

#sec_lp_company .img_link{
	gap: 60px;
	align-items: flex-start;
}

#sec_lp_company .img_link .item{
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 400px;
    margin-bottom: 20px;
}

#sec_lp_company .img_link .item:after{
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	background-image: url(../img/company/company01.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	transition:transform .6s ease;
}

#sec_lp_company .img_link .item:nth-of-type(2):after{
	background-image: url(../img/company/company02.jpg);
}

#sec_lp_company .img_link .item:nth-of-type(3):after{
	background-image: url(../img/company/company03.jpg);
}

#sec_lp_company .img_link .item:nth-of-type(4):after{
	background-image: url(../img/company/company04.jpg);
}

#sec_lp_company .img_link .item:hover:after{
	transform: scale(1.1);
}

#sec_lp_company .img_link .item a{
	position: relative;
	display: flex;
    flex-direction: column-reverse;
	background-image: linear-gradient(transparent, transparent 62.5%, #051939);
	background-image: linear-gradient(#05193952, #05193952 62.5%, #0519398f);
	width: 100%;
	height: 100%;
	transition: all .4s;
	z-index: 1;
    
    
}

#sec_lp_company .img_link .item a:hover{
	filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

#sec_lp_company .img_link .item a:before{
	position: absolute;
	content: "";
	width: 45px;
	height: 45px;
	border: 1px solid #fff;
	border-radius: 50px;
	transform: translateY(-50%);
    top: calc(50% + 1em);
	right: 25px;
	transition: all .5s;
	z-index: 1;
}

#sec_lp_company .img_link .item a:hover:before{
	background-color: #63A5D7;
	border: 1px solid #63A5D7;
}


#sec_lp_company .img_link .item a:after{
	position: absolute;
	content: "";
	background-image: url(../img/cmn/arrow_white.png);
	background-size:initial;
	background-position: center;
	background-repeat: no-repeat;
	width: 46px;
	height: 46px;
	transform: translateY(-50%);
    top: calc(50% + 15px);
	right: 25px;
	z-index: 1;
}

#sec_lp_company .img_link .item a span.cover{
	position: relative;
	width: 100%;
	height: 100%;
	transition: all .4s;
}

#sec_lp_company .img_link .item a span.cover::before{
	position: absolute;
	content: "";
	background: linear-gradient(180deg, rgba(11, 54, 122, 0.00) -10.13%, #051939c2 89.87%);
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: all .4s;
}

#sec_lp_company .img_link .item a:hover span.cover::before{
	opacity: 1;
}

#sec_lp_company .img_link .item .txt{
	position: absolute;
	font-size: 3rem;
	color: #fff;
	left: calc(50% - 60px);
    transform: translateY(-50%);
    top: calc( 50% + 15px );
    width: 280px;
	z-index: 3;
}

#sec_lp_company .img_link .item .txt span{
	display: block;
	font-family: var(--font-family-serif-en);
	font-size: 1.8rem;
	color: #fff;
	line-height: 1.6;
}

@media screen and (max-width: 1000px){
	#sec_lp_company .img_link .item .txt{
        left: 25px;
	}
}

/* ボーダーアニメーション */
#sec_lp_company .img_link .item .cover::after {
    content: "";
    position: absolute;
    top: calc( 50% + 16px );
    left: calc(50% + 240px);
    transform: translateY(-50%);
    height: 1px; 
    background-color: #fff;
    width: 0; 
    transform-origin: left center; /* 伸長の起点を左に */
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#sec_lp_company .img_link .item.animate-line .cover::after {
    width: 160px;
}

@media screen and (max-width: 1000px){
	#sec_lp_company .link_wrapper.cmn1000{
		padding: 0 5vw;
	}
	#sec_lp_company .img_link .item .cover::after{
        left: calc(100% - 270px);
	}
    #sec_lp_company .img_link .item.animate-line .cover::after {
    width: 160px;
}
}