html,body {
	height: 100%;
}


* html .layer_board_bg,
* html .layer_board {
	position: absolute;
}

.layer_board_bg {
	position: fixed;
	width: 100%;
	height: 100%;

	z-index: 1000;

	top: 0;
	left: 0;

  opacity: 1;
	display: none;
	cursor: pointer;
}

.layer_board {
	display: none;
	position: fixed;
	left: 50%;
	/*margin: 50px 0px 0px -285px;*/
	text-align: center;
	z-index: 2000;

  margin: 0 auto;
  position: absolute;
  top: 25%;
  left: 0;
  right: 0;
  width: 680px;
}

.layer_board .content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  height: 400px;
  /*padding: 30px;*/
}
.layer_board .content img {
	border: 5px solid green;
	border-radius: 20px;
	position: relative;
	/*z-index: -1;*/
}

.layer_board .ttl {
  margin-bottom: 20px;
  text-align: center;
}

.layer_board .ttl img {
  display: inline-block;
}

.layer_board .link {
  overflow: hidden;
  text-align: center;
}

.layer_board .link span {
  float: left;
  margin: 0 10px 0 0;
}

.layer_board .link span a {
  background-color: #FFF;
  border: 2px solid green;
  border-radius: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  color: green;
  display: block;
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
  padding: 8px;
  text-decoration: none;
}

.layer_board .link span a:hover,
.layer_board .link span a:active {
  background: green;
  color: #FFF;
  font-weight: bold;
}

.layer_board .link span a:before {
  content: '';
  display: inline-block;
  margin-right: 6px;
  vertical-align: bottom;
}

.layer_board .link span.chirashi a:link:before,
.layer_board .link span.chirashi a:visited:before {
  background: url('../images/icon-chirashi_off.png') no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  height: 20px;
  width: 18px;
}
.layer_board .link span.chirashi a:hover:before,
.layer_board .link span.chirashi a:active:before {
  background: url('../images/icon-chirashi_on.png') no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  height: 20px;
  width: 18px;
}

.layer_board .link span.shop a:link:before,
.layer_board .link span.shop a:visited:before {
  background: url('../images/icon-shop_off.png') no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  height: 20px;
  width: 14px;
}
.layer_board .link span.shop a:hover:before,
.layer_board .link span.shop a:active:before {
  background: url('../images/icon-shop_on.png') no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  height: 20px;
  width: 14px;
}

.layer_board .link span.news a:link:before,
.layer_board .link span.news a:visited:before {
  background: url('../images/icon-news_off.png') no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  height: 20px;
  width: 22px;
}
.layer_board .link span.news a:hover:before,
.layer_board .link span.news a:active:before {
  background: url('../images/icon-news_on.png') no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  height: 20px;
  width: 22px;
}

.layer_board .qr {
  background: rgb(255,255,255);
  border: 2px solid green;
  border-radius: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  float: left;
  margin-top: 10px;
  width: 482px;
  padding: 6px;
}

.layer_board .qr span {
  color: green;
  font-size: 24px;
  font-weight: bold;
}

.layer_board .qr span {
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.layer_board .qr span:last-of-type {
  margin-right: 0;
}

p.btn_close {
  position: absolute;
  top: -41px;
  right: -41px;
}



/* 2016 恵方巻 */

.layer_board .content {
	/*background: #fff;*/
	height: auto;
}

.layer_board .content .ttl img {
	margin: 0 auto;
}

.layer_board .content .video {
	font-size: 0;
}

.layer_board .content .video video {
	width: 100%;
	height: auto;
}

.layer_board .content .button {
	display: block;
	margin-top: 20px;
}

.layer_board .content .button a {
	/*background: #E95383;*/
	border-radius: 50px;
	color: #fff;
	display: inline-block;
	padding: 15px 25px;
	text-decoration: none;
}

.layer_board .content .button a:after {
	background: url('../images/2016_ehomaki/icon_book.png') no-repeat;
	-webkit-background-size: contain;
	background-size: contain;
	content: '';
	display: inline-block;
	height: 18px;
	margin-left: 8px;
	vertical-align: middle;
	width: 18px;
}

.layer_board .content .button a:hover,
.layer_board .content .button a:active {
	opacity: .8;
	text-decoration: none;
}
