@charset "UTF-8";
/* フォトギャラリー gallery ================= */
.lightbox .lb-image {
	border: 0px;
}
.gallery {
	padding: 0 16px;
	margin: 80px 0;
}
.gallery__imgCopy {
	margin-top: 4px;
	font-size: 1.1rem;
}
@media screen and (min-width:768px){
.gallery {
	max-width: 1200px;
	margin: 120px auto;
}
.gallery__img {
	gap: 10px
}
.gallery__imgCopy {
	margin-top: 4px;
	font-size: 1.3rem;
}
}

/* gallery ======================= */
.gallery__imgLst{
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}
.gallery__imgLst::before, .gallery__imgLst::after{
	opacity: 0;
}
.gallery__imgLstLiving::after {
	background-color: rgba(29, 29, 94, 0.6);
}
.gallery__imgLstBedroom::after {
	background-color: rgba(126, 54, 37, 0.6);
}
.gallery__imgLstKitchen::after {
	background-color: rgba(175, 166, 35, 0.5);
}
.gallery__imgLstSanitary::after {
	background-color: rgba(27, 68, 54, 0.6);
}
.gallery__imgLstCloset::after {
	background-color: rgba(190, 102, 20, 0.6);
}
@media (hover:hover) {
.gallery__imgLst:hover::before{
	content: attr(data-texthover);
	font-size: 1.6rem;
	font-weight: 500;
	font-family: var(--piup-en-font);
	font-style: italic;
	color: #FFFFFF;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	animation: fadeInAnime 0.3s forwards;
	z-index: 9;
}
.gallery__imgLst:hover::after{
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	animation: fadeInAnime 0.3s forwards;
	z-index: 8;
}
}
@keyframes fadeInAnime{
	0% {
	  opacity: 0;
	}
	100% {
	  opacity: 1;
	}
}


/* BIG IMAGE */
.gallery__img {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	gap: 4px
}

/* ギャラリー ================================*/
.gallery__img {
	grid-template-columns: repeat(4, 1fr);
}
.gallery__imgLst:nth-of-type(1){
	grid-column: 1 / 3;
	grid-row: 1 / 3;
}
.gallery__imgLst:nth-of-type(2) {
	grid-column: 3 / 4;
	grid-row: 1 / 2;
}
.gallery__imgLst:nth-of-type(3) {
	grid-column: 4 / 5;
	grid-row: 1 / 2;
}
.gallery__imgLst:nth-of-type(4) {
	grid-column: 3 / 4;
	grid-row: 2/ 3;
}
.gallery__imgLst:nth-of-type(5) {
	grid-column: 4 / 5;
	grid-row: 2 / 3;
}
.gallery__imgLst:nth-of-type(6) {
	grid-column: 1 / 2;
	grid-row: 3 / 4;
}
.gallery__imgLst:nth-of-type(7){
	grid-column: 2 / 3;
	grid-row: 3 / 4;
}
.gallery__imgLst:nth-of-type(8){
	grid-column: 3 / 5;
	grid-row: 3 / 5;
}
.gallery__imgLst:nth-of-type(9){
	grid-column: 1 / 2;
	grid-row: 4 / 5;
}
.gallery__imgLst:nth-of-type(10){
	grid-column: 2 / 3;
	grid-row: 4 / 5;
}
.gallery__imgLst:nth-of-type(10n+1){
	grid-column: span 2;
	grid-row: span 2;
}
.gallery__imgLst:nth-of-type(10n+8){
	grid-column: span 2;
	grid-row: span 2;
}