@charset "utf-8";

/*-------------------------------
	キービジュアル
-------------------------------*/

.Keyvisual{
	background-image: url(../images/about/bg_keyvisual.jpg);
    background-image: image-set(url(../images/about/bg_keyvisual.jpg) 1x, url(../images/about/bg_keyvisual@2x.jpg) 2x);
}

@media screen and (min-width:769px) , print{

}
@media screen and (max-width:1240px) and (min-width: 769px){

}
@media screen and (max-width:960px) and (min-width: 769px){

}
@media screen and (max-width:768px){

	.Keyvisual{
		background-image: url(../images/about/sp_bg_keyvisual.jpg);
		background-image: image-set(url(../images/about/sp_bg_keyvisual.jpg) 1x, url(../images/about/sp_bg_keyvisual@2x.jpg) 2x);
	}

}



/*-------------------------------
	社内ギャラリー
-------------------------------*/

.Gallery{
	padding-bottom: 0;
}
.Gallery__text{
	font-size: 1.8rem; /*2rem;*/
	letter-spacing: .01em;
	line-height: calc(7 / 2);
	margin-bottom: 7.2rem; /*9rem;*/
	text-align: center;
}
.Gallery-list:not(:last-child){
	margin-bottom: 11.6rem;
}
.Gallery-list__inner{
	width: 100%;
	display: flex;
	align-items: flex-start;
	/*justify-content: space-between;*/
	justify-content: flex-start;
	flex-wrap: wrap;
}
.Gallery-list-block{
	width: calc(100% / 3);
}
.Gallery-list-block a{
	display: block;
	overflow: hidden;
	opacity: 1 !important;
}
.Gallery-list-block img{
	transition: var(--transition);
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.Gallery-list-block a:hover img{
	transform: scale(1.1);
}

/*----- ポップアップ */
.Gallery-popup__inner{
	width: 100%;
	max-width: 100rem;
	margin-left: auto;
	margin-right: auto;
}
.Gallery-popup-slider__image{
	width: 100%;
}
.Gallery-popup-slider__image img{
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.Gallery-popup-slider__caption{
	background: var(--gradcolor);
	width: 100%;
	height: 10.6rem;
	padding: 1.5rem 2.5rem;
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}
.Gallery-popup-slider__caption__title{
	font-size: 2.4rem;
	margin-bottom: .5rem;
	font-weight: 700;
	line-height: calc(4 / 2.4);
	color: #fff;
}
.Gallery-popup-slider__caption__text{
	font-size: 1.7rem;
	letter-spacing: .01em;
	margin-top: -.5rem;
	line-height: calc(3.2 / 1.7);
	color: #fff;
}

.Gallery-popup__inner{
	overflow: hidden;
}
.Gallery-popup-slider{
	overflow: unset;
}
.Gallery-popup-slider__arrow{
	transition: var(--transition);
	width: 5rem;
	height: 5rem;
	border-radius: 50%;
	background: #fff;
}
.Gallery-popup-slider__arrow::before{
	transition: var(--transition);
	content: "";
	display: block;
	width: 1.8rem;
	height: 1.9rem;
	background-image: url(../images/common/icon_arrow2.svg);
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
}
.Gallery-popup-slider__arrow.swiper-button-prev{
	left: 0;
	transform: translateX(calc(-100% - 2.8rem));
}
.Gallery-popup-slider__arrow.swiper-button-prev::before{
	transform: scale(-1, 1);
}
.Gallery-popup-slider__arrow.swiper-button-next{
	right: 0;
	transform: translateX(calc(100% + 2.8rem));
}
.Gallery-popup-slider__arrow::after{
	display: none;
}
.Gallery-popup-slider__arrow.swiper-button-disabled{
	border: 1px solid #fff;
	opacity: 1;
	background: none;
}
.Gallery-popup-slider__arrow.swiper-button-disabled::before{
	background-image: url(../images/common/icon_arrow2--white.svg);
}
.Gallery-popup-slider__arrow:hover{
	background: var(--maincolor);
}
.Gallery-popup-slider__arrow:hover::before{
	background-image: url(../images/common/icon_arrow2--white.svg);
}
.Gallery-popup-slider__arrow.swiper-button-prev:hover::before{
	transform: scale(-1, 1) translateX(.2rem);
}
.Gallery-popup-slider__arrow.swiper-button-next:hover::before{
	transform: translateX(.2rem);
}

.lity-close{
	transition: var(--transition);
	width: 5rem;
	height: 5rem;
	font-size: 0 !important;
	border-radius: 50%;
	right: .8rem;
	top: 1rem !important;
	background: #fff;
	position: absolute;
	display: flex;
    align-items: center;
    justify-content: center;
}
.lity-close::before,
.lity-close::after{
	background: var(--maincolor);
	transition: var(--transition);
	content: "";
	display: block;
	width: 1.8rem;
	height: 2px;
	position: absolute;
    left: calc(50% - .9rem);
    top: calc(50% - 1px);
	transform-origin: center;
}
.lity-close::before{
	transform: rotate(-45deg);
}
.lity-close::after{
	transform: rotate(45deg);
}
.lity-close:hover{
	background: var(--maincolor);
}
.lity-close:hover::before,
.lity-close:hover::after{
	background: #fff;
}

@media screen and (min-width:769px) , print{

}
@media screen and (max-width:1240px) and (min-width: 769px){

}
@media screen and (max-width:960px) and (min-width: 769px){

}
@media screen and (max-width:768px){

	.Gallery__text{
		font-size: 2.8rem;
		line-height: 2;
		margin-bottom: 9rem;
	}
	.Gallery-list:not(:last-child){
		margin-bottom: 10rem;
	}
	.Gallery-list-block{
		width: calc(100% / 2);
	}
	
	/*----- ポップアップ */
	.Gallery-popup__inner{
		width: calc(100% - 10rem);
	}
	.Gallery-popup-slider__caption{
		padding: 3.5rem 3.5rem 4rem;
		height: auto;
		position: static;
	}
	.Gallery-popup-slider__caption__title{
		font-size: 2.8rem;
		margin-bottom: 0;
	}
	.Gallery-popup-slider__caption__text{
		font-size: 2.4rem;
		line-height: 1.5;
		margin-top: 1.5rem;
	}
	
	.Gallery-popup-slider__arrow{
		width: 7.5rem;
		height: 7.5rem;
	}
	.Gallery-popup-slider__arrow::before{
		width: 3rem;
		height: 3.2rem;
	}
	.Gallery-popup-slider__arrow.swiper-button-prev{
		transform: translateX(calc(50% - 2.5rem));
	}
	.Gallery-popup-slider__arrow.swiper-button-next{
		transform: translateX(calc(-50% + 2.5rem));
	}
	
	.lity-close{
		width: 7.5rem;
		height: 7.5rem;
		right: calc(5rem + .8rem);
	}
	.lity-close::before,
	.lity-close::after{
		width: 3rem;
		left: calc(50% - 1.5rem);
	}

}