@charset "utf-8";

/*
	works.css
---------------------------------------------------------------------------------------------------------------------------------------------*/
/* works
--------------------------------------------------------------------------------------------------------*/
article#works #page {
	position: relative;
	padding-bottom: 100px;
}
article#works #page #yearSelect {
	position: absolute;
	top: 3px;
	left: 0;
}
article#works #page #yearSelect p {
	position: relative;
}
article#works #page #yearSelect p:not(:last-child) { margin-bottom: 25px;}
article#works #page #yearSelect p::before {
	position: absolute;
	content: '';
	width: 4.5em;
	height: 1px;
	top: 50%;
	left: 0;
	transform: translate(0, -50%);
	-webkit-transform: translate(0, -50%);
	background-color: #dadada;
}
article#works #page #yearSelect p span {
	padding-left: 5em;
	font-size: 16px;
	font-weight: 500;
	color: #999;
	transition: all 0.4s ease;
	-webkit-transition: all 0.4s ease;
	opacity: 0.5;
}
article#works #page #yearSelect p a:hover span {
	opacity: 0.8;
}
article#works #page #yearSelect p a.active span {
	opacity: 1.0;
}

article#works ul#options {
	display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	justify-content: space-between;
	-webkit-justify-content: space-between;
	margin: 0 auto 67px;
	width: 1000px;
}
article#works ul#options li {
	flex: auto;
	-webkit-flex: auto;
}
article#works ul#options li a {
	display: block;
	padding: 3px 0;
	font-size: 15px;
	font-weight: 500;
	color: #525252;
	text-align: center;
}
article#works ul#options li:not(:last-child) a { border-right: 1px solid #dadada;}
article#works ul#options li a span,
article#works ul#options li a span::after {
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
article#works ul#options li a span::after {
	content: '';
	opacity: 0;
}
article#works ul#options li a:hover span,
article#works ul#options li a.active span {
	color: #b5b5b5;
	position: relative;
}
article#works ul#options li a:hover span::after,
article#works ul#options li a.active span::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #e71620;
	opacity: 1.0;
}

@media (max-width: 1240px) {
	article#works ul#options {
		margin-bottom: 0;
	}
	article#works #page #yearSelect {
		position: static;
		display: flex;
		display: -webkit-flex;
		justify-content: center;
		-webkit-justify-content: center;
		padding: 40px 0 70px;
	}
	article#works #page #yearSelect p {
		padding: 0 40px;
	}
	article#works #page #yearSelect p:not(:last-child) { margin: 0;}
	article#works #page #yearSelect p::before { content: none;}
	article#works #page #yearSelect p span { padding-left: 0;}
}

article#works #boxes > div {
	display: flex;
	display: -webkit-flex;
	margin: 0 auto;
}
article#works #boxes > div:not(:last-child) { margin-bottom: 40px;}
article#works #boxes div .photo {
	margin: 0 60px 0 40px;
}
article#works #boxes div ul li.title a,
article#works #boxes div .photo a {
	display: block;
	cursor: pointer;
}
article#works #boxes div ul li.title a *,
article#works #boxes div .photo a * {
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
article#works #boxes div ul li.title a:hover *,
article#works #boxes div .photo a:hover * {
	opacity: 0.6;
}

