@charset "utf-8";



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

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

	#mainpage{
		padding:50px 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;
	}

	.message{
		line-height:1.5em;
		xmargin-bottom:50px;
	}
	
	.message p{
		margin-bottom:20px;
	}
	
	.name{
		text-align:right;
		margin-bottom:30px;
		line-height:3em;
	}

	.content{
		margin-bottom:50px;
		border:1px dashed #000;
		border-radius:10px;
		padding:20px;
	}
	
	.content h2{
		padding:30px 0 15px;
		background-image:url(images/title_line3.png);
		background-repeat:repeat-x;
		background-size:459px;
		background-position:center bottom;
		font-size:2rem;
		font-weight:400;
		text-align:center;
		margin-bottom:20px;
	}
	
	.content h2 span{
		display:block;
		line-height:1.5em;
	}
	
	table.tbgaiyou { width: 100%; line-height:1.5em; margin-bottom:30px; }
	.tbgaiyou th, .tbgaiyou td  { padding: 10px; border: 1px solid #ddd; }
	.tbgaiyou th  { background: #f4f4f4; text-align:left; }
	.tbgaiyou td{background-color:#fff;}
	
	table.report { width: 100%; line-height:1.5em; margin-bottom:30px; }
	.report th, .report td  { padding: 10px; border: 1px solid #ddd; }
	.report th  {text-align:left; }
	.report td{xbackground-color:#fff;}
	
	.donation h3{
		font-size:1.8rem;
		line-height:1.5em;
		margin-bottom:30px;
		text-align:center;
	}
	
	.donation h4{
		font-size:1.3rem;
		line-height:1.5em;
		margin-bottom:20px;
		border:1px dashed #000;
		padding:5px;
	}
	
	.donation p{
		line-height:1.5em;
		margin-bottom:30px;
	}
	
	.donation ol{
		line-height:1.5em;
		margin-bottom:50px;
		margin-left:20px;
	}
	
	.donation ol li{
		list-style-type: decimal;
		margin-bottom:20px;
	}
	
	.donation ol li span{
		font-weight:bold;
		display:block;
	}
	
	.flow img{
		width:650px;
		height:auto;
	}

	
	#form div a{
		display:block;
		float:left;
		margin:20px 0px 20px 50px;
		width:300px;
		border-radius:10px;
		padding:15px 10px;
		background-color:#FF9933;
		color:#fff;
		text-align:center;
	}
	
	#form div a.g{
		background-color:#393;
	}
}

@media screen and (max-width: 780px){
.flow img{
		width:100%;
		height:auto;
	}
}

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

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

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

@media only screen and (max-width:480px){
    .gaiyou { margin: 0 -10px; }
    .gaiyou th,
    .gaiyou td{
    width: 100%;
    display: block;
    border-top: none;
    }
  .gaiyou tr:first-child th { border-top: 1px solid #ddd; }
  
  .report { margin: 0 -10px; }
    .report th,
    .report td{
    width: 100%;
    display: block;
    border-top: none;
    }
  .report tr:first-child th { border-top: 1px solid #ddd; }
  
  #form div a{
		display:block;
		float:none;
		margin:20px;
		width:80%;
		border-radius:10px;
		padding:15px 10px;
		background-color:#FF9933;
		color:#fff;
		text-align:center;
	}
	

}

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

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

	#mainpage{
		padding:50px 38px;
	}

	#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;
		margin-bottom:80px;
	}
	
	.content{
		margin-bottom:50px;
		border:1px dashed #000;
		border-radius:10px;
		padding:50px;
	}
	
	.content h2{
		xwidth:460px;
		font-size:2.2rem;
	}
	
	.content h2 span{
		display:inline-block;
	}
	
	.message{
		clear:both;
	}
	
	.image{
		width:750px;
		height:auto;
		margin:0px 20px 20px 50px;
	}
	
	table.tbgaiyou { 
	  width: 90%; 
	  margin:30px auto;
	}
	
	table.report { 
	  width: 90%; 
	  margin:30px auto;
	}
}

