/* CSS Document */

@import url(navi.css);
@import url(common.css);

/*----------top---------------------------------------*/
#contents {
width: 100%;
position: relative;
padding-top: 100vh;
}

#contents .mainimg {
	width: 100%;
	position: absolute;
	top:0;
	left: 0;
	height: 100vh;
}

#contents #title {
	position: absolute;
	left: 40%;
	top: 20%;
	width: 58%;
	height: 39px;
}

#contents #title h2 {
	width: 100%;
	height: 39px;
	background: url(../img/top/st1.png) no-repeat;
	background-size: contain;
	background-position: right;
	text-indent: 110%;
	white-space: nowrap;
	overflow: hidden;
}

#contents #txt {
	position: absolute;
	left: 40%;
	top: 26%;
	margin: 0;
	width: 58%;
	text-align: right;
	height: 50px;
}

#contents #txt p {
margin: 0;
padding: 0;
font-size: 0.9em;
}


/*------------------smp-----------------------*/
@media screen and (max-width: 640px) {

#contents {
width: 100%;
padding-top: 300px;
}

#contents .mainimg {
	width: 100%;
	height: 300px;
}

#contents #title {
	position: absolute;
	left: 10%;
	top: 130px;
	height: 39px;
	width: 80%;
}



#contents #txt {
	position: static;
	margin: 10px auto 0 auto;
	width: 90%;
	height: auto;
	text-align: left;
}

#contents #txt p {
margin: 0;
padding: 0 0 10px 0;
font-size: 0.9em;
color: #000000;
text-shadow: none;
}
}




/*--------works---------------------------------------------------*/


#works {
width: 100%;
margin: 0 auto;
padding: 0;
}




/*------------------smp-----------------------*/
@media screen and (max-width: 640px) {

#works {
width: 100%;
margin: 0 auto;
padding: 0;
}


}




/*-----mouse over ---------------------------------------*/



#scr {
	max-width:1500px;
	margin:0 auto;
	letter-spacing: -0.4em;
}


figure.snip1353 {
  position: relative;
  display: inline-block;
  letter-spacing: normal;
  vertical-align: top;
  overflow: hidden;
  margin: 0;
  width: 20%;
  height: 168px;
  color: #ffffff;
  text-align: center;
}
figure.snip1353 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
figure.snip1353 img {
  opacity: 1;
  max-width: 100%;
  height: auto;
  min-height: 100%;
}
figure.snip1353:after,
figure.snip1353:before {
  background: #000000;
  width: 200%;
  height: 200%;
  position: absolute;
  content: '';
  opacity: 0.5;
  -webkit-transition: all 0.55s ease-in-out;
  transition: all 0.55s ease-in-out;
  z-index: 1;
}
figure.snip1353:after {
  top: 0;
  left: 0;
  -webkit-transform: skew(-45deg) translateX(-150%);
  transform: skew(-45deg) translateX(-150%);
}
figure.snip1353:before {
  right: 0;
  bottom: 0;
  -webkit-transform: skew(-45deg) translateX(150%);
  transform: skew(-45deg) translateX(150%);
}
figure.snip1353 figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 2;
}
figure.snip1353 h2,
figure.snip1353 p {
  margin: 0;
  width: 100%;
  opacity: 0;
}
figure.snip1353 h2 {
  padding: 0 15px;
  font-weight: 400;
  font-size: 1em;
  text-transform: uppercase;
}
figure.snip1353 h2 a {color: #ffffff; text-decoration: none;}
figure.snip1353 p {
  padding: 0 10px;
  font-size: 0.8em;
  font-weight: 500;
}
/*figure.snip1353 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 2;
}*/
figure.snip1353:hover img,
figure.snip1353.hover img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
figure.snip1353:hover:after,
figure.snip1353.hover:after {
  -webkit-transform: skew(-45deg) translateX(-50%);
  transform: skew(-45deg) translateX(-50%);
}
figure.snip1353:hover:before,
figure.snip1353.hover:before {
  -webkit-transform: skew(-45deg) translateX(50%);
  transform: skew(-45deg) translateX(50%);
}
figure.snip1353:hover figcaption h2,
figure.snip1353.hover figcaption h2,
figure.snip1353:hover figcaption p,
figure.snip1353.hover figcaption p {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.snip1353:hover figcaption h2,
figure.snip1353.hover figcaption h2 {
  opacity: 1;
}
figure.snip1353:hover figcaption p,
figure.snip1353.hover figcaption p {
  opacity: 0.8;
}



@media screen and (max-width: 640px) {
	
figure.snip1353 {
  width: 33.333%;
  height: 130px;
}	
	
}

@media screen and (max-width: 520px) {
	
figure.snip1353 { height: 100px;}	
	
}

@media screen and (max-width: 420px) {
	
figure.snip1353 { height: 90px;}	
	
}

