.main-visual {
  position: relative;
  background: url('../img/main-visual.jpeg') no-repeat;
  background-position: center;
  background-size: cover;
}

.main-visual__text {
  position: absolute;
  top: 34%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 320px) {
  .main-visual {
    height: 480px;
  }
}

@media screen and (min-width: 321px) and (max-width: 428px) {
  .main-visual {
    height: 640px;
    background-position: bottom 60px center;
  }
}

@media screen and (min-width: 429px) and (max-width: 1024px) {
  .main-visual {
    height: 800px;
    background-position: bottom 60px center;
  }
}

@media screen and (min-width: 1025px) {
  .main-visual {
    height: 1000px;
    background-position: bottom 60px center;
  }
}
