@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-top: 55px;
    padding-bottom: 70px;
}

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

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

#sec_lp_company .img_link .item{
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 10/4;
    margin-bottom: 10px;
}

#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 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: 35px;
        height: 35px;
        border: 1px solid #fff;
        border-radius: 50px;
        transform: translateY(-50%);
        top: 50%;
        right: 20px;
}

#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: 35px;
        height: 35px;
        transform: translateY(-50%);
        top: 50%;
        right: 20px;
}

#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: 1.9rem;
	color: #fff;
    width: 170px;
	left: 25px;
    transform: translateY(-50%);
    top: calc( 50% + 6px );
	z-index: 3;
}

#sec_lp_company .img_link .item .txt br{
	display: none !important;
}

@media screen and (max-width: 370px) {
	#sec_lp_company .img_link .item .txt br{
		display: block !important;
	}
	#sec_lp_company .img_link .item .txt{
		line-height: 1.3;
	}
}

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

/* ボーダーアニメーション */
#sec_lp_company .img_link .item .cover::after {
    content: "";
    position: absolute;
    top: calc( 50% + 3px );
    left: calc(100% - 235px);
    transform: translateY(-50%);
    height: 1px; 
    background-color: #fff;
    width: 0; 
    transform-origin: left center; /* 伸長の起点を左に */
    transition: width 0.3s 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: 550px){
	#sec_lp_company .img_link .item .cover::after {
		content: "";
		position: absolute;
		top: calc( 50% + 3px );
		left: calc(100% - 135px);
		transform: translateY(-50%);
		height: 1px; 
		background-color: #fff;
		width: 0; 
		transform-origin: left center; /* 伸長の起点を左に */
		transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	}
    #sec_lp_company .img_link .item.animate-line .cover::after{
        width: 60px;
    }
}

@media screen and (max-width: 350px){
    #sec_lp_company .img_link .item.animate-line .cover::after{
        content: none;
    }
}