/* body */

.works-main {
  width: 100vw;
  height: 90vh;
  background-color: black;
}

.works-contents {
  padding: 50px;
}

/* アイコン */
.icons {
  width: 100%;
  display: flex;
  justify-content: end;
  margin-bottom: 50px;
}

.icons li{
  display: flex;
}

.icon {
  text-decoration: none;
  color: black;
  opacity: 0.85;
}

.icon:hover {
  opacity: 1;
}

.icons-box {
  background-color: white;
  border-radius: 100vh;
  height: 80px;
  width: 200px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
/* アイコン */

/* 実績一覧 */
.works {
  background-color: black;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.work-content {
  background-color: black;
  text-align: center;
  color: white;
}

.work-image-sample {
  width: 500px;
  height: 280px;
  border-radius: 5vh;
}

.work-title {
  font-size: 25px;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

.work-title span {
  font-size: 14px;
}

.work-text {
  margin-bottom: 30px;
  font-size: 15px;
  letter-spacing: 1px;
}

.works-btns {
  display: flex;
  justify-content: space-evenly;
}

.work-link {
  text-decoration: none;
  color: black;
  cursor: pointer;
  background-color: white;
  padding: 10px 40px;
  border-radius: 10vh;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  transition: ease .2s;
}

.work-link span {
  position: relative;
  z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
}

.work-link:hover span {
  color: white;
}

/*== 背景が流れる（左から右） */
.work-link:before {
  content: '';
    /*絶対配置で位置を指定*/
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
    /*色や形状*/
  background:black;/*背景色*/
  width: 100%;
  height: 100%;
    /*アニメーション*/
  transition: transform .6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: left top;
}

/*hoverした際の形状*/
.work-link:hover:before{
  transform-origin:left top;
  transform:scale(1, 1);
}

/* 実績一覧 */

/* body */