@charset "utf-8";

/* ========================================================
	construction.css => 施工ギャラリー用CSS
======================================================== */


/* list
============================================================================================================ */
#list {
	margin-bottom: 120px;
}
#list ul {
	margin: 0 -16px;
}
#list li {
	float: left;
	width: 33.33%;
	padding: 0 16px 60px;
}
#list li a {
	display: block;
	text-decoration: none;
	color: #222;
}
#list li a span {
	display: block;
}
#list li a .img {
	padding-top: 77%;
	background-position: 50%;
	-webkit-background-size: cover;
	background-size: cover;
}
#list li a .name {
	margin-bottom: 10px;
	padding: 2px 10px;
	background-color: #4f311a;
	color: #fff;
	text-align: center;
}
#information article .img ~ * {
	margin-left: 320px;
}
@media (min-width: 769px), print {
	#list li:nth-child(3n+1) {
		clear: both;
	}
}
@media screen and (max-width: 768px) {
	#list {
		margin-bottom: 60px;
	}
	#list ul {
		margin: 0 -8px;
	}
	#list li {
		float: left;
		width: 50%;
		padding: 0 8px 30px;
	}
	#list li:nth-child(2n+1) {
		clear: both;
	}
	#list li a .name {
		margin-bottom: 5px;
	}

	.wp-pagenavi {
		margin-top: 10px;
	}
}


/* detail
============================================================================================================ */
#detail {
	margin-bottom: 120px;
}
#detail h1 {
	margin-bottom: 60px;
	padding: 25px 0;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	text-align: center;
	font-weight: normal;
	font-size: 3.2rem;
	line-height: 1.4;
}
#detail h1 span {
	margin-right: 1.5em;
	font-size: 2.6rem;
}

#detail .image {
	margin-bottom: 40px;
}
#detail .image .main {
	width: 860px;
	float: right;
	text-align: center;
}
#detail .image .main img {
	max-width: 100%;
	max-height: 660px;
	display: inline;
}
#detail .image .main span {
	display: block;
	margin-top: 15px;
	font-size: 1.8rem;
}

#detail .image .thumbs {
	position: relative;
	float: left;
	width: 100px;
	height: 660px;
	padding-top: 64px;
}
#detail .image .thumbs li {
	margin-bottom: 8px;
	border: 0;
}
#detail .image .thumbs li span {
	display: block;
	background-color: #000;
}
#detail .image .thumbs li a {
	display: block;
	padding-top: 100%;
	background-position: 50%;
	-webkit-background-size: cover;
	background-size: cover;
	cursor: pointer;
	opacity: .55;
	-webkit-transition: opacity .2s;
	-o-transition: opacity .2s;
	transition: opacity .2s;
}
#detail .image .thumbs li a.current {
	opacity: 1;
	cursor: default;
}


@media (min-width: 769px), print {
	#detail .image .thumbs a:hover {
		opacity: 1;
	}
	#detail .image .thumbs .box_btn {
		position: absolute;
		left: 20px;
		width: 60px;
		height: 50px;
	}
	#detail .image .thumbs .box_btn.prev {
		top: 0;
	}
	#detail .image .thumbs .box_btn.next {
		bottom: 0;
	}
	#detail .image .thumbs .box_btn > * {
		padding: 0;
	}
	#detail .image .thumbs .box_btn .arrow {
		left: 50%;
		margin-left: -2px;
	}
	#detail .image .thumbs .box_btn.prev .arrow {
		margin-top: -3px;
		-webkit-transform: rotate(-90deg);
		-ms-transform: rotate(-90deg);
		-o-transform: rotate(-90deg);
		transform: rotate(-90deg);
	}
	#detail .image .thumbs .box_btn.next .arrow {
		-webkit-transform: rotate(90deg);
		-ms-transform: rotate(90deg);
		-o-transform: rotate(90deg);
		transform: rotate(90deg);
	}
	#detail .image .thumbs .box_btn.slick-disabled {
		display: none !important;
	}
}
@media screen and (max-width: 768px) {
	#detail {
		margin-bottom: 60px;
	}
	#detail h1 {
		margin-bottom: 20px;
		padding: 15px 0;
		font-size: 2.1rem;
	}
	#detail h1 span {
		margin: 0 0 3px;
		font-size: 1.6rem;
		display: block;
	}

	#detail .image {
		margin-bottom: 20px;
	}
	#detail .image .main {
		width: auto;
		float: none;
		margin-bottom: 20px;
	}
	#detail .image .main span {
		margin-top: 5px;
		font-size: 100%;
	}

	#detail .image .thumbs {
		float: none;
		width: auto;
		height: auto;
		padding: 0 34px;
	}
	#detail .image .thumbs li {
		margin: 0;
		padding: 0 3px;
	}
	#detail .image .thumbs li a {
		padding-top: 100%;
	}

	#detail .image .thumbs .box_btn {
		position: absolute;
		top: 50%;
		margin-top: -20px;
		width: 30px;
		height: 40px;
		padding: 0;
	}
	#detail .image .thumbs .box_btn.prev {
		left: 0;
		-webkit-transform: rotate(180deg);
		-ms-transform: rotate(180deg);
		-o-transform: rotate(180deg);
		transform: rotate(180deg);
	}
	#detail .image .thumbs .box_btn.next {
		right: 0;
	}
	#detail .image .thumbs .box_btn > * {
		padding: 0;
	}
	#detail .image .thumbs .box_btn .arrow {
		left: 50%;
	}
}
#detail .image .thumbs .box_btn.slick-disabled {
	display: none !important;
}





#detail .paing {
	display: table;
	margin: 60px auto 0;
}
#detail .paing > * {
	display: table-cell;
	width: 230px;
	padding: 0 10px;
	vertical-align: top;
}
#detail .paing .prev .arrow {
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
}
#detail .paing .next .arrow {
	left: auto;
	right: 20px;
}
@media screen and (max-width: 768px) {
	#detail .paing {
		margin-top: 30px;
		width: 100%;
		table-layout: fixed;
	}
	#detail .paing > * {
		width: auto;
		padding: 0;
	}
	#detail .paing .back {
		padding: 0 5px;
		width: 30%;
	}
	#detail .paing .box_btn {
		width: 100%;
		padding: 0;
	}
	#detail .paing .prev a {
		padding-left: 10px;
	}
	#detail .paing .prev .arrow {
		left: 10px;
	}
	#detail .paing .next a {
		padding-right: 10px;
	}
	#detail .paing .next .arrow {
		right: 10px;
	}
}
@media screen and (max-width: 370px) {
	#detail .paing .prev .arrow {
		left: 7px;
	}
	#detail .paing .next .arrow {
		right: 7px;
	}
}


