@charset "utf-8";



/* メインページ(index.html)
------------------------------------------------------------ */

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

	#mainpage{
		padding:0 5%;
	}

	#mainpage h1{
		margin-bottom:20px;
		padding:85px 0 15px;
		background-image:url(images/main_top_illust.png),url(images/title_line2.png);
		background-repeat:no-repeat,repeat-x;
		background-size:100%,459px;
		background-position:left top,center bottom;
		font-size:2rem;
		font-weight:400;
		text-align:center;
	}

	#mainpage .mainpage ul{
		margin-bottom:15px;
		padding-bottom:15px;
		background-image:url(images/menu_line.png);
		background-repeat:no-repeat;
		background-size:100%;
		background-position:center bottom;
	}

	#mainpage .mainpage ul li{
		font-size:1.6rem;
		border:#333333 dotted 2px;
		margin-bottom:10px;
		width:100%;
		text-align:center;
	}

	#mainpage .mainpage ul a{
		display:block;
		background-color:#FFF;
		padding:13px 15px;
	}
	
	#mainpage .mainpage ul li a{
		background-image:url(images/subm_bg.png),url(images/subm_bg2.png);;
		background-repeat:no-repeat;
		background-position:left top,right bottom;
	}
	
	.content,.about,.history{
		font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
	}
	
	.content h2, .history h2 {
		padding:30px 0 15px;
		background-image:url(images/title_line3.png);
		background-repeat:repeat-x;
		background-size:459px;
		background-position:left bottom;
		font-size:2rem;
		font-weight:400;
		text-align:center;
		margin-bottom:30px;
	}
	
	.content h3 span{
		font-size:1.8rem;
	}
	
	.content h3, .content h4{
		line-height:1.5em;
		margin-bottom:20px;
		font-weight:normal;
	}
	
	.about h2{
		padding:20px 20px 15px 0;
		background-image:url(images/line_star.png);
		background-repeat:repeat-x;
		background-size:459px;
		background-position:left bottom;
		font-size:2rem;
		font-weight:400;
		text-align:left;
		margin-bottom:30px;
		
	}
	
	.about h3{
		line-height:1.5em;
		margin-bottom:20px;
		font-weight:normal;
		padding:0 20px;
	}
	
	.image{
		border:#999 1px dashed;
		padding:5px;
		transform: rotate(2deg);
		-moz-transform: rotate(2deg);
		-webkit-transform: rotate(2deg);
		margin:20px 0;
	}
	
	.image2{
		border:#999 1px dashed;
		padding:5px;
		transform: rotate(-2deg);
		-moz-transform: rotate(-2deg);
		-webkit-transform: rotate(-2deg);
		margin:0px;
		margin-bottom:20px;
	}
	
	.image3{
		border:#999 1px dashed;
		padding:5px;
		margin:0px;
		width:100%;
		margin-bottom:30px;
	}
	
	dl.history{
		margin-bottom:50px;
	}
	
	dl.history dt{
		background-color:#eee;
		padding: 10px;
	}
	
	dl.history dd{
		background-color:#fff;
		padding: 10px;
		line-height:1.5em;
	}
	.message h3{
		font-size: 1.8rem;
	}
	.message{
		line-height:2em;
	}
	.message_btm{
		line-height:2em;
		border: 1px solid #000;
		padding: 15px;
		margin: 20px 0;
	}
	 .right-float {
         float: right; 
         margin-left: 15px; 
         margin-bottom: 10px;
		 margin-top: 15px;
		 width: 150px;
        }
	/*
	
	.table01{
		border-collapse: collapse;
		background-color:#FFF;
		padding: 10px;
		width: 100%;
		margin-bottom:50px;
		margin-right:20px;
		line-height:1.5em;
		font-size:0.6rem;
	}
	.table01 td, .table01 th {
		padding: 10px;
		
	}
	.table01 th {
		background-color: #eee;
	}

	.table01 td, .table01 th {
		display: block;
		
	}*/
	


}


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

	#mainpage h1{
		padding:28% 0 25px;
	}

	#mainpage .mainpage ul{
		padding-bottom:20px;
	}
	

}



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

	#mainbody div.bg2{
		background-image:url(images/main_top_illust.png),url(images/main_top_bg.png);
		background-repeat:no-repeat;
		background-size:100%;
		background-position:left top,right top;
		background-size:360px,520px;
	}

	#mainpage{
		padding:0 38px;
		overflow:hidden;
	}

	#mainpage h1{
		width:460px;
		margin-bottom:10px;
		padding:12% 0 25px;
		background-image:none,url(images/title_line2.png);
		font-size:2.2rem;
	}

	#mainpage .mainpage{
		width:460px;
	}
	
	#mainpage .mainpage ul li{
		display:inline-block;
		font-size:1.6rem;
		border:#333333 dotted 2px;
		margin-bottom:10px;
		width:200px;
		margin-right:10px;
	}
	
	.content{
		width:400px;
		float:left;
		margin:0 30px 50px 0;
	}
	
	.history{
		width:100%;
	}
	
	.content h2{
		width:400px;
		font-size:2.2rem;
	}
	
	.about{
		width:420px;
		float:left;
		margin:0 30px 50px 0;
		border:#999 1px dashed;
	}
	
	article:nth-child(5),article:nth-child(7),article:nth-child(9){
		margin-right:0;
	}
	
	.about h2{
		padding:20px 20px 15px;
		font-size:2rem;
		line-height:1.5em;
		background-color:#e8f5f1;
	}
	
	.table01{
		font-size:1.6rem;
	}
	
	.table01 th{
		text-align:left;
		
	}
	.right-float {
         float: right; 
         margin-left: 15px; 
         margin-bottom: 10px;
		 width: 200px;
        }
}


