@charset "UTF-8";
/* ==========================================================================//
//
// 扉ページ
//
// ========================================================================== */
.index_container {
  background-color: #ebebeb;
  padding: 30px 0 78px;
}
@media all and (min-width: 751px) {
  .index_container {
    padding: 58px 0 138px;
  }
}
.index_container .delayScroll > li {
  opacity: 0;
}
.index_container .delayScroll > li.scroll_active {
  -webkit-animation: fadeUpAnime 0.6s forwards;
          animation: fadeUpAnime 0.6s forwards;
}

.index_ttl {
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  color: #a9161b;
  font-size: 40px;
  margin-bottom: 58px;
}
@media all and (min-width: 751px) {
  .index_ttl {
    font-size: 59px;
    margin-bottom: 78px;
  }
}

.index_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 77px;
}
@media all and (max-width: 750px) {
  .index_list {
    margin-left: 8px;
  }
}
@media all and (min-width: 751px) {
  .index_list {
    gap: 106px 86px;
  }
}
.index_list > li {
  position: relative;
  z-index: 1;
  width: 100%;
}
@media all and (min-width: 751px) {
  .index_list > li {
    width: calc((100% - 86px) / 2);
  }
}
.index_list > li::before {
  position: absolute;
  content: "";
  background-color: #fff;
  aspect-ratio: 1;
  width: 44.3%;
  top: -28px;
  left: -28px;
  z-index: -1;
}
@media all and (min-width: 751px) {
  .index_list > li::before {
    top: -34px;
    left: -34px;
  }
}
.index_list > li a {
  display: block;
}
@media (hover: hover) {
  .index_list > li a .image {
    overflow: hidden;
  }
  .index_list > li a img {
    -webkit-transition: -webkit-transform 0.4s;
    transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
    transition: transform 0.4s, -webkit-transform 0.4s;
  }
  .index_list > li a:hover img {
    -webkit-transform: scale(1.08);
            transform: scale(1.08);
  }
}
.index_list > li a .heading {
  position: absolute;
  bottom: 0;
  right: -10px;
  -webkit-transform: translate(0, 50%);
          transform: translate(0, 50%);
  min-width: 170px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #a9161b;
  background-image: url(../images/icon/arrow02.svg);
  background-repeat: no-repeat;
  background-size: 20px auto;
  background-position: right 10px center;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.08em;
  font-size: 18px;
  padding: 7px 40px 9px 20px;
}
@media all and (min-width: 751px) {
  .index_list > li a .heading {
    right: -18px;
    font-size: 20px;
    background-position: right 20px center;
    padding: 11px 50px 12px 27px;
    -webkit-transition: background-position 0.3s;
    transition: background-position 0.3s;
  }
}
@media (min-width: 751px) and (hover: hover) {
  .index_list > li a:hover .heading {
    background-position: right 14px center;
  }
}