@charset "utf-8";

/*
  File Name   : CONTENTNAME.css
  Description : コンテンツエリア関係 他
*/

/* kv
============================================================ */
.com-title-kv-wrap {
  background: url(../img/works/com-title-kv-wrap-img.png) center no-repeat;
  background-size: cover;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1101px) {
  .com-title-kv-wrap {
    background: url(../img/works/com-title-kv-wrap-img-sp.png) center no-repeat;
    background-size: cover;
  }
}

/* hoge
============================================================ */
.com-works-list ul {
  display: flex;
  flex-wrap: wrap;
}
.com-works-list li {
  width: calc((100% - 40px * 2) / 3);
  margin-right: 40px;
  margin-bottom: 50px;
  /* background-color: #fff; */
  /* box-shadow: 0 0 16px -6px rgb(0 0 0 / 20%); */
}
.com-works-list li:nth-child(3n) {
  margin-right: 0;
}
.com-works-list .img-block {
  width: 100%;
  height: 254px;
  /* background-color: #1d2088; */
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.com-works-list .img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
.com-works-list li.no-img .img-block {
  /* border: solid 10px #e5e6fd;
  box-sizing: border-box;
  z-index: 1; */
}
.com-works-list li .img-block img {
  position: relative;
  z-index: 2;
}
.com-works-list li .img-block::after {
  display: none;
}
.com-works-list li .img-outer {
  position: relative;
  display: block;
}
.com-works-list .desc-block {
  font-size: 16px;
  font-weight: bold;
  color: #049626;
  text-align: center;
  margin-top: 15px;
}
.com-works-list .desc-block .text {
  position: relative;
  padding-bottom: 10px;
  display: inline-block;
}
.com-works-list .desc-block .text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #049626;
}
.com-works-list li a:hover img {
  -webkit-transform: scale(1.1,1.1);
  transform: scale(1.1,1.1);
  opacity: .75;
}
.com-works-list li a:hover {
  text-decoration: none;
}

.com-works-list li .img-block img {
  position: relative;
  z-index: 2;
}
.com-works-list li .img-block::after {
  display: none;
}
.com-works-list li .img-outer {
  position: relative;
  display: block;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1101px) {
  .com-works-list li {
    width: calc((100% - 15px * 1) / 2);
    margin-right: 15px;
    margin-bottom: 20px;
  }
  .com-works-list li:nth-child(3n) {
    margin-right: 15px;
  }
  .com-works-list li:nth-child(2n) {
    margin-right: 0;
  }
  .com-works-list .img-block {
    width: 100%;
    height: 30vw;
    /* height: 120px; */
  }
  .com-works-list .desc-block {
    margin-top: 10px;
  }
}

/* pagination
============================================================ */
.pagination .screen-reader-text {
  display: none;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 0;
  gap: 10px;
}
.pagination a,
.pagination .current div {
  overflow: hidden;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #fff;
  color: #049626;
  border-radius: 20px;
  text-decoration: none;
  font-weight: normal;
  text-align: center;
  transition: opacity .3s ease;
}
.pagination .page-numbers a:hover {
  opacity: .7;
}
.pagination .prev,
.pagination .next {
  position: relative;
}
.pagination .prev:not(.all) {
  margin-right: 35px;
}
.pagination .next:not(.all) {
  margin-left: 35px;
}
.pagination .prev a,
.pagination .next a {
  background-color: #049626;
  color: #fcc800;
  text-align: left;
  text-indent: -9999px;
}
.pagination .prev a:hover,
.pagination .next a:hover {
  opacity: .7;
}
.pagination .current div {
  background-color: #049626;
  color: #fcc800;
  cursor: default;
}

/* all */
.pagination .prev a:before,
.pagination .next a:before{
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 20px;
  background: url(../img/works/icon-prev-single.png) 0 0 no-repeat;
  background-size: 50px auto;
  box-shadow: 0 0 16px -6px rgb(0 0 0 / 20%);
}
.pagination .prev.all a:before {
  background: url(../img/works/icon-prev-double.png) 0 0 no-repeat;
  background-size: 50px auto;
}
.pagination .next a:before {
  right: 0;
  background: url(../img/works/icon-next-single.png) 0 0 no-repeat;
  background-size: 50px auto;
}
.pagination .next.all a:before {
  right: 0;
  background: url(../img/works/icon-next-double.png) 0 0 no-repeat;
  background-size: 50px auto;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1101px) {
  .pagination {
    gap: 7px;
  }
  .pagination a,
  .pagination .current div {
    font-size: 12px;
  }
  .pagination .current div {
    background-color: #fff;
    color: #049626;
  }
  .pagination .page-numbers:not(.prev):not(.next):not(.current) {
    display: none;
  }
  .pagination .prev:not(.all) {
    margin-right: 15px;
  }
  .pagination .next:not(.all) {
    margin-left: 15px;
  }
}


