input.open-demo {
	display: none !important;
}

input.open-demo:checked ~ .fixed-box {
	bottom: -250px;
}

input.open-demo:checked ~ .fixed-box label img {
	transform: rotate(-45deg);
}

.fixed-box {
	position: fixed;
	z-index: 2;
	right: 15px;
	bottom: 15px;
	width: 280px;
	padding: 20px;
	-webkit-transition-duration: .5s;
	-moz-transition-duration: .5s;
	transition-duration: .5s;
	border: 1px solid #ddd;
	border-radius: 4px;
	background-color: #fff;
	font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
}

.fixed-box .buy-theme img.capture {
	max-width: 100%;
	margin-top: 10px;
}

.fixed-box label {
	position: absolute;
	top: -20px;
	right: 10px;
	width: 40px;
	cursor: pointer;
}

.fixed-box label img {
	max-width: 100%;
}

.fixed-box .buy-theme span {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: .065em;
	text-align: center;
}

.fixed-box .demo-link {
	margin-top: 15px;
	padding: 15px 0 0;
	border-top: 1px solid #ddd;
	text-align: center;
}

.fixed-box .demo-link a {
	display: block;
	margin: 0 15px;
	padding: 10px;
	border-radius: 50px;
	background-color: #d54141;
	color: #fff;
	font-weight: bold;
}

.fixed-box .demo-link a:hover {
	text-decoration: none;
}

.fixed-box .buy-theme span img {
	margin-right: 5px;
	vertical-align: middle;
}

@media screen and (max-width: 46.25em) {

	.fixed-box {
		bottom: 0;
		left: 0;
		width: 100%;
		padding: 0;
		border: none;
		background: none;
	}

	.fixed-box label,
	.fixed-box .buy-theme img.capture {
		display: none;
	}

	.fixed-box .box-in {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}

	.fixed-box .buy-theme {
		display: none;
	}

	.fixed-box .buy-theme  a {
		padding: 10px;
		background-color: #444;
		color: #fff;
	}

	.fixed-box .buy-theme span {
		margin: 0;
		text-align: center;
	}

	.fixed-box .buy-theme span img {
		display: none;
	}

	.fixed-box .demo-link {
		width: 60%;
		max-width: 300px;
		margin-top: 0;
		padding: 0;
		border: none;
	}

	.fixed-box .demo-link a {
		margin: 0;
		padding: 20px;
		border-radius: 0;
	}
}
