.container {
  max-width: 100%;
}
.swiper-container {
  height: calc(100vh - 100px);
}
.swiper-wrapper .swiper-slide {
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  height: calc(100vh - 100px);
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  line-height: 1.6;
  background-image:
        linear-gradient(rgb(0 0 0 / 50%), rgb(0 0 0 / 50%)),
        url("../img/slider/s_img01.jpg");
}
.mainv_catch {
  margin-bottom: 1rem;
  font-size: 4rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.swiper-button-prev,
.swiper-button-next {
  width: 20px;
}

.mainv_ttl {
  position: absolute;
  width: 100%;
  xbackground-color: rgb(0 0 0 / 25%);
  color: #fff;
  xmin-height: 200px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  xflex-flow: column;
  padding: 0 20px;
  text-align: left;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.mainv_ttl img {
  height: calc(24vh - 40px);
  min-height: calc(200px - 40px);
  margin: 0 auto;
  display: block;
  object-fit: contain;
}
.mainv_ttl h2 {
  font-size: 2.6rem;
  line-height: 1.2em;
  width: 100%;
}
.mainv_ttl p {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 0.5em;
}
span.mainv_caption {
  display: block;
  text-align: right;
  font-size: 14px;
  color: #fff;
  font-weight: 400;
}

}
@media screen and (max-width: 1080px) {
  .swiper-container {
    xheight: 60vh;
  }
  .swiper-wrapper .swiper-slide {
    xheight: 60vh;
  }
}

@media (orientation: landscape) and (max-width: 926px) {
  /*デバイスが横向き、画面の横幅が 926px 以下の場合の記述*/
  .swiper-wrapper {
    height: 100vh;
    position: relative;
  }
  .swiper-container {
    height: 100vh;
  }
  .swiper-wrapper .swiper-slide {
    height: 100vh;
  }
  .mainv_ttl {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    xbottom: 0;
  }
  .mainv_catch {
    font-size: 3rem;
  }
}
  @media screen and (max-width: 480px) {
    /* 480px以下に適用されるCSS（スマホ用） */
    .swiper-wrapper {
      height: 82vh;
    }
    .swiper-container {
      height: 82vh;
    }
    .swiper-wrapper .swiper-slide {
      height: 82vh;
    }
    .swiper-wrapper .swiper-slide {
      height: auto;
    }
    .mainv_ttl {
      min-height: 100px;
    }
    .mainv_ttl h2 {
      font-size: 1.2rem;
    }
    .mainv_ttl p {
      font-size: 12px;
    }
    .mainv_catch {
    font-size: 3rem;
    }
    span.mainv_caption {
      font-size: 12px;
    }
    .swiper-button-prev,
    .swiper-button-next {
      width: 14px;
    }
  }
}
