.message-title {
  margin-right: 20%;
  margin-bottom: 5%;
}
.main-message-wrap {
  position: relative;
  background-image: url(../../image/assets/main-back.png);
  background-repeat: repeat;
  padding-top: 6vw;
  padding-left: 14%;
  padding-right: 14%;
  padding-bottom: 15%;
  z-index: 1;
}
@media (max-width: 768px) {
  .main-message-wrap {
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 10vh;
    margin-top: -4vh;
    z-index: -1;
  }
}
.main-message-wrap::after {
  content: "";
  position: absolute;
  background-image: url(../../image/assets/msg-img4.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 65%;
  height: 100%;
  top: 29%;
  right: -15%;
}
@media (max-width: 1280px) {
  .main-message-wrap::after {
    top: 36%;
  }
}
@media (max-width: 768px) {
  .main-message-wrap::after {
    width: 85%;
    top: 41%;
    right: -28%;
  }
}
.main-message-wrap img {
  width: 100%;
}
.message-contents {
  padding: 8% 15%;
  background-color: #fff;
  border-radius: 40px;
}
@media (max-width: 768px) {
  .message-contents {
    padding: 5%;
  }
}
.message-contents img {
  width: 90%;
  margin-bottom: 5%;
}
.message-contents p {
  color: #0C5E8F;
  font-size: 18px;
  line-height: 1.5;

}
.message-contents p span {
      font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
}
.pre-name {
  margin: 5% 0;
}
footer {
  z-index: 2;
  position: relative;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .pre-image-block {
    float: none;
    shape-outside: none;
    margin: 0 auto 20px auto;
    text-align: center;
  }
  
  .pre-text-block {
    padding-right: 0;
  }
}