article#works #boxes div ul {
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-direction: column;
	-webkit-flex-direction: column;
}
article#works #boxes div ul li.date {
	font-size: 16px;
	color: #7f7f7f;
	margin-bottom: 35px;
}
article#works #boxes div ul li.title h3 {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.9;
	margin-bottom: 30px;
	color: #525252;
}
article#works #boxes div ul li.attr {
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
}
article#works #boxes div ul li.attr span {
	background-color: #d7d7d7;
	color: #fff;
	font-size: 12px;
	padding: 3px 2em 4px;
	margin: 2px 4px 2px 0;
	border-radius: 1em;
}
article#works #boxes div ul li:last-child {
	margin-top: auto;
}
article#works #boxes div ul li .moreBtn {
	width: 200px;
	height: 40px;
	border-color: #dadada;
}
article#works #boxes div ul li .moreBtn::after {
	background-color: #dadada;
}
.modal-page {
	display: none;
	overflow: auto;
	height: 100%;
}
.modal-page .modal-logo {
	position: absolute;
	margin: 30px auto 0 50px;
	cursor: pointer;
}
.modal-page .modal-close-btn {
	position: relative;
	width: 50px;
	height: 50px;
	margin: 30px 40px 0 auto;
	cursor: pointer;
}
.modal-page .modal-close-btn span {
	position: absolute;
	background-color: #525252;
	height: 2px;
	width: 50px;
	top: 50%;
	right: 0;
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
	opacity: 1.0;
}
.modal-page .modal-close-btn:hover span {
	opacity: 0.5;
}
.modal-page .modal-close-btn span:first-child {
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}
.modal-page .modal-close-btn span:last-child {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}
.modal-page .modal-content {
	margin: 125px auto 0;
	padding: 0 0 100px;
}
.modal-page .modal-content .inner {
	width: 1000px;
	margin: 0 auto;
}
.modal-page .modal-content .field {
	width: 784px;
	margin: 0 auto;
	padding-bottom: 100px;
}
.modal-page .modal-content .item ul li.date {
	font-size: 16px;
	font-weight: 500;
	margin: 0 0 30px;
	color: #7f7f7f;
}
.modal-page .modal-content .item ul li.title {
	font-size: 20px;
	font-weight: 500;
	margin: 0 0 15px;
	color: #525252;
	word-break: break-all;
}
.modal-page .modal-content .item ul li.attr {
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	margin: 0 0 40px;
}
.modal-page .modal-content .item ul li.attr span {
	background-color: #d7d7d7;
	color: #fff;
	font-size: 12px;
	padding: 3px 2em 4px;
	margin: 2px 4px 2px 0;
	border-radius: 1em;
}
.modal-page .modal-content .item ul li.client {
	font-size: 14px;
	line-height: 2.2;
}
.modal-page .modal-content .item ul li.links {
	font-size: 13px;
	margin: 0 0 20px;
	color: #7f7f7f;
	word-break: break-all;
}
.modal-page .modal-content .item ul li.links a:hover {
	text-decoration: underline;
}
.modal-page .modal-content .photo {
	margin-bottom: 24px;
}
.modal-page .modal-content .photo.full img {
	width: 100%;
	height: auto;
}
.modal-page .modal-content .photo.center {
	text-align: center;
}
.modal-page .modal-content .photo ul {
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	justify-content: space-between;
	-webkit-justify-content: space-between;
}
.modal-page .modal-content .photo ul li {
	width: 49%;
}
.modal-page .modal-content .photo ul li:nth-child(-n+2) {
	margin-bottom: 14px;
}
.modal-page .modal-content .photo ul li img {
	width: 100%;
	height: auto;
}
.modal-page .modal-content .movie {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	margin-bottom: 24px;
}
.modal-page .modal-content .movie iframe{
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}
.modal-page .modal-content .photo .movie {
	height: 100%;
	margin-bottom: 0;
}
.modal-page .modal-content .about {
	font-size: 14px;
	line-height: 2.2;
	text-align: justify;
	text-justify: inter-ideograph;
	word-break: break-all;
}
.modal-page .modal-content .modal-navi,
.modal-page .modal-content .modal-navi a,
.modal-page .modal-content .modal-navi a ul {
	display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	justify-content: center;
	-webkit-justify-content: center;
}
.modal-page .modal-content .modal-navi a {
	flex: 1 0 0;
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
	opacity: 1.0;
}
.modal-page .modal-content .modal-navi a:hover {
	opacity: 0.5;
}
.modal-page .modal-content .modal-navi a:nth-of-type(2) {
	flex: 1.25 0 0;
}
.modal-page .modal-content .modal-navi a:nth-of-type(2) ul {
	flex-direction: column;
	-webkit-flex-direction: column;
}
.modal-page .modal-content .modal-navi ul li p:first-child {
	font-size: 14px;
	margin-bottom: 10px;
}
.modal-page .modal-content .modal-navi ul li p:last-child {
	font-size: 13px;
	line-height: 1.53;
}
.modal-page .modal-content .modal-navi ul.all li:last-child {
	font-size: 13px;
	margin-top: 12px;
	color: #e71620;
}
.modal-page .modal-content .modal-navi ul.prev li:first-child,
.modal-page .modal-content .modal-navi ul.next li:last-child {
	padding: 0 24px;
}




