/**
メインビジュアル
**************/
.mv{
  position: relative;
  margin-top: 88px;
}
.mv-img-pc{
  width: 100%;
  height: auto;
}
.mv-img-sp{
  display: none;
}
.mv-title{
  width: 100%;
  height: auto;
}
.mv-text{
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(-10%, -50%);
}
.mv-subtitle{
  font-size: 28PX;
  color: #F7F9EE;
  line-height: 37px;
  margin-top: 23px;
}
@media screen and (max-width: 959px){
  .mv-text{
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-20%, -50%);
  }
  .mv-title{
    width: 60%;
  }
  .mv-subtitle{
    font-size: 20px;
    line-height: 27px;
    margin-top: 12px;
  }
}
@media screen and (max-width: 480px) {
  .mv-img-pc{
   display: none;
  }
  .mv-img-sp{
    display: block;
    width: 100%;
    height: auto;
    margin-top: -30px;
  }
  .mv-title{
    width: 100%;
    height: auto;
    margin-top: -20px;
  }
  .mv-subtitle{
    font-size: 20px;
    line-height: 25px;
  }
  .mv-text{
    top: 28%;
    left: 30%;
  }
}
/**
WORKS
************/
#works-id{
  display: block;
  padding-top: 10%;
  margin-top: -10px;
}
.h1{
  color: #E24D51;
  font-size: 38px;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 96px;
  text-align: center;
}
@media screen and (max-width: 480px) {
  .h1{
    font-size: 24px;
    margin-top: 80px;
    margin-bottom: 30px;
  }
}
.main-works-item{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.main-works-item-box{
  width: 29%;
  height: auto;
  margin-bottom: 50px;
}
.main-works-item-box:hover{
  color: #9F9F9F;
}
.main-works-item-img{
  width: 100%;
  height: auto;
}
.main-works-item-text{
  text-align: center;
  margin-top: 44px;
  font-size: 22px;
}
@media screen and (max-width: 769px){
  .main-works-item{
    display: block;
  }
  .main-works-item-box{
    width: 100%;
    height: auto;
    margin: 0 auto 80px;
  }
}
@media screen and (max-width: 480px) {
  
  .main-works-item-box{
    margin-bottom: 85px;
  }
  .main-works-item-text{
    margin-top: 35px;
    font-size: 18px;
  }
}
/**
ABOUT
****************/
#about-id{
  display: block;
  padding-top: 10%;
  margin-top: -10px;
}
.about-img{
  width: 100%;
  height: auto;
}
.main-about-img{
  width: 300px;
  height: auto;
  margin-right: 50px;
}
.main-about{
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.main-about-text{
  width: 500px;
  height: auto;
}
.name{
  font-size: 22px;
}
.name2{
  font-size: 20px;
  color: #888888;
  margin: 5px 0px;
}
.main-about-profile{
  font-size: 18px;
  margin-top: 52px;
  line-height: 30px;
}
.button{
  width: 180px;
  height: 45px;
  background-color: #7ECAAE;
  color: #ffffff;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  border-radius: 23px;
  margin: 42px auto auto 65%;
}
.button:hover{
  background-color:  #ffffff;
  color: #7ECAAE;
  border:  3px solid#7ECAAE;
}
@media screen and (max-width: 480px) {
  .main-about{
    display: block;
    margin: 0px auto;
  }
  .main-about-img{
    margin: 0 auto;
    width: 45%;
  }
  .main-about-text{
    margin: 0 auto;
    width: 100%;
  }
  .name{
    font-size: 18px;
    text-align: center;
    margin-top: 10px;
  }
  .name2{
    font-size: 16px;
    margin: 7px 0;
    text-align: center;
  }
  .main-about-profile{
    font-size: 16px;
    margin-top: 40px;
  }
  .button{
    width: 78%;
    height: 45px;
    font-size: 18px;
    margin: 20px auto;
    display: block;
    justify-content: center;
  }
}
