@charset "utf-8";
.breadcrumbs{
	display: none;
}
.gallery__container{
	position: relative;
	background: #ECECEC;
	padding-top: 160px;
}
.gallery__container::before{
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	width: 1440px;
	height: 503px;
	background: url(../img/gallery/bg.png) 0 0 / 100% auto no-repeat;
	transform: translateX(-50%);
}
.gallery{
	position: relative;
	width: 1080px;
	margin: 0  auto;
	padding: 0 0 200px;
}
.gallery__ttl{
	width: 873px;
	margin: 0 auto 5.8rem;
}
.gallery__txt{
	text-align: center;
	font-size: 1.8rem;
	margin: 0 0 7rem;
}
.gallery-tax{
	display: flex;
	justify-content: start;
	margin: 0 0 78px;
}
.gallery-tax li{
	height: 45px;
	text-align: center;
	font-weight: 700;
	font-size: 2.0rem;
	line-height: 1.0;
	margin: 0 8px;
}
.gallery-tax li a{
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	color: #fff;
	background: #999;
	line-height: 1.0;
	padding: 12px 50px 0 14px;
	box-sizing: border-box;
}
.gallery-tax li a::before{
	content: '';
	position: absolute;
	top: 50%;
	right: 1.5rem;
	width: 20px;
	height: 10px;
	background: url(../img/gallery/icn_cat_arrow.svg) 0 0 / 100% auto no-repeat;
	transform: translateY(-50%);
}
.gallery-tax .gallery-tax__media{
	background: #00ABFD;
}
.gallery-tax .gallery-tax__genre{
	background: #FF0081;
}

.gallery-popup{
	position: relative;
	width: 670px;
	background: #fff;
	padding: 60px;
	border-radius: 12px;
	box-sizing: border-box;
	margin: 0 auto;
}
.gallery-popup__close{
	position: absolute;
	top: 3rem;
	right: 3rem;
	width: 2.1rem;
	height: 2.1rem;
	transition: 0.3s;
}
.gallery-popup__close:hover{
	opacity: 0.7;
}
.gallery-popup__btn{
	display: block;
	width: 445px;
	height: 66px;
	color: #fff;
	font-size: 1.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	background: #FF0081;
	border-radius: 5rem;
	transition: 0.3s;
	border: 0;
	padding: 0;
	cursor: pointer;
	margin: 70px auto 0;
}
.gallery-popup__btn:hover{
	opacity: 0.7;
}
.gallery-tabs{
	display: flex;
	justify-content: flex-start;
	gap: 0 3.8rem;
	margin: 0 0 5.8rem;
}
.gallery-tabs__item{
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.0;
	color: #999;
	letter-spacing: 0.06em;
	margin: 0;
	cursor: pointer;
}
.gallery-tabs__item.is-current{
	color: #000;
}
.gallery-tab{
	min-height: 358px;
}
.gallery-tab__inner{
	display: none;
}
.gallery-tab__inner.is-current{
	display: block;
}
.gallery-tab-list{
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 5.8rem 1rem;
}
.gallery-tab-list__item{
	width: calc((100% - 2rem) / 3);
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1;
	margin: 0;
}
.gallery-tab-list__item label span{
	display: inline-block;
	position: relative;
	line-height: 1.4;
	padding: 0 0 0 3.8rem;
}
.gallery-tab-list__item label input[type="checkbox"]{
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}
.gallery-tab-list__item label span::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 2.6rem;
	height: 2.6rem;
	background: url(../img/gallery/icn_check.svg) 0 0 / 100% auto no-repeat;
}
.u-media .gallery-tab-list__item label input[type="checkbox"]:checked + span::before{
	background: url(../img/gallery/icn_check_media.svg) 0 0 / 100% auto no-repeat;
}
.u-genre .gallery-tab-list__item label input[type="checkbox"]:checked + span::before{
	background: url(../img/gallery/icn_check_genre.svg) 0 0 / 100% auto no-repeat;
}
.mfp-bg{
	z-index: 10000;
}
.mfp-wrap{
	z-index: 10001;
}

