@charset "utf-8";
/* ############################################################################################################################
#    リニューアル
#    v1 listファイル
############################################################################################################################ */

.article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax( 25% , 1fr ));
  gap: 0 ;
  margin-bottom: 56px;
}

.article-list article {
  width: 100% ;
  vertical-align: bottom;
  line-height: 0;
}

.article-list.swiper-wrapper {
  display: flex;
  gap: 0;
  flex-direction: initial;
}

.article-list .article__box {
  width: auto;
  padding: 0 56px;
  border-right: 1px solid var(--color-gray1);
}

.article-list .article--bg .article__box {
  padding: 0 ;
}

.article-list__item:nth-of-type(4n) .article__box,
.article-list__item:last-child .article__box {
  border-right: none;
}

/* ------------------------------
   3カラム
------------------------------ */
.article-list--3column {
  grid-template-columns: repeat(3, 1fr);
}

/* ------------------------------
   2カラム
------------------------------ */
.article-list--2column {
  grid-template-columns: 1fr 1fr;
}

/* ------------------------------
   縦長
------------------------------ */
.article-list--vertical {
  .article__imgwrap {
    width: auto;
  }
}

/* ------------------------------
   本
------------------------------ */
.article-list--book {
  .article__img {
    background-size: contain;
    height: 100%;
    width: auto;
    background-position: center;
    display: block;
  }
}

/* ------------------------------
   ランキング
------------------------------ */
.article-list--ranking {
  counter-reset: rank;
  margin: 0;
  background: #fff;
  padding:32px 0;
  display: flex;
  flex-wrap: initial;
  gap:0;
}

.article-list--ranking.article-list .article-list__item {
  width: 100%;
/*
  max-width: 312px;
*/
  padding:0 ;
  counter-increment: count-number;
  height: 100%;
  display: flex;
  flex-direction: column;
  height: auto;
}

.article-list--ranking.article-list .article__box {
  counter-increment: rank;
  border-right: 1px solid var(--color-gray1);
}

.article-list--ranking .article__imgwrap::before {
  content: "";
  bottom: -1px;
  left: -1px;
  border-top: 40px solid transparent;
  border-left: 40px solid #fff;
  position: absolute;
  z-index: 1;
}

.article-list--ranking .article__imgwrap::after {
  content: counter(rank); 
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  font-family: var(--font-figtree);
  font-weight: 500;
  font-size: 20px;
  font-size: 2.0rem;
  line-height: 100%;
  text-align: center;
  color: var(--color-text);
}

@media screen and (max-width: 1366px) {
  .article-list--ranking .article__imgwrap::after {
    font-size: 1.025vw;
  }
}

/* ----------------------------------------------------------------------------------------------------------------------------
グリッド
---------------------------------------------------------------------------------------------------------------------------- */

.article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ------------------------------
   2column
------------------------------ */
.article-grid--2column-rtl  {
  grid-auto-flow: column;
}

.article-grid--2column-rtl .article-list:first-child {
  grid-column: 2;
}

.article-grid--2column-rtl .article-list:last-child {
  grid-column: 1;
}

.article-grid--2column .article-list ,
.article-grid--2column-rtl .article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax( 50% , 1fr ));
  gap: 0 ;
}

.article-grid--2column .article-list:first-child,
.article-grid--2column-rtl .article-list:first-child {
  display: block;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  align-self: start;
}

.article-grid--2column .article-list:last-child,
.article-grid--2column-rtl .article-list:last-child  {
  border-top: 1px solid var(--color-gray1);
  border-bottom: 1px solid var(--color-gray1);
}

.article-grid--2column .article-list:last-child .article-list__item ,
.article-grid--2column-rtl .article-list:last-child .article-list__item {
  border-bottom: 1px solid var(--color-gray1);
  padding-top:32px;
  padding-bottom:32px;
}

.article-grid--2column .article-list:last-child .article-list__item:nth-last-of-type(-n+2),
.article-grid--2column-rtl .article-list:last-child .article-list__item:nth-last-of-type(-n+2) {
  border-bottom: none;
}

.article-grid--2column .article-list:last-child .article-list__item:nth-of-type(2n) .article__box {
  border-right: none;
}

.article-grid--2column-rtl .article-list:last-child .article-list__item .article__box {
  border-right: none;
  border-left: 1px solid var(--color-gray1);
}

.article-grid--2column .article-list--book:first-child .article__box,
.article-grid--2column .article--bg:first-child .article__box,
.article-grid--2column-rtl .article--bg:first-child .article__box {
  padding: 0 ;
}

.article-grid--2column .article-list--book:first-child .article__box:before,
.article-grid--2column .article--bg:first-child .article__box:before,
.article-grid--2column-rtl .article--bg:first-child .article__box:before {
  content:'';
  background: linear-gradient( 180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.5) 100% );
  width: 100% ;
  height: 100% ;
  display: block;
  position: absolute;
}

.article-grid--2column-rtl .article-list--book .article__box .article__time:before {
  content: none;
}

.article-grid--2column .article-list--book:first-child .article__box,
.article-grid--2column-rtl .article-list--book:first-child .article__box  {
  background: #fff;
}

