@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:24px;
		position: relative;
		background: #ffe4df;
		box-shadow: 0px 0px 0px 5px #ffe4df;
		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 #ffb6a8;
		box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
	}

	#mainbody #rightbody #maincontents p{
		margin-bottom:22px;
	}
	
	.waku{
		border:dotted 3px #ffcc00;
		padding:20px 20px;
		background-color:#fef6d7;
		xbackground-image:url(images/icon01.gif);
		background-repeat:no-repeat;
		background-position:570px 90px;
		margin-bottom:50px;
	}
	
	.date{
		color:#39F;
		font-weight:bold;
		font-size:1em;
	}
	
	.txt{
		color:#ff4665;
		font-size:1em;
	}
	
	.nextinfo{
		padding:10px 0;
		text-align:center; 
		border-radius:10px;
		margin-bottom:20px;
		background-color:#ffcc00;
	}
	
	.waku2{
		text-align:left;
		border:dotted 3px #39F;
		padding:20px 20px;
		background-color:#fef6d7;
		background-image:url(images/icon02.gif);
		background-repeat:no-repeat;
		background-position:570px 30px;
	}
	
	
	.waku2 dd{
		margin-bottom:20px;
	}
	
	.info{
		margin:20px 0;
	}
	
	.btn a:link,
	.btn a:visited{
		background-color:#F36;
		color:#fff;
		border-radius:15px;
		padding:10px 0;
		text-align:center;
		display:block;
		margin:0px auto 50px;
	}
	
	.btn a:hover{
		background-color:#F66;
	}
	
/*----------------------------------------------------
  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;
	}
	
/*動画*/
#movie{
	width:97%;
	margin:20px auto 30px;
}

.video{
  position:relative;
  width:100%;
  padding-top:56.25%;
  margin-bottom:30px;
}
.video iframe{
  position:absolute;
  top:0;
  right:0;
  width:100%;
  height:100%;
}

.line{
	border-bottom:#000 dotted 2px;
	border-top:#000 dotted 2px;
	padding:10px 0;
	color:red;
}
	

}


@media only screen and (min-width: 780px){
	#movie{
	width:500px;
	margin:50px auto 50px;
}

}


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


}



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


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

	#mainbody #rightbody #maincontents img{
		margin:0 0 50px;
	}
	
	.btn a:link,
	.btn a:visited{
		width:300px;
	}
	
	.date{
		font-size:1.2em;
	}
	
	.txt{
		font-size:1.2em;
	}

 
@media only screen and (max-width:640px){
	
/*----------------------------------------------------
  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%;
	}

	
}

