@charset "utf-8";

/*-------------------------------
	カテゴリ
-------------------------------*/

.main:has(.C-Category:first-child){
	padding-top: 0;
}
.C-Category{
	margin-top: -1em;
}

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

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

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

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

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

	.C-Category{
		margin-top: 0;
	}

}



/*-------------------------------
	納入実績一覧
-------------------------------*/

#Works{
	padding-top: 10rem;
}
.Works-block-wrap{
	width: 100%;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	flex-wrap: wrap;
}
.Works-block-wrap::after{
	content: "";
	display: block;
	width: calc(100% / 3);
	height: 0;
}
.Works-block{
	width: calc(100% / 3);
	border-bottom: 1px solid #e5e5e5;
	padding: 4.6rem 4.6rem 2.5rem;
	display: block;
	cursor: pointer;
	position: relative;
	z-index: 5000;
}
.Works-block::before{
	transition: var(--transition);
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: #e5e5e5;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: -1;
	opacity: 0;
}
.Works-block:nth-of-type(1),
.Works-block:nth-of-type(2),
.Works-block:nth-of-type(3){
	border-top: 1px solid #e5e5e5;
}
.Works-block:not(:nth-of-type(3n)){
	border-right: 1px solid #e5e5e5;
}
.Works-block__image{
	width: 100%;
	margin-bottom: 1.8rem;
	border-radius: .5rem;
	aspect-ratio: 36 / 24;
	overflow: hidden;
}
.Works-block__image img{
	transition: var(--transition);
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.Works-block__category{
	width: 100%;
	margin-bottom: .8rem;
	font-size: 1.2rem;
	padding-left: 1.5rem;
	line-height: 1;
	font-weight: 400;
	position: relative;
}
.Works-block__category::before{
	background: var(--maincolor);
	content: "";
	display: block;
	width: 1rem;
	height: 1rem;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.Works-block__title{
	font-weight: 700;
}
.Works-block__title span{
	line-height: calc(2.6 / 1.6);
}

.Works-block:hover::before{
	opacity: 1;
}
.Works-block:hover .Works-block__image img{
	transform: scale(1.1);
}

.Works-back-wrap{
	margin-top: 10rem;
}
.Works-back{
	margin-left: auto;
	margin-right: auto;
}

.Works-pop{
	transition: var(--transition);
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background: #e5e5e5;
	z-index: 9900;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition-delay: .1s;
}
.Works-pop__close{
	background: var(--blackcolor);
	width: 7rem;
	height: 7rem;
	padding: 2.5rem;
	position: absolute;
	right: 0;
	top: 0;
	cursor: pointer;
	z-index: 9000;
}
.Works-pop__close::before{
	transition: transform .3s cubic-bezier(.85,0,.15,1);
	background: var(--maincolor);
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	transform: scaleX(0);
	transform-origin: right;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}
.Works-pop__close:hover::before{
	transform: scaleX(1);
	transform-origin: left;
}
.Works-pop__close-inner{
	width: 100%;
	height: 100%;
	display: block;
	position: relative;
}
.Works-pop__close-inner::before,
.Works-pop__close-inner::after{
	content: "";
	display: block;
	width: 100%;
	height: 1px;
	background: #fff;
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
}
.Works-pop__close-inner::before{
	transform: rotate(-45deg);
}
.Works-pop__close-inner::after{
	transform: rotate(45deg);
}
.Works-pop__inner{
	transition: var(--transition);
	height: 100%;
	max-height: 55.6rem;
	display: flex;
	align-items: stretch;
	justify-content: center;
	transform: scale(.8);
}
.Works-pop__content{
	width: 39.6rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
}
.Works-pop__category{
	width: 100%;
	margin-bottom: 4.2rem;
	font-size: 1.8rem;
	padding-left: 2.2rem;
	letter-spacing: .05em;
	line-height: 1;
	font-weight: 400;
	position: relative;
}
.Works-pop__category::before{
	background: var(--maincolor);
	content: "";
	display: block;
	width: 1.4rem;
	height: 1.4rem;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.Works-pop__title{
	font-size: 2.4rem;
	line-height: calc(4.3 / 2.4);
	letter-spacing: .05em;
	font-weight: 700;
}
.Works-pop-table{
	width: 100%;
	border-top: 1px solid #808080;
}
.Works-pop-table__item{
	border-bottom: 1px solid #808080;
}
.Works-pop-table__item-title{
	width: 12rem;
	font-size: 1.4rem;
	font-weight: 700;
	letter-spacing: .05em;
	background: #fff;
	vertical-align: middle;
	text-align: center;
}
.Works-pop-table__item-body{
	padding-left: 3rem;
}
.Works-pop-table__item-text{
	font-size: 1.4rem;
	min-height: 5rem;
	letter-spacing: .05em;
	font-weight: 400;
	display: flex;
	align-items: center;
	justify-items: flex-start;
}
.Works-pop__gallery{
	width: calc(100% - 39.6rem);
	padding-left: 7rem;
}
.Works-pop__image{
	width: 100%;
	/* height: 46.6rem; */
	height: calc(100% - 9rem);
	margin-bottom: 2rem;
	border-radius: .5rem;
	overflow: hidden;
}
.Works-pop__image-item img{
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.Works-pop__image-item.-full img{
	object-fit: cover;
}
.Works-pop__gallery-bottom{
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}
.Works-pop__list{
	width: calc(100% - 9rem);
}
.Works-pop__list-item{
	/* width: 7rem;
	height: 7rem; */
	width: calc((100% - (2rem * 6)) / 7);
	aspect-ratio: 1 / 1;
	border-radius: .5rem;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}
.Works-pop__list-item::before{
	transition: var(--transition);
	content: "";
	display: block;
	width: 80%;
	height: 80%;
	border: 2px solid transparent;
	position: absolute;
	left: 10%;
	top: 10%;
	z-index: 6000;
	border-radius: .5rem;
	overflow: hidden;
}
.Works-pop__list-item.swiper-slide-thumb-active::before{
	border-color:#000;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.Works-pop__list-item img{
	transition: var(--transition);
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.Works-pop__list-item:hover img{
	transform: scale(1.1);
}
.Works-pop__arrow{
	width: 9rem;
	padding-left: 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.Works-pop__arrow-item.-prev{
	transform: scale(-1,1);
}
.Works-pop__arrow .C-Arrow{
	width: 3rem;
	height: 3rem;
}
.Works-pop__arrow .C-Arrow::after{
	width: 1rem;
	height: .4rem;
	transform: skew(45deg) translateX(-.1rem);
}

.Works-pop.on{
	opacity: 1;
	visibility: visible;
}
.Works-pop.on .Works-pop__inner{
	transform: scale(1);
}

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

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

	.Works-block{
		padding: 3rem 3rem 2.5rem;
	}

	.Works-pop__list-item{
		width: calc((100% - (2rem * 5)) / 6);
	}

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

	.Works-pop__inner{
		max-height: 50rem;
	}
	.Works-pop__list-item{
		width: calc((100% - (2rem * 4)) / 5);
	}

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

	.Works-block{
		padding: 2rem;
	}

	.Works-pop__inner{
		padding-top: 5rem;
		padding-bottom: 5rem;
		max-height: unset;
		flex-direction: column;
		justify-content: flex-start;
		overflow: auto;
	}
	.Works-pop__content{
		width: 100%;
		margin-bottom: 2.5rem;
	}
	.Works-pop__header{
		width: 100%;
	}
	.Works-pop__gallery{
		width: 100%;
		padding-left: 0;
		margin-bottom: 5rem;
	}
	.Works-pop__image{
		height: 40rem;
	}
	.Works-pop__list-item{
		width: calc((100% - (2rem * 5)) / 6);
	}

	.Works-pop-table.pct{
		display: none !important;
	}
	.Works-pop-table.spt{
		display: table !important;
	}

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

	.Works-block-wrap::after{
		width: calc(100% / 2);
	}
	.Works-block{
		width: calc(100% / 2);
		padding: 3.8rem 3.8rem 3rem;
	}
	.Works-block:nth-of-type(3){
		border-top: none;
	}
	.Works-block:not(:nth-of-type(3n)){
		border-right: none;
	}
	.Works-block:nth-of-type(2n+1){
		border-right: 1px solid #e5e5e5;
	}
	.Works-block__image{
		margin-bottom: 1.5rem;
		aspect-ratio: 39 / 24;
	}
	.Works-block__category{
		margin-bottom: 1rem;
	}

	.Works-pop__close{
		width: 10rem;
		height: 10rem;
		padding: 3.5rem;
	}
	.Works-pop__inner{
		padding-top: 10rem;
		padding-bottom: 10rem;
		max-height: 100%;
		flex-direction: column;
		justify-content: flex-start;
		overflow: auto;
	}
	.Works-pop__content{
		width: 100%;
		margin-bottom: 2.6rem;
	}
	.Works-pop__category{
		margin-bottom: 3.2rem;
		font-size: 2.8rem;
		padding-left: 3.5rem;
	}
	.Works-pop__category::before{
		width: 2.2rem;
		height: 2.2rem;
	}
	.Works-pop__title{
		font-size: 4rem;
		line-height: calc(6 / 4);
		letter-spacing: .01em;
	}
	.Works-pop-table__item-title{
		width: 20rem;
		font-size: 2.4rem;
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}
	.Works-pop-table__item-body{
		padding-left: 4.5rem;
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}
	.Works-pop-table__item-text{
		font-size: 2.4rem;
		min-height: 5rem;
	}
	.Works-pop__gallery{
		width: 100%;
		padding-left: 0;
		margin-bottom: 5rem;
	}
	.Works-pop__image{
		height: 43.5rem;
		margin-bottom: 3rem;
	}
	.Works-pop__gallery-bottom{
		align-items: center;
	}
	.Works-pop__list{
		width: calc(100% - 17rem);
	}
	.Works-pop__list-item{
		width: 8rem;
		height: 8rem;
	}
	.Works-pop__arrow{
		width: 17rem;
		padding-left: 4rem;
	}
	.Works-pop__arrow .C-Arrow{
		width: 5rem;
		height: 5rem;
	}
	.Works-pop__arrow .C-Arrow::after{
		width: 1.7rem;
		height: .7rem;
	}

}