@charset "UTF-8";
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
html, body {
	width: 100%;
	height: auto;
	padding: 0;
	margin: 0;
}
body {
	background: #333;
	background-image: url(../images/bg.jpg);
	background-position: center;
	background-size: cover;
	color: #fff;
}
#puzzle_box {
	width: 320px;
	height: 320px;
	margin: 0 auto;
	position: relative;
	display: block;
	box-shadow: 0 0 10px #000;
	background: #CCC;
}
h1 {
	margin: 0 0 30px 0;
	padding: 10px 0;
	display: inline-block;
	text-shadow: 0 0 10px #4b7d59, 2px 2px 3px #4b7d59, -2px 2px 3px #4b7d59, 2px -2px 3px #4b7d59, -2px -2px 3px #4b7d59;
	background-image: url(../images/title_bg.gif);
	background-size: cover;
	background-position: center;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}
.piece {
	width: 80px;
	height: 80px;
	background-image: url(../images/pict.jpg);
	position: absolute;
}
.title, .footer {
	text-align: center;
	width: 90%;
	padding: 30px 0;
	margin: 0 auto;
}
#close {
	display: none;
}

@media screen and (max-width : 900px) {
#puzzle_box {
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
#close {
	cursor: pointer;
	max-width:400px;
	margin:20px auto;
	padding: 10px 30px;
	display: inline-block;
	border: 5px solid;
	border-radius: 10px;
	display: block;
}

}
