@charset "UTF-8";

/* Works Indexページ
-------------------------------------------- */
/* .contentsWrapのカスタマイズ */
.contentsWrap-0 {
  padding-bottom: 0;
}


/* Index Thumbnail */
.thumbnailWrap figure {
  position: relative;
  width: 100%;
  height: 0;
  margin: 0;
  padding-top: 100%;
  overflow: hidden;
}

.thumbnailWrap img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width:auto;
  height:auto;
  max-width:179%;/* 横向き16:9の画像が表示エリア一杯になるように指定 */
  max-height:initial;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

figcaption {
  color: #FFF;
  background-color: rgba(0, 0, 0, .65);
  position: absolute;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem;
  padding-top: 0;
  opacity: 0;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.thumbnailWrap a:hover > figure img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) scale(1.1, 1.1);
  transform: translate(-50%, -50%) scale(1.1, 1.1);
}

.thumbnailWrap a:hover > figure figcaption {
  padding-top: 2rem;
  opacity: 1;
}


/* Works Detailsページ
-------------------------------------------- */
/* .contentsWrapのカスタマイズ */
#_w-details .contentsWrap {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

#_w-details .contentsWrap-h2,
#_w-details .contentsWrap-h2 > h2 {
  padding-bottom: 0 !important;
}


/* SLIDER */
.swiper-container {
  width: 100%;
  height: calc(100vh - 150px);
  max-height: 600px;
  margin-top: 1rem;
}

.swiper-slide {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

@media (min-width: 576px) {
  #_w-details .contentsWrap {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (min-width: 768px) {
  .swiper-container {
    margin-top: 0;
    padding: 2rem 0;
  }
}

@media (min-width: 992px) {
  .swiper-container {
    max-height: 720px;
  }
}

@media (min-width: 1200px) {
  .swiper-container {
    max-height: 855px;
  }
}


/* SLIDER Pagination カスタマイズ */
.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
}

.swiper-pagination-white .swiper-pagination-bullet-active {
  width: 8px;
  height: 8px;
  background: #6da9b4;
  margin-bottom: -1px !important;
}


/* SLIDER Arrows カスタマイズ */
.swiper-button-prev-ex,
.swiper-button-next-ex {
  width: auto;
  height: auto;
  margin-top: -30px;
  background-image: none;
  color: #ddd;
  font-size: 2.5rem;
}

.swiper-button-prev-ex {
  left: 0;
}

.swiper-button-next-ex {
  right: 0;
}


/* モバイルブラウザの矢印focus表示の削除 */
.swiper-button-prev-ex:focus,
.swiper-button-next-ex:focus {
  outline: none !important;
}


/* h2タイトル */
#_w-details h2 {
  text-align: left;
  padding-top: 0;
  padding-bottom: 1.75rem;
}

#_w-details h2 small {
  display: inline-block;
  color: #444;
  padding-left: 0;
  padding-right: 1rem;
}


/* WORKS DATA */
#_w-details dl {
  font-size: .8125rem;
  letter-spacing: .075rem;
}

#_w-details dt {
  font-size: .75rem;
  font-weight: 400;
  padding-bottom: .5rem;
}

#_w-details dd {
  margin: 0;
}

#_w-details p {
  line-height: 1.5;
  padding-bottom: .5rem;
}

@media (min-width: 768px) {
  #_w-details h2 {
    padding-bottom: 2.25rem;
  }

  #_w-details dl {
    display: flex;
    flex-direction: row;
  }

  #_w-details dt {
    padding-right: 1rem;
    padding-bottom: 0;
  }

  #_w-details p {
    line-height: 1.7;
  }
}


/* PAGE CONTROLLER */
.cotlBtnWrap {
  display: flex;
  justify-content: center;
  padding: 2rem 0;
}

.cotlBtn {
  padding: 0 1.5rem;
}

.cotlBtn a {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.cotlBtn a span {
  display: inline-block;
  /*color: #6da9b4;*/
  font-size: .6875rem;
}

@media (min-width: 768px) {
  .cotlBtnWrap {
    padding: 3.125rem 0;
  }

  .cotlBtn {
    padding: 0 2rem;
  }

  .cotlBtn a {
    font-size: 2rem;
  }

  /*
  .cotlBtn a span {
    font-size: .75rem;
  }
  */
}
