@charset "UTF-8";
/* CSS Document */


/******************************************************

PC設定 1000px以上の場合に適用 

*******************************************************/

.viewer {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(0,0,0,.7);
	z-index: 9998;
	display: none;
	justify-content: center;
	align-items: center;
	flex-flow: column;
}

.viewer__viewBtn:hover {
	cursor: pointer;
}

.view {
	display: flex;
}

.viewer__inner {
	max-width: 100%;
	position: relative;
}

.viewer__inner .inner__box {
	width: 90%;
	max-width: 90%;
	height: auto;
	max-height: 95vh;
	display: block;
	margin: 0 auto;
  background-color: #fff;
  padding: 60px;
  text-align: center;
}

.inner__img {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.inner__img img {
  width: 30%;
  display: block;
  margin-left: 20px;
}


.viewer__closeBtn {
	display: block;
	width: 33px;
	height: 33px;
	background-color: transparent;
	z-index: 9999;
	position: absolute;
	right: 0;
	top: -20px;
}

.viewer__closeBtn:hover {
	cursor: pointer;
}

.viewer__closeBtn::before {
	content: "";
	display: inline-block;
	width: 40px;
	height: 2px;
	background-color: #FFF;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	left: -3px;
}

.viewer__closeBtn::after {
	content: "";
	display: inline-block;
	width: 40px;
	height: 2px;
	background-color: #FFF;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	position: absolute;
	top: 0;
	right: -4px;
}




/******************************************************

タブレットの設定 768〜999pxの場合に適用 

*******************************************************/

@media screen and (max-width: 999px){

.viewer__inner img {
	max-width: 95%;

}


}



/******************************************************

タブレットの設定 〜767pxの場合に適用 

*******************************************************/

@media screen and (max-width: 767px){

.viewer__inner {
	max-width: calc(100% - 40px);	
}
	
.viewer__inner img {
	width: 100%;
  margin-bottom: 20px;

}


}

