@charset "UTF-8";

.swiper{
  height: calc(100vh - 75px);
  font-size: 0;
  line-height: 0;
  color: transparent;
  margin-bottom: 40px;
}
.swiper-wrapper .swiper-slide {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  height: calc(100vh - 75px);
  overflow: hidden;
  backface-visibility: hidden;
}
/* paginationの色変化 */
.swiper-pagination-bullet.swiper-pagination-bullet-active{
  background-color: #333;
}
/* spだとpagination選択時に丸のラインが青くなるので消した */
.swiper-pagination-bullet:focus{
  outline: none;
}
/* 左右の＜＞消した */
.swiper-button-prev::after,.swiper-button-next::after{
  display: none;
}

/* ロード時のフェード*/
.load-fade{
  opacity: 0; 
  transition: opacity 4s, transform 4s;
}
.load-fade.done{
  opacity : 1;
  transform : translate(0, 0);
}

h2{
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 58px 0 30px;
}
h3{
  font-size: 15px;
  font-weight: bold;
  margin: 12px 0 40px;
}
.works_pan img{
  width: 75vw;
}
.works_pan h3 br{
  display: none;
}
.works_Furniturehouse img{
  width: 36.5vw;
}
.works_circle img{
  width: 75vw;
}
.works_Structuralforest img{
  width: 23.6vw;
}
.works_ShIKA img{
  width: 75vw;
}
.works_GY4_1 img{
  width: 46vw;
}
.works_GY4_2 img{
  width: 27vw;
}
.works_GY4_2{
  margin-top: auto;
}
.works_GY3 img{
  width: 36.5vw;
}
.works_packinghouse img{
  width: 55vw;
}
/* ホバーで画像暗く */
section figure{
  position: relative;
  overflow: hidden;
  background-color: black;
}
/* 幅指定しないと、幅全部に画像無いと隙間が黒くなるのでworks_packinghouseだけ指定 */
.works_packinghouse figure{
  width: 55vw;
  position: relative;
  overflow: hidden;
  background-color: black;
}
section figure:hover img{
  opacity: .7;
  transition: .6s;
}
/* ホバーここまで */

/* 矢印が右に移動する*/
.arrow{
  font-size: 15px;
  text-align: right;
  width: 200px;
  margin: 0 0 0 auto;
}
.arrow a{
  position: relative;
  display: inline-block;
  padding-right: 75px;
  color: #333;
  text-decoration: none;
  outline: none;
}
.arrow a::before{
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0%;
  width: 100%;
  height: 1px;
  background: #333;
  transition: all .4s;
}
.arrow a::after{
  content: '';
  position: absolute;
  bottom: -3px;
  right: -1%;
  width: 17px;
  height: 1px;
  background: #333;
  transform: rotate(35deg);
  transition: all .4s;
}
.more{
  margin-bottom: 15px;
  text-indent: -1.5em;
}
/*hoverした際の矢印移動*/
.arrow a:hover::before{
  left: 30%;
}
.arrow a:hover::after{
  right: -31%;
}

section figure img{
  cursor: pointer;
}
#contact-page img{
  display: none;
}

@media screen and (max-width: 768px) {
  .works_pan img,.works_Furniturehouse img,.works_circle img,.works_Structuralforest img,
  .works_ShIKA img,.works_GY4_1 img,.works_GY4_2 img,.works_GY3 img,.works_packinghouse img,.works_packinghouse figure{
    width: 100%;
  }
  figure{
    margin-bottom: 10px;
  }
  h3{
    margin-left: 12px;
  }
  .works_pan h3{
    line-height: 1.3;
  }
  .works_pan h3 br{
    display: block;
  }
  /* sp画像消す */
  .works_Structuralforest figure:first-child,
  .works_Structuralforest figure:last-child{
    display: none;
  }
  
  .inner section:last-child h3{
    margin-bottom: 60px;
  }
  .swiper-pagination{
    display: none;
  }
  .swiper-button-prev::after,.swiper-button-next::after{
    display: block;
    color: rgba(51, 51, 51, .5);
  }
  .swiper-button-prev:focus,.swiper-button-next:focus{
    outline: none;/* spだとbuttonの後ろが四角く青くなるので消した */
  }

  .arrow{
    margin: 0 36px 0 auto;
    padding-bottom: 52px;
  }
  .arrow a{
    padding-right: 65px;
  }
  .more{
    margin-bottom: 7px;
  }
  .arrow a:hover::before{
    left: 15%;
  }
  .arrow a:hover::after{
    right: -16%;
  }

  #contact-page{
    display: inline; 
    position: fixed;
    z-index: 100;
    right: 1vw;
    bottom: 20px;
  }
  #contact-page img{
    width: 50px;
    display: block;
    margin: 0 10px 0 auto;
  }
}