.gallery-list__item{
	/*
	width: 348px;
	height: 400px;
	*/
	width: 200px;
	margin-bottom: 18px;
}
.gallery-list__item:last-of-type{
	margin-bottom: 18px;
}
.gallery-list__item a{
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0.9rem;
	overflow: hidden;
}
.gallery-list__img{
	width: 100%;
	height: 100%;
}
.gallery-list__item img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gallery-list__ttl{
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	line-height: 1.5;
	color: #fff;
	font-size: 2.0rem;
	font-weight: 600;
	text-align: center;
	letter-spacing: 0.01em;
	background: rgba(5,5,5,0.25);
	padding: 0 1em;
	box-sizing: border-box;
	text-indent: -0.5em;
	opacity: 0;
	transition: 0.3s;
}
.gallery-list__icon{
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	font-size: 1rem;
	letter-spacing: -0.05em;
	background: #999;
	color: #fff;
	border-radius: 100%;
	overflow: hidden;
	z-index: 10;
}
.gallery-list__item a:hover{
	opacity: 1;
}
.gallery-list__item a:hover .gallery-list__ttl{
	opacity: 1;
}
.gallery-list__item a:hover .gallery-list__icon{
	background: #00ABFD;
}
.gallery-list__item.size4{
	width: 420px;
	height: auto;
}
.gallery-list__item.size5{
	height: 400px;
}
.gallery-list__item.size5 img{
	object-position: top;
}
/*
.gallery-list__item.size1-a,
.gallery-list__item.size1-b,
.gallery-list__item.size1-c,
.gallery-list__item.size1-d{
	width: 255px;
	height: 255px;
}
.gallery-list__item.size2-a,
.gallery-list__item.size2-b{
	width: 255px;
	height: 255px;
}
.gallery-list__item.size3-a,
.gallery-list__item.size3-b{
	width: 255px;
	height: 255px;
}
.gallery-list__item.size4{
	width: 530px;
	height: 530px;
}
.gallery-list__item.size5{
	width: 255px;
	height: 255px;
}
.gallery-list__item.size8{
	width: 255px;
	height: 255px;
}

.gallery-list__item.size1-a,
.gallery-list__item.size1-b,
.gallery-list__item.size1-c,
.gallery-list__item.size1-d{
	width: 255px;
	height: 356px;
}
.gallery-list__item.size2-a,
.gallery-list__item.size2-b{
	width: 255px;
	height: 356px;
}
.gallery-list__item.size3-a,
.gallery-list__item.size3-b{
	width: 255px;
	height: 233px;
}
.gallery-list__item.size4{
	width: 530px;
	height: 325px;
}
.gallery-list__item.size5{
	width: 255px;
	height: 630px;
}
.gallery-list__item.size8{
	width: 255px;
	height: 127px;
}

.gallery-list__item.size1-a,
.gallery-list__item.size1-b,
.gallery-list__item.size1-c,
.gallery-list__item.size1-d{
	width: 255px;
	height: 356px;
}
.gallery-list__item.size2-a,
.gallery-list__item.size2-b{
	width: 117.5px;
	height: 356px;
}
.gallery-list__item.size3-a,
.gallery-list__item.size3-b{
	width: 255px;
	height: 233px;
}
.gallery-list__item.size4{
	width: 530px;
	height: 325px;
}
.gallery-list__item.size5{
	width: 255px;
	height: 630px;
}
.gallery-list__item.size8{
	width: 255px;
	height: 127px;
}
*/
/*
.gallery-list__item.size1-a,
.gallery-list__item.size1-b,
.gallery-list__item.size1-c,
.gallery-list__item.size1-d{
	width: 264px;
	height: 356px;
}
.gallery-list__item.size2-a,
.gallery-list__item.size2-b{
	width: 167px;
	height: 356px;
}
.gallery-list__item.size3-a,
.gallery-list__item.size3-b{
	width: 264px;
	height: 233px;
}
.gallery-list__item.size4{
	width: 458px;
	height: 325px;
}
.gallery-list__item.size5{
	width: 264px;
	height: 630px;
}
.gallery-list__item.size8{
	width: 264px;
	height: 127px;
}
*/

