:root {
  --color-blue: #00acc0;
  --color-red: #ff1639;
  --color-black: #000;
  --color-white: #fff;
  --font-jp: "Zen Old Mincho", sans-serif;
  --font-en: "Outfit", sans-serif;
}

.p-special__gif_head {
  text-align: center;
  margin-bottom: 72px;
}
@media screen and (max-width: 767px) {
  .p-special__gif_head {
    margin-bottom: 50px;
  }
}
.p-special__gif_head-ttl {
  font-size: 5rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  font-weight: 600;
}
@media screen and (max-width: 767px) {
  .p-special__gif_head-ttl {
    font-size: 3.2rem;
  }
}
.p-special__gif_head-lead {
  margin-top: 20px;
  font-size: 1.8rem;
  line-height: 1.8;
}
@media screen and (max-width: 767px) {
  .p-special__gif_head-lead {
    font-size: 1.4rem;
    line-height: 1.64;
  }
}
.p-special__gif_cont {
  max-width: 900px;
  margin: 0 auto 72px;
}
@media screen and (max-width: 767px) {
  .p-special__gif_cont {
    margin-bottom: 50px;
  }
}
.p-special__gif_cont-cap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 38px;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--color-black);
}
@media screen and (max-width: 767px) {
  .p-special__gif_cont-cap {
    margin-bottom: 25px;
    padding-bottom: 15px;
  }
}
.p-special__gif_cont-cap .no {
  width: 150px;
  font-family: var(--font-en);
  letter-spacing: 0.06em;
  font-size: 5.2rem;
}
@media screen and (max-width: 767px) {
  .p-special__gif_cont-cap .no {
    width: 8rem;
    font-size: 2.8rem;
  }
}
.p-special__gif_cont-cap .ttl {
  width: calc(100% - 150px);
  font-size: 3rem;
  letter-spacing: 0.1em;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .p-special__gif_cont-cap .ttl {
    width: calc(100% - 8rem);
    font-size: 1.6rem;
  }
}
.p-special__gif_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.p-special__gif_list-item {
  position: relative;
  width: 32%;
  margin-left: 2%;
  margin-bottom: 4%;
}
@media screen and (min-width: 768px) {
  .p-special__gif_list-item:nth-child(3n-2) {
    margin-left: 0;
  }
}
@media screen and (max-width: 767px) {
  .p-special__gif_list-item {
    width: 49%;
  }
  .p-special__gif_list-item:nth-child(odd) {
    margin-left: 0;
  }
}
.p-special__gif_list-img {
  position: relative;
  width: 100%;
}
.p-special__gif_list-btn {
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-special__gif_list-btn:hover::after {
    opacity: 0.4;
  }
}
.p-special__gif_list-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, right top, from(var(--color-blue)), to(var(--color-red)));
  background: linear-gradient(to right, var(--color-blue), var(--color-red));
  -webkit-transition: opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1), -webkit-transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
  transition: opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1), -webkit-transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
  transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1);
  transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.7s cubic-bezier(0.33, 1, 0.68, 1), -webkit-transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
  opacity: 0;
}