/* CSS Document */

@import url(navi.css);
@import url(common.css);


#main {
width: 100%;
height: 660px;
}


#mainin {
width: 1080px;
height: 660px;
margin: 0 auto;
position: relative;
}

#mainin #ttl {
width: 220px;
height: 78px;
position: absolute;
right: 0;
top:310px;
}

	#mainin #ttl h1 {
		width: 220px;
		height: 78px;
		background: url(../img/top/title.png) no-repeat;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
	}
	
	#mainin #b1 {
		width: 220px;
		height: 220px;
		position: absolute;
		left: 0;
		top:0;
	}
	
	#mainin #b2 {
		width: 220px;
		height: 220px;
		position: absolute;
		left: 220px;
		top:220px;
	}
	
	#mainin #b3 {
		width: 220px;
		height: 220px;
		position: absolute;
		left: 0;
		top:440px;
	}
	
	#mainin #b4 {
		width: 220px;
		height: 220px;
		position: absolute;
		left: 440px;
		top:440px;
	}

/*-----------------------------------------------------*/
@media screen and (max-width: 500px) {

body {overflow: hidden;}

#main {
width: 500px;
height: 200px;
}

#mainin {
width: 100%;
height: auto;
margin: 0 auto;
position: relative;
}

#mainin #ttl {
width: 30%;
height: 40px;
position: absolute;
right: auto;
top:150px;
left: 210px;
}

	#mainin #ttl h1 {
		width: 100px;
		height: 40px;
		background-size: contain;
	}
	
	#mainin #b1 {
		width: 100px;
		height: 100px;
		left: 0;
		top:0;
	}
	
	#mainin #b2 {
		width: 100px;
		height: 100px;
		left: 100px;
		top:0;
	}
	
	#mainin #b3 {
		width: 100px;
		height: 100px;
		left: 0;
		top:100px;
	}
	
	#mainin #b4 {
		width: 100px;
		height: 100px;
		left: 100px;
		top:100px;
	}
	
	#mainin #b1 img,
	#mainin #b2 img,
	#mainin #b3 img,
	#mainin #b4 img {
	width: 100%;
	height: auto;
	}
}

/*-------------news---------------------------------------------------------------------------*/

#news {
width: 910px;
margin: 0 auto;
padding: 30px 0;
}

	#newsl {
		width: 140px;
		float: left;
	}
	
	#newsl h2 {
		width: 140px;
		height: 31px;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
		background: url(http://car.acty-challenge.com/settings/img/common/news.png) no-repeat;
	}
	
	#newsr {
		width: 690px;
		float: right;
	}
	
	#newsr dl {
		width: 100%;
		margin: 0;
		padding: 0;
		text-align:left;
		font-size:0.95em;
	}

	#newsr dt {
		float:left;  
		width:130px;  
		padding:8px 0 8px 0;  
		clear:both;
	}

	#newsr dd {  
		margin-left:130px;  
		padding:8px 0 8px 5px;  
	}


/*-----------------------------------------------------*/
@media screen and (max-width: 500px) {

#news {
width: 90%;
margin: 0 auto;
padding: 30px 0;
}

	#newsl,
	#newsr{
		width: 100%;
		float: none;
	}
	
	#newsr dl {
		width: 100%;
		margin: 0;
		padding: 0;
		text-align:left;
		font-size:0.85em;
	}

	#newsr dt {
		float:left;  
		width:110px;  
		padding:8px 0 8px 0;  
		clear:both;
	}

	#newsr dd {  
		margin-left:110px;  
		padding:8px 0 8px 5px;  
	}
}


/*-------------------------------maru---------------------------------------*/

#gray {
width: 100%;
padding: 30px 0;
background-color: #f5f5f5;
}

	#maru {
	width: 950px;
	margin: 0 auto;
	}
	
		#marul {
			width: 460px;
			float: left;
		}
		
		#marur {
			width: 460px;
			float: right;
		}
		
		#maru .marull {
			width: 212px;
			float: left;
		}
		
		#maru .marurr {
			width: 220px;
			float: right;
			padding: 20px 0 0 0;
		}
			#maru .marurr p {
				padding: 0;
				font-size: 0.9em;
				margin: 0;
			}
		
		#maru h2 {
			width: 210px;
			height: 43px;
			text-indent: 100%;
			white-space: nowrap;
			overflow: hidden;
			margin: 0 0 20px 0;
		}
		
		#maru h2 a {
			width: 210px;
			height: 43px;
			display: block;
		}
		
			#maru h2#s1 {background: url(http://car.acty-challenge.com/settings/img/common/st1.png) no-repeat;}
			#maru h2#s2 {background: url(http://car.acty-challenge.com/settings/img/common/st2.png) no-repeat;}

