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

/* 写真館(photo.html) 
------------------------------------------------- */

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



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

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

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

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

	#mainbody #rightbody #pict p{
		margin-bottom:22px;
		color:#000;
		font-size:12px;
	}

	#mainbody #rightbody #pict #monthBtn{
		margin-bottom:30px;
		padding:5% 0 0;
	}

	#mainbody #rightbody #pict #monthBtn li{
		float:left;
		width:32%;
		margin:0 1% 10px 0;
	}

	#mainbody #rightbody #pict #monthBtn li:nth-child(3n){
		width:32%;
		margin:0 0 10px 0;
	}

	#mainbody #rightbody #pict #monthBtn li a{
		display:block;
		padding:4px 0;
		background-color:#ffada2;
		-webkit-border-radius:10px;
		-moz-border-radius:10px;
		border-radius:10x;
		color:#fff;
		font-size:18px;
		text-align:center;
	}

	#mainbody #rightbody #pict #mBox{
		width:100%;
		margin:0 0 23px 0;
		padding:15px 12px 36px;
		-webkit-box-sizing:border-box;
		-moz-box-sizing:border-box;
		-o-box-sizing:border-box;
		-ms-box-sizing:border-box;
		box-sizing:border-box;
		border:3px solid #ffada2;
	}

	#mainbody #rightbody #pict #mBox:nth-child(3n){
		margin:0 0 23px 0;
	}

	#mainbody #rightbody #pict #mBox h2{
		clear:both;
		width:100%;
		margin:0 auto 24px;
		padding:4px 0;
		background-color:#ffada2;
		-webkit-border-radius:10px;
		-moz-border-radius:10px;
		border-radius:10x;
		color:#fff;
		font-size:22px;
		text-align:center;
	}

	#mainbody #rightbody #pict #mBox div{
		xmargin-bottom:8px;
		padding:0 8px;
		letter-spacing:-1px;
		text-align:left;
	}

	#mainbody #rightbody #pict #mBox p{
		margin-bottom:4px;
	}

	#mainbody #rightbody #pict #mBox p a{
		color:#009;
		font-size:14px;
		text-decoration:underline;
		display:block;
	}
	
	#mainbody #rightbody #pict #mBox p a:hover{
		xbackground-color:#9CF;
	}

	#mainbody #rightbody #pict #mBox dd{
		padding:0 0 0 4px;
		margin:0;
		color:#666;
		line-height:1.3;
	}
	
	.btn a:link,
	.btn a:visited{
		display:block;
		border-radius:20px;
		color:#fff;
		background-color:#F66;
		padding:10px 20px;
		text-align:center;
		width:90%;
		margin-bottom:30px;
	}
	
	/*動画*/
#movie{
	width:97%;
	margin:20px auto 50px;
}

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

}



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

	#mainbody #rightbody #pict #mBox{
		xfloat:left;
		xwidth:48%;
		margin:0 15px 23px 0;
	}

	#mainbody #rightbody #pict #mBox:nth-child(3n){
		margin:0 15px 23px 0;
	}

	#mainbody #rightbody #pict #mBox:nth-child(even){
		xmargin:0 0 23px 0;
	}
	


}


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

}


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

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

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


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

	#mainbody #rightbody #pict img{
		margin:0 0 35px;
	}

	#mainbody #rightbody #pict #mBox{
		float:left;
		width:190px;
		margin:0 30px 23px 0;
		padding:15px 12px 36px;
	}

	#mainbody #rightbody #pict #mBox:nth-child(even){
		margin:0 30px 23px 0;
	}

	#mainbody #rightbody #pict #mBox:nth-child(3n){
		margin:0 30px 23px 0;
	}

	#mainbody #rightbody #pict #mBox h2{
		clear:both;
		width:160px;
		margin:0 0 24px;
	}
	
	



}