.gallery-detail{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 0 0 330px;
}
.gallery-detail__back{
	width: 38px;
}
.gallery-detail__inner{
	width: 1000px;
	box-shadow: 3px 4px 16px 5px rgba(0,0,0,0.15);
	border-radius: 2rem;
	padding: 50px;
	box-sizing: border-box;
}
.gallery-detail__wrap{
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-flow: row-reverse;
	flex-wrap: wrap;
}
.gallery-detail__wrap.vertical{
	display: block;
}
.gallery-detail__content{
	width: 320px;
}
.vertical .gallery-detail__content{
	width: 100%;
}
.vertical .gallery-detail-head{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.gallery-detail-head{
	border-bottom: 1px solid #999;
	padding: 0 0 10px;
}
.gallery-detail__label{
	font-weight: 600;
	font-size: 2.0rem;
	color: #999;
}
.gallery-detail-share{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.gallery-detail-share__ttl{
	font-size: 1.4rem;
}
.gallery-detail-share-list{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.gallery-detail-share-list__item{
	width: 80px;
	height: 30px;
	font-size: 1.2rem;
	border-radius: 3px;
	margin: 0 0 0 10px;
	overflow: hidden;
}
.gallery-detail-share-list__item a{
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	width: 100%;
	height: 100%;
}
.gallery-detail-share-list__item.fb a{
	background: #4267b2;
}
.gallery-detail-share-list__item.x a{
	background: #000;
}
.gallery-detail-share-list__item.line a{
	background: #06c755;
}
.gallery-detail__ttl{
	font-size: 4.0rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	margin: 1.2rem 0;
}
.gallery-list__ttl br{
	display: none;
}
.gallery-detail__img{
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 530px;
}
.vertical .gallery-detail__img{
	width: 100%;
	margin: 2rem 0 0;
}
.gallery-detail__img img{
	width: 160px;
	margin-right: 25px;
	margin-top: 25px;
	border: 1px solid #999;
	box-sizing: border-box;
}
.vertical .gallery-detail__img img{
	width: calc((100% - 50px) / 3);
}
.gallery-detail__img img:nth-child(3n){
	margin-right: 0;
}
.gallery-detail__img img:nth-child(-n+3){
	margin-top: 0;
}
.gallery-detail__img.two{
	justify-content: space-between;
}
.gallery-detail__img.two img{
	width: 253px;
	margin: 0;
}
.vertical .gallery-detail__img.two img{
	width: calc((100% - 25px) / 2);
	margin: 0;
}
.gallery-detail__img.one,
.vertical .gallery-detail__img.one{
	display: block;
}
.gallery-detail__img.one img,
.vertical .gallery-detail__img.one img{
	width: 100%;
	margin: 0;
}
.gallery-detail__btn{
	text-align: right;
	font-size: 2.4rem;
	font-weight: 600;
	margin-top: 2rem;
}
.gallery-detail__btn a{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 326px;
	min-height: 67px;
	text-align: center;
	background: #FF0081;
	color: #fff;
	transition: 0.3s;
	margin: 0 0 0 auto;
	padding: 0.2em 0.5em;
	box-sizing: border-box;
}
.gallery-detail__btn a:hover{
	opacity: 0.7;
}
@media print, screen and (max-width : 768px) {
	.gallery__container{
		padding-top: 6rem;
	}
	.gallery__container::before{
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: url(../img/gallery/bg.png) 0 0 / 100% auto no-repeat;
		transform: none;
	}
	.gallery{
		width: auto;
		margin: 0 auto;
		padding: 0 30px 100px;
	}
	.gallery__ttl{
		width: 100%;
		margin: 0 0 2rem;
	}
	.gallery__txt{
		text-align: center;
		font-size: 1.2rem;
		margin: 0 0 4rem;
	}
	.gallery-tax{
		flex-wrap: wrap;
		justify-content: space-between;
		border-top: 0;
		margin: 0 0 3rem;
		overflow: hidden;
	}
	.gallery-tax li{
		position: relative;
		width: 47%;
		height: 4rem;
		font-size: 1.4rem;
		text-align: left;
		margin: 0;
	}
	.gallery-tax li a{
		padding: 1.25rem 2rem 0.5rem 1.5rem;
	}
	.gallery-tax li a::before{
		width: 1rem;
		height: 0.5rem;
	}
	.gallery-popup{
		width: 94%;
		padding: 3rem;
	}
	.gallery-tab{
		min-height: 20rem;
	}
	.gallery-tabs{
		gap: 0 1rem;
		margin: 0 0 2rem;
	}
	.gallery-tabs__item{
		font-size: 1.4rem;
	}
	.gallery-tab-list{
		gap: 1rem 2%;
	}
	.gallery-tab-list__item{
		width: 49%;
		font-size: 1.4rem;
	}
	.gallery-tab-list__item label span::before{
		width: 2rem;
		height: 2rem;
	}
	.gallery-tab-list__item label span{
		padding-left: 2.8rem;
	}
	.gallery-popup__btn{
		width: 100%;
		height: 4rem;
		font-size: 1.4rem;
		margin-top: 3rem;
	}
	
	.gallery-list{
	}
	.gallery-list__item{
		width: 100%;
	}
	.gallery-list__item.size1-a,
	.gallery-list__item.size1-b,
	.gallery-list__item.size1-c,
	.gallery-list__item.size1-d{
		width: calc(50% - 10px);
		height: auto;
	}
	.gallery-list__item.size2-a,
	.gallery-list__item.size2-b{
		width: calc(50% - 10px);
		height: auto;
	}
	.gallery-list__item.size3-a,
	.gallery-list__item.size3-b{
		width: calc(50% - 10px);
		height: auto;
	}
	.gallery-list__item.size4{
		width: 100%;
		height: auto;
	}
	.gallery-list__item.size5{
		width: calc(50% - 10px);
		height: 40rem;
	}
	.gallery-list__item.size8{
		width: calc(50% - 10px);
		height: auto;
	}
	.gallery-list__ttl{
		font-size: 1.6rem;
	}
	.gallery-list__ttl br{
		display: block;
	}
	.gallery-detail{
		display: block;
		padding: 0;
	}
	.gallery-detail__wrap,
	.gallery-detail__wrap.vertical{
		display: flex;
		flex-flow: column-reverse;
	}
	.gallery-detail__inner{
		width: auto;
		box-shadow: none;
		padding: 0;
	}
	.vertical .gallery-detail-head{
		display: block;
	}
	.gallery-detail-share__ttl{
		font-size: 1.2rem;
	}
	.gallery-detail-share-list__item{
		width: 6em;
		height: 2.4em;
		font-size: 1.0rem;
		margin-left: 5px;
	}
	.gallery-detail__ttl{
		font-size: 2.0rem;
		margin: 1.5rem 0 1rem;
	}
	.gallery-detail__content,
	.vertical .gallery-detail__content{
		width: 100%;
		margin: 30px 0 0;
	}
	.gallery-detail__back{
		width: 10px;
		line-height: 1.0;
		margin-bottom: 20px;
	}
	.gallery-detail__back img{
		vertical-align: top;
	}
	.gallery-detail__img{
		width: 100%;
	}
	.gallery-detail__img img{
		width: calc((100% - 36px) / 3);
		margin-right: 18px;
		margin-top: 12px;
	}
	.gallery-detail__img.two img{
		width: calc((100% - 18px) / 2);
		margin-right: 0;
	}
	.gallery-detail__btn{
		font-size: 2.2rem;
		margin: 3.2rem 0 0;
	}
	.gallery-detail__btn a{
		width: 100%;
		min-height: 6rem;
		box-shadow: 0 4px 4px rgba(0,0,0,0.25);
	}
	.gallery-list__item a:hover .gallery-list__ttl{
		opacity: 0;
	}
}