@charset "utf-8";

/* ------------------------------
 メインイメージ
------------------------------ */
.mainimgTop {
	height: 380px;
	background: url(../img/gallery/mainimg.jpg) no-repeat center 0 / cover;
}
.mainimgTop h1 {
	padding: 25px 40px 30px;
	background: rgba(255,255,255,1);
}
.mainimgTop h1 img {
	width: 72px;
	height: auto;
}
/* ------------------------------
 スマホ用コード
------------------------------ */
@media screen and (max-width: 767px) {
	.mainimgTop {
		height: 200px;
	}
	.mainimgTop h1 {
		padding: 20px 30px;
	}
}



/* ------------------------------
 PC用コード
------------------------------ */
@media print, screen and (min-width: 1921px) {
	.mainimgTop {
		background: url(../img/gallery/mainimg.jpg) no-repeat center center / 100% auto;
	}
	
	
}
@media print, screen and (min-width: 768px) {
	.contentsTop .contents_navi {
		width: auto;
	}
	.contentsTop .contents_navi li:nth-child(2n) {
		margin-right: 22px;
	}
	.four .contents_navi li:nth-child(4n) {
		margin-right: 0 !important;
	}
}


/* ------------------------------
 外観

.popupList .w597 {
	position: relative;
	margin-bottom: 30px;
}
.popupList .cms_image a {
	display: block;
}
.popupList .w597:before {
	content: "";
	position: absolute;
	top: -20px;
	left: -20px;
	width: 40px;
	height: 40px;
	background: #fff;
	transform: rotate(-45deg);
	z-index: 1;
}
.popupList .w597 div {
	margin-top: 10px;
}
------------------------------ */




/* ------------------------------
 ギャラリー
------------------------------ */
.popupList .w597 {
	position: relative;
	margin-bottom: 30px;
}

.popupList .cms_fl:nth-child(even) {
	margin-left: 20px;
}


.popupList .cms_image a {
	display: block;
}
.popupList .w597:before {
	content: "";
	position: absolute;
	top: -20px;
	left: -20px;
	width: 40px;
	height: 40px;
	background: #fff;
	transform: rotate(-45deg);
	z-index: 1;
}
.popupList .w597 div {
	margin-top: 10px;
}

/* ------------------------------
 スマホ用コード
------------------------------ */
@media screen and (max-width: 767px) {
	.popupList .cms_fl:nth-child(even) {
	margin-left: 0;
}
}
