@charset "utf-8";

/* -----------------------------------------------------------
    施工事例 一覧
-------------------------------------------------------------- */ :root {
	--work_list_thumb1: 500px;
	--work_list_thumb2: 100%;
	--work_list_gap: 30px;
	--work_list_gap_sp: 20px;
}

#works .contents {
	background: var(--cmnbg2);
}

#works .subpage-header .en {
	bottom: -15px;
}

@media screen and (max-width: 768px) {
	#works .subpage-header .en {
		bottom: -8px;
	}
}

/* -----------------------------------------------------------
    intro-area
-------------------------------------------------------------- */
.intro-area {
	margin-top: 80px;
}

.intro-area .intro-ttl {
	color: #fff;
	font-size: 2.7rem;
	font-weight: bold;
	text-align: center;
	line-height: 1.5;
	letter-spacing: .03em;
}

.intro-area .intro-note {
	color: #fff;
	margin: 15px 0 25px;
	text-align: center;
	letter-spacing: .05em;
}

@media screen and (max-width: 768px) {
	.intro-area {
		margin-top: 50px;
	}

	.intro-area .intro-ttl {
		font-size: 2rem;
		text-align: left;
	}

	.intro-area .intro-note {
		text-align: left;
	}
}

/* -----------------------------------------------------------
    niwork-result  検索結果
-------------------------------------------------------------- */
.niwork-result p {
	text-align: center;
	margin: 20px 0 0;
}

@media screen and (max-width: 768px) {
	.niwork-result p {
		text-align: left;
	}
}

/* -----------------------------------------------------------
    niwork-filter
-------------------------------------------------------------- */
/*.niwork-filter-wrap {
	background: #4962ac;
	padding: 40px 0 50px;
	margin: 50px auto 0;
}*/
.niwork-filter {
	width: 1200px;
	margin: 40px auto 20px;
	position: relative;
}

.niwork-filter__header {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 10px;
	text-align: center;
	justify-content: center;
	padding: 25px 30px;
	/*pointer-events: none;  ←アコーディオン無の場合*/
}

.niwork-filter__header {
	background: #fff;
	font-size: 2.4rem;
	font-weight: bold;
	display: none!important;
}

.niwork-filter__header span {
	font-size: 2rem;
	font-weight: bold;
	padding: 0 45px 0 0;
	position: relative;
}

.niwork-filter__header span::after {
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	background: url(../img/accordion_plus.jpg)center/contain no-repeat;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	right: 0;
}

.niwork-filter__header.filter-active span::after {
	background-image: url(../img/accordion_minus.jpg);
}

.niwork-filter__inner {
	background: #fff;
	display: none;
	padding: 0 0 25px;
}

.niwork-filter__body {
	flex-direction: column;
	display: flex;
}

.niwork-filter__box {
	display: flex;
	gap: 20px;
	padding: 30px 40px;
}

.niwork-filter__body .niwork-filter__box:nth-of-type(2n) {
	background: var(--cmnbg3);
}

.niwork-filter__subttl {
	color: var(--main);
	font-weight: bold;
	font-size: 1.8rem;
	flex-shrink: 0;
	min-width: 90px;
	padding: 10px 0 0;
}

.niwork-filter__elements {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.niwork-filter__box .filter-product-note {
	margin: 0 0 10px;
}

.niwork-filter__item {
	position: relative;
}

.niwork-filter__item input {
	opacity: 0;
	padding: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: pointer;
	margin: 0;
}

.niwork-filter__item label,
.niwork-filter__item#all-models-link {
	background: #fff;
	border: var(--border1) 1px solid;
	cursor: pointer;

	display: inline-block;
	font-weight: 500;
	pointer-events: auto;
	padding: 11px 15px 12px;
	white-space: nowrap;
	min-width: 110px;
	text-align: center;
	transition: .3s;
}

