
@charset "UTF-8";

#eyecatch {
  background-image: url(/assets/images/works/eyecatch.jpg);
 }
 #gNav .works::before {
  background: #0e10d9;
  height: 20px;
  width: 10px;
  content: "";
  display: block;
  margin: 0 auto 10px;
}

/* ========
  タブ切り替え
================ */
.wrap-tab {
  overflow: hidden;
}
.list-tab > li {
  display: block;
  margin: 0 2px;
  background-color: #F5F5F5;
  color: #040FD9;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 15px;
  width: 30%;
}

.list-tab .active {
  background: #040FD9;
  color: white;
}
.list-tab .active span:before,
.list-tab span:before {
	content: "";
  display: inline-block;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}
.list-tab li span:before,
.list-tab li.active span:before,
#detail-overview .list-tab > div span:before {
  display: block;
  margin: auto;
}
.list-tab .all span:before {
  background-image: url("/assets/images/works/all-blue.png");
}
.list-tab .bousui span:before,
.list-tab .waterproof span:before {
  background-image: url("/assets/images/works/bousui-blue.png");
}
.list-tab .tosou span:before,
.list-tab .painting span:before {
  background-image: url("/assets/images/works/tosou-blue.png");
}
.list-tab .gaikou span:before,
.list-tab .exterior span:before {
  background-image: url("/assets/images/works/gaikou-blue.png");
}
.list-tab .sakan span:before,
.list-tab .plasterer span:before {
  background-image: url("/assets/images/works/sakan-blue.png");
}
.list-tab .ceiling span:before {
  background-image: url("/assets/images/works/ceiling-blue.png");
}
.list-tab .reform span:before {
  background-image: url("/assets/images/works/reform-blue.png");
}


.list-tab .active.all span:before {
  background-image: url("/assets/images/works/all-white.png");
}
.list-tab .active.bousui span:before,
.list-tab .active.waterproof span:before {
  background-image: url("/assets/images/works/bousui-white.png");
}
.list-tab .active.tosou span:before,
.list-tab .active.painting span:before {
  background-image: url("/assets/images/works/tosou-white.png");
}
.list-tab .active.gaikou span:before,
.list-tab .active.exterior span:before {
  background-image: url("/assets/images/works/gaikou-white.png");
}
.list-tab .active.sakan span:before,
.list-tab .active.plasterer span:before {
  background-image: url("/assets/images/works/sakan-white.png");
}
.list-tab .active.ceiling span:before {
  background-image: url("/assets/images/works/ceiling-white.png");
}
.list-tab .active.reform span:before {
  background-image: url("/assets/images/works/reform-white.png");
}


.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}


.balloon.active:before {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -10px;
  border-top: 10px solid #040FD9;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
}

/* ========
  もっと見る
================ */

.list-item{
  opacity: 1;
}
.list-item.is-hidden {
  opacity: 0;
  height: 0;
  margin: 0;
}
.list-btn {
  margin-top: 20px;
}
.list-btn.is-btn-hidden{
display:none;
}
.list-btn button {
  cursor: pointer;
  outline: none;
  border-radius: 30px;
  max-width: 280px;
  border: solid #0e10d9 1px;
}
.list-btn button span {
  vertical-align: text-top;
}
.img-hover {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}
.img-hover img {
  object-position: center;
  height: 220px;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
}
.more-smp {
  border-radius: 30px;
  border: solid #040fd9 1px;
  width: 80%;
}
.more-smp span {
  vertical-align: text-top;
}

/* ========
  詳細ページ
================ */
#detail-overview .list-tab > div {
  margin: 0 2px;
  box-sizing: border-box;
  cursor: pointer;
  border-radius: 15px;
  border: solid #040fd9 1px;
}
#detail-overview .list-tab > li {
  background: none;
}
#picture .two-column img,
#picture .four-column img {
  object-position: center;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
}
#picture .two-column img,
#picture .four-column img {
  height: 240px;
}

.blue-cv-btn span {
  vertical-align: text-top;
}

@media screen and (min-width: 768px) {

  .list-tab > li {
    width: auto;
  }
  .img-hover,
  .img-hover img {
    height: 188px;
  }
  .img-hover .more {
    border-radius: 35px;
    border: solid #fff 1px;
    width: 80%;
    margin: 28% auto;
    color: white;
  }
  .img-hover .more span {
    vertical-align: middle;
    font-size: 1.4rem;
  }

  .img-hover .mask {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left:	0;
    opacity: 0;
    background-color:	rgb(4 15 217 / 65%);;
    -webkit-transition:	all 0.2s ease;
    transition:	all 0.2s ease;
  }
  .tab-content .link:hover .mask {
    opacity: 1;
  }

  /* ========
    詳細ページ
  ================ */
  #picture .two-column img {
    height: 300px;
  }
  #picture .four-column img {
    height: 150px;
  }


}