body{
	background-color: #EDE9E2;
}
section{
	padding: 0;
	margin: 0;
}

.gallery-banner{
	position: relative;
}
.pc-banner{
	width: 100%;
	height: 22vw;
	& > img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		vertical-align: middle;
	}
}
.sp-banner{
	display: none;
	width: 100%;
	height: 110vw;
	& > img{
		object-fit: cover;
		object-position: center;
		width: 100%;
		height: 100%;
		vertical-align: middle;
	}
}
.banner-gallery-logo{
	position: absolute;
	top: 18vw;
	left: -3.1vw;
	width: 38.4vw;
	height: 9.5vw;
	z-index: 1;
	& > img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}
}


.gallery-page{
	background: url("../images/background/04_bg-pc.png");
	background-repeat: no-repeat;
	padding-top: 3vw;
	padding-bottom: 8vw;
	background-size: cover;
}

.gallery-section{
	margin: 0 5.2vw;
	background: #fff;
	border: 5px solid #000;
	box-shadow: 10px 10px 0px -5px #fff, 10px 10px 0px 0px #000;
	/*min-height: 115vw;*/
}
.gallery-contents{
	padding: 5vw 6vw 40px;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	padding-bottom: 0px;
}


.item-image{
	
	/*
	width: 400px;
	height: 400px;
	*/
	width: 100%;
	height: 20vw;
	
	& > img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: 60% 0;
	}
}

.item-description{
	padding: 1.6vw;
	border-top: 5px solid;
	width: 100%;
	font-size: 1vw;
}
.item-title{
	/*
	font-size: 25px;
	line-height: 35px;
	*/
	font-weight: bold;
	margin: 0;
	margin-bottom: 0.5em;

}

.time-upload{
	/*
	font-size: 18px;
	line-height: 35px;
	*/
	font-size: 0.75em;
	margin: 0;
	font-weight: bold;
}

.gallery-item{
	width: 21.3vw;
	/*
	width: fit-content;
	*/
	border: 5px solid black;
	box-shadow: 8px 8px 0px 0px #000, 8px 8px 0px -5px #000;
	margin-bottom: 4vw;
	cursor: pointer;
	text-align: left;
}

.odd{
	background: #EAE6DE;
}

.even{
	background: #FF7600;
}

.pagination-page{
	text-align: center;
	/*
	font-size: 25px;
	line-height: 35px;
	*/
	font-size: 1.5vw;
	margin-bottom: 5vw;
	margin-top: 2vw;
}

.pagination-page .page-numbers{
	text-decoration: none;
	/*margin-right: 15px;*/
	margin-right: 0.5em;
	color: black;
	font-weight: bold;
}

#popup-image-detail{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10001;

	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;

	width: 100%;
	height: 100%;
	
	overflow: hidden auto;
	
	background-color: rgba(0, 0, 0, 0.5);
}
#popup-image-detail::before,#popup-image-detail::after{
	content: " ";
	display: block;
	width: 100%;
	height: 5vw;
	flex-shrink: 0;
	z-index: -2;
}
#popup-back{
	position: absolute;
	top: 0;
	width: 100%;
	height: 100vh;
	z-index: -1;
}
#popup-image-detail.popup-image-detail_hide{
	display: none;
}

.main-popup{
	display: flex;
	justify-content: space-between;
	
	width: 55%;
	min-width: 700px;
	height: auto;

	border: 5px solid;
	background: #EDE9E2;
	box-shadow: 10px 10px 0px -5px #fff, 10px 10px 0px 0px #000;
	
	margin: 0 2vw;

	overflow: hidden;
	flex-shrink: 0;
}

#block-popup-close{
	width: 3em;
	height: 3em;

	padding: 0.5em;

	position: fixed;
	right: 0;
	top: 0;
	transition: opacity 0.2s;

	background-color: #fd7e14;
	border-radius: 1.5em;

	& > img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		vertical-align: top;
	}
}
#block-popup-close:hover{
	opacity: 0.5;
}

.popup-img{
	width: 70%;
	height: auto;
	text-align: center;
	border-right: 0.3vw solid black;
}
#popup-member-img{
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.popup-content{
	width: 30%;
	height: 100%;
	padding: 2.5vw;

	font-size: clamp(11px, 1vw, 20px);
	font-weight: bold;

	overflow: hidden;
}

#popup-title{
	font-size: 1.4em;
	line-height: 1.4em;
	margin-bottom: 1em;
	font-weight: bold;
}
#popup-time{
	font-size: 1em;
	line-height: 1em;
	margin-bottom: 1em;
}
#popup-description {
	font-size: 1em;
	line-height: 2em;
	margin-bottom: 1em;

	-ms-overflow-style: none;
	scrollbar-width: none;
}
#popup-description::-webkit-scrollbar {
	display: none;
}

.action-bottom-widget{
	margin-top: 2vw;
}

@media screen and (max-width: 760px) {
	.sp-banner{
		display: block;
	}

	.pc-banner{
		display: none;
	}
	.banner-gallery-logo {
		width: 57vw;
		height: 14.1vw;
		bottom: -22vw;
		left: -7vw;
		top: unset;
	}
	
	.gallery-page{
		background: url("../images/background/04_bg-sp.png");
		background-repeat: no-repeat;
		padding-top: 15vw;
	}
	.gallery-section{
		box-shadow: none;
		min-height: unset;
	}
	.gallery-contents{
		padding: 22vw 10vw 40px;
		justify-content: center;
		padding-bottom: 0px;
	}
	
	.gallery-item{
		margin-bottom: 9vw;
	}
	
	.gallery-item {
		width:53.9vw;
	}
	.item-image{
		height: 52.6vw;
		width: 100%;
		& > img{
			object-position: center;
		}
	}
	.item-description{
		padding: 3vw;
		font-size: 3vw;
	}
	.item-title {
		/*font-size: 3.3vw;*/
		/*line-height: 4.6vw;*/
	}
	.time-upload{
		/*font-size: 2.4vw;*/
		/*line-height: 4.6vw;*/
	}
	
	.pagination-page{
		padding: unset;
		margin-bottom: 10vw;
		font-size: 3vw;
	}

	.main-popup{
		width: 90%;
		min-width: auto;
		
		flex-wrap: wrap;
	}
	.popup-content {
		width: 100%;
		height: 40%;
		padding: 3.2vw;

		font-size: max(14px,2vw);
	}
	#popup-time {
		margin: 0;
	}
	hr{
		width: 50%;
	}	
	#popup-description{
		height: 30%;
	}
	
	.popup-img {
		width: 100%;
		height: 60%;
	}

}
@media screen and (min-width:761px) and (max-width: 1920px) {
	.gallery-item{
		width: 21.3vw;
	}
	.item-image {
		width: 100%;
		height: 20.4vw;
		& > img{
			object-position: center;
		}
	}
	.item-title {
		font-size: 1.3vw;
		line-height: 1.8vw;
	}
	.time-upload{
		font-size: 0.94vw;
		line-height: 1.8vw;
	}
}

.body-no-scroll {
	touch-action: none;
	-webkit-overflow-scrolling: none;
	overflow: hidden;
	overscroll-behavior: none;
	/*position: fixed;*/
	width: 100%;
	-ms-touch-action: none;
}
