@charset "utf-8";

/*
  File Name   : photo.css
  Description : コンテンツエリア関係 他
*/

/* slide-wrap
============================================================ */
.slide-wrap {
  position: relative;
  opacity: 0;
  -webkit-transition: all .6s ease-in-out;
  transition: all .6s ease-in-out;
}


/* slide-main
============================================================ */
.slide-main .item {
  width: 100%;
  height: calc(100vh - 80px - 55px - 115px + 15px);
  padding-right: 60px;
  box-sizing: border-box;
  background-image: url(../img/photo/img-1.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  /* position: relative; */
  display: block;
}
.slide-main .item::before {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 0;
  width: 100%;
  height: 300px;
  z-index: 1;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+50,0.7+100 */
  background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0.7) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 20%,rgba(0,0,0,0.7) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 20%,rgba(0,0,0,0.7) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#b3000000',GradientType=0 ); /* IE6-9 */
}
.slide-main .item .desc-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}
.slide-main .item .desc-inner {
  position: absolute;
  bottom: 60px;
  left: 60px;
}
.slide-main .item .desc-wrap .title,
.slide-main .item .desc-wrap .text {
  color: #fff;
}
.slide-main .item .desc-wrap .title {
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}
.slide-main .item .desc-wrap .text {
  margin-top: 20px;
}

@media screen and (max-width: 1301px) {
  .slide-main .item {
    height: calc(100vh - 80px - 55px - 115px + 50px);
  }
  .slide-main .item::before {
    bottom: 10px;
  }
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .slide-main .item {
    width: 100%;
    height: 200px;
    padding-right: 50px;
  }
  .slide-main .item::before {
    display: none;
  }
  .slide-main .item .desc-wrap {
    padding: 0 20px 0;
  }
  .slide-main .item .desc-inner {
    position: static;
    padding-top: 240px;
  }
  .slide-main .item .desc-wrap .title,
  .slide-main .item .desc-wrap .text {
    color: #000;
  }
  .slide-main .item .desc-wrap .title {
    font-size: 16px;
  }
  .slide-main .item .desc-wrap .text {
    margin-top: 10px;
  }
}

/* slide-thum
============================================================ */
.slide-thum-wrap {
  position: relative;
  height: 100px;
  margin: 0 auto;
  display: block;
}
.slide-thum-inner {
  width: 100%;
}
.slide-thum {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #fff;
  position: relative;
  z-index: 2;
}
.slide-thum .thumbnail-item {
  width: calc(100% / 11);
  opacity: .9 !important;
  position: relative;
  cursor: pointer;
}
.slide-thum .thumbnail-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-color: rgba(0, 0, 0, .5);
  z-index: -1;
}
.slide-thum .thumbnail-item {
  width: calc(100% / 11);
  height: 115px;
  margin-top: -15px;
  background-image: url(../img/photo/img-1.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.slide-thum .thumbnail-item.thumbnail-current {
  opacity: 1 !important;
}

@media screen and (max-width: 1301px) {
  .slide-thum .thumbnail-item {
    height: 110px;
    margin-top: -10px;
  }
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .slide-thum-wrap {
    height: 100px;
    margin: 20px 0 85px;
  }
  .slide-thum-inner {
    width: 100%;
  }
  .slide-thum {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    background: none;
  }
  .slide-thum .thumbnail-item {
    width: calc(100% / 5);
  }
  .slide-thum .thumbnail-item {
    width: calc(100% / 5);
    height: 80px;
    margin-top: 0;
    margin: 0 0 0;
  }

  .slide-thum .thumbnail-item.thumbnail-current {
    opacity: 1 !important;
  }
}

.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: auto;
  bottom: -50px;
  display: block;
  width: 60px;
  height: 17px;
  padding: 0;
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
  z-index: 5;
}
.slick-next {
  right: 1.8vw;
  background: url(../img/photo/next-btn.png) 0 0 no-repeat;
  background-size: 60px auto;
}
.slick-prev {
  left: 1.8vw;
  background: url(../img/photo/prev-btn.png) 0 0 no-repeat;
  background-size: 60px auto;
}
.slick-prev:hover,
.slick-next:hover {
  opacity: 1 !important;
  display: block;
}
.slick-prev:focus,
.slick-prev:hover {
  background: url(../img/photo/prev-btn.png) 0 0 no-repeat;
  background-size: 60px auto;
}
.slick-next:focus,
.slick-next:hover {
  background: url(../img/photo/next-btn.png) 0 0 no-repeat;
  background-size: 60px auto;
}

.slick-prev:before,
.slick-next:before {
  display: none;
}
.slick-prev:hover,
.slick-next:hover {
  opacity: .7 !important;
}

@media screen and (max-width: 1301px) {
  .slick-next {
    right: 1.2vw;
  }
  .slick-prev {
    left: 1.2vw;
  }
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 811px) {
  .slick-prev,
  .slick-next {
    display: none !important;
  }
}

