.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;
}
.swiper-button-prev, .swiper-button-next{
  width: 20px;
}


.mainv_ttl{
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgb(0 0 0 / 25%);
  color: #fff;
  min-height: 200px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-flow: column;
  padding: 0 20px;
  text-align: left;
}
.mainv_ttl h2{
font-size:2.6rem;
line-height: 1.2em;
width: 100%;
}
.mainv_ttl p{
  font-size:1.25rem;
  font-weight:300;
  line-height: 1.2em;
  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 {
      height: 60vh;
    }
    .swiper-wrapper .swiper-slide{
      height: 60vh;
    }
  }


  @media screen and (max-width: 480px) {
    /* 480px以下に適用されるCSS（スマホ用） */
    .swiper-wrapper .swiper-slide{
      height: auto;
    }
    .mainv_ttl{
      min-height: 100px;
    }
    .mainv_ttl h2{
      font-size: 1.2rem;
    }
    .mainv_ttl p{
      font-size: 12px;
    }
    span.mainv_caption {
      font-size: 12px;
    }
    .swiper-button-prev, .swiper-button-next{
      width: 14px;
    }
  }
