#rim-tpl-header #rim-tpl-langauge .rim-tpl-first{
	z-index: 99;
}
#main .main-inner{
	padding-top:40px;
}

#main .main-inner .content-wrap{
	margin-top:50px;
	padding-top:65px;
	padding-bottom: 140px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
@media screen and (max-width: 640px){
	#main{
		padding:0;
	}
	#main .main-inner .content-wrap{
		padding:20px;
	}
}
#main .gallery-title{
	text-align: center;
	
}
@media screen and (max-width: 640px){
	#main .gallery-title{
		
	}
	#main .gallery-title img{
		width:54.6%;
	}
}
#main .main-inner .tips{
  margin-top:10px;
  font-size: 32px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 50px;
}
@media screen and (max-width: 640px){
  #main .main-inner .tips{
      /*margin-top:-5px;*/
      font-size: 22px;
      margin-bottom: 40px;
      
    }
}
#main .gallery-wrap{
	margin-bottom: 40px;
}
#main .gallery-wrap a{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items:center;
	color:#333;
	background: #f0f0f0;
	padding:40px;
	transition: all .3s;
}
@media screen and (max-width: 640px){
	#main .gallery-wrap a{
		display: block;
		padding:30px 20px;
	}
}
#main .gallery-wrap a:hover{
	text-decoration: none;
	color:#333;
	background: #f8f8f8;
}
#main .gallery-wrap a:hover .btn{
	background: #7c7c7c;
}
#main .gallery-wrap .sec-img{
	width: 43.5%;
	text-align: center;
}
#main .gallery-wrap .sec-img img{
	/*max-width: 392px;*/
	/*width:100%;*/
}
#main .gallery-wrap .sec-img2{
	width: 52.8%;
}
/*#main .gallery-wrap .sec-img2 img{
	max-width: 476px;
}*/
@media screen and (max-width: 640px){
	#main .gallery-wrap .sec-img{
		width: 100%;
		text-align: center;
	}
	#main .gallery-wrap .sec-img img{
		width:50%;
	}
	#main .gallery-wrap .sec-img2{
		width: 100%;
	}
	/*#main .gallery-wrap .sec-img2 img{
		width: 100%;
	}*/
}
#main .gallery-wrap .sec-info{
	width: 43.5%;
	text-align: center;
}
#main .gallery-wrap .sec-info .name{
	font-size: 40px;
	margin-bottom: 0px;
}
#main .gallery-wrap .sec-info .ja{
  font-size: 14px;
  margin-bottom: 20px;
}
@media screen and (max-width: 640px){
	#main .gallery-wrap .sec-info{
		width:100%;
		margin-top:20px;
	}
	#main .gallery-wrap .sec-info .name{
		font-size: 26px;
		
	}
  #main .gallery-wrap .sec-info .ja{
    font-size: 12px;
    margin-bottom: 30px;
  }
}
#main .gallery-wrap .sec-info .btn{
	font-size: 16px;
	width:260px;
	height: 60px;
	line-height: 60px;
	text-align: center;
	background: #4d4d4d;
	color:#fff;
	border-radius: 30px;
	margin:0 auto;
	position: relative;
}
@media screen and (max-width: 640px){
	#main .gallery-wrap .sec-info .btn{
		font-size: 14px;
		width:220px;
		height: 50px;
		line-height: 50px;
	}
}
#main .gallery-wrap .sec-info .btn:after{
	content: "＋";
	display: inline-block;
	position: absolute;
	right: 30px;
	top: 50%;
  margin-top: -8px;
	width:16px;
	height: 16px;
	line-height: 16px;
  font-size: 20px;
}
@media screen and (max-width: 640px){
  #main .gallery-wrap .sec-info .btn:after{
    font-size: 16px;
    top: 50%;
    margin-top: -6px;
    width:12px;
    height: 12px;
    line-height: 12px;
  }
}


.mfp-bg{
  background:#fff;
  opacity: 1;
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2043;
  position: fixed !important;
  outline: none !important;
  -webkit-backface-visibility: hidden;
  overflow: hidden auto !important;
}
.mfp-ready{
	position: fixed !important;
	height: 100% !important;
	top:0 !important;
	left:0 !important;
}
.mfp-container{
  position: relative;
}
.mfp-container .closebtn {
  width: 20px;
  height: 30px;
  color: #333;
  font-size: 36px !important;
  position: fixed;
    right: 25px;
    top:10px;
  cursor: pointer;
}
.mfp-auto-cursor .mfp-content{
  height: 100%;
  box-sizing: border-box;
 
  padding:3% 25% ;
}

@media screen and (max-width: 640px){
  .mfp-auto-cursor .mfp-content{
    padding:20% 30px 0;
  }
  .mfp-container .closebtn{
    
    right: 10px;
    top:10px;
  }
}

