@charset "UTF-8";

/* exhibitions
--------------------------------*/
#exhibitions .pc_sort{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-bottom: 30px;
}
#exhibitions .pc_sort li+li{
	margin-left: 35px;
}
#exhibitions .pc_sort li a{
	font-size: 2rem;
	line-height: 1.4;
	display: inline-block;
	position: relative;
}
#exhibitions .pc_sort li a::before,
#exhibitions .pc_sort li a::after{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: #e0ff1a;
	transition: .3s;
}
#exhibitions .pc_sort li a::before{
	z-index: 1;
}
#exhibitions .pc_sort li.current a::after{
	width: 100%;
	background: #000;
}
#exhibitions .list{
	justify-content: flex-start;
}
#exhibitions .list li{
	width: calc((100% - 3.38% * 2) / 3);
	width: 31.08%;
	margin-right: 3.38%;
}
#exhibitions .list li:nth-child(3n){
	margin-right: 0;
}
#exhibitions .list li:nth-child(n+4){
	margin-top: 5%;
}
#exhibitions .list li a{
	display: block;
	position: relative;
}
#exhibitions .list li figure{
	width: 100%;
	height: 0;
	padding-top: 100%;
	overflow: hidden;
	position: relative;
}
#exhibitions .list li figure::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	transition: .3s;
	z-index: 1;
}
#exhibitions .list li figure img{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	transition: .3s;
}
#exhibitions .list li .txt{
	font-size: 1.4rem;
	line-height: 1.4;
	margin-top: 5px;
}
#exhibitions .pager{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 70px;
}
#exhibitions .pager li+li{
	margin-left: 18px;
}
#exhibitions .pager li a{
	font-size: 2rem;
	line-height: 1.4;
	display: inline-block;
	position: relative;
}
#exhibitions .pager li:not(.prev):not(.next) a{
	padding: 0 3px;
}
#exhibitions .pager li:not(.prev):not(.next) a::before,
#exhibitions .pager li:not(.prev):not(.next) a::after{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: #e0ff1a;
	transition: .3s;
}
#exhibitions .pager li:not(.prev):not(.next) a::before{
	z-index: 1;
}
#exhibitions .pager li:not(.prev):not(.next).current a::after{
	width: 100%;
	background: #000;
}
#exhibitions .pager li.prev a,
#exhibitions .pager li.next a{
	display: block;
}
#exhibitions .pager li.prev a,
#exhibitions .pager li.next a{
	width: 27px;
	height: 27px;
	border: 1px solid #e9e9e9;
	border-radius: 50%;
	display: block;
	transition: .3s;
	position: relative;
	margin: 0 auto;
	overflow: hidden;
}
#exhibitions .pager li.prev a::before,
#exhibitions .pager li.next a::before{
	content: '';
	position: absolute;
	top: 50%;
	width: 8px;
	height: 8px;
	transform: translate(-50%,-50%) rotate(-45deg);
	z-index: 1;
}
#exhibitions .pager li.prev a::before{
	border-left: 1px solid #000;
	border-top: 1px solid #000;
	left: calc(50% + 1px);
}
#exhibitions .pager li.next a::before{
	border-bottom: 1px solid #000;
	border-right: 1px solid #000;
	left: calc(50% - 1px);
}
#exhibitions .pager li.prev a::after,
#exhibitions .pager li.next a::after{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	background: #e0ff1a;
	width: 0;
	height: 100%;
	transition: .3s;
}
@media screen and (min-width: 768px) {
	#exhibitions .pc_sort li a:hover::before{
		width: 100%;
	}
	#exhibitions .list li a:hover figure::before{
		opacity: 1;
	}
	#exhibitions .list li a:hover figure img{
		transform: scale(1.1);
		opacity: 1;
	}
	#exhibitions .pager li:not(.prev):not(.next) a:hover::before{
		width: 100%;
	}
	#exhibitions .pager li.prev a:hover::after,
	#exhibitions .pager li.next a:hover::after{
		width: 100%;
	}
}
@media screen and (max-width: 767px) {
	#exhibitions .sp_sort{
		font-size: 4.2vw;
		border: 1px solid #e7e8e8;
		display: block;
		margin-bottom: 6%;
		position: relative;
	}
	#exhibitions .sp_sort::before{
		content: '';
		position: absolute;
		top: 50%;
		right: 4%;
		transform: translateY(-50%) rotate(45deg);
		width: 2.5vw;
		height: 2.5vw;
		border-top: 1px solid #000;
		border-right: 1px solid #000;
	}
	#exhibitions .sp_sort select{
		font-size: 4.2vw;
		width: 100%;
		height: 100%;
		padding: 2% 8% 2% 3%;
	}
	#exhibitions .list{
		display: block;
	}
	#exhibitions .list li{
		width: 100%;
		margin-right: 0;
	}
	#exhibitions .list li:nth-child(3n){
		margin-right: 0;
	}
	#exhibitions .list li:nth-child(n+2){
		margin-top: 4%;
	}
	#exhibitions .list li .txt{
		font-size: 4vw;
		margin-top: 2%;
	}
	#exhibitions .pager{
		margin-top: 18%;
	}
	#exhibitions .pager li+li{
		margin-left: 5.5%;
	}
	#exhibitions .pager li a{
		font-size: 6.4vw;
	}
	#exhibitions .pager li:not(.prev):not(.next) a{
		padding: 0 .1em;
	}
	#exhibitions .pager li:not(.prev):not(.next) a::before,
	#exhibitions .pager li:not(.prev):not(.next) a::after{
		height: .5vw;
	}
	#exhibitions .pager li.prev a,
	#exhibitions .pager li.next a{
		width: 10vw;
		height: 10vw;
	}
	#exhibitions .pager li.prev a::before,
	#exhibitions .pager li.next a::before{
		width: 3vw;
		height: 3vw;
	}
	#exhibitions .pager li.prev a::before{
		left: calc(50% + 1vw);
	}
	#exhibitions .pager li.next a::before{
		left: calc(50% - 1vw);
	}
}