/*-----------------------------------------------------*/
@media screen and (max-width: 500px) {

#gray {
width: 100%;
padding: 20px 0;
background-color: #f5f5f5;
}

	#maru {
	width: 90%;
	margin: 0 auto;
	}
	
		#marul,
		#marur {
			width: 100%;
			float: none;
			clear: both;
			padding: 0;
		}
		
		
		#maru .marull {
			width: 30%;
		}
		#maru .marull img {
		width: 100%;
		height: auto;
		}
		
		#maru .marurr {
			width: 65%;
			padding: 10px 0;
		}
			#maru .marurr p {
				padding: 0;
				font-size: 0.85em;
				margin: 0;
			}
		
		#maru h2 {
			width: 100%;
			height: 40px;
			margin: 0 0 10px 0;
		}
		
		#maru h2 a {
			width: 100%;
			height: 40px;
			display: block;
		}
		
			#maru h2#s1,
			#maru h2#s2 {background-size: contain;}
}


/*------after---------------------------------------------------------------------------------*/

#after {
	width: 100%;
	height: 508px;
	overflow: hidden;
	background: url(../img/common/bl2.jpg) repeat-y left top;
}

	#after #afl {
		width: 40%;
		float: left;
		padding: 150px 0 0 5%;
		text-align: center;
	}
	
	#after #afl h1 {
	width: 376px;
	height: 30px;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	background: url(http://car.acty-challenge.com/settings/img/common/bl1.png) no-repeat;
	margin: 0 auto 30px auto;
	padding: 0;
	}
	
	#after #afl p.txt {
		width: 249px;
		height: 149px;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
		background: url(../img/common/bl3.png) no-repeat;
		padding: 0;
		margin: 0 auto 35px auto;
	}
	
	#after #afl p.btn {
		width: 376px;
		height: 46px;
		padding: 0;
		margin: 0 auto;
	}
	
	#after #afl p.btn a {
		width: 376px;
		height: 46px;
		text-indent: 100%;
		white-space: nowrap;
		overflow: hidden;
		background: url(http://car.acty-challenge.com/settings/img/common/bl2.png) no-repeat;
		display: block;
		}
		
	#after #afl p.btn a:hover {
	background-color: #000000;
	}
	
	#after #afl p.btn a {
	-webkit-transition: 0.3s ease-in-out;
	   -moz-transition: 0.3s ease-in-out;
		 -o-transition: 0.3s ease-in-out;
			transition: 0.3s ease-in-out;
			}

	#after #afr {
		width: 50%;
		float: right;
	}

/*-----------------------------------------------------*/
@media screen and (max-width: 500px) {

#after {
	width: 100%;
	background-position: bottom;
	background-size: 130%;
}

	#after #afl {
		width: 100%;
		float: none;
		padding: 20px 0;
		text-align: center;
	}
	
	#after #afl h1 {
	width: 90%;
	height: auto;
	text-indent: 0;
	white-space: pre-wrap;
	background: none;
	margin: 0 auto 20px auto;
	padding: 0;
	color: #ffffff;
	font-size: 1em;
	}
	
	#after #afl p.txt {
		width: 70%;
		height: auto;
		text-indent:0;
		white-space: pre-wrap;
		background: none;
		padding: 0;
		margin: 0 auto 20px auto;
		color: #ffffff;
		font-size: 0.8em;
		text-align: left;
	}
	
	#after #afl p.btn {
		width: 70%;
		height: 40px;
		padding: 0;
		margin: 0 auto;
	}
	
	#after #afl p.btn a {
		width: 100%;
		height: 40px;
		background-size: contain;
		background-position: center top;
		display: block;
		}
		
	#after #afl p.btn a:hover {
	background-color: none;
	}
	
	#after #afl p.btn a {
	-webkit-transition: 0.3s ease-in-out;
	   -moz-transition: 0.3s ease-in-out;
		 -o-transition: 0.3s ease-in-out;
			transition: 0.3s ease-in-out;
			}

	#after #afr {
	float: none;
	width: 100%;
	}
	
	#after #afr img {
		width: 100%;
		height: auto;
	}
}