#gallery-modal1,
#gallery-modal2,
#gallery-modal3,
#gallery-modal4{
  position: relative;
}
.swiper {
      width: 100%;
      height: 100%;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;
      /*display: flex;
      justify-content: center;
      align-items: center;*/
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;

    }

   

    .swiper {
      width: 100%;
      height: 300px;
      margin-left: auto;
      margin-right: auto;
    }

    .swiper-slide {
      background-size: cover;
      background-position: center;
      /*margin-bottom: 30px;*/
    }

    .mySwiper2 {
      height: 66.66%;
      width: 100%;
      overflow: hidden;
      box-sizing: border-box !important;
      position: relative;
      
    }
    .mySwiper2 .swiper-slide{
    	/*margin-bottom: 25px;*/
    	position: static;
    }
    .mySwiper2 .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .mySwiper2  .swiper-slide.spe{
      text-align: center;
    }
    .mySwiper2  .swiper-slide.spe img  {
      width: 48.74%;
      margin-left: auto;
      margin-right: auto;
    }
    .mySwiper2  .swiper-slide.spe2 img  {
      width: 43.41%;
      margin-left: auto;
      margin-right: auto;
    }
    .mySwiper2  .swiper-slide.eq img  {
      width: 86.5%;
      margin-left: auto;
      margin-right: auto;
    }

    @media screen and (max-width: 640px){
      /*.mySwiper2 .swiper-slide{
        padding-top:35%;
      }*/
      /*.mySwiper2  .swiper-slide.spe{
        padding-top:0;
      }*/
      .mySwiper2 .swiper-slide img{
        vertical-align: middle;
      }
      .mySwiper2  .swiper-slide.spe img{
         width: 100%;
      }
      .mySwiper2  .swiper-slide.spe2 img{
         width: 100%;
      }
      .mySwiper2  .swiper-slide.eq img{
      	 width: 100%;
      }
     
      /*.mySwiper2  .swiper-slide p{
	    	position: relative;
	    	bottom:-30vw;
	    }
	    .mySwiper2  .swiper-slide.spe p{
	    	position: relative;
	    	bottom:0;
	    }
	    .mySwiper2  .swiper-slide.spe2 p{
	    	position: relative;
	    	bottom:0;
	    }*/
    }

    .mySwiper {
      height: 20%;
      box-sizing: border-box;
      
      overflow: hidden;
    }

    .mySwiper .swiper-slide {
      
      position: relative !important;
      /*opacity: 0.4;*/
      border-right:1px solid #eee;
      width: 16.66% !important;
      cursor: pointer;
      box-sizing: border-box;
      padding:0 2px;
      
    }

    /*.mySwiper .swiper-slide-thumb-active {
      opacity: 1;
    }*/

    .mySwiper  .swiper-slide.spe  {
      width: 8.4% !important;

    }
   
    .mySwiper .swiper-slide:before{
      content: "";
      display: inline-block !important;
      width:100% !important;
      height: 100% !important;
      background:#fff !important;
      opacity: 0.65 !important;
      position: absolute !important;
      left:0;
      top:0;
    }
    .mySwiper .swiper-slide-thumb-active:before{
      opacity: 0 !important;
    }

    

     .mySwiper .swiper-slide img{
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;

    }
    @media screen and (max-width: 640px){
    	.mySwiper .swiper-slide{
    		width: 24.44% !important;
    	}
    	.mySwiper  .swiper-slide.spe  {
	      width: 13% !important;

	    }
    }

  .swiper-button-next{
    background: none;
    color:#000 !important;
    right: -60px !important;
    top: 40% !important;
  }
  .swiper-button-prev{
    background: none;
    color:#000 !important;
    left: -60px !important;
    top: 40% !important;
  }




    .swiper-pagination-fraction{
      /*display: none;*/
      width: 100% !important;
     
      text-align: right !important;
      font-size: 24px;
      bottom: var(--swiper-pagination-bottom,25px) !important;
    }
    .swiper-pagination-current{
      font-size: 22px;
    }
    .swiper-pagination-total{
      font-size: 14px;
      margin-left: -5px;
    }
    
    .mySwiper2 .swiper-slide .subtitle{
      
      width: 100%;
    }
    .mySwiper2 .swiper-slide>p{
      width: 90%;
      font-size: 14px;
      text-align: left;
      line-height: 1.3;
      padding-top: 8px;
      padding-bottom: 35px !important;
    }

    @media screen and (max-width: 640px){
      .mySwiper2 .swiper-slide>p{
       
        font-size: 3.2vw;
        width: 100% !important;
        
      }
      .swiper-pagination-fraction{
        font-size: 20px;
        bottom: var(--swiper-pagination-bottom,0px) !important;
      }
      .swiper-pagination-current{
        font-size: 18px;
      }

      .swiper-button-next{
          
          right: -35px !important;
          top: 42% !important;
        }
        .swiper-button-prev{
          
          left: -35px !important;
          top: 42% !important;
        }
    .swiper-button-next::after, .swiper-button-prev::after{
      font-size: 24px !important;
    }
}


.swiper-wrapper{
	align-items: center;
	position: static;
}