@charset "utf-8";




/*----------------------------------------
	for PC
----------------------------------------*/


@media screen and (min-width: 481px){

	#content_inner{
		padding:20px 0 80px;
		width:1000px;
		margin:0 auto 0;
		z-index:50;
		position:relative;
	}


	#secMenu{
		display:block;
		background:#000 url('../img/common/bg_secnavi.jpg') no-repeat center top;
		background-size:auto 100%;
		height:40px;
		margin-top:-5px;
		padding:22px 18px 15px;
		text-align:center;
		box-shadow:0 4px 1px rgba(0,0,0,0.4);
	}

	#secMenu .inner{
		width:530px;
		margin:0 auto 0;
	}

	#secMenu a{
		display:block;
		float:left;
		padding:0 20px;
		border-left:1px solid #999;
		position:relative;
		z-index:150;
	}


	#secMenu a:nth-child(1){width:60px;border-left:none;}
	#secMenu a:nth-child(2){width:55px;}
	#secMenu a:nth-child(3){width:58px;}
	#secMenu a:nth-child(4){width:190px;}



	#secMenu a img{
		display:block;
		width:100%;
	}

	#secMenu a:nth-child(4) img.on{display:block;}
	#secMenu a:nth-child(4) img.off{display:none;}

	#secMenu a:hover img.on{display:block;}
	#secMenu a:hover img.off{display:none;}


		.catch{
			width:582px;
			display:block;
			margin:0 auto -20px;
		}


	#tab{
		width:100%;
		margin:30px 0 30px;
		position:relative;
		z-index:50;
	}

	#tab .category:nth-child(2){
		border-left:1px solid #999;
	}

	#tab .category{
		display:block;
		width:250px;
		margin:0 auto 0;
	}

	#tab .category .tabicon{
		display:block;
		width:100px;
		float:left;
	}

	#tab .category a{
		display:block;
		width:110px;
		float:left;
		box-shadow:1px 1px 2px rgba(0,0,0,0.8);
		margin-left:10px;
		border-radius:14px;
		background-color:#000;
		position:relative;
	}

	#tab .category a.new::after{
		display:block;
		content:'';
		position:absolute;
		right:-5px;
		top:-5px;
		background-image:url('../img/common/new.gif');
		background-size:30px;
		width:30px;
		height:30px;
		border-radius:15px;
		overflow:hidden;
		box-shadow:2px 2px 3px rgba(0,0,0,0.9),0px 0px 5px rgba(0,0,0,0.9);
	}

	#tab .category a:hover img{
		opacity:1;
	}


	#tab .category a:nth-child(1) img{
		opacity:1;
	}

	#tab .category a img{
		display:block;
		width:100%;
		opacity:0.5;
	}


	#base{
		background:transparent url("../img/system/tenko_karakuri/base_middle.jpg") center top repeat-y;
		position:relative;
		box-shadow:0px 0px 3px rgba(0,0,0,0.6);
	}

	#base:before{
		content:'';
		background:transparent url("../img/system/tenko_karakuri/base_top.jpg") center top no-repeat;
		top:0px;left:0px;
		display:block;
		padding-top:200px;
		background-size:100%;
		position:absolute;
		width:100%;

	}

	#base:after{
		content:'';
		background:transparent url("../img/system/tenko_karakuri/base_bottom.jpg") center bottom repeat-y;
		position:relative;
		bottom:0px;left:0px;
		display:block;
		padding-top:200px;
		background-size:100%;
		position:absolute;
		width:100%;

	}


	.base_inner{
		padding:490px 40px 50px;
		position:relative;
		z-index:20;
	}

	.img_top{
		position:absolute;
		top:0px;left:0px;
	}

	.img_chara{
		position:absolute;
		top:0px;right:-20px;
		z-index:10;
	}

	h3{
		display:block;
		width:100%;
		text-align:center;
		margin:50px 0 10px;
	}

	.ss{
		width:100%;
		margin-top:0%;
		margin-bottom:5%;
	}

	.ss .box{
		width:30%;
		margin-left:2%;
		float:left;
		display:block;
	}

	.ss .box a{
		width:100%;
		display:block;
	}

	.ss .box a img{
		width:100%;
		display:block;
	}

	.ss .box h5{
		color:#321406;
		font-weight:800;
		font-size:18px;
		padding:6px 0 0px;
	}

	.ss .box p{
		color:#321406;
		font-size:16px;
		line-height:1.6;
		font-size:14px;
	}

	.centering{
		text-align:center;
	}

	.tenko_circleimg img{
		width:200px;
		display:inline-block;
		margin-left:10px;
	}

	.tenko_circleimg img:nth-of-type(1){
		margin-left:0;
	}

	.readText{
		color:#33170B;
		font-size:15px;
		width:70%;
		position:absolute;
		top:440px;left:60px;
		line-height:1.5;
	}

	.readText .attention{
		color:#666;
		font-size:13px;
		width:70%;
	}

}




