@charset "utf-8";
/* CSS Document */

.bFB img{
  margin-top: -35px;
}

.bg{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-position: center;
  -webkit-background-size: cover;
  background-size: cover;
  opacity: 0.25;
}
.bg1{
  background-image: url(../images/work/bg1.jpg);
}

.bg2{
  background-image: url(../images/work/bg2.jpg);
}

.content{
  position: absolute;
  top: 50%;
  left: 30%;
  right: 30%;
  height: 310px;
  margin: -155px -260px 0;
}
/*title*/
.title{
  position: relative;
  width: 120px;
  height: 290px;  
  padding: 10px;
  background: #444;
  float: left;
  line-height: 30px;
  margin-right: 10px;
}
h2 {
  color: #FFF;
}
h2 .en{
  font-size: 1.25em;
}
h2 .en::after{
  content: '';
  width: 10px;
  height: 1px;
  background: #70A8C3;
  display: block;
  margin-bottom: 15px;
}
.letter{
  position: absolute;
  bottom: 20px;
}
.line{
  position: absolute;
  bottom: 10px;
  right: 10px;
  left: 10px;
}

/*subMenu*/
.subMenu a{
  position: relative;
  color:#CCC;
  font-size: 0.75em;
  display: block;
}
.subMenu a::before{
  content: '';
  border-top: #999 solid 5px;
  border-right: transparent solid 5px;
  display: inline-block;
  vertical-align: top;
  margin-right: 5px;
  margin-top:7px;
}

.subMenu .tw{
  position: absolute;
  left: 10px;
  top: 0;
  width: 100%;
  opacity: 0;
}

.subMenu a:hover .tw{
  opacity: 1;
}
.subMenu a:hover .en{
  opacity: 0;
}

.subMenu .active a, .subMenu a:hover{
  color: #FFF;
}
.subMenu .active a::before, .subMenu a:hover::before{
  border-top-color: #E83E29;
}

/*scroll*/
.scrollContent{
  position: relative;
  overflow: hidden;
  height: 310px;
}

.scrollContent::after{
  content: '';
  position: absolute;
  bottom: 9px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #70A8C3;
}

.mCSB_horizontal.mCSB_inside > .mCSB_container{margin-bottom: 0px;}
.mCSB_scrollTools {opacity: 1;}
.mCSB_scrollTools.mCSB_scrollTools_horizontal {height: 20px;}
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_dragger{width: 40px;}
.mCS-dark.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar,
.mCS-dark.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
  background: #000; 
  border-radius: 0; 
  height:2px; 
  margin: 9px auto;
}
.mCSB_scrollTools.mCSB_scrollTools_horizontal .mCSB_draggerRail{
  background: none;
  margin: 9px auto;
}

/*list*/
.listItem{
  float: left;
  margin-right: 15px;
  -webkit-transition: background 0.3s linear;
  -o-transition: background 0.3s linear;
  transition: background 0.3s linear;
}
.listImg{
  width: 140px;
  height: 220px;
  background-repeat: no-repeat;
  background-position: center -40px;
  -webkit-background-size: auto 100%;
  background-size: auto 100%;
  -webkit-transition: background 0.3s linear;
  -o-transition: background 0.3s linear;
  transition: background 0.3s linear;
}
.listInfo{
  opacity: 0;
  -webkit-transition: opacity 0.3s linear;
  -o-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;
  margin:2px;
}
.caseNum{
  font-size: 0.75em;
  color: #666;
}
.caseNum::after{
  content: '';
  display: block;
  width: 10px;
  height: 1px;
  background: #70A8C3;
}
.caseName{
  font-size: 0.875em;
  line-height: 1.5em;
  color: #000;
  height: 42px;
}

.listItem:hover{
  background: #FFF;
}
.listItem:hover .listImg{
  -ms-background-position-y: 0;
  background-position-y: 0;
}
.listItemstraight:hover .listImg{
  -ms-background-position-y: 40% !important;
  background-position-y: 40% !important;
}
.listItem:hover .listInfo{
  opacity: 1;
}

@media screen and (max-width:1100px),screen and (max-height:660px){
  .bg{
    position:relative;
    top:auto;
    left:auto;
    right:auto;
    bottom: auto;
    padding-bottom:300px;
    opacity: 1;
  }

  .content{
    position: static;
    height: auto;
    margin: 0 30px;
  }

  .title{
    position: absolute;
    top: 300px;
    left: 50%;
    float: none;
    width: 350px;
    margin-left: -185px;
    margin-right: 0;
    height: auto;
    -webkit-transform: translate(0,-41px);
    transform: translate(0,-41px);
    background: #FFF;
  }
  h2 {color:#000;}
  h2 .en{ font-size: 1em; }
  h2 .en::after{ display: none; }
  .letter,.line{ position: static; }
  
  .subMenu {
    margin-top: 20px;
  }
  .subMenu li{
    display: inline-block;
    margin-right: 20px;
  }
  .subMenu li:last-child{
    margin-right: 0;
  }
  .subMenu a{color: #999;}
  .subMenu .active a, .subMenu a:hover{
    color: #000;
  }

  .scrollContent{ height: auto; margin: 100px auto;}
  .scrollContent::after{display: none;}
  
  .listItem{
    width: 31.3333%;
    height: auto;
    margin: 10px 1%;
  }
  .listImg{
    width: auto;
    height: auto;
    padding-bottom: 60%;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
  }
  .listInfo{
    opacity: 1;
  }
}

@media screen and (max-width:780px){
  .listItem{
    width: 48%;
  }
}

@media screen and (max-width:640px){
  .content{
    margin: 0px 10px;
  }

  .title{
    position: static;
    width: auto;
    margin: 0;    
  }
  
  .subMenu li{
    display: block;
    margin-right: 0;
  }
  
  .scrollContent{
    margin:-40px 0 0;
  }
  .listItem{
    width: 48%;
  }
}
@media screen and (max-width:480px){
  .listItem{
    width: 100%;
    margin: 10px 0;
  }
}