.block-img {
	cursor: pointer;
	max-width: 240px;
	max-height: 240px;
}

.modal_open{
    display: inline-block;
    float: left; 
}
 
.modal_box {
    position: fixed;
    z-index: 7777;
    display: none;
    width: 80%;
    max-width: 840px;
    margin: 0;
    padding: 60px 2vw 80px;
    border: 2px solid #aaa;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
}

.modal_box img {
	max-width: 400px;
}

.modal_box li {
	list-style: none;
}
 
.modal_close {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 62px;
    font-size: 46px;
    color: #000;
    line-height: 62px;
    text-align: center;
}
 
.modal_close i {
    line-height: 62px;
    vertical-align: bottom;
}
 
.modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6666;
    display: none;
    width: 100%;
    height: 120%;
    background-color: rgba(0,0,0,0.7);
}

 
.modal_link {
    display: inline;
}
 
.modal_link a {
    display: inline-block;
    width: 180px;
    color: #000;
    line-height: 2.5;
    text-decoration: none;
    margin: 0 10px;
    background: #e6e6e6;
}

.left_arrow {
	position: absolute;
	top: 50%;
	left: 10%;
}

.right_arrow {
	position: absolute;
	top: 50%;
	right: 10%;
}
 
ion-icon {
  font-size: 32px;
  cursor: pointer;
}

.close {
	transform: rotate(-45deg);
	cursor: pointer;
}
 
@media screen and (max-width: 768px) {
	
  .modal_box {
      padding: 50px 2vw 40px;
      width: 90%;
  }
 
  .modal_close {
      width: 40px;
      line-height: 40px;
      font-size: 30px;
  }
 
  .modal_close i {
      line-height: 44px;
  }
 
 
  .modal_link a {
      margin: 15px auto 0;
  }
  
  .block-img {
	max-width: 100%;
	max-height: none;
}

	.modal_box img {
		max-width: 100%;
	}
	
	.modal_close {
		top: initial;
		bottom: 0;
		left: 0;
	}
	
	.right_arrow {
		right: 3%;
	}
	
	.left_arrow {
		left: 3%;
	}
 
 
}