@charset "utf-8";
/* -------------------------------------------------------------------
 【Photogallery　個別スタイル】
 ------------------------------------------------------------------ */

#page.photogallery div.contents > * {
margin-right: 20px;
margin-left: 20px;
}

/* main
------------------------------------------------------------*/
/* lead */
#main .lead {
	display: table;
	}
#main .lead > * {
	display: table-cell;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	vertical-align: middle;
	}
#main .lead > p {
	width: auto;
	padding-right: 25px;
	}
#main .lead > ul.btn {
	display: table-cell;
	width: 240px;
	text-align: center;
	}
#main .lead > ul.btn > li {
	background: #faefdb;
	padding: 10px 0;
	}

/* gallery */
#main ul.gallery {
	zoom: 100%;
	margin: 0 auto;
	border-top: dotted 1px #bfbebe;
	border-left: dotted 1px #bfbebe;
	overflow: hidden;
	}
#main ul.gallery > li {
	display: table;
	table-layout: fixed;
	position: relative;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	float: left;
	width: 253px;
	height: 238px;
	padding: 20px;
	border-right: dotted 1px #bfbebe;
	border-bottom: dotted 1px #bfbebe;
	text-align: center;
	}
#main ul.gallery > li:nth-child(3n+1) {
	clear: left;
	}
#main ul.gallery > li .cboxElementOuter {
	display: table-cell;
	width: auto;
	height: auto;
	background: #181818;
	vertical-align: middle;
	}
#main ul.gallery > li a {

	max-width: 100%;
	max-height: 100%;
	}
#main ul.gallery > li .thumb-gallery {
	max-width: 100%;
	max-height: 100%;
	}
#main ul.gallery > li .icon-glass {
	position: absolute;
	bottom: 31px;
	right: 24px;
	}

/* ポップアップ */
#cboxLoadedContent {
	background: #181818;
	}
div.modalbox {
	width: 400px;
	margin: 0 auto;
	background: #181818;
	}
div.modalbox p.photo {
	text-align: center;
	}
div.modalbox > dl {
	margin: 10px auto 0 auto;
	color: #ffffff;
	}
div.modalbox > dl > dt {
	font-weight: bold;
	}
div.modalbox > dl > dd {
	}


/* -------------------------------------------------------------------
 【Photogallery　投稿ページ】
 ------------------------------------------------------------------ */
/*.vote input[type=text] {
	width: 99%;
	padding: 5px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	border: solid 1px #b7b7b7;
}*/

.contact_form_container span.wpcf7-list-item {
	display: block;
}

.contact_form_container .acceptance {
	margin: 20px 0;
}
