/*
breakpoint
------------------------------------------------*/

/*
top_layout
------------------------------------------------*/

.sec {
  position: relative;
}

.sec-title {
  position: absolute;
  z-index: 10;
  font-family: Avenir , "Open Sans" , "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto ,sans-serif;
  letter-spacing: .03em;
  font-weight: bold;
  color: #fff;
}

/*
visual
------------------------------------------------*/

.visual {
  background: #000;
}

.visual-item {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.visual img {
  width: 100%;
  height: auto;
}

/*
gallery
------------------------------------------------*/

.gallery {
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.gallery-item {
  display: table-cell;
  background: #fff;
}

/* ------------------------------
   loopSlider
------------------------------ */

.loopSliderWrap {
  top: 0;
  left: 0;
  height: 280px;
  overflow: hidden;
  position: absolute;
}

.slide-in {
  margin: 0 auto;
  width: 100%;
  height: 280px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.slide-in ul {
  height: 280px;
  float: left;
  overflow: hidden;
}

/* ------------------------------
   CLEARFIX ELEMENTS
------------------------------ */

.loopSliderWrap:after {
  content: "";
  display: none;
  clear: none;
}

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

.works-item {
  width: 50%;
  float: left;
  background: #fff;
}

.works img {
  width: 100%;
  height: auto;
}

@media screen and (min-width: 668px) {
  .sec-title {
    font-size: 2.2rem;
    left: 80px;
    top: 50px;
  }
}

@media screen and (min-width: 955px) {
  .visual-item {
    height: 0;
    padding-bottom: 3.5%;
  }
}

@media screen and (min-width: 1025px) {
  .gallery-item a {
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
  }

  .gallery-item a:hover {
    opacity: .8;
    filter: alpha(opacity=80);
  }

  .works a {
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
  }

  .works a:hover {
    opacity: .85;
    filter: alpha(opacity=85);
  }
}

@media screen and (max-width: 1040px) {
  .sec-title {
    left: 40px;
    top: 30px;
    font-size: 1.7rem;
  }
}

@media screen and (max-width: 954px) {
  .visual-item {
    height: 430px;
  }
}

@media screen and (max-width: 667px) {
  .sec-title {
    font-size: 1.1rem;
    letter-spacing: .015em;
    left: 10px;
    top: 10px;
  }

  .gallery-item img {
    width: 140px;
    height: auto;
  }

  .loopSliderWrap {
    height: 140px;
  }

  .slide-in {
    height: 140px;
  }

  .slide-in ul {
    height: 140px;
  }

  .works-item {
    width: 100%;
    float: none;
  }
}