/*----------------------------------------
	for SP
----------------------------------------*/

@media screen and (max-width: 480px) {


	#content_inner{
		padding:7% 0 20%;
		margin:0 auto 0;
		z-index:50;
		position:relative;
	}

	h2{
		display:block;
		text-align:center;
		padding:10px 0 0;
		margin:0 0 0px;

		max-width:auto;
		}

		h2 img{
			display:block;
			margin:0 auto 0;
			width:auto;
			max-width:auto;
			}



		#secMenu .inner{
			width:74%;
			margin:0 auto 0;
		}

		#secMenu a{
			display:block;
			float:left;
			padding:0 7%;
			border-left:1px solid #999;
			position:relative;
			z-index:150;
		}


		#secMenu a:nth-child(1){width:18%;margin-bottom:4%;border-left:none;}
		#secMenu a:nth-child(2){width:17%;margin-bottom:4%;}
		#secMenu a:nth-child(3){width:17%;margin-bottom:4%;}
		#secMenu a:nth-child(4){width:59%;border-left:none;margin:0 auto 0;float:none;clear:both;}

		#secMenu a img{
			display:block;
			width:100%;
		}

		#secMenu a:nth-child(4) img.on{display:block;}
		#secMenu a:nth-child(4) img.off{display:none;}

		.catch{
			width:100%;
			display:block;
			margin:0 auto -20px;
		}


	#tab{
		width:45%;
		margin:3% auto 8%;
		position:relative;
		z-index:20;
	}

	#tab .category:nth-child(2){
		border-left:1px solid #999;
		margin-left:3%;
	}

	#tab .category{
		display:block;
		width:100%;
		float:left;
	}


	#tab .category .tabicon{
		display:block;
		width:49%;
		float:left;
	}

	#tab .category a{
		display:block;
		width:48%;
		float:left;
		opacity:0.5;
		margin-left:2%;
	}

	#tab .category a:hover{
		opacity:1;
	}

	#tab .category a:nth-child(1){
		opacity:1;
	}


	#tab .category a img{
		display:block;
		width:100%;
	}

	#base{
		background:transparent url("../img/system/tenko_karakuri/base_middle.jpg") center top repeat-y;
		position:relative;
		box-shadow:0px 0px 3px rgba(0,0,0,0.6);
	}

	#base:before{
		content:'';
		background:transparent url("../img/system/tenko_karakuri/base_top.jpg") center top no-repeat;
		top:0px;left:0px;
		display:block;
		padding-top:200px;
		background-size:100%;
		position:absolute;
		width:100%;

	}

	#base:after{
		content:'';
		background:transparent url("../img/system/tenko_karakuri/base_bottom.jpg") center bottom no-repeat;
		position:relative;
		bottom:0px;left:0px;
		display:block;
		padding-top:200px;
		background-size:100%;
		position:absolute;
		width:100%;

	}



	.base_inner{
		padding:62% 5% 10%;
		position:relative;
		z-index:20;
	}

	.img_top{
		width:100%;
		position:absolute;
		top:-2.2%;left:0px;
	}

	.img_chara{
		position:absolute;
		top:0px;right:-20px;
		z-index:10;
	}

	h3{
		display:block;
		width:100%;
		text-align:center;
		margin:12% 0 15px;
	}

	h3 img{
		display:block;
		width:120%;
		margin-left:-9%;
	}

	.ss{
		width:100%;
		margin-top:0%;
		margin-bottom:5%;
	}

	.ss .box{
		width:80%;
		margin-bottom:5%;
		display:block;
		margin:0 auto 5%;
	}

	.ss .box a{
		width:100%;
		display:block;

	}

	.ss .box a img{
		width:100%;
		display:block;
	}

	.ss .box h5{
		color:#321406;
		font-weight:800;
		font-size:18px;
		padding:6px 0 0px;
	}

	.ss .box p{
		color:#321406;
		font-size:16px;
		line-height:1.6;
		font-size:14px;
	}

	.centering{
		text-align:center;
	}

	.tenko_circleimg img{
		width:40%;
		display:inline-block;
		margin-left:10px;
	}

	.tenko_circleimg img:nth-of-type(1){
		margin-left:0;
	}

	.readText{
		color:#33170B;
		font-size:15px;
		width:100%;
		position:relative;
		line-height:1.5;
	}

	.readText .attention{
		color:#666;
		font-size:13px;
		width:70%;
	}

}