/*
	less than 1024px;
---------------------------------------------------------------------------------------------------------------------------------------------*/
@media (max-width: 1024px) {


	article#works ul#options {
		flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		border-top: 1px solid #dadada;
		border-bottom: 1px solid #dadada;
		width: 100%;
	}
	article#works ul#options li {
		flex-basis: 20%;
		-webkit-flex-basis: 20%;
	}
	article#works ul#options li a {
		padding: 14px 0;
		border-right: 1px solid #dadada;
	}
	article#works ul#options li:nth-child(-n+5) a {
		border-bottom: 1px solid #dadada;
	}
	article#works ul#options li:nth-child(5) a,
	article#works ul#options li:last-child a {
		border-right: none;
	}
	article#works ul#options li a:hover span::after {
		content: none;
	}
	article#works ul#options li a.active {
		background-color: #dadada;
	}
	article#works ul#options li a.active span {
		color: #fff;
	}
	article#works ul#options li a.active span::after {
		content: none;
	}
	article#works #boxes > div:not(:last-child) {
		margin-bottom: 70px;
	}
	article#works #boxes div .photo {
		margin: 0 5% 0 auto;
	}
	article#works #boxes div ul li.date {
		margin-bottom: 25px;
	}
	article#works #boxes div ul li.title h3 {
		margin-bottom: 20px;
	}
	article#works #boxes div ul li.attr {
		margin-bottom: 20px;
	}
	.modal-page .modal-content .inner {
		width: 100%;
	}
	.modal-page .modal-content .field {
		width: 100%;
		padding: 0 50px 100px;
		padding: 0 6.66vw 13.33vw;
	}
	.modal-page .modal-content .photo ul li {
		flex: 0 0 49%;
		-webkit-flex: 0 0 49%;
	}

}


