/* index.phpのSNSシェアボタンの位置を修正するCSSです。 */

.news__section .news__social {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.news__section .news__social .recom__list {
  width: 56px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 6px;
}

.news__section .news__social .recom__list li {
  width: 25px;
  height: 25px;
  margin: 0;
  padding: 0;
}

.news__section .news__social .recom__list li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.news__section .news__social .recom__list li a img,
.news__section .news__social .recom__list li a svg,
.news__section .news__social .recom__list li a i {
  width: 25px;
  height: 25px;
  display: block;
}

.news__section .news__social .recom__list li a span,
.news__section .news__social .recom__list li .fa-hidden {
  display: none;
}

/* 3カラムの表示幅の調整 */
@media screen and (min-width: 1100px) {
  .news__cats {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 106px;
  }

  .news__cats .news__cat {
    position: relative;
    width: 270px;
    height: 157px;
    overflow: visible;
  }

  .news__section {
    position: relative;
  }

  /* SNSアイコンの調整位置 */
  .news__section .news__social {
    position: absolute;
    top: 1px;
    right: 95px;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 30;
    width: 26px;
    margin: 0;
  }

  .news__section .news__social .recom__list {
    width: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
  }

  .news__section .news__social .recom__list li {
    width: 26px;
    height: 26px;
    margin: 0 0 6px;
    padding: 0;
  }

  .news__section .news__social .recom__list li:last-child {
    margin-bottom: 0;
  }

  .news__section .news__social .recom__list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    line-height: 1;
  }

  .news__section .news__social .recom__list li a img,
  .news__section .news__social .recom__list li a svg,
  .news__section .news__social .recom__list li a i {
    width: 26px;
    height: 26px;
    display: block;
  }

  .news__section .news__social .recom__list li a span,
  .news__section .news__social .recom__list li .fa-hidden {
    display: none;
  }
  @media screen and (min-width: 1100px) {
    .news__bis,
    .news__partners,
    .news__wrapper {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto;
      margin-right: auto;
    }
  }
}
