/* =========================================================
   WORK DETAIL
========================================================= */
.work-detail__title{
    margin-bottom: 60px !important;
    height: inherit;
}
.work-detail {
  padding: 80px 0;
}

.work-detail__title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 80px;
}

/* ---------------------------------------------------------
   各ブロック
--------------------------------------------------------- */
.work-block {
  margin-bottom: 100px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.work-block__title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
  border-left: 5px solid #000;
  padding-left: 14px;
}

.work-block__text {
  line-height: 2;
  margin-bottom: 40px;
  font-size: 16px;
}

/* ---------------------------------------------------------
   画像ギャラリー
--------------------------------------------------------- */
.work-block__gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.work-block__gallery img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  object-fit: cover;
}

/* ---------------------------------------------------------
   スマホ時はスワイプ
--------------------------------------------------------- */
@media (max-width: 768px) {
     .work-detail__title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  /* ブロックの見出し */
  .work-block__title {
    font-size: 20px;
    margin-bottom: 20px;
    border-left-width: 4px;
    padding-left: 10px;
  }

  /* 本文 */
  .work-block__text {
    font-size: 15px;
    line-height: 1.9;
  }

  /* ギャラリー画像間隔 */
  .work-block__gallery {
    gap: 12px;
  }

  /* 戻るボタン */
  .work-detail__back a {
    font-size: 14px;
    padding: 10px 30px;
  }
  .work-block__gallery {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .work-block__img {
    min-width: 75%;
    scroll-snap-align: center;
  }
  .work-block__img img {
    border-radius: 4px;
  }
}

/* ---------------------------------------------------------
   戻るリンク
--------------------------------------------------------- */
.work-detail__back {
  text-align: center;
  margin-top: 60px;
}

.work-detail__back a {
  display: inline-block;
  padding: 10px 38px;
  border: 1px solid #000;
  font-size: 15px;
  letter-spacing: 0.05em;
  transition: .3s;
}

.work-detail__back a:hover {
  background: #000;
  color: #fff;
}


/* =========================================================
   WORKS ARCHIVE LIST
========================================================= */

.works-section {
  padding: 100px 0 120px;
}

.works-title {
  text-align: center;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 70px;
}

.works-title span {
  font-size: 16px;
  display: block;
  margin-top: 4px;
  letter-spacing: .12em;
  color: #888;
}

/* ---------------------------------------------------------
   LIST GRID
--------------------------------------------------------- */
.works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px 32px;
}

/* SP調整 */
@media (max-width: 1024px) {
  .works-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .works-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 38px;
  }
}

/* ---------------------------------------------------------
   ITEM
--------------------------------------------------------- */
.works-item a {
  display: block;
  transition: .3s;
}

.works-item a:hover {
  opacity: .8;
}

/* サムネイル画像 */
.works-thumb {
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 4px;
}

.works-thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* テキスト部分 */
.works-text {
  text-align: left;
}

.works-cat {
  font-size: 13px;
  color: #888;
  margin-bottom: 4px;
}

.works-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}

.works-date {
  font-size: 13px;
  color: #aaa;
}

/* ---------------------------------------------------------
   PAGINATION
--------------------------------------------------------- */
.works-pagination {
  margin-top: 70px;
  text-align: center;
}

.works-pagination .page-numbers {
  display: inline-block;
  margin: 0 6px;
  padding: 7px 13px;
  border: 1px solid #ccc;
  font-size: 14px;
  transition: .25s;
}

.works-pagination .current {
  background: #000;
  color: #fff;
  border-color: #000;
}

.works-pagination .page-numbers:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}
