@charset "utf-8";

/*---------------------------------------------

worksスタイル

-----------------------------------------------*/

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

/* ▼WORKS PC */
#works_area {
	padding: 90px 0 100px 0;
	background: #e5e5e5;
}

#works_area h2 {
	color: #dc9200;
	font-size: 35px; font-size: 3.5rem;
	font-feature-settings: "palt" 1;
	text-align: left;
	letter-spacing: 0.5rem;
	line-height: 1.8;
	margin-bottom: 50px;
	font-weight: normal;
	transition: opacity 1s ease 0.4s, transform 0.7s ease 0.4s;
	transform: translateX(-30px);
	opacity: 0;
}

#works_area h3 {
	color: #3f3a3a;
	font-size: 22px; font-size: 2.2rem;
	font-feature-settings: "palt" 1;
	letter-spacing: 0.5rem;
	line-height: 2;
	margin-bottom: 60px;
	font-weight: normal;
	transition: opacity 1s ease 0.6s, transform 0.7s ease 0.6s;
	transform: translateY(30px);
	opacity: 0;
}

#works_area h2.active,
#works_area h3.active {
	transform: translate(0);
	opacity: 1;
}

.main_p {
	width: 1000px;
	margin-bottom: 40px;
}

.main_p img {
	width: 100%;
	image-rendering: -webkit-optimize-contrast;
}

.photolist {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.photolist > li {
	width: 220px;
	margin-bottom: 40px;
}

.photolist > li img {
	width: 100%;
	image-rendering: -webkit-optimize-contrast;
}

.photolist::after {
	content: "";
	display: block;
	width: 220px;
}

.photolist::before {
	content: "";
	display: block;
	width: 220px;
	order: 1;
}

.btnset {
	display: flex;
	justify-content: space-between;
	width: 310px;
	margin: 60px 0 0 auto;
}

p.backbtn a {
	display: block;
	width: 140px;
	color: #3e3a3a;
	text-decoration: none;
	text-align: center;
	font-size: 12px; font-size: 1.2rem;
	font-feature-settings: "palt" 1;
	letter-spacing: 0.2rem;
	line-height: 2;
	padding: 2px 0;
	background: #fff;
	border: solid 1px #3e3a3a;
	box-sizing: border-box;
	position: relative;
}

p.backbtn a::before {
	position: absolute;
	content: "";
	top: calc(50% - 5px);
	left: -9px;
	background: url("../img/btnarrow_02.png") no-repeat;
	background-size: 10px;
	width: 9px;
	height: 10px;
}

p.upbtn a {
	display: block;
	width: 140px;
	color: #3e3a3a;
	text-decoration: none;
	text-align: center;
	font-size: 12px; font-size: 1.2rem;
	font-feature-settings: "palt" 1;
	letter-spacing: 0.2rem;
	line-height: 2;
	padding: 2px 0;
	background: #fff;
	border: solid 1px #3e3a3a;
	box-sizing: border-box;
	position: relative;
}

p.upbtn a::before {
	position: absolute;
	content: "";
	top: -9px;
	left: calc(50% - 5px);
	background: url("../img/btnarrow_01.png") no-repeat;
	background-size: 10px;
	width: 10px;
	height: 9px;
}

}

@media only screen and (max-width: 767px) {

/* ▼WORKS SP */
#works_area {
	padding: 9vw 0 14vw 0;
	background: #e5e5e5;
}

#works_area .inner {width: 100%;}

#works_area h2 {
	color: #dc9200;
	font-size: 8vw;
	font-feature-settings: "palt" 1;
	text-align: left;
	letter-spacing: 0.5rem;
	line-height: 1.8;
	width: 94%;
	margin: 0 auto 6vw auto;
	font-weight: normal;
	transition: opacity 1s ease 0.4s, transform 0.7s ease 0.4s;
	transform: translateX(-30px);
	opacity: 0;
}

#works_area h3 {
	color: #3f3a3a;
	font-size: 5vw;
	font-feature-settings: "palt" 1;
	letter-spacing: 0.2rem;
	line-height: 1.6;
	width: 94%;
	margin: 0 auto 8vw auto;
	font-weight: normal;
	transition: opacity 1s ease 0.6s, transform 0.7s ease 0.6s;
	transform: translateY(30px);
	opacity: 0;
}

#works_area h2.active,
#works_area h3.active {
	transform: translate(0);
	opacity: 1;
}

.main_p {
	width: 100%;
	margin-bottom: 1px;
}

.main_p img {
	width: 100%;
	image-rendering: -webkit-optimize-contrast;
}

.photolist {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.photolist > li {
	width: 49.9%;
	margin-bottom: 1px;
}

.photolist > li img {
	width: 100%;
	image-rendering: -webkit-optimize-contrast;
}

.btnset {
	display: flex;
	justify-content: space-between;
	width: 76%;
	margin: 14vw 3% 0 auto;
}

p.backbtn {width: 52%;}

p.backbtn a {
	display: block;
	width: 100%;
	color: #3e3a3a;
	text-decoration: none;
	text-align: center;
	font-size: 3.2vw;
	font-feature-settings: "palt" 1;
	letter-spacing: 0.2rem;
	line-height: 2;
	padding: 0.5vw 0;
	background: #fff;
	border: solid 1px #3e3a3a;
	box-sizing: border-box;
	position: relative;
}

p.backbtn a::before {
	position: absolute;
	content: "";
	top: calc(50% - 1vw);
	left: -2vw;
	background: url("../img/btnarrow_02.png") no-repeat;
	background-size: 100%;
	width: 2vw;
	height: 3vw;
}

p.upbtn {width: 42%;}

p.upbtn a {
	display: block;
	width: 100%;
	color: #3e3a3a;
	text-decoration: none;
	text-align: center;
	font-size: 3.2vw;
	font-feature-settings: "palt" 1;
	letter-spacing: 0.2rem;
	line-height: 2;
	padding: 0.5vw 0;
	background: #fff;
	border: solid 1px #3e3a3a;
	box-sizing: border-box;
	position: relative;
}

p.upbtn a::before {
	position: absolute;
	content: "";
	top: -2vw;
	left: calc(50% - 1.5vw);
	background: url("../img/btnarrow_01.png") no-repeat;
	background-size: 100%;
	width: 3vw;
	height: 2vw;
}

}
