@charset "utf-8";

.works-page__section-works {
    width: 85%;
    margin-inline: auto;
}

.section-title-wrapper {
  margin: 30px 0;
}

/* ********** タブ ********** */
.tab-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
  }

  .tab {
    color: #429C7E;
	  font-size: 1.4rem;
    text-align: center;
    padding: 5px 20px;
    transition: .5s;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -o-transition: .5s;
    -ms-transition: .5s;
    margin-bottom: 5px;
  }

  .tab:hover {
    font-weight: 500;
    background-color: #f9f9c2;
    cursor: pointer;
  }

  /* アクティブなタブは太字 */
  .tab-area .active {
    font-weight: 500;
    background-color: #FFFFCF;
  }

  .contents {
    width: 100%;
    margin: 0 auto;
  }

  .tab-content {
    text-align: left;
  }

  /* コンテンツ非表示 */
  .panel {
    display: none;
  }
  .panel.active {
    display: block;
  }
  
  
/* ********** タブ 終了 ********** */



/* トップページのセクションworksと同じ */
.section-works__list {
  width: 100%;
}

.section-works__list li {
  border-bottom: solid 1px #F4F4F4;
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.section-works__list li:last-child {
  margin-bottom: 30px;
}

/* workごとのリンク */
.work-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.work-item:hover .work-image{
  opacity: .8;
}

.section-works__info-wrapper {
  width: 48%;
}

.section-works__tag-wrapper {
  display: flex;
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 500;
}

/* カテゴリ横に縦線で区切る */
.work-category::after {
  content: '';
  border-left: 1px solid #429C7E;
  display: inline-block;
  height: 13px;
  padding-right: 5px;
  margin-left: 5px;
  position: relative;
  bottom: -1px;
}

.section-works__tag {
  position: relative;
  bottom: -2px;
}

.section-works__work-title {
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
/*   margin-bottom: 30px; */
}

.section-works-description {
  color: #333;
  line-height: 1.5;
  text-align: justify;
  font-size: 1.4rem;
}

/* worksの画像 */
.work-image {
  display: inline-block;
  width: 48%;
}

/* 各リンクの出現の仕方指定 */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration:2s;
  animation-fill-mode:forwards;
  opacity: 0;
}
@keyframes fadeUpAnime{
from {
  opacity: 0;
  transform: translateY(100px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

/* 1024px以下 */
@media screen and (max-width: 1024px) {
  .work-item {
      display: block;
  }

  .work-image {
      display: inline-block;
      width: 100%;
      aspect-ratio: 2 / 1;
      object-fit: cover;
  }

  .section-works__tag-wrapper {
      margin-top: 15px;
  }

  .section-works__info-wrapper {
      width: 100%;
  }
}

/* 900px以下 */
@media screen and (max-width: 900px) {
  .section-works {
      width: 89.3%;
  }
  
  .work-box {
      width: 100%;
    }
  }