// ===========================================
// information お知らせ一覧
// ===========================================
/* list
--------------------------------- */
.info-list-01 {
  $border: 1px solid #d1d1d1;
  border-top: $border;
  li {
    border-bottom: $border;
  }
}

/* btn
--------------------------------- */
.info-btn-01 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8em;
  padding: 1em 2em 1em 0;
  position: relative;

  @include mq-up(s) {
    padding: 2em 3em 2em 0;
  }
  &:hover {
    background: color.adjust(map-get($colors, main), $lightness: 40%);
  }

  // 矢印アイコン
  &::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    bottom: 0;
    margin-block: auto;
    right: 1em;
    @include mq-up('s') {
      right: 2em;
    }
  }

  .tit {
    width: 100%;
    @include font(16);
    font-weight: bold;

    @include mq-up() {
      @include font(17);
      flex: 1;
      width: auto;
      padding-left: 1.1em;
      border-left: 1px solid #707070;
    }
  }
  .data {
    @include mq-up() {
      width: 8em;
      text-align: center;
    }
  }

  // タグが2つ以上の場合（PCでもSPと同じ表示）
  .info-list-01.multi-tag & {
    flex-wrap: wrap;

    .data {
      width: auto;
      text-align: left;
    }

    .tit {
      width: 100%;
      flex: none;
      padding-left: 0;
      border-left: none;
    }
  }
}
