@charset "UTF-8";

/*-------------------------------------------
Works List
-------------------------------------------*/

.works-list-title {
  width: 80%;
  margin: 0 auto;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  position: relative;
  top: 80px;
  /*font-size: 1.1em;*/
  /*font-weight: 500;*/
}

#works-list {
  width: 80%;
  margin: 0 auto;
  margin-top: 120px;
  margin-bottom: 100px;
  padding: 30px 0px;
  border: 1px dashed #333;
  border-radius: 30px;
}

/* 一覧 */
#works-list .menu-works {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-weight: 500;
}
#works-list .menu-works li {
  font-size: 1.1em;
  margin: 15px 20px;
}

#works-list .menu-works li a:hover {
  font-weight: 700;
  /*color: #800080;*/
}



/*-------------------------------------------
Works
-------------------------------------------*/
#works {
  /* 下 */
  position: relative;
  left: 0;
  top: 60px;
  width: 100%;
  /*z-index: -20;*/
  background-color: #ffd700;/* Gold */
  clip-path: polygon(0 0,50% 0,100% 0,100% 90%, 50% 100%, 0 90%);
  padding: 60px 0 100px;
  margin-bottom: 40px;
}
#works::before {
  /* 上 */
  content: "";
  position: absolute;
  left: 0;
  top: -40px;
  z-index: -10;
  width: 100%;
  height: 100%;
  background-color: #ffed58;/* Yamabuki */
  clip-path: polygon(0 0,50% 0,100% 0,100% 90%, 50% 100%, 0 90%);
}

#works .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#works .text .description {
  font-weight: 500;
  line-height: 1.6;
  /*margin-right: 30px;*/
  margin-bottom: 40px;
}
#works .text .description a {
  font-size: 20px;
}



/*-------------------------------------------
Works pastWork
-------------------------------------------*/
#pastWork {
  padding: 20px 40px 0px 40px;
  margin: 0 auto;
}
#pastWork .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  margin-top: 40px;
  margin-bottom: 100px;
  border: 10px solid deepskyblue;
  border-radius: 30px;
}
#pastWork .item .img {
  width: 45%;
  max-width: 400px;
}
#pastWork .item .img img {
  margin: 20px 0;
  width: 100%;
  border-radius: 10px;
}
#pastWork .item .text {
  width: 50%;
}
#pastWork .item .text .title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 15px;
}
#pastWork .item .text .description {
  line-height: 1.6;
  padding-bottom: 20px;
}
#pastWork .item .text .functions {
  margin-left:20px;
  padding-bottom: 20px;
}
#pastWork .item .text li {
  list-style-type: disc;
}
#pastWork .item .text li.discNone {
  list-style-type: none;
}

#pastWork .ende {
  margin-bottom: 20px;
}

#pastWork .note {
  padding: 20px 20px 0 20px;
}
#pastWork .note p {
  padding-bottom:20px;
}

/* 実績の一覧に戻るボタン */
#pastWork .scrollBackToList {
  position: relative;
  top: -150px;
  right: 45px;
  padding: 0;
  text-align:right;
}
#pastWork .scrollBackToList a:after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: solid 2px #000;
  border-right: solid 2px #000;
  transform: rotate(45deg);
  position: absolute;
  top: 7px;
  right: -15px;
}
#pastWork .scrollBackToList.endeBTN {
  position: relative;
  top: -70px;
  right: 45px;
  padding: 0;
  text-align:right;
}



/*-------------------------------------------
Works works-title
-------------------------------------------*/
.works-title {
  font-size: 28px;
  font-weight: 700;
  margin-top: 0px;
  margin-bottom: 60px;
  text-align: center;
  position: relative;
}
.works-title::after {
  content: "";
  width: 120px;
  height: 2px;
  background-color: #000;
  margin: 0 auto;
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
}







/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {

  /*-------------------------------------------
  Works List
  -------------------------------------------*/
  #works-list {
    margin-bottom: 0;
  }
  /* 一覧 */
  #works-list .menu-works {
    flex-direction: column;
  }
  #works-list .menu-works li {
    text-align: center;
  }

  /*-------------------------------------------
  Works pastWork
  -------------------------------------------*/
  #pastWork {
    padding: 120px 40px 0px 40px;
    margin: 0 auto;
  }
  #pastWork .item {
    flex-direction: column;
  }
  #pastWork .item .img {
    width: 100%;
    max-width: 400px;
    margin: 0 0 40px;
  }
  #pastWork .item .text {
    width: 95%;
  }
  #pastWork .item .text .title {
    text-align: center;
  }




}