/* スマホの記述 */

/* section-topの記述 */
.section-top{
  margin-bottom: 60px;
}

.top-wrapper{
  width: 80%;
  margin: 45% auto 0;
  display: block;
}

.top-wrapper div{
  width: 100%;
  text-align: center;
}
.top-wrapper div h1{
  font-size: 2.0rem;
  padding-bottom: 20px;
}
.top-wrapper div h2{
  font-size: 3.0rem;
  padding-bottom: 20px;
  line-height: 1.6;
}

.top-wrapper ul{
  width: 60%;
  margin: 30% auto 0;
  text-align: center;
}
.top-wrapper ul a{
  /* text-decoration: none; */
  color: #333333;
}
.top-wrapper ul li{
  font-size: 1.6rem;
  list-style: none;
  color: #333333;
  margin-bottom: 30px;
}
/* スマホのtop記述　ここまで*/

/* PCのtop記述 */
@media(min-width:960px){
  /* section-topの記述*/
  .section-top{
    height: 37vh;
  }
  .top-wrapper{
    width: 80%;
    margin: 25% auto 0;
    display: flex;
  }

  .top-wrapper div{
    width: 50%;
    text-align: left;
  }

  .top-wrapper div h1{
    font-size: 6.4rem;
    padding-bottom: 40px;
  }

  .top-wrapper div h2 br{
    display: none;
  }

  .top-wrapper ul{
    width: 50%;
    margin-top: -3%;
    text-align: left;
  }
  .top-wrapper ul li{
    font-size: 2.0rem;
    margin-left: 25%;
    margin-bottom: 30px;
  }
}
/* PCのtop記述 ここまで*/
/* section-topの記述　ここまで*/




/* works */

/* スマホの記述 */

.section-works h1{
  font-size: 1.2rem;
  font-weight: normal;
  width: 80%;
  margin: 120px auto 60px;
  text-align: center;
}
.section-works h1 span{
  border-bottom: solid 1.5px #888888;
  padding: 0 20% 7px;
}

.section-works__flex{
  width: 80%;
  margin: 0 auto;
}

.works-container{
  width: 100%;
  margin-bottom: 40px;
}

.works-container a{
  text-decoration: none;
}

/* 画像についてに記述 */
.works-container div{
  width: 100%;
  margin-bottom: 5px;
}
.works-container div img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 画像についてに記述 　ここまで*/

.works-container h2{
  color: #333333;
  font-size: 1.8rem;
  font-weight: 200;
  line-height: 1.5;
  width: 100%;
  margin-bottom: 2px;
}
.works-container h2 span{
  font-size: 1.6rem;
}

.works-container p{
  color: #333333;
  font-size: 1.4rem;
  font-weight: 200;
  line-height: 1.5;
  width: 100%;
}
/* スマホの記述 ここまで*/



/* ======== 画面幅でのflexの調整 =========*/
@media(min-width:500px){
  .section-works__flex{
    width: 80%;
    max-width: 1780px; /* 表示する横幅の上限*/
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    
  }
  .works-container{
    width: 48%;
    margin-right: 2%;
  }

  .works-container img{
    height: 100px;
  }

  .section-works h1{
    font-size: 1.8rem;
    font-weight: 400;
    padding: 60px 0 40px;
    text-align: center;
  }
}

@media(min-width:700px){
  .works-container{
    width: 30%;
  }
}
/* ======== 画面幅でのflexの調整 ========= ここまで*/




/* PCの記述 */

@media(min-width:960px){
  .works-container{
    width: 23%;
    margin-bottom: 120px;
  }


  .section-works h1{
    font-size: 1.8rem;
    font-weight: normal;
    width: 80%;
    margin: 0 auto 120px;
    text-align: left;
  }
  .section-works h1 span{
    border-bottom: solid 1.5px #888888;
    padding: 0 20% 5px 0 ;
  }

  
  .works-container h2{
    color: #333333;
    font-size: 1.8rem;
    font-weight: 200;
    line-height: 1.5;
    width: 100%;
    margin-bottom: 2px;
  }
  .works-container h2 span{
    font-size: 1.4rem;
  }
  
  .works-container p{
    color: #333333;
    font-size: 1.4rem;
    font-weight: 200;
    line-height: 1.5;
    width: 100%;
  }
}
/* PCの記述 ここまで*/

/* works end */
