.sl {
  display: block !important;
}
.slick-dots li {
  line-height: 1;
}
.slick-dots button {
  width: 45px;
  height: 7px;
  font-size: 0;
  cursor: pointer;
  border: 0;
  background: url(../img/index/dots.jpg);
}
.slick-dots .slick-active button {
  background: url(../img/index/dots_on.jpg);
}
.slick-dots {
  display: flex;
}
.slick-dots li + li {
  margin-left: 12px;
}
#sec8 {
  position: relative;
  text-align: justify;
  background: url(../img/index/sec8_deco_sp.png) no-repeat center top 10vw/100%
    auto;
  padding: 42vw 0 14vw;
}
#sec8 * {
  box-sizing: border-box;
}
#sec8::before {
  content: "";
  background: url(../img/index/sec8_bg_sp.png) no-repeat center top/100% auto;
  position: absolute;
  top: -20vw;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}
#sec8::after {
  content: "";
  background: url(../img/index/bg1.jpg);
  position: absolute;
  top: 80vw;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
}
#sec8 .wrap {
  padding: 0 5%;
}
#sec8 .set1 {
  padding-bottom: 11vw;
}
#sec8 .set1 h2 {
  font-size: 7.5vw;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #fff;
  background: #1f1919;
  text-align: center;
  padding: 0 5%;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 8vw;
  line-height: 1.5;
}
#sec8 .set1 h2 .fs48 {
  font-size: 6vw;
  letter-spacing: 0.1em;
}
#sec8 .set2 ul li {
  padding: 10px;
  position: relative;
}
#sec8 .set2 .gr-bnr2 ul li:last-child {
pointer-events: none;
}
#sec8 .set2 ul li::before {
  content: "";
  border: 10px solid #301c1c;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}
#sec8 .set2 ul li:not(:last-child) {
  margin-bottom: 4vw;
}
#sec8 .set2 ul li a {
  display: block;
}
#sec8 .set2 ul li .ttl {
  position: absolute;
  top: 25.5vw;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
}
#sec8 .set2 .gr-bnr1 li:last-child::before {
  border-color: #160e0e;
}
#sec8 .set2 .gr-bnr2 {
  margin: 4vw 5% 0;
}
#sec8 .set2 .gr-bnr2 li:last-child {
  pointer-events: none;
 }
#sec8 .set2 .gr-bnr2 li .ttl {
  top: 24.5vw;
  width: 100%;
}
#sec8 .set2 .btn-link {
  margin: 9vw auto 0;
  display: block;
}
@media screen and (min-width: 768px) {
  .slick-dots button {
    width: 70px;
    height: 10px;
  }
  .slick-dots button:hover {
    opacity: 0.7;
  }
  .slick-dots li + li {
    margin-left: 16px;
  }
  #sec8 {
    text-align: left;
    background: none;
    padding: 247px 0 130px;
  }
  #sec8::before {
    background: url(../img/index/sec8_bg.png) no-repeat center top/100% auto;
    top: -109px;
  }
  #sec8::after {
    top: 25vw;
  }
  #sec8 .wrap {
    padding: 0;
  }
  #sec8 .set1 {
    padding-bottom: 104px;
    position: relative;
  }
  #sec8 .set1::before {
    content: "";
    background: url(../img/index/sec8_deco1.png) no-repeat;
    width: 281px;
    height: 152px;
    position: absolute;
    top: -123px;
    left: calc(50% - 724px);
    z-index: -1;
  }
  #sec8 .set1::after {
    content: "";
    background: url(../img/index/sec8_deco2.png) no-repeat;
    width: 337px;
    height: 138px;
    position: absolute;
    bottom: 76px;
    left: calc(50% + 383px);
    z-index: -1;
  }
  #sec8 .set1 h2 {
    font-size: 60px;
    padding: 0 43px;
    margin: 0 auto 47px;
    line-height: 83px;
  }
  #sec8 .set1 h2 .fs48 {
    font-size: 48px;
  }
  #sec8 .set1 .txt {
    text-align: center;
  }
  #sec8 .set2 ul {
    display: flex;
    max-width: 90vw;
    margin: 0 auto;
  }
  #sec8 .set2 ul li {
    width: 50%;
    overflow: hidden;
  }
  #sec8 .set2 .gr-bnr2 ul li:last-child {
  pointer-events: none;
  }
  #sec8 .set2 ul li:hover .photo .on {
    opacity: 1;
  }
  #sec8 .set2 ul li:hover .photo .off {
    opacity: 0;
  }
  #sec8 .set2 ul li:not(:last-child) {
    margin-bottom: 0;
  }
  #sec8 .set2 ul li .photo {
    position: relative;
  }
  #sec8 .set2 ul li .photo .on {
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  #sec8 .set2 ul li .photo .off {
    opacity: 1;
  }
  #sec8 .set2 ul li .photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.5s ease;
  }
  #sec8 .set2 ul li .ttl {
    top: 47%;
    width: 68.1333333333%;
  }
  #sec8 .set2 ul li .ttl img {
    width: 100%;
    height: auto;
  }
  #sec8 .set2 .gr-bnr1 li:first-child {
    padding-right: 5px;
  }
  #sec8 .set2 .gr-bnr1 li:first-child::before {
    border-right: 5px solid #160e0e;
  }
  #sec8 .set2 .gr-bnr1 li:last-child {
    padding-left: 5px;
  }
  #sec8 .set2 .gr-bnr1 li:last-child::before {
    border-left: 5px solid #160e0e;
  }
  #sec8 .set2 .gr-bnr2 {
    margin: 0;
    background: #301c1c;
    padding: 0 10px 10px;
    gap: 12px;
    max-width: 90vw;
    margin: 0 auto;
  }
  #sec8 .set2 .gr-bnr2 li {
    padding: 0;
  }

  #sec8 .set2 .gr-bnr2 li::before {
    content: none;
  }
  #sec8 .set2 .gr-bnr2 li .ttl {
    top: 45%;
  }
  #sec8 .set2 .btn-link {
    margin: 100px auto 0;
  }
}
@media screen and (min-width: 1500px) {
  #sec8 .set2 .gr-bnr1 li .photo img {
    height: 440px;
    -o-object-fit: cover;
    object-fit: cover;
  }
  #sec8 .set2 .gr-bnr2 li .photo img {
    height: 320px;
    -o-object-fit: cover;
    object-fit: cover;
  }
}
