/* =================================
	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_tit1{ background-image:url(../story/img/story_tit1_n.png);}
.story_tit2{ background-image:url(../story/img/story_tit2.png);}
.story_tit3{ background-image:url(../story/img/story_tit3.png);}
.story_tit4{ background-image:url(../story/img/story_tit4.png);}
.story_tit5{ background-image:url(../story/img/story_tit5.png);}
.story_tit6{ background-image:url(../story/img/story_tit6.png);}
.story_tit7{ background-image:url(../story/img/story_tit7.png);}
.story_tit8{ background-image:url(../story/img/story_tit8.png);}
.story_tit9{ background-image:url(../story/img/story_tit9.png);}
.story_tit10{ background-image:url(../story/img/story_tit10.png);}
.story_tit11{ background-image:url(../story/img/story_tit11.png);}

@media all and (min-width: 768px) {
.story_tit{
	width: 750px;
	height: 100px;
	background-repeat:no-repeat;
	/*border-bottom: 2px solid #4a3b15;*/
	margin: 0 auto 20px;
	/*padding-bottom:15px;*/
}
}
@media all and (max-width: 767px) {
.story_tit{
	background-repeat: no-repeat;
	background-size: cover;
	height: 0;
	margin:0 auto 5px;
	padding-top:13.3333%;
}
}

/*	guest_area
============================== */
.guest_tit{
	color: #5b4a1f;
	text-shadow:rgba(214,185,130,0.7) 2px 2px 1px;
	text-align: center;
}
@media all and (min-width: 768px) {
.guest_area{
	margin: 55px 0 0;
	padding-top: 25px;
}
.guest_tit{
	font-size: 160%;
	border-top:2px solid #5b4a1f;
	border-bottom:2px solid #5b4a1f;

}
}
@media all and (max-width: 767px) {
.guest_area{
	margin: 30px 0 10px;
	padding-top: 10px;
}
.guest_tit{
	font-size: 130%;
	border-top:1px solid #5b4a1f;
	border-bottom:1px solid #5b4a1f;
}
}

/*	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;
}

.guest_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;
  }
}

/*	guest_area text_only
============================== */
.cast_box{
	line-height: 1.7;
	text-align: center;
	margin: 0 auto;
}
.cast_box table th, .cast_box table td {
	vertical-align:bottom;
}
.cast_box table th {
	width:50%;
}
.hoka{
	text-align: right;
}
.space{
	height: 1em;
}
@media all and (min-width: 768px) {
.cast_box{
	font-size: 175%;
	padding: 20px 0 0;
}
}
@media all and (max-width: 767px) {
.cast_box{
	font-size: 125%;
	padding: 10px 0 0;
}
}
/*	table
============================== */

table {
	width:100%;
	border-collapse:collapse;
	border-spacing:0;
	padding:0;
	font-weight: bold;
	/*text-shadow: 1px 1px 0px #d2d2d2;*/
}
table th, table td {
	vertical-align:top;
	line-height:2;
	text-align:left;
	padding-bottom:0.3em;
}
.cast_box table th, .cast_box table td {
	vertical-align:bottom;
}
.staff_box table th, .staff_box table td {
	padding-bottom:0.75em;
}
table th {
	text-align:right;
	font-weight:normal;
	white-space: nowrap;
}
table th span{
	background-color: #fff500;
	font-size: 90%;
	padding: 5px;
}
.cast_box table th {
	width:47%;
	font-weight: bold;
}
table td.naka {
	font-family: sans-serif;
	color:#a4a4a4;
	text-align:center;
	width:2em;
	text-shadow:none;
	font-weight: normal;
}
.cast_box a{
	color:#d73026;
	font-weight: bold;
}
.cast_box a:hover{
	text-decoration:none;
}
@media all and (min-width: 768px) {
table th, table td {
	font-size:87.5%;
}
}
@media all and (max-width: 767px) {
table th, table td {
	font-size:83%;
}
}

/*	bk_memlist
============================== */
ul.bk_memlist {
	display: flex;
	flex-wrap: wrap;
}
ul.bk_memlist li{
	background-color: #dac17f;
	box-shadow:rgba(218,193,127,0.4) 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: #4e3f1b;
	text-align: center;
}
ul.bk_memlist h4{
	position: relative;
}
ul.bk_memlist h4::after {
  content: '';
  width: 8px;
  height: 8px;
  border: 0px;
  border-top: solid 2px #4e3e1a;
  border-right: solid 2px #4e3e1a;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 13px;
  margin-top: -5px;
  transition: all 0.2s;
}
@media all and (min-width: 768px) {
.bknm_area{
	margin: 50px 0 0;
}
ul.bk_memlist {
	margin: 40px 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: 35px 70px 150px;
}
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%;
}

}
