@charset "UTF-8";

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

	headline

-----------------------------------*/
#headline h1::before {
	content: "WORKS";
}
/*-----------------------------------

	works-tabs

-----------------------------------*/
#works-tabs {
	margin-bottom: 100px;
}
#works-tabs ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}
#works-tabs ul li {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 10px 20px;
	background: #FFF;
	text-box: trim-both cap alphabetic;
	cursor: pointer;
}
#works-tabs ul li.active {
	background: var(--mClr1);
	color: #FFF;
}
#works-tabs ul li.active a {
	color: #FFF;
}
@media screen and (max-width: 640px) {
	#works-tabs {
		margin-bottom: 50px;
	}
	#works-tabs ul {
		gap: 5px;
	}
	#works-tabs ul li {
		font-size: 14px;
		padding: 5px 15px;
	}
}
/*-----------------------------------

	works-list

-----------------------------------*/
#works-list {
	background: url(../img/works/works_bg.jpg) no-repeat center center/cover;
	padding: 100px 0 210px;
	margin-bottom: -130px;
}
#works-list .contents_inner {
	max-width: 1170px;
}
#works-list .list {
	margin-bottom: 50px;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
#works-list .list .none {
	width: 100%;
}
#works-list .list article {
	width: calc((100% - 40px) / 3);
	background: #FFF;
}
#works-list .list article .image {
	height: 244px;
}
#works-list .list article .image:has(.none) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
#works-list .list article .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
#works-list .list article a .txt {
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	letter-spacing: 0.05em;
}
#works-list .list article a .txt .cat {
	font-size: 13px;
	color: var(--mClr2);
}
#works-list .list article a .txt .ttl {
	font-size: 20px;
	line-height: 1.6;
}
#works-list .list article a .txt .place {
	font-size: 15px;
	color: #00000099;
}
#works-list .page-numbers {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0 15px;
}
#works-list .page-numbers li a,
#works-list .page-numbers li span {
	display: block;
	font-size: 20px;
	font-weight: 700;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
}
#works-list .page-numbers li a.prev,
#works-list .page-numbers li a.next {
	background: url(../img/common/icon_arrow_bk.svg) no-repeat center center/16px;
}
#works-list .page-numbers li a.prev {
	transform: scale(-1,1);
}
#works-list .page-numbers li span.current {
	background: #000;
	color: #FFF;
}
@media screen and (max-width: 840px) {
	#works-list .list article {
		width: calc((100% - 20px) / 2);
	}
}
@media screen and (max-width: 640px) {
	#works-list {
		padding: 50px 0;
		margin-bottom: 0;
	}
	#works-list .list {
		margin-bottom: 30px;
	}
	#works-list .list article {
		width: 100%;
	}
	#works-list .list article .image {
		height: 58vw;
	}
	#works-list .list article a .txt {
		padding: 25px;
		gap: 15px;
	}
	#works-list .list article a .txt .cat {
		font-size: 12px;
	}
	#works-list .list article a .txt .ttl {
		font-size: 18px;
	}
	#works-list .list article a .txt .place {
		font-size: 14px;
	}
	#works-list .page-numbers {
		gap: 0 5px;
	}
	#works-list .page-numbers li a,
	#works-list .page-numbers li span {
		font-size: 18px;
		width: 24px;
		height: 24px;
		line-height: 24px;
	}
	#works-list .page-numbers li a.prev,
	#works-list .page-numbers li a.next {
		background: url(../img/common/icon_arrow_bk.svg) no-repeat center center/16px;
	}
}
/*-----------------------------------

	works-details

-----------------------------------*/
#works-details {
	padding-bottom: 100px;
}
#works-details .contents_inner {
	max-width: 930px;
}
#works-details article {
	padding-bottom: 100px;
}
#works-details .titleArea {
	display: flex;
	flex-direction: column;
	gap: 20px 0;
	margin-bottom: 30px;
}
#works-details .titleArea h2 {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.5;
}
#works-details .titleArea h2 .place,
#works-details .titleArea h2 .ttl {
	display: block;
}
#works-details .titleArea time {
	width: max-content;
	margin: 0 0 0 auto;
	color: #8E8E8E;
	font-size: 16px;
	font-weight: 400;
}
#works-details .titleArea .cat {
	font-size: 20px;
	font-weight: 700;
	background: var(--mClr1);
	color: #FFF;
	padding: 10px 30px;
	text-box: trim-both cap alphabetic;
	width: max-content;
}
#works-details .contentsArea > *:not(:last-child) {
	margin-bottom: 1.5em;
}
#works-details .contentsArea .wp-caption {
	width: 100% !important;
}
#works-details .contentsArea img {
	display: block;
	width: 100%;
}
#works-details .contentsArea img.none {
	border: 1px solid rgba(0, 0, 0, 0.15);
}
#works-details .contentsArea figure {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	row-gap: 15px;
}
#works-details .contentsArea figure.col1 > * {
	width: 100%;
}
#works-details .contentsArea figure.col2 > * {
	width: 48% !important;
}
#works-details .contentsArea .wp-caption-text {
	width: 100% !important;
	font-weight: 400;
	line-height: 1;
	margin-top: 15px;
}
#works-details .contentsArea h1,
#works-details .contentsArea h2,
#works-details .contentsArea h3,
#works-details .contentsArea h4,
#works-details .contentsArea h5,
#works-details .contentsArea h6 {
	font-size: 30px;
}
#works-details .contentsArea p {
	font-weight: 400;
	line-height: 2;
}
#works-details .contentsArea a {
	color: var(--mClr1);
	text-decoration: underline;
}
#works-details .contentsArea ul,
#works-details .contentsArea ol {
	margin-left: 1.5em;
}
#works-details .contentsArea ul li {
	list-style: disc;
}
#works-details .contentsArea ol li {
	list-style: decimal;
}
#works-details .contentsArea ul li:not(:last-child),
#works-details .contentsArea ol li:not(:last-child) {
	margin-bottom: 1em;
}
#works-details .contentsArea table {
	width: 100%;
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
	border-top: 1px solid #0000001A;
}
#works-details .contentsArea table tr {
	border-bottom: 1px solid #0000001A;
}
#works-details .contentsArea table th {
	min-width: 185px;
	background: #F5F5F5;
	text-align: center;
	vertical-align: middle;
	font-weight: 400;
	padding: 20px 30px;
}
#works-details .contentsArea table td {
	padding: 20px 30px;
}
@media screen and (max-width: 640px) {
	#works-details {
		padding-bottom: 50px;
	}
	#works-details article {
		padding-bottom: 50px;
	}
	#works-details .titleArea {
		gap: 10px 0;
		margin-bottom: 20px;
	}
	#works-details .titleArea h2 {
		font-size: 24px;
	}
	#works-details .titleArea time {
		font-size: 14px;
	}
	#works-details .titleArea .cat {
		font-size: 18px;
		padding: 10px 20px;
	}
	#works-details .contentsArea figure.col2 > * {
		width: 100% !important;
	}
	#works-details .contentsArea h1,
	#works-details .contentsArea h2,
	#works-details .contentsArea h3,
	#works-details .contentsArea h4,
	#works-details .contentsArea h5,
	#works-details .contentsArea h6 {
		font-size: 18px;
	}
	#works-details .contentsArea table th {
		width: 100% !important;
		height: auto !important;
		display: block;
		text-align: left;
		padding: 15px 20px;
	}
	#works-details .contentsArea table td {
		width: 100% !important;
		height: auto !important;
		display: block;
		padding: 15px 20px;
	}
}
