/* CSS Document */
.messagebox {
  margin-top: 80px;
  position: relative;
  width: 100%;
}

.messagebox picture,
.messagebox picture img {
  display: block;
  width: 100%;
}

.messagebox picture img {
  height: auto;
}

.message-txt {
  position: absolute;
  top: 8%;
  left: 6%;
  width: 50.5%;
  padding: 6%;
  font-size: clamp(14px, 1.25vw, 18px);
  /*font-family: "Noto Serif JP", serif;*/
}

.message-txt p {
  margin: 0 0 2em;
}

.message-txt p:last-child {
  margin-bottom: 0;
}

.message-txt .txt-right {
  text-align: right;
  line-height: 1.8;
}

.message-sign {
  display: flex;
  justify-content: flex-end;
  margin-top: 6vw;
}

.message-sign p {
  margin: 0;
  line-height: 1.2;
}

.message-sign p:nth-child(2) {
  font-size: 34px;
  font-weight: 700;
  margin-left: 14px;
}

@media screen and (max-width: 1185px) {
.message-txt {
  position: static;
  width: 100%;
  padding: 3.5% 0;
}
}

@media screen and (max-width: 1023px) {
.message-sign {
  display: block;
  text-align: right;
}

.message-sign p:nth-child(2) {
  font-size: 4.1vw;
  font-weight: 400;
  margin-left: 0;
}
}