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


/*============== タイトル ==============*/

#photo_box h2{
	margin-bottom:15px;
}


/*============== 上下の投稿ボタン ==============*/

#photo_box .btn_box{
	margin:0 auto 70px;
}

#photo_box a.btn{
	width:318px;
	margin:0 auto;
}

.btn_box2{
	margin-bottom:0;
}

#photo_box .btn_box2 a.btn{
	width:180px;
	margin:0 0 0 auto;
}

#photo_box .btn_box2 .bt_red_b a.btn{
	font-size:1.000em;
	background-image:url(../common/images/icon_pan2.gif);
	padding:5px 0;
}

#photo_box .btn_box2 .bt_red_b a.btn:hover {
	background-image:url(../common/images/icon_pan3.gif);
}


/*============== ページナビ ==============*/

.page_road{
	text-align:center;
	margin:30px 0;
}

.page_road p{
	display:inline-block;
	*display: inline;  
    *zoom: 1;
	
}

.page_road a,
.page_road span{
	display:inline-block;
	*display: inline;  
    *zoom: 1;
	width:25px;
	font-size:1.714em;
	line-height:1.2;
	color:#d31d1d;
	margin:0 5px;
}

.page_road span{
	color:#333;
	text-decoration:none;
}

.page_road a.p_btn{
	width:30px;
	line-height:1.0;
	margin:0 20px 0 0px;
}

.page_road a.p_btn02{
	width:30px;
	line-height:1.0;
	margin:0 0px 0 20px;
}

.page_road a img{
	height:20px;
}

.page_road a:hover{
	filter: alpha(opacity=30); 
    -moz-opacity:0.30;
	opacity:0.30;
}

/*============== 写真 ==============*/


#panel{
	width:1000px;
	overflow:hidden;
}

#panel ul{
	width:1035px;
	margin-right:-35px;
}

#panel ul li{
	display:block;
	width:310px;
	text-align:center;
	padding:0 0 5px;
	margin:0 35px 30px 0;
	float:left;
}

#panel ul li img{
	width:auto;
	height:auto;
	max-width:310px;
	max-height:207px;
	vertical-align:top;
}

/*#panel ul li.tp img{
	width:auto;
	height:207px;
	vertical-align:top;
}*/

#panel ul li p.img_p{
	max-height:207px;
	
}

#panel ul li p.n_name{
	font-size:	1.071em;
	color:#111;
	margin:10px auto 5px;
	text-align:left;
	font-weight:bold;
	/*background-image:url(images/icon_camera.png);
	background-position:left;
	background-repeat:no-repeat;
	padding-left:25px;*/
}


#panel ul li p.comment{
	width:100%;
	font-size:0.929em;
	line-height:1.7;
	text-align:left;
	letter-spacing:0;
	margin:5px auto 0;
}


@media only screen and (max-width: 600px) {


/*============== タイトル ==============*/	
	
#photo_box h2{
	margin-bottom:35px;
}


/*============== 上下の投稿ボタン ==============*/

#photo_box a.btn{
	width:90%;
}

.btn_box2{
	width:90%;
	margin:0 auto;
}

#photo_box .btn_box2 a.btn{
	width:180px;
	margin:0 auto;
}

/*============== ページナビ ==============*/

.page_road{
	width:100%;
	margin:10px auto;
	/*border-top:1px dotted #d31d1d;
	border-bottom:1px dotted #d31d1d;*/
	padding:15px 0 10px;
}



.page_road a,
.page_road span{
	display:inline-block;
	*display: inline;  
    *zoom: 1;
	width:20px;
	font-size:1.429em;
	line-height:1.2;
	color:#d31d1d;
	margin:0 5px;
}

.page_road a.p_btn{
	width:20px;
	margin:0 10px 0 0px;
}

.page_road a.p_btn02{
	width:20px;
	margin:0 0px 0 10px;
}

.page_road span{
	color:#333;
	text-decoration:none;
}

.page_road a img{
	height:15px;
}

/*============== 写真 ==============*/

#panel{
	width:90%;
	margin:30px auto 0;
	/*margin:0 auto;ページャー復活したらこっち*/
}

#panel ul{
	width:100%;
	margin-right:auto;
	margin-left:auto;
}

#panel ul li{
	display:block;
	width:100%;
	margin:0 0 30px;
	border-top:none;
	padding-top:0;
	padding-bottom:20px;
	float:left;
	text-align:center;
	border-bottom:1px dotted #d31d1d;
}



#panel ul li img{
	width:100%;
	height:auto;
	max-width:640px;
	max-height:initial;
}

/*#panel ul li.tp img{
	width:auto;
	height:100%;
	max-height:426px;
	
}*/

#panel ul li p{
	text-align:left;
}

#panel ul li p.img_p{
	height:100%;
	max-height:100%;
	text-align:center;
	
}

#panel ul li p.n_name{
	width:100%;
	max-width:630px;
}

#panel ul li p.comment{
	width:100%;
	max-width:630px;
	font-size:1.000em;
}


}

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



}



/*============== modal ==============*/

.modal-content {
	position:fixed;
	display:none;
	z-index:2;
	margin:0;
	padding:0;
}

.modal-overlay {
	z-index:1;
	display:none;
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:120%;
	background-color:rgba(0,0,0,0.50);
}

.modal-open {
	color:#00f;
}

.modal-open:hover {
	cursor:pointer;
}

.modal-close:hover {
	cursor:pointer;
}

.modal-image:hover {
	cursor:pointer;
}

.modal-content img {
	clear:both;
}

