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

/* gallery ==============================================================
	1. p-mainTitle
	2. p-comment
	3. p-poster, p-other (common)
	4. p-poster
	5. p-other
======================================================================== */

/* =====================================================================
	1. p-mainTitle
======================================================================== */

.p-gallery .p-mainTitle {
	width: 100%;
	height: 90px;
	background: url(../img/title/title_gallery.png) no-repeat center, url(../img/title/bg_title.jpg) repeat center;
}
@media screen and (max-width: 999px) {
	.p-gallery .p-mainTitle {
		height: 45px;
		background-size: auto 45px;
	}
}

.p-gallery .p-content {
	height: 50vh;
	text-align: center;
	color: #7F3F00;
	font-size: 1.4rem;
	line-height: 2.6rem;
	background: url(../img/gallery/bg_content.jpg) repeat center;
}

/* =====================================================================
	2. p-comment
======================================================================== */

.p-gallery .p-comment {
	text-align: center;
	padding: 0 0 20px;
	background: url(../img/gallery/bg_comment.jpg) repeat center;
}
.p-gallery .p-comment .c-text {
	color: #7F3F00;
	font-size: 1.4rem;
	line-height: 2.6rem;
	text-shadow: 2px 2px 8px #FFFFFF, -2px -2px 8px #FFFFFF, 2px -2px 8px #FFFFFF, -2px 2px 8px #FFFFFF;
}
.p-gallery .p-comment .c-text .p-caution {
	color: #FF0000;
	font-size: 1.4rem;
	line-height: 2.6rem;
}
@media screen and (max-width: 999px) {
	.p-gallery .p-comment .c-text {
		padding: 0 10px;
	}
}

/* =====================================================================
	3. p-poster, p-other
======================================================================== */

.p-gallery .c-odd {
	background: url(../img/gallery/bg_lineup-odd.jpg) no-repeat center;
}
.p-gallery .c-even {
	background: url(../img/gallery/bg_lineup-even.jpg) no-repeat center;
}
.p-gallery .c-row {
	display: block;
	width: 1000px;
	margin: auto;
	padding: 0 0 30px;
	font-size: 0;
}
.p-gallery .c-item {
	display: inline-block;
	vertical-align: top;
}
.p-gallery .c-half {	
	width: 460px;
	height: auto;
	margin: 40px 20px 20px;
}
.p-gallery .c-third {
	width: 300px;
	height: auto;
	margin: 40px 15px 20px;
}
.p-gallery .c-item .c-caption {
	width: 100%;
	height: 48px;
	margin: 15px 0 0;
	border-radius: 5px;		
	background-color: #F2F2F2;
}
.p-gallery .c-item .c-caption:hover {
	background-color: #FFFFFF;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.p-gallery .c-item .c-caption a {
	display: block;
	position: relative;
	top: 5px;
	width: auto;
	height: 38px;
	margin: 5px;
	border: #C99338 dotted 2px;
	border-radius: 4px;		
	box-sizing: border-box;
	text-align: center;
	color: #853300;
	font-size: 1.6rem;
	line-height: 3.8rem;
	text-decoration: none;
}
@media screen and (max-width: 999px) {
	.p-gallery .c-row {
		width: auto;
		text-align: center;
	}
}
@media screen and (max-width: 499px) {
	.p-gallery .c-row {
		padding-top: 10px;
	}
	.p-gallery .c-item {
		display: block;
	}
	.p-gallery .c-half,
	.p-gallery .c-third {
		width: auto;
		margin: 20px 20px 10px;
	}
	.p-gallery .c-item img {
		width: 100%;
		height: auto;
	}
}

/* =====================================================================
	3-1. p-poster
======================================================================== */

.p-gallery .p-poster {
	width: 100%;
	padding: 20px 0 0;
	background: url(../img/gallery/bg_lineup-odd.jpg) repeat-y top center;
}
.p-gallery .p-poster .p-title {
	width: 100%;
	height: 50px;
	padding: 0 0 40px;
	background: url(../img/gallery/title_poster.png) no-repeat center;
}
@media screen and (max-width: 999px) {
	.p-gallery .p-poster {
		padding-top: 10px;
		padding-bottom: 40px;
		background-size: 100% auto;
	}
	.p-gallery .p-poster .p-title {
		height: 25px;
		background-size: auto 25px;
		padding-bottom: 0;
	}
}

/* =====================================================================
	3-2. p-other
======================================================================== */

.p-gallery .p-other {
	width: 100%;
	padding: 20px 0 0;
	background: url(../img/gallery/bg_lineup-even.jpg) repeat-y top center;
}
.p-gallery .p-other .p-title {
	width: 100%;
	height: 50px;
	padding: 0 0 40px;
	background: url(../img/gallery/title_other.png) no-repeat center;
}
@media screen and (max-width: 999px) {
	.p-gallery .p-other {
		padding-top: 10px;
		padding-bottom: 40px;
		background-size: 100% auto;
	}
	.p-gallery .p-other .p-title {
		height: 25px;
		background-size: auto 25px;
		padding-bottom: 0;
	}
}