/* ---------------------------------------------
  detail
-----------------------------------------------*/

/* exhibitionsdetail
--------------------------------*/
#exhibitionsdetail{
	padding: 80px 0 0;
}
#exhibitionsdetail img{
	display: block;
	margin-left: auto;
	margin-right: auto;
}
#exhibitionsdetail a:not(.morebtn){
	text-decoration: underline;
}
#exhibitionsdetail .head{
	width: 87%;
	max-width: 700px;
	padding-bottom: 30px;
	margin: 0 auto 30px;
	position: relative;
}
#exhibitionsdetail .head .ttl{
	font-size: 3rem;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: 0;
}
#exhibitionsdetail .head .date{
	font-size: 1.2rem;
	margin-top: 20px;
}
#exhibitionsdetail .head::before{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 3px;
	background: #000;
}
#exhibitionsdetail .cnt{
	width: 87%;
	max-width: 700px;
	margin: 0 auto 80px;
	position: relative;
}
#exhibitionsdetail .cnt p{
	font-size: 1.4rem;
}
#exhibitionsdetail .cnt p+p{
	margin-top: 25px;
}
#exhibitionsdetail figure{
	margin-top: 80px;
}
#exhibitionsdetail figure img{
	width: 100%;
}
#exhibitionsdetail figure+figure{
	margin-top: 25px;
}
@media screen and (min-width: 768px) {
	#exhibitionsdetail a:not(.morebtn):hover{
		text-decoration: none;
	}
}
@media screen and (max-width: 767px) {
	#exhibitionsdetail{
		padding: 15% 0 0;
	}
	#exhibitionsdetail .head{
		width: 90%;
		margin: 0 auto 6%;
		padding-bottom: 6%;
	}
	#exhibitionsdetail .head .ttl{
		font-size: 6.6vw;
	}
	#exhibitionsdetail .head .date{
		font-size: 3.4vw;
		margin-top: 4%;
	}
	#exhibitionsdetail .head::before{
		width: 13vw;
	}
	#exhibitionsdetail .cnt{
		width: 90%;
		padding: 0 0 11%;
		margin: 0 auto;
	}
	#exhibitionsdetail .cnt p+p{
		margin-top: 10%;
	}
	#exhibitionsdetail .cnt p{
		font-size: 3.7vw;
	}
	#exhibitionsdetail figure{
		margin-top: 11%;
	}
	#exhibitionsdetail figure+figure{
		margin-top: 4%;
	}
}

