@charset "utf-8";
/* CSS Document */
.mfp-bg {
  background: #000;
  opacity: 0.5;
  z-index: 10000000;}
  
.mfp-zoom-out-cur,
.mfp-zoom-out-cur
.mfp-image-holder
.mfp-close {
  cursor: auto;}

.mfp-auto-cursor .mfp-content,
.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: default;}
  
.mfp-wrap:not(.mfp-zoom),
.mfp-wrap .mfp-content figure {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center; 
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;}
.mfp-wrap.mfp-zoom.mfp-zoomAutoW figure {
	-webkit-box-pack: start !important;
  -ms-flex-pack: start !important;
	justify-content: flex-start !important;}
.mfp-wrap.mfp-zoom.mfp-zoomAutoH figure {
	-webkit-box-align: start !important;
  -ms-flex-align: start !important;
	align-items: flex-start !important;}
.mfp-wrap {z-index: 10000002;}
  
.mfp-container {
  position: relative;
  background: rgba(0,0,0,9);
  border-radius: 5px;
  box-sizing: border-box;}

.mfp-content {position: static;}

.mfp-image-holder .mfp-content,
.mfp-content .mfp-figure,
.mfp-content figure {
	width: 100%;
  height: 100%;}
	
.mfp-wrap.mfp-zoom .mfp-image-holder {
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: none;
	min-height: 100%;}
.mfp-wrap.mfp-zoom .mfp-content figure {
	position: relative;
	overflow: auto;}
.mfp-wrap.mfp-zoom img.mfp-img {
	max-width: none !important;
	max-height: none !important;}

.mfp-image-holder .mfp-close {
  top: 0;
  right: 0;
  width: 35px;
  height: 35px;
  line-height: 35px;
  font-size: 45px;
  cursor: pointer !important;
  opacity: 1;
  z-index: 1047;}

.mfp-arrow:before,
.mfp-arrow:after {
  content: normal !important;
  border: none !important;}

.mfp-arrow {
  width: 50px;
  background-size: 40px auto !important;
  cursor: pointer !important;
  opacity: 1;}
button.mfp-arrow.mfp-arrow-right {background: url(../img/icon_arrowR-white.png) center no-repeat;}
button.mfp-arrow.mfp-arrow-left {background: url(../img/icon_arrowL-white.png) center no-repeat;}

img.mfp-img {
  padding: 0 !important;
  max-height: 100% !important;
  cursor: zoom-in;}
.mfp-zoom img.mfp-img {cursor: zoom-out;}

.mfp-preloader {
	color: #f7f7f7;
	font-size: 22px;}

.mfp-btnDL {
	margin-right: auto;
	margin-left: auto;
	width: 150px;}

.mfp-btnDL .c-btn {border-radius: 20px;}
	
.mfp-bottom-bar {
	position: static;
	margin-top: 18px;
	box-sizing: border-box;}
.mfp-title,
.mfp-counter {
	width: 50%;
	box-sizing: border-box;
	overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  -webkit-text-overflow: ellipsis;
  text-overflow: ellipsis;}
.mfp-title {float: left;}
.mfp-counter {
	position: static;
	float: right;
	text-align: right;}

.mfp-figure:after {content: normal !important;}
      
/* 899px以下（タブレット狭め・スマホ） */
@media screen and (max-width:899px) {
	.mfp-container {
		padding: 15px 35px 90px 35px;
		width: 90%;
		height: 80%;
		max-width: 90%;
		max-height: 80%;}
	
	.mfp-btnDL {margin-top: 40px;}
	
  .mfp-arrow {
    -webkit-transform: scale(1);
    transform: scale(1);
		margin-top: -92px;
    width: 35px;
    background-size: 28px auto !important;}
    
}

/* 900px以上（タブレット広め・PC） */
@media screen and (min-width:900px) {
	.mfp-container {
		padding: 15px 50px 60px 50px;
		width: 74%;
		height: 86%;
		max-width: 74%;
		max-height: 86%;}
	
	.mfp-btnDL {margin-top: 10px;}
	
	.mfp-arrow,
	.mfp-arrow:active {
		margin-top: -76px;}
}

