/* =================================
	gallery CSS
================================= */

@media all and (min-width: 768px) {
.gallery .contents{
	padding: 30px 70px 100px;
}
p.info_text{
	text-align: center;
	margin:10px 0 15px;
}
.gallery_area{
	padding: 10px 55px 30px;
}
}
@media all and (max-width: 767px) {
p.info_text{
	text-align: center;
	margin:0px 0 5px;
}
.gallery_area{
	padding: 10px 0 20px;
}
}

/*	story_tit
============================== */

.story_tit0{ background-image:url(../story/img/story_tit0.png); background-repeat: no-repeat;}
.story_tit1{ background-image:url(../story/img/story_tit1_2.png); background-repeat: no-repeat;}
.story_tit2{ background-image:url(../story/img/story_tit2.png); background-repeat: no-repeat;}
.story_tit3{ background-image:url(../story/img/story_tit3.png); background-repeat: no-repeat;}
.story_tit4{ background-image:url(../story/img/story_tit4.png); background-repeat: no-repeat;}
.story_tit5{ background-image:url(../story/img/story_tit5.png); background-repeat: no-repeat;}
.story_tit6{ background-image:url(../story/img/story_tit6.png); background-repeat: no-repeat;}
.story_tit7{ background-image:url(../story/img/story_tit7.png); background-repeat: no-repeat;}
.story_tit8{ background-image:url(../story/img/story_tit8.png); background-repeat: no-repeat;}
.story_tit9{ background-image:url(../story/img/story_tit9.png); background-repeat: no-repeat;}
.story_tit10{ background-image:url(../story/img/story_tit10.png); background-repeat: no-repeat;}

@media all and (min-width: 768px) {
.story_tit{
	width: 800px;
	height: 88px;
	margin: 0 auto 40px;
}
}
@media all and (max-width: 767px) {
.story_tit{
	padding-top: 11%;
	overflow: hidden;
	height: 0;
	background-size: contain;
	margin-bottom: 25px;
}
}

/*	memlist
============================== */
.memlist {
  display: flex;
  flex-wrap: wrap;
}
.memlist li {
  text-align: center;
}
.memlist li .lazy {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  display: block;
  margin: 0 auto 0px;
  position: relative;
  height: 0;
  padding-top: 66.6666%;
  background-color: #fafb37;
}
.center {
  margin: 0 auto!important;
}
@media all and (min-width: 768px) {
  .memlist {
    margin: 40px auto 0;
  }
  .memlist li {
    width: 30%;
    float: left;
    margin: 3px 5px 30px;
    width: -webkit-calc(100% / 3 - 10px);
    width: calc(100% / 3 - 10px);
  }
  .memlist li .lazy {
    margin: 0 0 6px;
    box-shadow: 4px 4px #fafb37;
  }
  .memlist li .lazy:before {
    width: 38px;
    height: 38px;
  }
  .memlist li .lazy:after {
    left: 25px;
    bottom: 18px;
    border-width: 9px 0 9px 14px;
  }
}
@media all and (max-width: 767px) {
  .memlist {
  margin: 30px 0 0;
  }
  .memlist li {
  margin: 0px auto 15px;
  width: 250px;
  height: 167px;
  background-size: 250px 167px;
  }
  .memlist li .lazy {
    margin: 0 0 5px;
    box-shadow: 3px 3px #fafb37;
  }
}

/*	bk_tit
============================== */
.bk_tit{ background-image:url(../story/img/bk_tit.png); background-repeat: no-repeat;}
@media all and (min-width: 768px) {
.guest_area{
	margin: 55px 0 0;
	padding-top: 25px;
}
.bk_tit{
	width: 820px;
	height: 55px;
	margin: 0 auto 40px;
}
}
@media all and (max-width: 767px) {
.guest_area{
	margin: 30px 0 10px;
	padding-top: 10px;
}
.bk_tit{
	padding-top: 6.7073%;
	overflow: hidden;
	height: 0;
	background-size: contain;
	margin-bottom: 25px;
}
}

