@charset "utf-8";
/* CSS Document */
/*設定*/
.bonco-container {
	width: 100%;
	}
	.bonco-container:after { content: ""; display: block; clear: both; visibility: hidden; font-size: 0;  height: 0; }
	.bonco-container { *display: inline-block; height: 1%; }
.portfolio-name{margin-bottom:5px;}
/*	img hover effect
------------------------------------------------*/	
.bonco-item  a.img-hover {
	display: inline-block;
	max-width: 100%;
	width: auto;
	position: relative;
	overflow: hidden;
	}
	
.bonco-item  a.img-hover:before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: #ffffff;
	opacity: 0; filter: alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	-webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
	z-index: 1;
	}
.bonco-item a.img-hover.hover-dark:before { background: #000000; }
	
.bonco-item a.img-hover:hover::before { opacity: 0; filter: alpha(opacity=7); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; }
.bonco-item a.img-hover.hover-dark:hover::before { opacity: 0; filter: alpha(opacity=60); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; }
	
.bonco-item a.img-hover img {
	transition: all 0.6s ease;
	}
	
.bonco-item a.img-hover:hover img {
	-webkit-transform:scale(1.07);
    -moz-transform:scale(1.07); 
    -ms-transform:scale(1.07);
    -o-transform:scale(1.07); 
     transform:scale(1.07);
	}
	
.bonco-item a.img-hover .hover-caption {
	width: calc(100% - 80px);
	position: absolute;
	bottom: 30px;
	left: 0px;
	z-index: 1;
	opacity: 0; filter: alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	-webkit-transition: all 0.5s ease ;
    -moz-transition: all 0.5s ease ;
    -o-transition: all 0.5s ease ;
    -ms-transition: all 0.5s ease ;
    transition: all 0.5s ease ;
	}
	
.bonco-item a.img-hover:hover .hover-caption {
	opacity: 1; filter: alpha(opacity=100); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	left: 30px;
	-webkit-transition: all 0.5s ease 0.2s;
    -moz-transition: all 0.5s ease 0.2s;
    -o-transition: all 0.5s ease 0.2s;
    -ms-transition: all 0.5s ease 0.2s;
    transition: all 0.5s ease 0.2s;
	}


.bonco-item {
	float:left;
	width: calc(50% - 40px);
	margin-right: 80px;		
	margin-bottom: 80px;
	position: relative;
	left: 0px;
	}
	.bonco-item.wthird { width: calc(33.2% - 53px); }
	.bonco-item.wfull { width: 100%; margin-right: 0px; }
	.bonco-item.wright { margin-right: 0px; float:right; }
	
.bonco-item-inner {
	display: inline-block;
	max-width: 85%;
	position: relative;
	float: left;
	}
	.vcenter .bonco-item-inner {
  	-webkit-transform: translateY(-50%);
  	-moz-transform: translateY(-50%);
  	-ms-transform: translateY(-50%);
  	-o-transform: translateY(-50%);
  	transform: translateY(-50%);
	top: 50%;
	}
	.bonco-item.wright .bonco-item-inner { float: right; }
	.bonco-item.wmiddle .bonco-item-inner { 
	-webkit-transform: translateX(-50%);
  	-moz-transform: translateX(-50%);
  	-ms-transform: translateX(-50%);
  	-o-transform: translateX(-50%);
  	transform: translateX(-50%);
	left: 50%; 
	}
	.bonco-item.wmiddle.vcenter .bonco-item-inner { 
	-webkit-transform: translate(-50%,-50%);
  	-moz-transform: translate(-50%,-50%);
  	-ms-transform: translate(-50%,-50%);
  	-o-transform: translate(-50%,-50%);
  	transform: translate(-50%,-50%);
	left: 50%;
	top: 50%; }
	
	.bonco-item.boncomediafull .bonco-item-inner { max-width: 100%; }
	
.bonco-mouseparallax { position: relative; height: 100%; }

.bonco-item-inner > .bonco-media { position: relative; z-index: 0; }

.bonco-item .bonco-caption:not(.static) { 
	position: absolute;
	top: 40px; 
	right: 0px;
	max-width: 600px;
	text-align: left;
	-webkit-transform: translateX(100px);
  	-moz-transform: translateX(100px);
  	-ms-transform: translateX(100px);
  	-o-transform: translateX(100px);
  	transform: translateX(100px);
	z-index: 1;
	}
	.bonco-item.wfull .bonco-caption:not(.static) { max-width: 80%; }
	.bonco-item.wright .bonco-caption:not(.static) {
	top: auto; 
	bottom: 40px; 
	left: 0px; 
	right: auto;
	text-align: right;
	-webkit-transform: translateX(-100px);
  	-moz-transform: translateX(-100px);
  	-ms-transform: translateX(-100px);
  	-o-transform: translateX(-100px);
  	transform: translateX(-100px);
	}

	.bonco-item .bonco-caption.ctop:not(.static) { top: 40px; bottom: auto; }
	.bonco-item .bonco-caption.cbottom:not(.static) { top: auto; bottom: 40px; }
	.bonco-item .bonco-caption.cleft:not(.static) { left: -120px; right: inherit; text-align: right; }
	.bonco-item .bonco-caption.cright:not(.static) { right: -120px; left: inherit; text-align: left; }
	.bonco-item .bonco-caption.ccenter:not(.static) { 
	-webkit-transform: translateX(-50%);
  	-moz-transform: translateX(-50%);
  	-ms-transform: translateX(-50%);
  	-o-transform: translateX(-50%);
  	transform: translateX(-50%);
	left: 50%; right: 0px;
	width: 50%;
	min-width: 240px;
	}
	
/* if more text bonco-text */
.bonco-item.bonco-text .bonco-item-inner {
	position: static;  /* this is important if the caption has more text and custom % width*/   
	}
.bonco-item.bonco-text .bonco-caption:not(.static) { 
	max-width: 80%; 
	right: 0;
	top: 40px; 
	-webkit-transform: none;
  	-moz-transform: none;
  	-ms-transform: none;
  	-o-transform: none;
  	transform: none;
	}
.bonco-item.bonco-text.wright .bonco-caption:not(.static) { 
	right: auto;
	left: 0;
	}
.bonco-item.bonco-text .bonco-caption:not(.static) .bonco-caption-inner { 
	position: relative;
	left: auto;
	right: auto;
 	}
	
/* static caption */	
.bonco-item .bonco-caption.static {
	position: static;
	top: auto; 
	right: auto;
	right: auto;
	max-width: 100%;
	}
	
.bonco-item .bonco-caption a {
	display: inline-block;
    color:#fff;
	}
.bonco-item .bonco-caption a:hover { 
    color:#cfcfcf;
	}	
/* filter */
.bonco-item.filter-out { display: none; }


/* reponsive feature */
@media only screen and (max-width: 1024px) {
	.bonco-item:not(.bonco-text) .bonco-caption:not(.static) { 
	-webkit-transform: translateX(85px);
  	-moz-transform: translateX(85px);
  	-ms-transform: translateX(85px);
  	-o-transform: translateX(85px);
  	transform: translateX(85px);
	}
	.bonco-item.wright:not(.bonco-text) .bonco-caption:not(.static) {
	-webkit-transform: translateX(-85px);
  	-moz-transform: translateX(-85px);
  	-ms-transform: translateX(-85px);
  	-o-transform: translateX(-85px);
  	transform: translateX(-85px);
	}
}

@media only screen and (max-width: 881px) {
	
    .bonco-item {
	float:left;
	width: calc(100% - 0px);
	margin-right: 0;		
	margin-bottom: 60px;
	position: relative;
	left: 0px;
	}
    .bonco-item:not(.bonco-text) .bonco-caption:not(.static) { 
	-webkit-transform: translateX(70px);
  	-moz-transform: translateX(70px);
  	-ms-transform: translateX(70px);
  	-o-transform: translateX(70px);
  	transform: translateX(70px);
	}
	.bonco-item.wright:not(.bonco-text) .bonco-caption:not(.static) {
	-webkit-transform: translateX(-70px);
  	-moz-transform: translateX(-70px);
  	-ms-transform: translateX(-70px);
  	-o-transform: translateX(-70px);
  	transform: translateX(-70px);
	}
}


.bonco-responsive .bonco-item {  width: 100%; margin-right: 0px; margin-bottom: 80px; }

.bonco-responsive .bonco-item .bonco-item-inner {  margin-top: 0px !important; width: 85% !important; max-width: 85% !important; }

.bonco-responsive .bonco-media  { top: 0 !important; }
.bonco-responsive .bonco-media:after  { content: ""; display: block; clear: both; visibility: hidden; font-size: 0;  height: 0; }

.bonco-responsive .bonco-caption:not(.static) {
	position: relative !important;
	top: auto !important;
	bottom: auto !important;
	left: auto !important;
	right: auto !important;
	margin-left: -15% !important;
	margin-top: -40px !important;
	display: inline-block;
	max-width: 100% !important;
	width: 100% !important;
	-webkit-transform: none !important;
  	-moz-transform: none !important;
  	-ms-transform: none !important;
  	-o-transform: none !important;
  	transform: none !important;
	}
	
.bonco-responsive .wleft .bonco-caption:not(.static) {
	float: right;
	margin-right: -15% !important;
	}
	
.bonco-responsive .bonco-item .bonco-caption .bonco-caption-inner { 
	position: relative;
	left: auto;
	right: auto;
 	} 
	
.bonco-responsive .bonco-caption.ccenter { 
	-webkit-transform: none;
	-moz-transform: none;
  	-ms-transform: none;
  	-o-transform: none;
  	transform: none;
	}
	
