@charset "UTF-8";
/*
 gallery.css（ファイル名変更可）
 本サイト各ページ用CSS
*/

/* gallery-inner
========================================== */
.gallery-inner{
	padding: 43px 0 81px;
}
.gallery-inner .d-box-title{
	height: 0;
	padding-top: 9.4%;
}
.gallery-inner.yoshizawa .d-box-title{
	background: url(../images/gallery/gallery-title-yoshizawa.png) no-repeat;
	background-size: cover;
	background-position: left bottom;
}
.gallery-inner.iseya .d-box-title{
	background: url(../images/gallery/gallery-title-iseya.png) no-repeat;
	background-size: cover;
	background-position: left bottom;
}
.gallery-inner .gallery-box-body{
	margin-top: 61px;
}
.gallery-inner .gallery-box-body .gallery-box-link{
	position: relative;
	height: 82px;
}
.gallery-inner .gallery-box-body .gallery-box-link a{
	display: block;
	position: absolute;
	bottom: 0;
	text-indent: -9999px;
}
.gallery-inner.yoshizawa .gallery-box-body .gallery-box-link a:first-of-type{
	left: 0;
	background: url(../images/gallery/gallery-box-link-yoshizawa.png) no-repeat;
	background-position: left bottom;
	background-size: cover;
	width: 515px;
	height: 82px;
	pointer-events: none;
	z-index: 2;
}
.gallery-inner.yoshizawa .gallery-box-body .gallery-box-link a:last-of-type{
	right: 0;
	background: url(../images/gallery/gallery-box-link-iseya_b.png) no-repeat;
	background-size: cover;
	background-position: left bottom;
	width: 490px;
	height: 80px;
	z-index: 1;
	cursor: pointer;
}
.gallery-inner.iseya .gallery-box-body .gallery-box-link a:first-of-type{
	left: 0;
	background: url(../images/gallery/gallery-box-link-yoshizawa_b.png) no-repeat;
	background-position: left bottom;
	background-size: cover;
	width: 490px;
	height: 80px;
	z-index: 1;
	cursor: pointer;
}
.gallery-inner.iseya .gallery-box-body .gallery-box-link a:last-of-type{
	right: 0;
	background: url(../images/gallery/gallery-box-link-iseya.png) no-repeat;
	background-size: cover;
	background-position: left bottom;
	width: 515px;
	height: 82px;
	z-index: 2;
	pointer-events: none;
}
.gallery-inner .gallery-box-body .gallery-box-contents{
	background: url(../images/common/surwed-bg-05.png);
	position: relative;
	padding: 48px 0 62px;
}
.gallery-inner .gallery-box-body .gallery-box-contents:before{
	display: block;
	content: '';
	background: rgba(255,255,255,.9);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.gallery-inner .gallery-box-commentary{
	margin: 0 auto;
	position: relative;
	z-index: 1;
	text-indent: -9999px;
}
.gallery-inner.yoshizawa .gallery-box-commentary{
	background: url(../images/gallery/gallery-box-commentary-yoshizawa.png) no-repeat;
	background-size: cover;
}
.gallery-inner.iseya .gallery-box-commentary{
	background: url(../images/gallery/gallery-box-commentary-iseya.png) no-repeat;
	background-size: cover;
}
.gallery-inner .gallery-box-list{
	width: 89%;
	margin: 0 auto;
	padding-top: 35px;
	-webkit-display: flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	z-index: 1;
}
.gallery-inner .gallery-box-list a{
	width: 24%;
	display: block;
	cursor: pointer;
	position: relative;
}
.gallery-inner .gallery-box-list a:not(:nth-of-type(4n+1)){
	margin-left: 1.3%;
}
.gallery-inner .gallery-box-list a:not(:nth-of-type(-n+4)){
	margin-top: 1.3%;
}
.gallery-inner .gallery-box-list a.new:after{
	display: block;
	content: '';
	background: url(../images/gallery/gallery-box-new.png) no-repeat;
	background-size: cover;
	position: absolute;
	width: 22.79%;
	height: 0;
	padding-top: 22.6%;
	top: 2.47%;
	left: 2.79%;
}
.gallery-inner .gallery-box-list a img{
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

/* ---------------------------------
 SP用
--------------------------------- */
@media only screen and (max-width: 600px) {
	.gallery-inner{
		padding: 6.5625% 3.125% 12.25%;
	}
	.gallery-inner .d-box-title{
		padding-top: 15.6%;
	}
	.gallery-inner.yoshizawa .d-box-title{
		background: url(../images/gallery/gallery-title-yoshizawa-sp.png) no-repeat;
		background-size: cover;
		background-position: left bottom;
	}
	.gallery-inner.iseya .d-box-title{
		background: url(../images/gallery/gallery-title-iseya-sp.png) no-repeat;
		background-size: cover;
		background-position: left bottom;
	}
	.gallery-inner .gallery-box-body{
		margin-top: 5.46875%;
	}
	.gallery-inner .gallery-box-body .gallery-box-link{
		padding-top: 10.7%;
		height: 0;
	}
	.gallery-inner.yoshizawa .gallery-box-body .gallery-box-link a:first-of-type{
		background: url(../images/gallery/gallery-box-link-yoshizawa-sp.png) no-repeat;
		background-size: cover;
		background-position: left bottom;
		width: 52%;
		padding-top: 10.7%;
		height: 0;
	}
	.gallery-inner.yoshizawa .gallery-box-body .gallery-box-link a:last-of-type{
		background: url(../images/gallery/gallery-box-link-iseya_b-sp.png) no-repeat;
		background-size: cover;
		background-position: left bottom;
		width: 48.66%;
		padding-top: 10.6%;
		height: 0;
	}
	.gallery-inner.iseya .gallery-box-body .gallery-box-link a:first-of-type{
		background: url(../images/gallery/gallery-box-link-yoshizawa_b-sp.png) no-repeat;
		background-size: cover;
		background-position: left bottom;
		width: 48.66%;
		padding-top: 10.6%;
		height: 0;
	}
	.gallery-inner.iseya .gallery-box-body .gallery-box-link a:last-of-type{
		background: url(../images/gallery/gallery-box-link-iseya-sp.png) no-repeat;
		background-size: cover;
		background-position: left bottom;
		width: 52%;
		padding-top: 10.7%;
		height: 0;
	}
	.gallery-inner .gallery-box-body .gallery-box-contents{
		padding: 9.36% 0 10%;
		border: 2px solid #1f140d;
		border-top: none;
	}
	.gallery-inner .gallery-box-commentary{
		text-indent: -9999px;
		height: 0;
	}
	.gallery-inner.yoshizawa .gallery-box-commentary{
		background: url(../images/gallery/gallery-box-commentary-yoshizawa-sp.png) no-repeat;
		background-size: cover;
		width: 93.81%;
		padding-top: 353.5%;
	}
	.gallery-inner.iseya .gallery-box-commentary{
		background: url(../images/gallery/gallery-box-commentary-iseya-sp.png) no-repeat;
		background-size: cover;
		width: 94.64%;
		padding-top: 497%;
	}
	.gallery-inner .gallery-box-list{
		width: 75.25%;
		padding-top: 4%;
	}
	.gallery-inner .gallery-box-list a{
		width: 47.77%;
		display: block;
		cursor: pointer;
	}
	.gallery-inner .gallery-box-list a:not(:nth-of-type(4n+1)){
		margin-left: 0;
	}
	.gallery-inner .gallery-box-list a:not(:nth-of-type(-n+4)){
		margin-top: 0;
	}
	.gallery-inner .gallery-box-list a:not(:nth-of-type(2n+1)){
		margin-left: 4.4%;
	}
	.gallery-inner .gallery-box-list a:not(:nth-of-type(-n+2)){
		margin-top: 4.4%;
	}
}

/* ---------------------------------
 PC用
--------------------------------- */
@media screen and (min-width: 993px){
	.gallery-inner .gallery-box-body .gallery-box-contents{
		border: 4px solid #1f140d !important;
		border-top: none !important;
	}
	.gallery-inner.yoshizawa .gallery-box-commentary{
		width: 820px !important;
		height: 2420px !important;
		padding-top: 0 !important;
	}
	.gallery-inner.iseya .gallery-box-commentary{
		width: 870px !important;
		height: 2933px !important;
		padding-top: 0 !important;
	}
}

/* ---------------------------------
 tablet FONT用
--------------------------------- */
@media screen and (min-width : 601px){
	.gallery-inner .gallery-box-body .gallery-box-contents{
		border: 3px solid #1f140d;
		border-top: none;
	}
	.gallery-inner.yoshizawa .gallery-box-commentary{
		width: 82.16%;
		height: 0;
		padding-top: 242.5%;
	}
	.gallery-inner.iseya .gallery-box-commentary{
		width: 87.17%;
		height: 0;
		padding-top: 293.9%;
	}
	.gallery-inner .gallery-box-body .gallery-box-link{
		height: auto;
		padding-top: 8.2%;
	}
	.gallery-inner.yoshizawa .gallery-box-body .gallery-box-link a:first-of-type{
		width: 51.4%;
		height: 0;
		padding-top: 8.1%;
	}
	.gallery-inner.yoshizawa .gallery-box-body .gallery-box-link a:last-of-type{
		width: 49%;
		height: 0;
		padding-top: 8%;
	}
	.gallery-inner.iseya .gallery-box-body .gallery-box-link a:first-of-type{
		width: 49%;
		height: 0;
		padding-top: 8%;
	}
	.gallery-inner.iseya .gallery-box-body .gallery-box-link a:last-of-type{
		width: 51.4%;
		height: 0;
		padding-top: 8.1%;
	}
}
