/* ************************************** */
/* 週間ランキングTOP20・月間ランキングTOP20 */
/* ************************************** */

/* ------------------- */
/* ランキング記事全体 */
/* ------------------- */
.c-list-article__contents-rank{
  width: 100%;
  max-width: 1100px;
  position: relative;
}

/* タイトル下の余白 */
.c-list-article__contents-rank > h2{
  margin-bottom: 80px;
}

.c-list-article__contents-rank .c-list-article__contents-title{
  margin-bottom: 100px;
}
@media screen and (max-width: 767px) {
.c-list-article__contents-rank .c-list-article__contents-title{
  margin-bottom: 60px;
}
}

/* ページ背景のグラデーション */
.c-list-article[data-bg="red-gradation"]{
    padding: 80px 0;
    background-image: linear-gradient(180deg, rgba(158, 35, 40, 1), rgba(183, 59, 64, 1));
    padding-bottom: 20px;

}
.c-list-article[data-bg="blue-gradation"]{
    padding: 80px 0;
    background-image: linear-gradient(180deg, rgba(48, 55, 109, 1), rgba(89, 112, 228, 1));
    padding-bottom: 20px;

}

/* 記事周りの影 */
.c-list-article__contents-rank .c-list-article__item[data-shadow="red"]{
    -webkit-box-shadow: 0 0 15px 0 #841b1f;
    box-shadow: 0 0 15px 0 #841b1f;
}
.c-list-article__contents-rank .c-list-article__item[data-shadow="blue"]{
    -webkit-box-shadow: 0 0 15px 0 #30376D;
    box-shadow: 0 0 15px 0 #30376D;
}

/* -------------- */
/* 記事表示箇所 */
/* -------------- */
.c-list-article__item .c-list-article__meta {
  flex-direction: row;
  align-items: flex-start;
}

.c-list-article__title{
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 表示する行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .c-list-article__item .c-list-article__meta {
    flex-direction: column;
    align-items: flex-start;
  
  }
  .c-list-article__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; 
    overflow: hidden;
  }
}


/* -------------------------------------------- */
/* 月間・週間記事ランキングTOP20 それぞれへのボタン */
/* -------------------------------------------- */
.gr-c-list-ranking-toanother-Btn{
    position: absolute;
    max-width: 300px;
    top: 90px;
    right: 50px;
    background-color: #fff;
    overflow-x: auto;
}

.gr-c-list-ranking-toanother-Btn__red .gr-c-list-ranking-toanother-Btn__text{
    color: #9d2328;
  
}
.gr-c-list-ranking-toanother-Btn__blue .gr-c-list-ranking-toanother-Btn__text{
    color: #30376D;
}

.gr-c-list-ranking-toanother-Btn__link{
  width: 100%;
  display: block;
  padding: 15px 38px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.gr-c-list-ranking-toanother-Btn__text{
  color: #9d2328;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  font-size: 16px;
  /* color: #fff; */
  font-weight: 600;
  white-space: nowrap;
}

/* --------------------------- */
/* フクダイズムTOPへ戻るボタン */
/* --------------------------- */
.gr-c-list-ranking-top__btn{
  margin: 0 auto;
  max-width: 300px;
  margin-bottom: 30px;
  background-color: #fff;
}


@media screen and (max-width: 767px) {
  .gr-c-list-ranking-top__btn{
    margin-top: 160px;
    margin-bottom: 0 ;
  }

}

@media screen and (max-width: 500px) {
  .gr-c-list-ranking-top__btn{
    margin-top: 120px;
    margin-bottom: 0 ;
  }

}

/* --------------------------------------------- */
/* 週間&月間人気記事ランキングボタンのSPレイアウト調整 */
/* --------------------------------------------- */

@media screen and (max-width: 767px) {
  .gr-c-list-ranking-toanother-Btn{
    width: calc(100% - (4.66667vw * 2));
    top: unset; 
    bottom: 100px;
    right: 50%;
    transform: translateX(50%);
  
  }
  /* 下部の余白を取る */
  .c-list-article[data-bg="red-gradation"],
  .c-list-article[data-bg="blue-gradation"]{
    padding-bottom: 40px;
  }
}

@media screen and (max-width: 550px) {
  .gr-c-list-ranking-toanother-Btn{
    transform: translateX(50%);
    bottom: 80px;
  
  }
  .c-list-article[data-bg="red-gradation"],
  .c-list-article[data-bg="blue-gradation"]{
    padding-bottom: 20px;
  }
}


