@charset "utf-8";

.page-wrapper {
  padding: 80px 0 120px;
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-bottom: 120px;
}

.case .case-title {
  display: flex;
  gap: 27px;
  position: relative;
  margin-bottom: 35px;
}

.case .case-title::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 75%;
  height: 1px;
  margin: auto;
  background-color: #000;
  z-index: -1;
}

.case .case-title .main {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 40px;
  color: #000;
  padding-right: 74px;
  background-color: #fff;
}

.case .case-title img {
  width: 33px;
  height: auto;
}

.case .case-lead {
  margin-bottom: 19px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 24px;
  line-height: 35px;
  color: #000;
}

.case .case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 40px;
}

.case .case-tags p {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 28px;
  padding: 0 24px;
  border-radius: 28px;
  background-color: #ebebeb;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 14px;
  color: #000;
}

.case .case-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case .case-detail .item {
  display: grid;
  grid-template-columns: 15% 1fr;
  padding-bottom: 17px;
  border-bottom: 1px solid #000;
}

.case .case-detail p {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 23px;
  color: #000;
}

.case-gallery {
  margin-bottom: 35px;
}

.slider-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 37px;
  max-width: 1008px;
  margin-right: auto;
}

/* メインスライダー */
.swiper-main {
  width: 793px;
  height: 631px;
}
.swiper-main .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* サムネイル */
.swiper-thumbs {
  width: 178px;
  height: auto;
}
.swiper-thumbs .swiper-slide {
  height: 142px;
  cursor: pointer;
  margin-bottom: 16px;
}
.swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
}
.swiper-thumbs .swiper-slide img {
  width: 100%;
  height: 142px;
  object-fit: cover;
}

.box {
  background-color: #f8f8f8;
  padding: 32px 0;
}

.box .box-ttl {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 20px;
  color: #000;
  margin-bottom: 32px;
  position: relative;
}

.box .box-ttl::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: #000;
  transform: rotate(45deg);
  margin-right: 14px;
}

.box .flex {
  display: grid;
  grid-template-columns: repeat(2, 50%);
}

.newslist {
  padding-left: 59px;
  border-left: 1px solid #bcbcbc;
}

.newslist .sec__text-main {
  gap: 20px;
  margin-bottom: 27px;
}

.newslist .sec__text-main .main {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 20px;
  color: #000;
}

.newslist .newsLink {
  display: flex;
  gap: 25px;
  transition: all 0.4s ease;
}

.newslist .newsLink .newsTextWrap {
  flex: 1;
}

.newslist .newsLink:hover {
  filter: opacity(80%);
  transition: all 0.4s ease;
}

.newslist .webgene-blog {
  display: flex;
  flex-direction: column;
  gap: 33px;
  margin-bottom: 40px;
}

.newslist .btn {
  margin-left: auto;
}

.newslist .newsCatch {
  max-width: 156px;
  width: 100%;
  height: 154px;
}

.newslist .newsCatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newslist .newsItemTime {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 20px;
  color: #000;
  margin-bottom: 11px;
}

.newslist .newsItemCate {
  width: fit-content;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  padding: 4px 15px;
  color: #000;
  border: 1px solid #000;
  border-radius: 50px;
  margin-bottom: 17px;
}

.newslist .newsItemTit {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
  line-height: 23px;
  color: #000;
  padding-bottom: 20px;
  border-bottom: 1px solid #000;
}

@media screen and (max-width: 1152px) {
  .box .flex {
    display: flex;
    flex-direction: column;
  }
  .newslist {
    padding-left: 0;
    border-left: none;
    padding-top: 40px;
    border-top: 1px solid #b2b2b2;
  }
}

@media screen and (max-width: 767px) {
  .page-wrapper {
    padding: 40px 0 120px;
  }
  .case-list {
    gap: 80px;
  }
  .case .case-title {
    gap: 15px;
    margin-bottom: 20px;
  }
  .case .case-title img {
    width: 23px;
  }
  .case .case-title .main {
    font-size: 24px;
    padding-right: 20px;
  }
  .case .case-lead {
    font-size: 16px;
    line-height: 23px;
  }
  .case .case-tags {
    gap: 9px;
    margin-bottom: 20px;
  }
  .case .case-tags p {
    height: 24px;
    padding: 0 20px;
    font-size: 12px;
  }
  .case .case-detail .item {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }
  .case .case-detail p {
    font-size: 14px;
    line-height: 20px;
  }
  .slider-wrapper {
    flex-direction: column;
    gap: 6px;
  }

  .swiper-main {
    width: 312rem;
    height: 249px;
  }
  .swiper-thumbs .swiper-slide {
    width: 71rem;
    height: 59px;
    margin-bottom: 0;
    margin-right: 8px;
  }
  .swiper-thumbs {
    width: 100%;
    display: flex;
    margin-right: auto;
    margin-left: 0;
  }

  .box .flex {
    max-width: 312rem;
    width: 100%;
    margin: auto;
  }

  .newslist .newsCatch {
    max-width: 123rem;
    height: 120rem;
  }
  .newslist .newsItemTime {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .newslist .newsItemCate {
    font-size: 10px;
    padding: 0 10px;
  }

  .newslist .newsItemTit {
    font-size: 12px;
    line-height: 17px;
    padding-bottom: 16px;
  }

  .newslist .btn {
    margin: auto;
  }
}
