.mainvisual {
  position: relative;
  background: #fff;
  padding-top: 1px;
  overflow: hidden;
}
.container {
  width: 1024px;
}
.swiper-container {
  height: 565px;
}
.swiper-slide a {
  display: block;
  border: 1px solid #999;
  background-color: #fff;
}
.swiper-slide a.blank {
  pointer-events: none;
}
.swiper-slide a:hover {
  display: block;
}
/*
.swiper-wrapper .swiper-slide {
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
  height: calc(100vh - 170px);
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
	*/
.swiper-button-prev,
.swiper-button-next {
  width: 20px;
}

.mainv_ttl {
  position: absolute;
  top: 50%;
  width: 100%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  transform: translate(0, -50%);
}
.mainv_logo {
  position: absolute;
  top: 20px;
  left: 20px;
}
.mainv_diagnosis {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 1;
  background-color: #fff;
  border-radius: 20px;
}
.mainv_diagnosis a:hover {
  opacity: 0.8;
}
.mainv_ttl h2 {
  font-size: 46px;
  line-height: 1.2em;
  width: 100%;
  text-shadow: 0px 6px 6px rgb(0 0 0 / 20%);
}
span.mainv_caption {
  display: block;
  text-align: right;
  font-size: 14px;
  color: #fff;
  font-weight: 400;
}

p.mainv_catch {
  background: var(--black);
  color: #fff;
  text-align: center;
  font-size: 13px;
  line-height: 1.3;
  padding: 10px 5px;
  font-weight: 700;
  margin-bottom: 0;
}
@media screen and (max-width: 1080px) {
  /*
  .swiper-container {
    height: 60vh;
  }
  .swiper-wrapper .swiper-slide {
    height: 60vh;
  }
		*/
}

@media screen and (max-width: 940px) {
  /* 480px以下に適用されるCSS（スマホ用） */
  /*
  .swiper-wrapper .swiper-slide {
    height: auto;
  }
		*/
  .swiper-container {
    height: auto;
  }
  .container {
    width: 100%;
  }
  .mainvisual {
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
  }
  .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;
  }
  .mainv_logo {
    width: 100px;
  }
  .mainv_diagnosis {
    position: initial;
  }
}
