@charset "utf-8";



@import url("../common/css/reset.css");
@import url("../common/css/base.css");





#container{
	margin: 0 auto;
	max-width: 900px;
}

#photo_container {
	width: 100%;
	overflow: hidden;
	vertical-align: middle;
}

#main_photo{
	float: left;
	position: relative;
	width: 720px;
	height: 500px;
	border: 1px solid #ccc;
	background: #eee;
	overflow: hidden;
}

#main_photo img{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: auto;
	height: 500px;
	max-width: 720px;

}


ul#carousel li {

}
ul#carousel li img {
	margin: 12px auto;
	width: 100%;
	height: auto;
	max-width: 120px;
	max-height: 80px;
}



#picture_list {
	display: none;
}

#gallery_text_box {
	clear: both;
	margin: 40px auto 0;
}

h4 {
	font-size: 150%;
}
#date_text {
	color: #999;
}
#gallery_text {
	margin: 0 0 20px;
}



#nav-below {
	margin: 60px auto 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	overflow: hidden;
	line-height: 1.1;
}
#nav-previous {
	float: left;
	box-sizing: border-box;
	width: 25%;
}
#nav-next {
	float: right;
	box-sizing: border-box;
	width: 25%;
}
#return {
	box-sizing: border-box;
	width: 50%;
	margin: 0 auto;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
}
#nav-previous a,
#nav-next a,
#return a {
	display: block;
	padding: 40px 0;
	text-align: center;
	text-decoration: none;
	color: #111;

	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
#nav-previous a:hover,
#nav-next a:hover {
	background-color: #eef3ff;
}
#return a:hover {
	background-color: #eceded;
}




/*===============================================
●画面の横幅が1000pxまで
===============================================*/
@media screen and (max-width:1000px) {


#slide-list {
	display: none;
}

#main_photo {
	display: none;
}



#container{
	max-width: 770px;
	width: 90%;
}

#photo_container {
	margin: 0 auto;
	max-width: 770px;
	width: 100%;
	height: auto;
	display: block;
}

#picture_list {
	display: block;
	margin: 0 auto;
}

#picture_list img {
	margin: 0 0 30px;
	width: auto;
	height: auto;
	max-width: 48%;
	max-height: 300px;
}

#picture_list img:nth-child(odd){
	clear: both;
	float: left;
}

#picture_list img:nth-child(even){
	float: right;
}

#picture_list img:last-child{
	margin-bottom: 0;
}



}


/*===============================================
●画面の横幅が640pxまで
===============================================*/
@media screen and (max-width:640px) {


#container{
	max-width: 400px;
	width: 100%;
}

#photo_container {
	margin: 0 auto;
	max-width: 400px;
	width: 100%;
}

#picture_list {
	margin: 0 auto;
	float: none;
	width: 98%;
	display: block;
}


#picture_list img {
	margin: 0 auto 50px;
	width: 100%;
	height: auto;
	max-width: 600px;
	max-height: none;
}


h4 {
	font-size: 120%;
}
#gallery_text_box {
	width: 90%;
	height: 90%;
}
#date_text {
	font-size: 80%;
}



#nav-below {
	font-size: 80%;
}




}