/*	bk_memlist
============================== */
ul.bk_memlist {
	display: flex;
	flex-wrap: wrap;
}
ul.bk_memlist li{
	background: linear-gradient(to bottom right, #7bc121, #2f9d18);
	background: -webkit-linear-gradient(top left, #7bc121, #2f9d18);
	box-shadow:rgba(0,0,0,0.2) 2px 2px 1px;
}
ul.bk_memlist li .lazy {
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	display: block;
	margin: 0 auto 0px;
	position: relative;
	height: 0;
	padding-top: 66.6666%;
	text-align: center;
}
ul.bk_memlist li a{
	display: block;
	text-decoration: none;
	color: #fff;
	text-align: center;
}
ul.bk_memlist h4{
	position: relative;
}
ul.bk_memlist h4::after {
	content: "";
	bottom: 0;
	right: 0;
	border-top: 15px solid transparent;
	border-right: 15px solid #000;
	position: absolute;
	z-index: 100;
	transition: all 0.2s;
}
@media all and (min-width: 768px) {
.bknm_area{
	margin: 50px 0 0;
}
ul.bk_memlist {
	margin: 30px auto 0;
}
ul.bk_memlist li {
	width: 20%;
	float: left;
	margin: 3px 7px 30px;
	width: -webkit-calc(100% / 5 - 14px);
	width: calc(100% / 5 - 14px);
}
ul.bk_memlist li a{
	transition: 0.2s ease-in-out;
}
ul.bk_memlist li a:hover{
	filter: alpha(opacity=70);
	-moz-opacity:0.7;
	opacity:0.7;
}
ul.bk_memlist li .lazy{
	margin: 0 0 0px;
}
}
@media all and (max-width: 767px) {
.bknm_area{
	margin: 30px 0 0;
}
ul.bk_memlist {
	margin: 15px auto 0;
}
  ul.bk_memlist li {
	width: 50%;
	float: left;
	margin: 2px 4px 20px;
	width: -webkit-calc(100% / 3 - 8px);
	width: calc(100% / 3 - 8px);
}
ul.bk_memlist li .lazy{
	margin: 0 0 0px;
}
}


/*	memlist
============================== */
ul.memlist {
  display: flex;
	flex-wrap: wrap;
}
ul.memlist li{
	text-align: center;
}
ul.memlist li .lazy {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  display: block;
  margin: 0 auto 0px;
  position: relative;
  height: 0;
  padding-top: 66.6666%;
	background-color: #dedede;
}
.role{
	background-color: #fff500;
	padding: 3px;
	margin-left: 1em;
	font-size: 95%;
}
.center{
	margin: 0 auto!important;
}
@media all and (min-width: 768px) {
ul.memlist {
  margin: 40px auto 0;
}
ul.memlist li {
	width: 50%;
	float: left;
	margin: 3px 15px 30px;
	width: -webkit-calc(100% / 2 - 30px);
	width: calc(100% / 2 - 30px);
}
ul.memlist li .lazy{
	margin: 0 0 6px;
	box-shadow: 5px 5px #dedede;
}
ul.memlist li .lazy:before{
  width: 38px;
  height: 38px;
}
ul.memlist li .lazy:after{
	left: 25px;
  bottom: 18px;
  border-width: 9px 0 9px 14px;
}
}
@media all and (max-width: 767px) {
ul.memlist {
  margin: 15px auto 0;
}
  ul.memlist li {
    width: 50%;
		float: left;
    margin: 2px 4px 20px;
    width: -webkit-calc(100% / 2 - 8px);
    width: calc(100% / 2 - 8px);
		font-size: 90%;
  }
ul.memlist li .lazy{
	margin: 0 0 5px;
	box-shadow: 3px 3px #dedede;
}
}

@media all and (min-width: 768px) {
.gallery div.contents{
	padding: 40px 70px 40px;
}
p.info_text{
	text-align: center;
	margin:10px 0 15px;
}
div.gallery_area{
	padding: 10px 55px 30px;
}
}
@media all and (max-width: 767px) {
p.info_text{
	text-align: center;
	margin:0px 0 5px;
}
div.gallery_area{
	padding: 10px 0 20px;
}
}

/*	gallery
============================== */
ul.lightbox-gallery:after {
	content:"";
	display:block;
	clear:both;
}
ul.lightbox-gallery li {
	float:left;
}
ul.lightbox-gallery li > span, ul.lightbox-gallery li > span > a, ul.lightbox-gallery li > span > a img {
	display:block;
}
ul.lightbox-gallery li > span {
	background-repeat:no-repeat;
	background-position:left top;
}
@media all and (min-width: 768px) {
ul.lightbox-gallery li {
	margin-right:2px;
	margin-bottom:2px;
}
ul.lightbox-gallery li:nth-child(4n) {
	margin-right:0;
}
ul.lightbox-gallery li > span > a img {
	width:175px;
	height:116px;
}
ul.lightbox-gallery li > span > a:hover {
	background-color:#fff;
	opacity:0.3;
}
}
@media all and (max-width: 767px) {
ul.lightbox-gallery li {
	width:25%;
	margin-bottom:5px;
}
ul.lightbox-gallery li:nth-child(4n-3) > span {
	padding-right:4px;
}
ul.lightbox-gallery li:nth-child(4n-2) > span {
	padding-left:1px;
	padding-right:3px;
}
ul.lightbox-gallery li:nth-child(4n-1) > span {
	padding-left:3px;
	padding-right:1px;
}
ul.lightbox-gallery li:nth-child(4n) > span {
	padding-left:4px;
}
ul.lightbox-gallery li > span {
	-webkit-background-clip:content-box;
	background-clip:content-box;
	-webkit-background-size:cover;
	background-size:cover;
}
ul.lightbox-gallery li > span > a {
	position:relative;
	height:0;
	padding-top: 66.28%;
}
ul.lightbox-gallery li > span > a img {
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
}

}