.niwork-filter__item input:checked + label {
	color: #fff;
	border-color: var(--main);
	background: var(--main);
	font-weight: bold;
}

.niwork-filter__item#all-models-link a {
	color: var(--cmnblack)!important;
}

.niwork-filter__action {
	position: relative;
	margin: 30px auto 0;
}

.niwork-filter__reset {
	align-items: center;
	display: flex;
	font-size: 1.4rem;
	cursor: pointer;
	color: var(--gray);
	gap: 3px;
	line-height: 1;
	position: absolute;
	left: 140px;
	top: 25px;
	text-decoration: underline;
}

.niwork-filter__reset .icon {
	position: relative;
	padding: 0 0 0 18px;
}

.niwork-filter__reset .icon::before {
	content: '\f01e';
	font: 900 1.4rem/1 var(--webicon);
	left: 0;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.niwork-filter__submit {
	position: relative;
	width: fit-content;
	margin: 0 auto;
}

.niwork-filter__submit input {
	-webkit-appearance: none; /*safari対策*/
	border-radius: 0; /*iOS対策*/
	background: var(--link);
	border: none;
	color: #fff !important;
	cursor: pointer;
	display: block;
	height: 100%;
	font-weight: bold;
	font-family: var(--sans);
	font-size: 1.9rem;
	letter-spacing: .1em;
	text-align: center;
	transition: .3s;
	width: 300px;
	padding: 17px 20px;
	position: relative;
	z-index: 3;
}

.niwork-filter__submit:hover input {
	background: #F2BC53;
}

.niwork-filter__close {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: 1.6rem;
	width: 150px;
	margin: 25px auto 0;
	justify-content: center;
	text-decoration: underline;
	position: relative;
}

.niwork-filter__close .icon {
	display: inline-block;
	position: relative;
	width: 20px;
	height: 20px;
	margin: 0 10px 0 0;
}

.niwork-filter__close .icon::before, .niwork-filter__close .icon::after {
	background-color: var(--cmnblack);
	content: "";
	height: 1px;
	position: absolute;
	width: 100%;
	transition: .3s;
	top: 50%;
}

.niwork-filter__close .icon::before {
	transform: rotate(-45deg);
}

.niwork-filter__close .icon::after {
	transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
	.niwork-filter {
		width: 100%;
		margin: 25px auto 0;
		border-width: 1px 0;
	}

	.niwork-filter__header {
		font-size: 2rem;
		display: block;
		padding: 20px;
		text-align: center;
	}

	.niwork-filter__header span {
		font-size: 1.8rem;
		padding: 0;
		display: block;
		width: fit-content;
		margin: 10px auto 0;
	}

	.niwork-filter__header span::after {
		width: 25px;
		height: 25px;
		top: -10px;
		right: -50px;
	}

	.niwork-filter__inner {
		padding: 20px 0;
	}

	.niwork-filter__body {
		gap: 15px;
	}

	.niwork-filter__box {
		flex-direction: column;
		gap: 15px;
		padding: 0;
	}

	.niwork-filter__body .niwork-filter__box:nth-of-type(n+2) {
		padding-top: 10px;
	}

	.niwork-filter__subttl {
		display: block;
		min-width: 100%;
		padding: 0 20px 0 40px;
		position: relative;
	}

	.niwork-filter__subttl::before {
		content: '\f160';
		font: 900 1.5rem/1 var(--webicon);
		left: 20px;
		position: absolute;
		top: 50%;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}

	.niwork-filter__list {
		overflow-x: scroll;
		padding: 0 20px 20px;
	}

	.niwork-filter__box .filter-product-note {
		letter-spacing: 0;
		font-size: 1.5rem;
	}

	.niwork-filter__elements {
		width: 800px;
	}

	[data-workfilter="product"] .niwork-filter__elements {
		width: 1500px;
	}

	.niwork-filter__action {
		margin: 20px auto 0;
	}

	.niwork-filter__submit input {
		padding: 15px 20px;
	}

	.niwork-filter__reset {
		justify-content: center;
		position: static;
		margin: 30px auto 0;
	}

	.niwork-filter__close {
		font-size: 1.5rem;
		margin: 20px auto 0;
	}

	.niwork-filter__close .icon {
		width: 17px;
		height: 17px;
		margin: 0 5px 0 0;
	}
}

/* -----------------------------------------------------------
    all-works
-------------------------------------------------------------- */
.all-works {
	color: #fff;
	display: flex;
	justify-content: center;
	gap: 10px;
	align-items: center;
	font-size: 2.2rem;
	font-weight: 600;
	letter-spacing: .07em;
}

.all-works a {
	text-decoration: underline;
}

.all-works a:hover {
	text-decoration: none;
}

@media screen and (max-width: 768px) {
	.all-works {
		flex-direction: column;
		gap: 15px;
		font-size: 1.9rem;
	}
}

/* -----------------------------------------------------------
    list-area
-------------------------------------------------------------- */
.list-area {
	background: var(--cmnbg2);
	/*padding: 50px 0 0;*/
}

.niwork-list {
	display: flex;
	gap: 60px;
	flex-direction: column;
	width: 1200px;
	margin: 0 auto;
}

.niwork-list__link {
	background: #27272c;
	display: block;
	padding: 50px 60px 55px;
	position: relative;
	height: 100%;
	width: 100%;
}

@media screen and (min-width: 769px) {
	.niwork-list__link:hover {
		background: #38383f;
	}
}

.niwork-list .niwork-list__info {
	align-items: center;
	border-bottom: 1px solid #38383d;
	flex-wrap: wrap;
	gap: 12px 0;
	display: flex;
	padding: 0 0 22px;
}

.niwork-list .cmnwork-info-service {
	color: #fff;
	font-size: 2.2rem;
	font-weight: 500;
	margin: 0 15px 0 0;
}

.niwork-list .cmnwork-info-car {
	align-items: center;
	display: flex;
	background: #cbd2e6;
	color: var(--cmnblack);
	font-size: 1.8rem;
	font-weight: 500;
	justify-content: center;
	padding: 8px 15px 10px;
	height: 34px;
}

.niwork-list .niwork-list__element li:not(.cmnwork-info-car) {
	align-items: center;
	display: flex;
	background: #fff;
	color: var(--main);
	font-weight: 600;
	justify-content: center;
	height: 34px;
}

.niwork-list .cmnwork-info-time {
	font-size: 1.8rem;
	padding: 8px 15px 10px;
}

.niwork-list .cmnwork-info-money {
	padding: 8px 15px;
}

.niwork-list .cmnwork-info-money span {
	font: 700 2.3rem /1 var(--en);
	margin: 0 2px 0 0;
}

.niwork-list .cmnwork-option {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin: 0 0 0 20px;
}

.niwork-list .cmnwork-option [class^="works-flag-"] {
	color: #bdc4d9;
}

.niwork-list .cmnwork-option [class^="works-flag-"]::before {
	content: "#";
}

.niwork-list__ttl {
	color: #fff;
	font-weight: bold;
	font-size: 2.9rem;
	line-height: 1.5;
	letter-spacing: .07em;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	margin: 25px 0 0;
}

.niwork-list__user {
	margin: 20px auto 0 0;
	gap: 13px 20px;
}

.niwork-list__user li {
	color: #bdc4d9;
}

.niwork-list__inner {
	display: flex;
	gap: var(--work_list_gap);
	margin: 25px 0 0;
}

.niwork-list__thumb {
	flex-shrink: 0;
}

.niwork-list__header {
	display: flex;
}

.niwork-list__element {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.niwork-list .nicms-product__function {
	margin: 20px 0 0;
}

.niwork-list .nicms-product__function li {
	font-size: 1.5rem;
}

.niwork-list__star {
	background: var(--cmnbg);
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 25px 0 0;
	padding: 20px 20px 0;
}

.niwork-list__comment {
	background: var(--cmnbg);
	padding: 15px 20px 18px;
}

.niwork-list__comment .comment {
	color: var(--cmnblack);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
	font-size: 1.5rem;
	max-height: 150px;
	line-height: 1.65;
	letter-spacing: .05em;
	overflow: hidden;
}

.niwork-list__footer {
	align-items: center;
	display: flex;
	gap: 20px;
	margin: 25px 0 0;
}

.niwork-list__date {
	color: var(--gray);
	font: 500 1.5rem/1 var(--en);
	flex-shrink: 0;
	letter-spacing: .03em;
}

@media screen and (max-width: 768px) {
	.list-area {
		margin: 0;
		/*padding: 50px 0 0;*/
		padding: 20px 0 0;
	}

	.niwork-list {
		gap: 40px;
		padding: 0 20px 10px;
		width: 100%;
	}

	.niwork-list__link {
		background: #39393f;
		padding: 25px 0 30px;
	}

	.niwork-list__link::before {
		font-size: 1.6rem;
		bottom: 15px;
		right: 15px;
	}

	.niwork-list .niwork-list__info {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px 0;
		border-bottom: none;
		padding: 0;
	}

	.niwork-list__header {
		gap: 20px 0;
		flex-direction: column-reverse;
		width: 100%;
	}

	.niwork-list .cmnwork-info-service {
		font-size: 1.7rem;
		display: block;
		margin: 0;
		width: 100%;
		line-height: 1.5;
		padding: 0 20px;
	}

	.niwork-list .cmnwork-option {
		margin: 0;
		width: 100%;
		padding: 0 20px;
	}

	.niwork-list .cmnwork-option [class^="works-flag-"] {
		font-size: 1.4rem;
	}

	.niwork-list__element {
		padding: 0 20px;
    	/*border-top: 1px solid #636b80;*/
	}

	.niwork-list .cmnwork-info-car {
		font-size: 1.5rem;
		padding: 6px 10px 8px;
	}

	.niwork-list .cmnwork-info-time {
		font-size: 1.5rem;
		padding: 6px 10px 8px;
	}

	.niwork-list .cmnwork-info-money {
		font-size: 1.4rem;
		padding: 6px 10px 8px;
	}

	.niwork-list .cmnwork-info-money span {
		font-size: 1.8rem;
	}

	.niwork-list__ttl {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		font-size: 2.1rem;
		line-height: 1.5;
		-webkit-line-clamp: 2;
		max-height: 65px;
		white-space: unset;
		padding: 0 20px;
		margin: 15px 0 0;
	}

	.niwork-list .niwork-list__inner {
		gap: var(--work_list_gap_sp);
		flex-direction: column;
		margin: 15px 0 0;
	}

	.niwork-list .nicms-product__function {
		margin: 15px 0 0;
	}

	.niwork-list .nicms-product__function li {
		font-size: 1.4rem;
	}

	.niwork-list__star {
		gap: 10px;
		margin: 20px 0 0;
	}

	.niwork-list__comment {
		width: 100%;
		padding: 10px 20px 15px;
		height: auto;
	}

	.niwork-list__comment .comment {
		font-size: 1.4rem;
		line-height: 1.7;
		max-height: 100px;
		-webkit-line-clamp: 4;
	}

	.niwork-list__footer {
		flex-direction: column-reverse;
		align-items: flex-start;
		margin: 20px 0 0;
	}

	.niwork-list__date {
		font-size: 1.3rem;
	}

	.niwork-list__user {
		padding: 0 20px;
	}
}

/* -----------------------------------------------------------
    サムネイル1枚 & BeforeAfter画像の投稿が1枚だった場合
-------------------------------------------------------------- */
.single-image .niwork-list__thumb {
	aspect-ratio: 3/2;
	width: var(--work_list_thumb1);
	overflow: hidden;
	margin: 0 auto;
}

.single-image [data-listba="before"] {
	display: none;
}

.single-image [data-listba="after"] {
	width: 100%;
	height: 100%;
}

.single-image [data-listba="after"] .caption {
	display: none;
}

.single-image .niwork-list__thumb {
	margin: 30px auto 0;
}

.single-image .niwork-list__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: .5s;
}

.single-image .niwork-list__bawrap {
	width: 100%;
	height: 100%;
}

@media screen and (min-width: 769px) {
	.single-image .niwork-list__link:hover .niwork-list__thumb img {
		transform: scale(1.07);
	}
}

.single-image .niwork-list__content {
	width: calc(100% - var(--work_list_thumb1) - var(--work_list_gap))
}

@media screen and (max-width: 768px) {
	.niwork-list .single-image .niwork-list__thumb {
		width: 100%;
		padding: 0 20px;
		margin: 20px auto 0;
	}
}

/* -----------------------------------------------------------
    BeforeAfter画像
-------------------------------------------------------------- */
.multiple-image .niwork-list__thumb {
	width: var(--work_list_thumb2);
	margin: 45px 0 0;
}

.niwork-list__bawrap {
	align-items: center;
	display: flex;
	gap: 5%;
}

.niwork-list__ba {
	flex-shrink: 0;
}

[data-listba="before"] {
	width: 40%;
	position: relative;
}

[data-listba="after"] {
	width: 55%;
}

[data-listba="before"]::before {
	background: url(../img/cmnworks-arrow.svg)center/contain no-repeat;
	content: "";
	right: -38px;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 25px;
	height: 32px;
}

.niwork-list__ba .imgwrap {
	position: relative;
	width: 100%;
	height: 100%;
}

.niwork-list__ba .imgwrap::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
}

