@charset "utf-8";
/* CSS Document for Tablet */

#wrapper {
	width: 100%;
	margin: 0 auto;
	position: relative;
	/*min-height: 100%;
	height: 100%;*/
}
body {
	background: #00132a;
}
#header {
}
#header h1 {
	background-image: url("../images/SmartP_top.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	width: 100%;
	height: 0;
	padding-top: 40%;
	overflow: hidden;
	margin: 0;
}
#kahaku_toprogo {
	display: none;
}
#img_hachi,
#img_himawari,
#img_hobit,
#img_raffl,
#img_ammo {
	display: none;
}

#container {
	clear: both;
}
#container #read {
	color: #fff;
	padding: 15px;
}
#container #read p {
	text-indent:  1em;
	margin: 0 0 .6em 0;
}
#container #read p a {
	color: #ffe71d;
	text-decoration: underline;
}
/*#contents {
	background-color: rgba(34,34,34,0.8);
	width: 860px;
	padding: 20px;
}*/
#btn_field {
	margin: 0.5em 15px 1em;
}
#btn_field .left_cont,
#btn_field .right_cont {
	width: 100%;
	height: auto;
}
#btn_field .left_cont img,
#btn_field .right_cont img {
	width: 100%;
}
#btn_field .left_cont {
	margin-bottom: 10px;
}
#sns_area {
	position: absolute;
	top: 75px;
	right: 15px;
}
#kahaku_top {
	position: absolute;
	top: 20px;
	right: 20px;
}

/* footer */
#footer .footer_in {
	width: 100%;
	padding: 0;
	height: 100px;
}
a#kahakutop_footer {
	background-image: url(../images/kahaku_footer_top.png);
	background-repeat: no-repeat;
	background-size: contain;
	width: 210px;
	height: 0;
	padding-top: 29px;
	overflow: hidden;
	position: absolute;
	top: 10px;
	left: 20px;
	border-bottom: none;
	font-size: 0px;
}
.cr {
	position: absolute;
	margin: 10px 0 0 10px;
	width: 50%;
	right: 10px;
	top: 5px;
}
/*ページトップ*/
p.smart_link {
	display: auto;
	text-align: right;
	margin: 0 1rem 0 0;
	font-size: 0.9em;
}
p.smart_link a,
p.smart_link a:hover {
	color: #ffe326;
}

@media screen and (max-width: 589px) {
	#footer{
		background-color: #00665e; 
		position: relative;
		bottom: 0;
		width: 96%;
		padding: 2%;
	}
	#footer_in {
		position: relative;
		width: 96%
	}
	#footer_in img {
		width: 33%;
	}
	#totop a {
		display: none;
	}
	#cr {
		font-family: Arial, Helvetica, sans-serif;
		font-size: 80%;
		/*position: absolute;*/
		right: 10px;
    top: 5px;
		float: right;
		width: 60%;
		line-height: 1.2;
	}
	#exhib_list li {
		float: none;
		width: 94%;
		height: auto;
		background: none;
	}
}
/* ******************* 0 to 500px ******************* */
@media only screen and (max-width: 500px) {
	a#kahakutop_footer {
	background: url(../images/kahaku_footer_top.png) no-repeat;
		background-size: contain;
	width: 123px;
	height: 0;
	padding-top: 25.8px;
	overflow: hidden;
	position: absolute;
	top: 10px;
	left: 20px;
	border-bottom: none;
	font-size: 0px;
	}
}