.article-grid--2column .article-list--book:first-child .article__imgwrap,
.article-grid--2column-rtl .article-list--book:first-child .article__imgwrap  {
  width: 79%;
  padding: 40px 0;
}

.article-grid--2column .article-list--book:first-child .article__content,
.article-grid--2column .article--bg:first-child .article__content,
.article-grid--2column-rtl .article--bg:first-child .article__content {
  bottom: 40px;
  top: initial;
  left:0;
  width: 100%;
  padding: 0 55px 0 40px;
}

.article-grid--2column .article-list--book:first-child .article__title,
.article-grid--2column .article--bg:first-child .article__title,
.article-grid--2column-rtl .article--bg:first-child .article__title {
  font-weight: 500;
  font-size: 22px;
  font-size: 2.2rem;
  line-height: 160% ;
}

.--page{
  .article-grid--2column-rtl {
    direction: initial;
  }
}

@media screen and (max-width: 1366px) {
  .article-grid--2column .article--bg .article__title,
  .article-grid--2column-rtl .article--bg .article__title {
    font-size: 1.61vw;
  }
}

/* ----------------------------------------------------------------------------------------------------------------------------
people
---------------------------------------------------------------------------------------------------------------------------- */
.people-list {
  overflow: hidden;
}

.people-list__items {
  display: flex;
  gap: 16px;
}

.people-list__item {
  width: 140px;
}

.people-list__icon {
  width: 140px;
  height: 140px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-color: rgb(217, 217, 217);
  background-image: url(/common/images/author/photo_base.jpg);
  border-radius: 50%;
  overflow: overlay;
  border-right: 1px solid var(--color-gray1);
}

.people-list__name {
  font-weight: 400;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 160%;
  text-align: center;
  margin-top:12px;
}

.people-swiper .slider-pagination__scrollbar {
  width: 80% ;
  margin: 0;
}

@media screen and (min-width: 1366px) {
  .people-list__items {
    gap: 1.171vw;
  }

  .people-list__item {
    width: 10.249vw;
  }

  .people-list__icon {
    width: 10.249vw;
    height: 10.249vw;
  }
}


/* ----------------------------------------------------------------------------------------------------------------------------
essay
---------------------------------------------------------------------------------------------------------------------------- */
.essay-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0;
}

.essay-list .article {
  width: 100%;
}

.essay-list .article__title {
  width: 100%;
}

.essay-list .article__box {
  width: 100%;
  padding: 0 56px;
}

.essay-list__box {
  padding: 0 56px 0 0;
}

.essay-list__title {
  font-family: var(--font-figtree);
  font-weight: 800;
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 160%;
  letter-spacing: 0.06em;
  text-align: center;
  position: relative;
  margin: 0 0 12px;
}

.essay-list__title--icon {
  padding: 0 0 30px;
}

.essay-list__title--icon2 {
  padding: 0 0 25px;
}

.essay-list__title--icon:after,
.essay-list__title--icon2:after {
  content: " ";
  background: url(/common/crea/images/v1_1/icon/speech_balloon.svg) no-repeat center;
  background-size: contain;
  width: 100% ;
  aspect-ratio: 162 / 25;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
}

.essay-list__title--icon2:after {
  background: url(/common/crea/images/v1_1/icon/speech_balloon2.svg) no-repeat center;
  aspect-ratio: 284 / 21;
}

.essay-list__title span {
  display: block;
  font-weight: 500;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 160%;
  text-align: center;
  margin-top: 12px;
}

.essay-list__past {
  border-bottom: 1px solid #FFFFFF;
  padding:16px 0;
  display: block;
}

.essay-list__past a {
  display: block;
  font-weight: 500;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 160%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

@media screen and (min-width: 1366px) {
  .essay-list__title {
    font-size: 1.757vw;
    margin: 0 0 0.878vw;
  }

  .essay-list__title--icon {
    padding: 0 0 2.196vw;
  }

  .essay-list__title--icon2 {
    padding: 0 0 1.83vw;
  }

  .essay-list__title span {
    font-size: 0.878vw;
    margin-top: 0.878vw;
  }

  .essay-list__past {
    padding:1.171vw 0;
  }

  .essay-list__past a {
    font-size: 1.025vw;
  }
}

/* ----------------------------------------------------------------------------------------------------------------------------
category-list
---------------------------------------------------------------------------------------------------------------------------- */
.category-list .article__box {
  width: 313px;
  aspect-ratio: 313 / 264;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.category-list .article__imgwrap {
  width: 200px;
  aspect-ratio: 200 / 200;
}

.category-list .article__content {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  top: 0;
  left: 0;
}

.category-list .article__ename {
  position: absolute;
  top:15px;
  right:24.5px;
  z-index: 5;
}

.category-list .article__name {
  position: absolute;
  bottom:15px;
  left:24.5px;
  z-index: 5;
}

@media screen and (min-width: 1366px) {
  .category-list .article__box {
    width: 22.914vw;
  }

  .category-list .article__imgwrap {
    width: 14.641vw;
  }

  .category-list .article__ename {
    top:1.098vw;
    right:1.794vw;
  }

  .category-list .article__name {
    bottom:1.098vw;
    left:1.794vw;
  }
}