.niwork-list__ba .img {
	aspect-ratio: 3/2;
	width: 100%;
	height: 100%;
}

.niwork-list__ba img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.niwork-list__ba .caption {
	font-family: var(--en);
	font-style: italic;
	left: 0;
	top: calc(-1em + 3px);
	position: absolute;
}

[data-listba="before"] .caption {
	color: var(--sub4);
	font-size: 1.8rem;
	font-weight: 500;
}

[data-listba="after"] .caption {
	color: #aec1f8 !important;
	font-size: 2.5rem;
	font-weight: 700;
}

@media screen and (max-width: 768px) {
	[data-listthumb="ba"] .niwork-list__thumb {
		width: 100%;
	}

	.niwork-list__bawrap {
		align-items: flex-start;
		gap: 30px;
		flex-direction: column;
	}

	[data-listba="before"] {
		width: 162px;
		height: 112px;
	}

	[data-listba="after"] {
		aspect-ratio: 340/220;
		width: 100%;
		height: auto;
	}

	[data-listba="before"]::before {
		bottom: -25px;
		left: 50%;
		top: auto;
		-webkit-transform: translateX(-50%) rotate(270deg);
		transform: translateX(-50%) rotate(-270deg);
		width: 17px;
		height: 24px;
	}

	.niwork-list__ba .caption {
		top: -1em;
	}

	[data-listba="before"] .caption {
		font-size: 1.4rem;
	}

	[data-listba="after"] .caption {
		font-size: 1.7rem;
	}

	.multiple-image .niwork-list__thumb {
		padding: 0 20px;
		margin: 30px 0 0;
	}
}

/* -----------------------------------------------------------
    cmn-service-list
-------------------------------------------------------------- */
#works .cmn_service_list {
	background: var(--cmnbg);
	margin: 100px 0 0;
}

#works .cmn_service_list .cmn_service_title {
	color: var(--cmnblack);
}

#works .cmn_service_txt {
	color: var(--cmnblack);
}

@media screen and (max-width: 768px) {
	#works .cmn_service_list {
		margin: 50px 0 0;
	}
}