/*! http://responsiveslides.com v1.54 by @viljamis */

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;;
  padding: 0;
  /*margin: 0;*/
  margin: 0 auto;
  /*background-image: url(../img/slide/sdbg.png);*/
  background-size: contain;
  }


@media screen and (max-width: 991px) {
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
 /* width: 60vw;*/
  padding: 0;
  /*margin: 0;*/
  margin: 0 auto;
  /*background-image: url(../img/slide/sdbg_s.png);*/
  background-size: contain;
  }
}
@media screen and (max-width: 480px) {
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  /*width: 70vw;*/
  padding: 0;
  /*margin: 0;*/
  margin: 0 auto;
  background-size: contain;
  }
}

.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
  
.rslides-wrap {
	 width: 100%;
	 position: relative; margin: 0 auto;
}
.rslides-wrap .slide-copy {
	position:absolute;
	top: 50%;
	-moz-transform: translateY(-50%);
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	left: 7%;
	width: 460px;
	background-color:rgba(255,255,255,0.7);
	padding: 20px;
	font-size: 1.45rem;
	line-height: 2.5em;
	text-align: justify;
	letter-spacing: 0.1em;
	font-family: 'Sawarabi Mincho', sans-serif;
	z-index: 10;
}

.rslides-wrap .slide-copy1 {
	position:absolute;
	top: 50%;
	
}

@media screen and (max-width: 991px) {
.slide-copy {
	position: static;
	width: 100%;
background-color: #666;
    color: #fff;
	padding: 24px 10px;
	font-size: 1.35rem;
	line-height: 2.3em;
	text-align: center;
	letter-spacing: 0.1em;
	font-family: 'Sawarabi Mincho', sans-serif;
}
}
@media screen and (max-width: 480px) {
.slide-copy {
	font-size: 1.2rem;
	line-height: 2.4em;
	text-align: center;
}
}



@media screen and (min-width: 768px){
#mainloop{/* position: absolute; */top:50%;width: 286px;z-index: 100;z-index:10;margin: 0 auto;}		
	#mainloopnaka {
	margin: 0 auto;
	/* width: 600px; */
	text-align: center;
}
h6{padding-top:150px;text-align:center;margin: 0 auto;z-index: 1000;position: absolute;text-align: center;padding-top: -100px !important;}
		
		
h6 img{
	text-align:center;
	z-index: 1200;
	}

	}
	
@media screen and (max-width: 767px) {
	
#mainloop{
position: relative;
	top:50%;
	z-index:10;
	
}		
	#mainloopnaka {
		
	margin: 0 auto;
	width: 100%;
	text-align: center;
		
	
}
h6{
padding-top:126px;
text-align:center;
	margin-top:0px !important;
}
		
	
	h6 img{
		width: 100%;
		height: auto;
		margin: 0 auto;
		display: block;
	}

	}



#row-1st {
    position: relative;
     > img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
}
#row-1st-in {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: rgba(255,255,255,0.7);
    > div {
        width: 90%;
        max-width: 320px;
        margin: 0 auto;
        font-size: 1rem;
        line-height: 1.7;
        padding: 20px 0;
    }
}
 
@media only screen and (max-width: 480px) {
    #row-1st {
        overflow: scroll;
    }
    #row-1st-in {
        width: 100%;
    }  
	
	
.bg-slider {
	width: 100vw;
	height: 400px;
	background-position:center center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
}
.bg-slider__title{
	color: #fff;
	font-size: 20px;
	line-height: 1.5;
	text-align:center;
	text-shadow: 1px 1px 1px #000;
}

	
}
@media only screen and (min-width: 801px) {	
.bg-slider {

	background-position:center center;
	background-size: ;
position: relative;
    width: 1280px;
    height: 600px;
    margin: 0 auto;
background-color: #fff;
    background-position: center top;
    background-repeat: no-repeat,repeat-x;
}
.bg-slider__title{
	color: #fff;
	font-size: 48px;
	line-height: 1.5;
	text-align:center;
	text-shadow: 1px 1px 1px #000;
}
	}
@media only screen and (max-width: 800px) {	
.bg-slider {
	width: 100vw;
	height: 300px;
	background-position:center center;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
}
.bg-slider__title{
	color: #fff;
	font-size: 28px;
	line-height: 1.5;
	text-align:center;
	text-shadow: 1px 1px 1px #000;
	display: none;
}	
}
.logopc {
    top: 6px;
    left: 50%;
    position: absolute;
    z-index: auto;
    margin-left: -152px;
}
