@charset "UTF-8";

/* FV高さ担保 */
@media screen and (max-width: 1080px) {
  .l-base__head + .l-base__main {
    padding-top: 155px;
  }
}

@media screen and (max-width: 980px) {
  .l-base__head + .l-base__main {
    padding-top: 95px;
  }
}

/* SPNav不具合修正 */
@media screen and (max-width: 767px) {
  .l-base__filter {
    display: block;
  }

  .l-base__filter .p-filterOpen {
    display: none;
  }
}

/* 他年度ボタン：2列グリッドで3つ目を左列に（SP・全年度） */
@media screen and (max-width: 767px) {
  .p-artworks__toLatestPage {
    display: grid;
    grid-template-columns: repeat(2, 120px);
    justify-content: center;
    gap: 18px 44px;
  }
}

/* 他年度ボタン：作品一覧の下（注意書きの下）へ移動 */
.p-artworks__foot .p-artworks__toLatestPage {
  margin: 50px 0 0;
}

.p-artworks__foot::after {
  bottom: 0;
  transform: translateY(calc(100% + 38px));
}

@media screen and (max-width: 767px) {
  .p-artworks__foot::after {
    transform: translateY(calc(100% + 40px));
  }
}

/* 2026年度のみ XD合わせ（SP） */
@media screen and (max-width: 767px) {
  /* 表示作品タグ：2列にまたがせて中央に */
  .p-challenge--2026 .p-artworks__heading__selectedDesc {
    grid-column: 1 / 3;
    margin: 0 auto;
  }
}
