.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.message {
  padding: clamp(80px, 12vw, 180px) 20px clamp(40px, 8vw, 100px);
  background-color: #fdfdfd;
  overflow: hidden;
  margin-top: -80px;
}

.message__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: clamp(40px, 8vw, 90px);
}

.message__inner::before {
  content: '';
  position: absolute;
  top: -200px;
  bottom: -200px;
  left: 60%;
  width: 50vw;
  background-color: #f4f1ed;
  z-index: 0;
}

.message__text {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.message__text h2 {
  font-family: 'Hiragino Mincho ProN', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.2;
  color: #b5cde5;
  font-weight: 900;
  margin: 0;
}

.message__text h2 span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  color: #adc8e3;
  line-height: 1.4;
  display: inline-block;
  margin-top: clamp(-0.2rem, -1vw, -0.4rem);
}

.message__text p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: #383838;
  text-align: left;
  padding-top: 50px;
  line-height: 2.4rem;
  letter-spacing: 0.02em;
  margin-top: clamp(1rem, 3vw, 2rem);
}

.highlight {
  color: #0054A7;
  font-weight: bold;
}

.message__images {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.message__images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* テキスト下に画像2枚横並び */
@media screen and (max-width: 1024px) {
  .message__inner {
    flex-direction: column;
    gap: clamp(30px, 4vw, 50px);
    max-width: 700px;
  }

  .message__inner::before {
    content: '';
    position: absolute;
    top: 85%;
    left: -25%;
    right: 30%;
    width: 150%;
    background-color: #f4f1ed;
    z-index: 0;
  }

  .message__text h2 {
    line-height: 1.3;
  }

  .message__text h2 span {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }

  .message__text p {
    margin-top: 7vw;
    padding-top: 0;
  }

  .message__images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    flex-wrap: wrap;
  }

  .message__images>.image-wrapper {
    width: 50%;
    box-sizing: border-box;
    position: relative;
  }

  .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .half-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #f4f1ed;
    z-index: -1;
  }
}

@media screen and (max-width: 768px) {
  .message {
    padding: clamp(80px, 12vw, 180px) 60px clamp(40px, 8vw, 100px);
  }
}

/* 画像縦並び */
@media screen and (max-width: 480px) {
  .message__inner {
    flex-direction: column;
    gap: clamp(20px, 4vw, 40px);
    max-width: 90%;
    margin: 0 auto;
  }

  .message__inner::before {
    content: none;
  }

  .message__text,
  .message__images {
    flex: 1 1 100%;
    min-width: 0;
  }

  .message__text h2 {
    font-size: clamp(1.6rem, 6vw, 2rem);
    line-height: 1.3;
  }

  .message__text h2 span {
    font-size: clamp(1rem, 4vw, 1.4rem);
  }

  .message__text p {
    margin-top: 7vw;
    line-height: 1.9;
  }

  .message__images {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
  }

  .message__images>.image-wrapper {
    width: 100%;
  }

  .image1-wrapper {
    position: relative;
    width: 100%;
  }

  .message__images img {
    width: 100%;
    height: auto;
    display: block;
  }

  .half-background {
    position: absolute;
    top: 50%;
    left: -100px;
    width: 200%;
    height: 200%;
    background-color: #f4f1ed;
    z-index: -1;
  }

}