@charset "utf-8";
/*///////////////////////////////////////
** myModalGallery---CSS **
[rewrite:2017.6.1 => 2021.7.16 => 2024.3.27]
>Landscape >Image size
////////////////////////////////////////*/
.modal {
	-js-display: flex;
	-webkit-display: flex;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9900;
	width: 100%;
	height: 100%;
	opacity: 0;
	background:#b5f0ed;
	background: rgba(255,192,215,0.8);
}
.modal img { border: 0; display: block; }
.closeWindow {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
/*>>>>>>>>>>>>>>>>>>>>>>>>>>*/
.close {
	position: absolute;
	bottom: 10px;
	right: 0;
	left: 0;
	margin: 0 auto;
	z-index: 9903;
	width: 30px;
	height: 30px;
	background: url(../images/close.png) center center no-repeat;
	background-size: cover;
/*	border-radius: 100%;*/
	cursor: pointer;
}
.mprev, .mnext {
	position: absolute;
	top: 0;
	width: 80px;
	height: 100%;
	transition: .3s;
	cursor: pointer;
	opacity: 0;
}
.mprev { left: 0; }
.mnext { right: 0; }

@media screen and (min-width:960px){
/*	PC || 960px ~	*/
	.close {
		top: 20px;
		right: 20px;
		bottom: auto;
		left: auto;
		width: 6vw;
		height: 6vw;
		max-width: 80px;
		max-height: 80px;
		margin: 0;
	}
	.mprev, .mnext {
		width: 20%;
		background-repeat: no-repeat;
	}
	.mprev {
		left: -80px;
		background-position: 90% 52%;
		background-image: url(../images/prev.png);
	}
	.mnext {
		right: -80px;
		background-position: 10% 52%;
		background-image: url(../images/next.png);
	}
	.mprev:hover, .mnext:hover {
		opacity: 1;
		transition: .3s;
	}
}

.galleryWindow {
	position: relative;
	z-index: 9902;
	width: 100%;
	max-width: 1000px;
	box-sizing: content-box;
/*	background-color: #ffffff;*/
}
/*<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.galleryWindow .galleryImgBox {
	position: relative;
/*	background: rgba(0,0,0,0.3);*/
}
.loading {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 7777;
	width: 80px;
	height: 80px;
	margin: auto;
	background: url(../images/loading.gif) center center no-repeat;
}
.galleryWindow .galleryImgBox img {
	opacity: 0;
	margin: 0 auto;
}
/*>>>>>>>>>>>>>>>>>>>>>>>>>>*/
.galleryWindow .sampleTextBox {
	display: block;
	width: auto;
	/*テキスト表示箇所・縦幅*/
	height: 250px;
	padding: 15px 0;
	color: #7c646e;
	background-color: #fff;
}
.galleryWindow .sampleText {
	width: 97%;
	margin: 0 auto;
	padding: 0 10px 50px;
	font-size: 0.8rem;
	line-height: 1.4;
	white-space: pre;
	white-space: pre-line;
}
/*<<<<<<<<<<<<<<<<<<<<<<<<<<*/
.galleryWindow .captionBox:before {
	content: '▲';
}
.galleryWindow .captionBox {
	display: block;
	width: auto;
	/*テキスト表示箇所・縦幅*/
	height: 30px;
	padding: 3px 5px;
	font-size: 0.8rem;
	color: #7c646e;
	background-color: #fff;
}
.galleryWindow .captionAudioBox {
	display: block;
	width: auto;
	padding: 5px;
}
.galleryWindow .captionAudioBox audio {
	display: block;
	width: 100%;
}
/*<<<<<<<<<<<<<<<<<<<<<<<<<<*/

@media (orientation: landscape) and (max-width: 959px) {
	.modal {
		align-items: flex-start;
		overflow: scroll;
	}
	.close {
		top: 5px;
		bottom: auto;
		right: auto;
		left: 5px;
		background-color: #000;
		background-size: 70%;
		border-radius: 100%;
	}
	.galleryWindow {
		width: 90%;
	}
}

@media screen and (min-width:960px){
/*	PC || 960px ~	*/
	.galleryWindow .sampleText {
		font-size: 0.9rem;
		line-height: 1.5;
	}
	.galleryWindow .captionBox {
		font-size: 1rem;
	}
}

/*>>>>>>>>>>>>>>>>>>>>>>>>>>*/
.galleryWindow .tse-scrollbar {
	 height: 97%;
 }
.mimg .stxt,
.mimg .mcaption, .capaudio {
	display: none;
}

.galleryMVBox video {
	position: relative;
//	z-index: 8888;
	display: block;
	width: 100%;
	max-width: 900px;
}