/* detail
============================================================ */
.section-detail {
}
.section-detail {
}
.section-detail {
}


.section-detail .slide-wrap {
  position: relative;
  margin: 0 0 40px;
}
.section-detail .slide-main,
.section-detail .slide-main img {
  width: 810px;
  height: auto;
}
.section-detail .slide-main .item {
  height: 540px;
  overflow: hidden;
  border-radius: 20px;
}
.section-detail .slide-main .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
.section-detail .slide-thum {
  width: 180px;
  position: absolute;
  top: 0;
  right: 0;
  /* overflow: hidden; */
}
.section-detail .slide-thum,
.section-detail .slide-thum img {
  width: 180px;
  height: auto;
}
.section-detail .thumbnail-item {
  height: 120px;
  margin: 0 0 20px;
  border-radius: 20px;
}
.section-detail .thumbnail-item:hover img,
.section-detail .thumbnail-item img {
  position: relative;
  cursor: pointer;
  opacity: .5;
  border-radius: 20px;
}
.section-detail .thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  border: solid 4px #f7f6f0;
}
.section-detail .thumbnail-item:hover img,
.section-detail .thumbnail-current img {
  opacity: 1 !important;
}
.section-detail .thumbnail-current img {
  border: solid 4px #049626;
}
.section-detail .thumbnail-current {
  position: relative;
}
.section-detail .thumbnail-current::before {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: -70px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 30px;
  height: 6px;
  background: url(../img/works/slide-dot.svg) 0 0 no-repeat;
  background-size: 30px auto;
}

.section-detail .news-btn-wrap {
  margin: 90px auto 70px;
  text-align: center;
}
.section-detail .news-btn-wrap a {
  font-weight: bold;
  line-height: 1;
  text-align: center;
  color: #1d2088;
  display: block;
  width: 230px;
  padding: 23px 0;
  box-sizing: border-box;
  text-decoration: none;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  background-color: #fff;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 0 16px -6px rgb(0 0 0 / 20%);
}
.section-detail .news-btn-wrap a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 14px;
  height: 7px;
  background: url(../img/common/icon-arrow-left-bk.png) 0 0 no-repeat;
  background-size: 14px auto;
}
.section-detail .news-btn-wrap a:hover {
  opacity: .6;
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1121px) {
  .section-detail .slide-main,
  .section-detail .slide-main img {
    width: 100%;
  }
  .section-detail .slide-main .item {
    /* height: 223px; */
    height: 59vw;
  }
  .section-detail .slide-thum,
  .section-detail .slide-thum img {
    width: 100%;
    -webkit-transition: none;
    transition: none;
    border-radius: 5px !important;
  }
  .section-detail .slide-thum {
    width: 100%;
    position: static;
  }
  .section-detail .thumbnail-item {
    /* height: 50px; */
    height: 13vw;
    margin: 20px 6px 0 0;
    border-radius: 5px !important;
  }
  .section-detail .thumbnail-item:hover,
  .section-detail .thumbnail-item {
    width: calc(100% / 4 - 5px);
    position: relative;
    cursor: pointer;
    border-radius: 5px !important;
  }
  .section-detail .thumbnail-current img {
    border: solid 2px #049626;
    border-radius: 5px !important;
  }
  .section-detail .thumbnail-item:last-child {
    margin-right: 0;
  }
  .section-detail .current-icon {
    height: 25px;
    font-size: 16px;
    border-radius: 5px;
  }
  .section-detail .current-icon:before {
    font-size: 10px;
    top: 20px;
  }
  .section-detail .thumbnail-current .current-icon {
    opacity: 1;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
  }
  .section-detail .thumbnail-current::before {
    display: none;
  }
}

/* hoge
============================================================ */
.hoge {
}

/* sp
------------------------------------------------------------ */
@media screen and (max-width: 1101px) {
  .hoge {
  }
}
