@charset "UTF-8";



/* ----------会社情報---------- */

/* 全体 */

#works_back {
	background: url("../image/back/works_back.jpg");
	width: 100%;
	min-width: 1200px;
}

.works_all {
	padding: 20px 0 80px;
	width: 1200px;
	margin: 0 auto;
	position: relative;
}

.works_leftmargin {
	margin-left: 100px;
}

.works_main {
	margin: 60px 0 60px;
}



.works {
	display: inline-block;
	vertical-align: top;
	text-align: center;
	width: 330px;
	position: relative;
}

.works:nth-child(2) {
	margin-left: 50px;
}

.works:last-child {
	position: absolute;
	right: 0;
}

/* 見出し */

.ribbon {
	margin-bottom: 15px;
	padding: 0 20px;
	font-size: 20px;
	font-weight: bold;
	display: inline-block;
	background: linear-gradient(transparent 60%, #f7b400 60%);
	text-align: center;
}

.ribbon:before, .ribbon:after {
	position: absolute;
	content: '';
	width: 0px;
	height: 0px;
	z-index: 1;
}

/* 画像 */

.works li:nth-child(2) {
	width: 100%;
	height: 180px;
	border: solid 3px black;
	position: relative;
	overflow: hidden;
	margin-bottom: 10px;
	box-sizing: border-box;
}

.works img {
	width: 100%;
}

/* テキスト */

.works li:last-child {
	text-align: justify;
}



/* 物件事例 */

.example_title {
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 30px;
	letter-spacing: 20px;
}

.example li {
	width: 170px;
	height: 170px;
	display: inline-block;
	overflow: hidden;
	position: relative;	
	margin-bottom: 20px;
}

.slick-dots li {
	border: none;
}

/* マウスオーバー */

.sample1 .caption {
	text-align: center;
	padding-top: 65px;
	color: #fff;
}
.sample1 .mask {
	width: 170px;
	height: 170px;
	border-radius: 50%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	background-color: rgba(0,0,0,0.4);
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
	pointer-events: none;
}

.sample1:hover .mask {
	opacity: 1;
}



/* ウィンドウ幅が0?479pxの場合に適用するCSS */
@media screen and ( max-width:479px )
{



/* ----------会社情報---------- */

#works_back {
	min-width: 100%;
}

.works_all {
	width: 100%;
}

.works_leftmargin {
	margin-left: 0;
}



.works_main {
	margin: 8vw 0 10vw;
}

.works {
	display: block;
	width: 95%;
	margin: 0 auto;
}

.works:nth-child(2) {
	margin-left: auto;
	margin-top: 50px;
	margin-bottom: 50px;
	margin-right: auto;
}

.works:last-child {
	position: static;
}

/* 見出し */

.ribbon {
	padding: 0 10px;
	font-size: 6vw;
}

/* 画像 */

.works li:nth-child(2) {
	width: 100%;
	height: 180px;
}



/* 物件事例 */

.example_title {
	letter-spacing: 10px;
}

.example li {
	height: auto;
	margin: 0 4px 0 4px;
}

.example img {
	width: 100%;
}


/* マウスオーバー */

.sample1 .caption {
	padding-top: 55px;
}

.sample1 .mask {
	width: 100%;
	height: 100%;
	border-radius: 50%;
}













}