@charset "utf-8";
/* CSS Document */

/* 
------------------------------------------------- */

@media only screen and (min-width: 320px){

	#mainbody #rightbody #maincontents{
		padding:5%;
		text-align:center;
	}

	#mainbody #rightbody #maincontents img{
		margin:0px 0 35px;
		max-width:100%;
		width:auto;
		height:auto;
	}

	#mainbody #rightbody #maincontents h1,
	#mainbody #rightbody #maincontents p{
		text-align:left;
	}

	#mainbody #rightbody #maincontents h1{
		margin-bottom:50px;
		position: relative;
		background: #fff3a6;
		xbox-shadow: 0px 0px 0px 5px #fff3a6;
		box-shadow: 0px 0px 0px 5px #fff3a6;
		border: dashed 2px white;
		padding: 0.2em 0.9em;
		color: #454545;
	}
	
	#mainbody #rightbody #maincontents h1:after{
		position: absolute;
		content: '';
		left: -7px;
		top: -7px;
		border-width: 0 0 15px 15px;
		border-style: solid;
		border-color: #fff #fff #ffd956;
		box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
	}

	#mainbody #rightbody #maincontents p{
		margin-bottom:22px;
		color:#000;
		xfont-size:13px;
	}
	
	.title{
		font-size:1.4em;
	}
	
	h2{
		margin-bottom:10px;
		background-image:url(images/icon.gif);
		background-repeat:no-repeat;
		background-position:left top;
		xheight:100px;
		text-align:left;
		padding:0px 0 0 28px;
		font-size: 1.2em;
		color:#68b109;
	}
	
	
	h3{
		margin:50px 0 50px;
		font-size:1em;
		text-align:left;
	}
	
	h3 span{
		color: #000;/*文字色*/
		padding: 0.7em 0;/*上下の余白*/
		border-top: solid 2px #000;/*上線*/
		border-bottom: solid 2px #000;/*下線*/
		display:inline-block;
	}
	
	.line{
		background: linear-gradient(transparent 70%, #fce14b 70%);
		font-weight:bold;
	}


	.midashi {
		position: relative;
		line-height: 1.2;
		padding:0.25em 1em;
		display: inline-block;
		font-size:1.6em;
		text-align:left;
		margin-bottom:50px;
	}

	.midashi:before,.midashi:after{ 
		content:'';
		width: 20px;
		height: 30px;
		position: absolute;
		display: inline-block;
	}

	.midashi:before{
		border-left: solid 1px #ff5722;
		border-top: solid 1px #ff5722;
		top:0;
		left: 0;
	}

	.midashi:after{
		border-right: solid 1px #ff5722;
		border-bottom: solid 1px #ff5722;
		bottom:0;
		right: 0;
	}
	
	.txt{
		margin-bottom:50px;
	}
	
	
/*----------------------------------------------------
  table.box01
----------------------------------------------------*/
	
	table.box01 { 
		width: 100%;
		margin-bottom:50px;
	}
	
	table.box01 th, table.box01 td { 
		padding: 10px;
		text-align:left;
		vertical-align:top;
	}
	
	table.box01 th {
		width: 40%;
		padding:0;
	}
	
/*----------------------------------------------------
  table.box00
----------------------------------------------------*/
	
	table.box02 { 
		width: 100%;
		margin-bottom:50px;
	}
	
	table.box02 th, table.box02 td { 
		padding: 10px;
		text-align:left;
		vertical-align:top;
	}
	
	table.box02 td {
		width: 40%;
		padding:0;
	}
	

}



@media only screen and (min-width: 480px){
	
	
	h3{
		margin:50px 0 50px;
		font-size:1.2em;
		text-align:center;
	}
	


}



@media only screen and (min-width: 980px){


	#mainbody #rightbody #maincontents{
		padding:0;
	}

	#mainbody #rightbody #maincontents img{
		margin:0 0 50px;
	}
}


 
@media only screen and (max-width:640px){
	.pcnone{
		display: block;
	}
	
/*----------------------------------------------------
  table.box01
----------------------------------------------------*/
    table.box01 th,
    table.box01 td{
    width: 100%;
    display: block;
    }
	
	table.box01 th{
		text-align:center;
	}
	
	
	table.box01 img{
		width:100%;
	}
	
/*----------------------------------------------------
  table.box02
----------------------------------------------------*/
    table.box02 th,
    table.box02 td{
    width: 100%;
    display: block;
    }
	
	table.box02 th{
		text-align:center;
	}
	
	
	table.box02 img{
		width:100%;
	}
	
	/* font */
	
	h2{
		font-size:100%;
	}
	
	.txt span{
		display:block;
	}

	
}