#map_canvas {
	width: 100%;
	height: 300px;
}


/*-----メイン画面上の動き--------------------------------------------------------------------------------*/

#mainin #b1 {
		-webkit-animation:dly2 5s;
		-o-animation:dly2 5s;
		-ms-animation:dly2 5s;
		-moz-animation:dly2 5s;			
}

#mainin #b2 {
		-webkit-animation:dly3 5s;
		-o-animation:dly3 5s;
		-ms-animation:dly3 5s;
		-moz-animation:dly3 5s;				
}

#mainin #b3 {
		-webkit-animation:dly3 5s;
		-o-animation:dly3 5s;
		-ms-animation:dly3 5s;
		-moz-animation:dly3 5s;			
}

#mainin #b4 {
		-webkit-animation:dly2 5s;
		-o-animation:dly2 5s;
		-ms-animation:dly2 5s;
		-moz-animation:dly2 5s;			
}

	
	
	/*　フェイドイン */

	@-webkit-keyframes dly {
	0%	{opacity:0; filter: alpha(opacity=50);}
	100% {opacity:1.0; filter: alpha(opacity=100);}
	}
	@-o-keyframes dly {
	0%	{opacity:0; filter: alpha(opacity=50);}
	100% {opacity:1.0; filter: alpha(opacity=100);}
	}
	@-ms-keyframes dly {
	0%	{opacity:0; filter: alpha(opacity=50);}
	100% {opacity:1.0; filter: alpha(opacity=100);}
	}
	@-moz-keyframes dly {
	0%	{opacity:0; filter: alpha(opacity=50);}
	100% {opacity:1.0; filter: alpha(opacity=100);}
	}
	
	/*　フェイドイン　遅延 */

	@-webkit-keyframes dly2 {
	0%	{opacity:0; filter: alpha(opacity=50);}
	50%	{opacity:0; filter: alpha(opacity=50);}
	100% {opacity:1.0; filter: alpha(opacity=100);}
	}
	@-o-keyframes dly2 {
	0%	{opacity:0; filter: alpha(opacity=50);}
	50%	{opacity:0; filter: alpha(opacity=50);}
	100% {opacity:1.0; filter: alpha(opacity=100);}
	}
	@-ms-keyframes dly2 {
	0%	{opacity:0; filter: alpha(opacity=50);}
	50%	{opacity:0; filter: alpha(opacity=50);}
	100% {opacity:1.0; filter: alpha(opacity=100);}
	}
	@-moz-keyframes dly2 {
	0%	{opacity:0; filter: alpha(opacity=50);}
	50%	{opacity:0; filter: alpha(opacity=50);}
	100% {opacity:1.0; filter: alpha(opacity=100);}
	}
	
	/*　フェイドイン　もっと遅延 */

	@-webkit-keyframes dly3 {
	0%	{opacity:0; filter: alpha(opacity=50);}
	75%	{opacity:0; filter: alpha(opacity=50);}
	100% {opacity:1.0; filter: alpha(opacity=100);}
	}
	@-o-keyframes dly3 {
	0%	{opacity:0; filter: alpha(opacity=50);}
	75%	{opacity:0; filter: alpha(opacity=50);}
	100% {opacity:1.0; filter: alpha(opacity=100);}
	}
	@-ms-keyframes dly3 {
	0%	{opacity:0; filter: alpha(opacity=50);}
	75%	{opacity:0; filter: alpha(opacity=50);}
	100% {opacity:1.0; filter: alpha(opacity=100);}
	}
	@-moz-keyframes dly3 {
	0%	{opacity:0; filter: alpha(opacity=50);}
	75%	{opacity:0; filter: alpha(opacity=50);}
	100% {opacity:1.0; filter: alpha(opacity=100);}
	}