/*
	less than 767px;
---------------------------------------------------------------------------------------------------------------------------------------------*/
@media (max-width: 767px) {

	article#works ul#options {
		margin: 0 auto 28px;
		margin: 0 auto 3.73vw;
		width: 100%;
		justify-content: center;
		-webkit-justify-content: center;
		align-items: center;
		-webkit-align-items: center;
		flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		border-top: 1px solid #dadada;
		border-bottom: 1px solid #dadada;
	}
	article#works ul#options li {
		flex: 1 0 33.3%;
		-webkit-flex: 1 0 33.3%;
	}
	article#works ul#options li a {
		padding: 27px 0;
		padding: 3.59vw 0;
		font-size: 24px;
		font-size: 3.19vw;
		border-right: 1px solid #dadada;
	}
	article#works ul#options li:nth-child(-n+6) a {
		border-bottom: 1px solid #dadada;
	}
	article#works ul#options li:nth-child(5) a {
		border-right: 1px solid #dadada;
	}
	article#works ul#options li:nth-of-type(3n) a {
		border-right: none;
	}
	article#works ul#options li a:hover span {
		color: #525252;
	}
	article#works ul#options li a.active {
		background-color: #dadada;
	}
	article#works ul#options li a.active span {
		color: #fff;
	}
	article#works ul#options li a.active span::after {
		content: none;
	}
	article#works #page #yearSelect {
		position: static;
		display: flex;
		display: -webkit-flex;
		justify-content: center;
		-webkit-justify-content: center;
		padding: 0 0 80px;
		padding: 0 0 10.66vw;
	}
	article#works #page #yearSelect p {
		padding: 0 35px;
		padding: 0 4.66vw;
	}
	article#works #page #yearSelect p::before {
		content: none;
	}
	article#works #page #yearSelect p::after {
		content: '';
		position: absolute;
		top: 1.5em;
		left: 50%;
		width: 1px;
		height: 1em;
		background-color: #dadada;
	}
	article#works #page #yearSelect p:not(:last-child) {
		margin-bottom: 0;
	}
	article#works #page #yearSelect p span {
		padding-left: 0;
		font-size: 26px;
		font-size: 3.46vw;
	}
	article#works #boxes > div {
		flex-direction: column;
		-webkit-flex-direction: column;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		justify-content: center;
		-webkit-justify-content: center;
		-webkit-box-pack: center;
	}
	article#works #boxes > div:not(:last-child) {
		margin-bottom: 80px;
		margin-bottom: 10.66vw;
	}
	article#works #boxes div .photo {
		margin: 0 0 35px;
		margin: 0 0 4.66vw;
	}
	article#works #boxes div ul li.title a:hover *,
	article#works #boxes div .photo a:hover * {
		opacity: 1.0;
	}
	article#works #boxes div ul li.date {
		font-size: 24px;
		font-size: 3.19vw;
		margin: 0 0 35px;
		margin: 0 0 4.66vw;
	}
	article#works #boxes div ul li.title h3 {
		font-size: 30px;
		font-size: 3.99vw;
		line-height: 1.66;
		margin-bottom: 22px;
		margin-bottom: 2.93vw;
	}
	article#works #boxes div ul li.attr {
		margin-bottom: 40px;
		margin-bottom: 5.33vw;
	}
	article#works #boxes div ul li.attr span {
		font-size: 22px;
		font-size: 2.93vw;
		padding: 6px 1.8em 7px;
		margin: 4px 5px 4px 0;
		border-radius: 1em;
	}
	article#works #boxes div ul li .moreBtn {
		width: 50%;
		margin: 0 auto;
		height: 80px;
		height: 10.66vw;
	}
	article#works #boxes div ul li .moreBtn span {
		font-size: 24px;
		font-size: 3.19vw;
	}
	.modal-page .modal-close-btn {
		width: 100%;
		height: 35px;
		margin: 46px auto 0;
		margin: 6.13vw auto 0;
	}
	.modal-page .modal-close-btn span {
		width: 6.66vw;
		right: 50px;
		right: 6.66vw;
	}
	.modal-page .modal-close-btn:hover span {
		opacity: 1.0;
	}
	.modal-page .modal-content {
		margin: 0 auto 0;
		margin: 0 auto 0;
		padding: 0 0 100px;
		padding: 0 0 13.3vw;
	}
	.modal-page .modal-content .inner {
		width: 100%;
		padding: 95px 50px 0 50px;
		padding: 12.6vw 6.66vw 0 6.66vw;
	}
	.modal-page .modal-content .field {
		width: 100%;
		padding: 0;
		padding-bottom: 60px;
		padding-bottom: 7.99vw;
	}
	.modal-page .modal-content .item ul li.date {
		font-size: 24px;
		font-size: 3.19vw;
		margin: 0 0 35px;
		margin: 0 0 4.66vw;
	}
	.modal-page .modal-content .item ul li.title h3 {
		font-size: 30px;
		font-size: 3.99vw;
		line-height: 1.66;
		margin-bottom: 22px;
		margin-bottom: 2.93vw;
	}
	.modal-page .modal-content .item ul li.attr {
		margin-bottom: 40px;
		margin-bottom: 5.33vw;
	}
	.modal-page .modal-content .item ul li.attr span {
		font-size: 22px;
		font-size: 2.93vw;
		padding: 6px 1.8em 7px;
		margin: 4px 5px 4px 0;
		border-radius: 1em;
	}
	.modal-page .modal-content .item ul li.client {
		font-size: 3.46vw;
	}
	.modal-page .modal-content .item ul li.links {
		font-size: 20px;
		font-size: 2.66vw;
		margin: 0 0 30px;
		margin: 0 0 3.99vw;
	}
	.modal-page .modal-content .photo ul li {
		flex: 0 0 49%;
		-webkit-flex: 0 0 49%;
	}
	.modal-page .modal-content .photo ul li:nth-child(-n+2) {
		margin-bottom: 2%;
	}
	.modal-page .modal-content .about {
		font-size: 26px;
		font-size: 3.46vw;
	}
	.modal-page .modal-content .modal-navi {
		flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		justify-content: space-between;
		-webkit-justify-content: space-between;
	}
	.modal-page .modal-content .modal-navi ul.prev li:first-child,
	.modal-page .modal-content .modal-navi ul.next li:last-child,
	.modal-page .modal-content .modal-navi ul li p:last-child {
		display: none;
	}
	.modal-page .modal-content .modal-navi ul li p:first-child {
		font-size: 24px;
		font-size: 3.19vw;
		letter-spacing: 3px;
		margin: 0;
	}
	.modal-page .modal-content .modal-navi a {
		flex: 0 0 49%;
		-webkit-flex: 0 0 49%;
	}
	.modal-page .modal-content .modal-navi a:hover {
		opacity: 1.0;
	}
	.modal-page .modal-content .modal-navi a:nth-of-type(1),
	.modal-page .modal-content .modal-navi a:nth-of-type(3) {
		height: 80px;
		height: 10.66vw;
		border: 1px solid #e71620;
		position: relative;
	}
	.modal-page .modal-content .modal-navi a:nth-of-type(1)::after,
	.modal-page .modal-content .modal-navi a:nth-of-type(3)::after {
		position: absolute;
		content: '';
		width: 22px;
		height: 1px;
		top: 50%;
		background-color: #e71620;
	}
	.modal-page .modal-content .modal-navi a:nth-of-type(1)::after { left: 0;}
	.modal-page .modal-content .modal-navi a:nth-of-type(3)::after { right: 0;}
	.modal-page .modal-content .modal-navi a:nth-of-type(2) {
		flex: 1 0 100%;
		-webkit-flex: 1 0 100%;
		order: -1;
		-webkit-order: -1;
		margin-bottom: 40px;
		margin-bottom: 5.33vw;
	}
	.modal-wrap .modal-content .modal-navi ul.all li:last-child {
		font-size: 24px;
		font-size: 3.19vw;
		margin-top: 18px;
		margin-top: 2.39vw;
		letter-spacing: 3px;
	}

/*
	works.css End
---------------------------------------------------------------------------------------------------------------------------------------------*/
}