@charset "UTF-8";
/* CSS Document */


/*---about---*/
#works .jumbotron{
position: relative;
}
#works .jumbotron img{
width: 100%;
}
#works h1{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
font-size: 3.5rem;
letter-spacing: 0.5rem;
color: #fff;
}
@media (max-width: 767px) {
#works h1{width: 100%!important;padding: 0 1.5rem;font-size: 2.5rem;letter-spacing: 0.5rem;}
}
#w-works{
padding-top: 8rem;
padding-bottom: 10rem;
background: url("/img/a-over_back.jpg") top center;
margin-bottom: 0;
}
#w-works h2{
position: relative;
}
#w-works h2 p{
display: block;
position: absolute;
top:2rem;
right:0;
}
#w-works .title-inner {
padding: 0;
}
#w-works .title-line {
height: 7px; 
background: url("/img/titleline_r_long.png") no-repeat top right;
margin-left: calc(50% - 50vw);
padding-left: calc(50vw - 50%);
margin-top: -2rem;
margin-left: 25rem;
}
#w-works .box-insert{
margin-top: 5rem;
}
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  margin:6rem 0 0;
}
.tab-label {
  background: #B8C9B0;
  padding: 20px 0 1px;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 20px 20px 0 0;
  flex: 1;
  margin:0;
  white-space: nowrap;
  text-align: center;
  font-size: 2.3rem;
  font-weight: 500;
}
.tab-label:not(:last-of-type) {
  margin-right: 5px;
}
.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
  z-index: 2;
  margin-top: -1px;
}
.tab-content a{
  color: #000;
  display: inline-block;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.tab-content img{
  width: 100%;
}
.tab-content p{
  margin-top: 1.5rem;
}
.tab-content span{
  color: #0E8000;
}
/* アクティブなタブ */
.tab-switch:checked+.tab-label {
  background: #FFF;
  border: 1px solid #0E8000;
  border-bottom: none;
  z-index: 3;
}
.tab-switch:checked+.tab-label span {
  display: block;
  padding-bottom: 15px;
  border-bottom: 1px solid #000;
  margin: 0 2rem;
}
.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 30px;
  opacity: 1;
  transition: .5s opacity;
  background: #fff;
  border: 1px solid #0E8000;
}
/* ラジオボタン非表示 */
.tab-switch {
  display: none;
}

.w-works_detail .box-insert{
margin-top: 5rem;
text-align: center;
}
.w-works_detail h3{
text-align: left;
margin-bottom: 8rem;
}
.w-works_detail .row img{
width: 100%;
}
.w-works_detail .return{
display: inline-block;
background: #0E8000;
color: #fff;
padding: 1rem 2rem;
margin: 8rem auto 0;
}


.swiper-slide {
  /* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
  color: #ffffff;
  width: 100%;
  height: 100%;
background-size: cover;	
background-position: center;	
}

.swiper-slide:nth-child(3n + 1) {
background-image:url("/works/img/w-k01_01.jpg");
}
.swiper-slide:nth-child(3n + 2) {
background-image:url("/works/img/w-k01_02.jpg");
}
.swiper-slide:nth-child(3n + 3) {
background-image:url("/works/img/w-k01_03.jpg");
}

/*浄化槽工事_02*/
.swiper-slide2:nth-child(3n + 1) {
background-image:url("/works/img/w-j02_01.jpg");
}
.swiper-slide2:nth-child(3n + 2) {
background-image:url("/works/img/w-j02_02.jpg");
}
.swiper-slide2:nth-child(3n + 3) {
background-image:url("/works/img/w-j02_03.jpg");
}
.swiper-slide2:nth-child(3n + 4) {
background-image:url("/works/img/w-j02_04.jpg");
}
.swiper-slide2:nth-child(3n + 5) {
background-image:url("/works/img/w-j02_05.jpg");
}

/*公園砂場*/
.swiper-slide3:nth-child(3n + 1) {
background-image:url("/works/img/w-s04_01.jpg");
}
.swiper-slide3:nth-child(3n + 2) {
background-image:url("/works/img/w-s04_02.jpg");
}
.swiper-slide3:nth-child(3n + 3) {
background-image:url("/works/img/w-s04_03.jpg");
}


.mySwiper2 {
  height: 800px;
  width: 100%;
}

.mySwiper {
  height: 200px;
  box-sizing: border-box;
  padding: 10px 0;
}

.mySwiper .swiper-slide .swiper-slide2 {
  width: 25%;
  height: 100%;
  opacity: 0.4;
  line-height: 80px;
}

.mySwiper .swiper-slide-thumb-active  {
  opacity: 1;
}


.imgsec{
margin-top: 5rem;
}



@media (max-width: 992px) {
.tab-label {font-size: 1.6rem;}
}
@media (max-width: 767px) {
#w-works {margin-top: 0;padding-top: 3rem;padding-bottom: 5rem;}
#w-works h2 {margin-top: 3rem;line-height: 1.5rem;}
#w-works h2 p{position: relative;margin: 0;padding: 0;}
#w-works .title-line {margin: 4rem 3rem 0 0;}
#w-works .box-insert{margin-top: 3rem;}
.tab-label {font-size: 1.2rem;padding: 15px 0 1px;}
.tab-switch:checked+.tab-label span {margin: 0 0.8rem;padding-bottom: 10px;}
.swiper-slide {
height: auto;	
background-size: 100%;
background-repeat: no-repeat;}
.mySwiper2 {
  height: 330px;
  padding: 0px;
}
.mySwiper{margin-bottom:-6rem;}	
.box-insert{padding-bottom: 6rem;}	
}	

  

#works footer{
margin-top: 0;
}






































