/* 2026 学園祭「学科企画」画像装飾 */
@media screen and (min-width: 768px) {
  .exhibition .gakka01 .item:nth-child(4),
  .exhibition .gakka02 .item:nth-child(2),
  .exhibition .gakka03 .item:nth-child(3),
  .exhibition .gakka04 .item,
  .exhibition .gakka13 .item,
  .exhibition .gakka14 .item {
    position: relative;
    overflow: hidden;
  }

  .exhibition .gakka01 .item:nth-child(4)::after,
  .exhibition .gakka02 .item:nth-child(2)::after,
  .exhibition .gakka03 .item:nth-child(3)::after,
  .exhibition .gakka13 .item::after,
  .exhibition .gakka14 .item::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: 8px;
    bottom: 5px;
    width: 42%;
    height: 90%;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    opacity: .18;
    pointer-events: none;
  }

  .exhibition .gakka01 .item:nth-child(4) > *,
  .exhibition .gakka02 .item:nth-child(2) > *,
  .exhibition .gakka03 .item:nth-child(3) > *,
  .exhibition .gakka04 .item > *,
  .exhibition .gakka13 .item > *,
  .exhibition .gakka14 .item > * {
    position: relative;
    z-index: 1;
  }

  .exhibition .gakka01 .item:nth-child(4)::after {
    background-image: url("../img2026/gakka_esports.png");
  }
  .exhibition .gakka02 .item:nth-child(2)::after {
    background-image: url("../img2026/gakka_omikuji.png");
  }
  .exhibition .gakka03 .item:nth-child(3)::after {
    background-image: url("../img2026/gakka_shateki.png");
  }
  .exhibition .gakka13 .item::after {
    background-image: url("../img2026/gakka_ennichi.png");
  }
  .exhibition .gakka14 .item::after {
    background-image: url("../img2026/gakka_kokusai.png");
  }

  .exhibition .gakka04 .item {
    overflow: visible;
  }

  .exhibition .gakka04 .item::after {
    content: "";
    position: absolute;
    z-index: 2;
    right: 0px;
    bottom: -67px;
    width: 190px;
    height: 155px;
    background-image: url("../img2026/gakka_pet.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    opacity: 1;
    pointer-events: none;
  }
}




@media screen and (max-width: 767px) {

  /* SPでは通常の企画画像は非表示 */
  .exhibition .gakka01 .item:nth-child(4)::after,
  .exhibition .gakka02 .item:nth-child(2)::after,
  .exhibition .gakka03 .item:nth-child(3)::after,
  .exhibition .gakka13 .item::after,
  .exhibition .gakka14 .item::after {
    display: none;
  }

  /* あしあと祭：group-panel全体を基準にする */
  .exhibition .gakka04 .group-panel {
    position: relative;
  }

  /* item側の犬は消す */
  .exhibition .gakka04 .item::after {
    display: none;
  }

  /* group-panelの右下へ犬を固定 */
  .exhibition .gakka04 .group-panel::after {
    content: "";
    position: absolute;
    z-index: 2;

    right: 0;
    bottom: -20px;

    width: 100px;
    height: 115px;

    background-image: url("../img2026/gakka_pet.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;

    opacity: 1;
    pointer-events: none;
  }
}