@charset "utf-8";

/*====================
  News一覧ページ
====================*/
/*----- カテゴリー -----*/
.l-contentsNewsTop_category {
  overflow: hidden;
  display: flex;
  white-space: nowrap;
  height: 19.9rem;
  margin: 0 auto;
}

@media screen and (max-width: 1199px) {
  .l-contentsNewsTop_category {
    max-width: 76.7rem;
    height: 9rem;
  }
}

.l-contentsNewsTop_category--inner {
  overflow-x: scroll;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  gap: 2.8rem;
  margin: -10rem 0;
  padding: 1rem 2.8rem 0;
}

@media screen and (max-width: 1199px) {
  .l-contentsNewsTop_category--inner {
    gap: 3rem;
    padding: 0 2rem 1.5rem;
  }
}

.l-contentsNewsTop_category--item {
  display: block;
  font-family: var(--mwsans);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  margin: 0.5rem 0;
  padding: 1rem 0;
}

@media screen and (max-width: 1199px) {
  .l-contentsNewsTop_category--item {
    margin: 0.5rem 0;
    padding: 0 0 1rem;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsNewsTop_category--item {
    font-size: 1.6rem;
  }
}

.l-contentsNewsTop_category--item.current {
  border-bottom: solid 0.1rem #fff;
}

/*----- スライダー -----*/
.l-contentsNewsList_slider--item {
  height: 54.5rem;
}

@media screen and (max-width: 1199px) {
  .l-contentsNewsList_slider--item {
    height: 52rem;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsNewsList_slider--item {
    height: calc(100vh - 9rem);
  }
}

.l-contentsNewsList_slider--item_link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.l-contentsNewsList_slider--item_link--text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 16%;
  background: rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 1199px) {
  .l-contentsNewsList_slider--item_link--text {
    padding: 0 13%;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsNewsList_slider--item_link--text {
    padding: 0 9%;
  }
}

.l-contentsNewsList_slider--item_link--text_title {
  font-size: 3.8rem;
  line-height: 1.3;
  text-align: center;
  color: #fff;
}

@media screen and (max-width: 1199px) {
  .l-contentsNewsList_slider--item_link--text_title {
    font-size: 2.6rem;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsNewsList_slider--item_link--text_title {
    line-height: 1.55;
  }
}

.l-contentsNewsList_slider--item_link--text_title::after {
  display: block;
  content: "";
  width: 2.4rem;
  margin: 2rem auto 0;
  height: 0.2rem;
  background: currentColor;
}

@media screen and (max-width: 767px) {
  .l-contentsNewsList_slider--item_link--text_title::after {
    margin-top: 2.3rem;
  }
}

.l-contentsNewsList_slider--item_link--text_cat {
  font-size: 1.4rem;
  line-height: 1.35;
  text-transform: uppercase;
  text-align: center;
  margin-top: 2rem;
}

@media screen and (max-width: 767px) {
  .l-contentsNewsList_slider--item_link--text_cat {
    font-size: 1.5rem;
  }
}

.l-contentsNewsList_slider--item_link--image {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ホバー時 */
.l-contentsNewsList_slider--item:hover .l-contentsNewsList_slider--item_link--text_cat {
  text-decoration: underline;
}

/*----- News一覧 -----*/
.l-contentsNewsTop_body {
  max-width: 116rem;
  margin: 0 auto;
}

@media screen and (max-width: 1199px) {
  .l-contentsNewsTop_body {
    max-width: 76.7rem;
  }
}

.l-contentsNewsList {
  display: flex;
  flex-wrap: wrap;
  font-family: var(--mwsans);
}

@media screen and (max-width: 1199px) {
  .l-contentsNewsList {
    display: block;
  }
}

.l-contentsNewsList_item {
  flex-basis: calc(100% / 3);
}

.l-contentsNewsList_item--link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 33.3rem;
  padding: 10%;
}

@media screen and (max-width: 1199px) {
  .l-contentsNewsList_item--link {
    min-height: 30rem;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsNewsList_item--link {
    min-height: 32rem;
  }
}

.l-contentsNewsList_item--link_title {
  font-size: 2.4rem;
  line-height: 1.5;
  text-align: center;
  color: currentColor;
}

@media screen and (max-width: 1199px) {
  .l-contentsNewsList_item--link_title {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 767px) {
  .l-contentsNewsList_item--link_title {
    font-size: 1.9rem;
  }
}

.l-contentsNewsList_item--link_title::after {
  display: block;
  content: "";
  width: 2.4rem;
  margin: 1.8rem auto 0;
  height: 0.2rem;
  background: currentColor;
}

@media screen and (max-width: 767px) {
  .l-contentsNewsList_item--link_title::after {
    width: 3rem;
  }
}

.l-contentsNewsList_item--link_cat {
  font-size: 1.2rem;
  line-height: 1.35;
  text-transform: uppercase;
  text-align: center;
  margin-top: 2rem;
}

@media screen and (max-width: 767px) {
  .l-contentsNewsList_item--link_cat {
    font-size: 1.5rem;
  }
}

/* ホバー時 */
.l-contentsNewsList_item--link:hover .l-contentsNewsList_item--link_title {
  text-decoration: underline;
}

/* 順番に応じてスタイルを変える */
@media screen and (min-width: 1200px) {
  .l-contentsNewsList_item:nth-child(10n + 1) {
    color: #fff;
    background: #434241;
  }

  .l-contentsNewsList_item:nth-child(10n + 2) {
    color: #000;
    background: #c8c7c4;
  }

  .l-contentsNewsList_item:nth-child(10n + 3) {
    color: #000;
    background: #a6a6a4;
  }

  .l-contentsNewsList_item:nth-child(10n + 4) {
    color: #000;
    flex-basis: calc(100% / 3 * 2);
    background: #fff;
  }

  .l-contentsNewsList_item:nth-child(10n + 5) {
    color: #fff;
    background: #434241;
  }

  .l-contentsNewsList_item:nth-child(10n + 6) {
    color: #fff;
    background: #434241;
  }

  .l-contentsNewsList_item:nth-child(10n + 7) {
    color: #fff;
    background: #212121;
  }

  .l-contentsNewsList_item:nth-child(10n + 8) {
    color: #000;
    background: #858583;
  }

  .l-contentsNewsList_item:nth-child(10n + 9) {
    color: #000;
    background: #858583;
  }

  .l-contentsNewsList_item:nth-child(10n + 10) {
    color: #000;
    flex-basis: calc(100% / 3 * 2);
    background: #fff;
  }
}

@media screen and (max-width: 1199px) {
  .l-contentsNewsList_item:nth-child(4n + 1) {
    color: #fff;
    background: #434241;
  }

  .l-contentsNewsList_item:nth-child(4n + 2) {
    color: #fff;
    background: #212121;
  }

  .l-contentsNewsList_item:nth-child(4n + 3) {
    color: #000;
    background: #c8c7c4;
  }

  .l-contentsNewsList_item:nth-child(4n + 4) {
    color: #000;
    background: #a6a6a4;
  }
}
