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

/*===========
ページCSS
=============*/
#wrap{
	width: 100%;
	padding: 1.5rem 0 20rem;
	background-image: url(../img/wall04.jpg);
}

#wrapper{
	width: 80%;
	margin: 0 auto;
	padding-left: 3rem;
}
@media screen and (max-width:599px){
	#wrapper{
		width: 70%;
	}
}

#photo-gallery h1{
	margin-top: 1rem;
	margin-left: 1.5rem;
}

@media screen and (min-width: 600px) and (max-width: 959px){
	#photo-gallery h1 img{
		width: 70%;
	}
}

@media screen and (max-width:599px){
	#photo-gallery h1 img{
		width: 70%;
	}
}

#photo-gallery h2{
	color: #666;
	font-size: 2rem;
	text-align: center;
	margin-top: 1rem;
	margin-bottom: 1.5rem;
	border-top: 1px #ccc solid;
	border-bottom: 1px #ccc solid;
	padding: 1rem 0;
}

@media screen and (min-width: 600px) and (max-width: 959px){
	#photo-gallery h2{
		font-size: 1.5rem;
	}
}
@media screen and (max-width:599px){
	#photo-gallery h2{
		font-size: 1.5rem;
	}
}

.topbar{
	position: relative;
	height: 2rem;
}

#close{
	padding: 1rem 1.1rem;
	font-size: 2rem;
	background-color: #ccc;
	color: #fff;
	border-radius: 35px;
	position: absolute;
	left: 45%
}

@media screen and (max-width:599px){
	#close{
		font-size: 2.5rem;
		font-weight: bold;
		left: 40%;
	}
}

#tp-grid{
	margin-top: 3rem;
}

@media screen and (max-width:599px){
	#tp-grid{
		margin: 1.5rem auto 0 !important;
		width: 60%;
	}
	#tp-grid li{
		margin-left: 0.5rem;
	}
}

.return{
	text-align: center;
	text-decoration: underline;
	margin: 2rem 0 1rem;
}

.return a{
	color: #00F;
}
/*===========
ギャラリーCSS
=============*/

.tp-grid {
	list-style-type: none;
	position: relative;
	display: block;
}

.tp-grid li {
	position: absolute;
	cursor: pointer;
	border: 5px solid #fff;
	box-shadow: 0 2px 3px rgba(0,0,0,0.5);
	display: none;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}

.no-js .tp-grid li {
	position: relative;
	display: inline-block;
}

.tp-grid li a {
	display: block;
	outline: none;
}

.tp-grid li img {
	display: block;
	border: none;
}

.tp-info,
.tp-title {
	position: absolute;
	background: #fff;
	line-height: 20px;
	color: #333;
	top: 40%;
	width: 75%;
	padding: 10px;
	font-weight: 700;
	text-align: right;
	left: -100%;
	box-shadow: 
		1px 1px 1px rgba(0,0,0,0.1),
		5px 0 5px -3px rgba(0,0,0,0.4),
		inset 0 0 5px rgba(0,0,0,0.04);
}

.touch .tp-info {
	left: 0px;
}

.no-touch .tp-info {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.no-touch .tp-grid li:hover .tp-info {
	-webkit-transition-delay: 150ms;
	-moz-transition-delay: 150ms;
	-o-transition-delay: 150ms;
	-ms-transition-delay: 150ms;
	transition-delay: 150ms;
}

.no-touch .tp-open li:hover .tp-info {
	left: 0px;
}

.tp-title {
	padding: 10px 35px 10px 10px;
	left: 0px;
}

.tp-title span:nth-child(2){
	color: #aaa;
	padding: 0 5px;
	background: #F7F7F7;
	right: 0px;
	height: 100%;
	line-height: 40px;
	top: 0px;
	position: absolute;
	display: block;
}