@charset "utf-8";
/* CSS Document */
.works{
  max-width: 700px;
  margin: 0 auto;  
}
.works .overview{
  padding: 0 5%;
  /*border-bottom: 2px solid #000;*/
  margin-bottom: 70px;
}
.works .overview .main-img{
  width: 100%;
  height: 74.666667vw;
  max-height: 400px;
  object-fit: cover;
  border: 2px solid #000;
  border-radius: 4px;
  background-color: #fff;
  /*display: flex;
  align-items: center;*/
  margin-bottom: 30px;
/*JQでふわっと動かす用*/
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 1s,visibility 1s, transform 1s;
}
.works .overview .main-img.active{
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}
/*.works .overview .img-area img{
  width: 78.4vw;
  height: auto;
  margin: 0 auto;
}*/
.works .overview .text-area{
  text-align: left;
}
.works .overview h2{
  /*font-size: 2.4rem;*/
  font-size: 2.0rem;
}
.works .overview .subtext{
  font-size: 1.2rem;
  color: #757575;
  margin-bottom: 15px;
}
.works .overview .lead{
  margin-bottom: 30px;
}
/*.works .overview .ex-wrapper{
  border: 2px solid #000;
  border-radius: 4px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  width: 300px;
  height: 300px;
  margin-bottom: 30px;
}
.works .overview .ex{
  width: 200px;
  height: auto;
  margin: auto;
}*/
.works .overview .title{
  /*font-size: 2.0rem;*/
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.works .overview .text-area .text-bottom-space{
  margin-bottom: 30px;
}
.works .overview .text-area .underline{
  width: 100%;
  height: 2px;
  background-color: #000;
  margin: 25px 0 70px;
}

/*WEBデザイン画像　※バナー作品は関係なし*/
.works .overview .web-design{
  padding: 30px 0 30px;
}
.works .overview .web-design .title{
  text-align: left;
}
.works .overview .web-design img{
  width: 100%;
  height: auto;
  /*filter:drop-shadow(1px 1px 5px rgba(0, 0, 0, 0.3));*/
}
.works .overview .btn{
  width: 200px;
  background-color: #ffeb3b;
  border-radius: 500px;
  overflow: hidden;
}
.works .overview .btn a{
  display: block;
  background-color: #ffeb3b;
  text-decoration: none;
  font-size: 1.4rem;
  /*letter-spacing: 1px;*/
  font-weight: 700;
  line-height: 50px;
  border-radius: 500px;
  padding-left: 40px;
  color: #000;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  transition: .3s;
}
.works .overview .btn span{
  vertical-align: middle;
  margin: 0 0 3px 20px;
}
.works .overview .btn a::before {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 500px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: #252525;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease .3s;
}
.works .overview .btn a:hover {
  color: #ffeb3b;
  opacity: 1.0;
}
.works .overview .btn a:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

@media (min-width: 900px){
  /*.works .overview h2{
    font-size: 2.8rem;
  }*/
  .works .overview .subtext{
    font-size: 1.4rem;
  }
  .works .overview .lead,
  .works .overview .text{
    font-size: 1.5rem;
  }
}











