@charset 'utf-8';
/* ======================================================
CSS information

 File Name  : works-single.css
 Style Info : 「実績詳細」のCSS
====================================================== */

.works-box .works-title {
  margin-bottom: 1em;
  font-size: 1.6rem;
  line-height: 1.7;
  text-align: center;
}

#slider-box {
  opacity: 0;
  margin-bottom: 6px;
  transition: opacity .3s linear;
}

#slider-box.slick-initialized {
  opacity: 1;
}

#slider-box img {
  width: 100%;
  height: 50vw;

  object-fit: cover;
}

#thumb-box {
  margin-right: -3px;
  margin-left: -3px;
}

#thumb-box .slick-slide {
  position: relative;
  margin-right: 3px;
  margin-left: 3px;
}

#thumb-box .slick-slide::before {
  content: '';
  display: block;
  padding-top: 100%;
}

#thumb-box .slick-slide img {
  display: block;
  opacity: .8;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all .2s ease-in-out;

  object-fit: cover;
}

#thumb-box .slick-slide.slick-current img {
  opacity: 1;
}

/* 768px～（タブレット）
------------------------------------------------------ */
@media screen and (min-width: 768px) {
  .works-box .works-title {
    font-size: 1.8rem;
  }

  #slider-box {
    margin-bottom: 8px;
  }

  #thumb-box {
    margin-right: -4px;
    margin-left: -4px;
  }

  #thumb-box .slick-slide {
    margin-right: 4px;
    margin-left: 4px;
  }
}

/* 960px～（パソコン）
------------------------------------------------------ */
@media screen and (min-width: 960px) {
  .works-box .works-title {
    font-size: 2rem;
  }

  #slider-box {
    margin-bottom: 10px;
  }

  #thumb-box {
    margin-right: -5px;
    margin-left: -5px;
  }

  #thumb-box .slick-slide {
    margin-right: 5px;
    margin-left: 5px;
  }
}
