@charset "UTF-8";

.index__list ul li:nth-child(1) a span { background-image: url(img_thumb_01.jpg); }
.index__list ul li:nth-child(2) a span { background-image: url(img_thumb_08.jpg); }
.index__list ul li:nth-child(3) a span { background-image: url(img_thumb_09.jpg); }
.index__list ul li:nth-child(4) a span { background-image: url(img_thumb_10.jpg); }
/*
.index__list ul li:nth-child(3) a span { background-image: url(img_thumb_07.jpg); }
.index__list ul li:nth-child(4) a span { background-image: url(img_thumb_08.jpg); }
.index__list ul li:nth-child(5) a span { background-image: url(img_thumb_03.jpg); }
.index__list ul li:nth-child(6) a span { background-image: url(img_thumb_06.jpg); }
*/

.index__list ul {
  column-gap: 2em;
  row-gap: 1em;
}
.index__list ul li {
  width: calc(50% - 1em);
}

@media screen and (max-width: 1200px) {
  .index__list ul li {
    width: 100%;
  }
}

@media screen and (max-width: 599px) {
  .index__list ul li a {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    min-height: auto;
    padding-right: 0;
  }
  .index__list ul li a::before,
  .index__list ul li a::after {
    content: none;
  }
  .index__list ul li a h2 {
    padding: 1em;
  }
  .index__list ul li a span {
    width: 100%;
    height: auto;
    margin: 0;
    border: none;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 0;
  }
  .index__list ul li a h2 em {
    font-size: 12px;
  }
}