/* Message Section Styles */
.message {
  height: 116.4rem;
  padding: 10.3rem 0;
  background-color: #fff;
}

.message__header {
  text-align: center;
  margin-bottom: 5.2rem;
}

.message__content {
  padding: 0 0rem 0 20.1rem;
  display: flex;
  gap: 5.8rem;
  align-items: flex-start;
}

/* Profile Section (Left) */
.message__profile {
  flex: 0 0 37.5rem;
}

.message__profile-image {
  margin-bottom: 1.8rem;
}

.message__profile-image img {
  width: 100%;
  height: auto;
}

.message__profile-info {
  background-color: #fff;
  padding: 2.4rem 2.2rem 2.2rem;
  border: 0.1rem solid var(--color-text-primary);
  clip-path: polygon(0 0, calc(100% - 4rem) 0, 100% 4rem, 100% 100%, 0 100%);
  position: relative;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
}

.message__profile-info::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 50%, #c0c0c0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: -1;
  box-shadow: inset 0.1rem 0.1rem 0.2rem rgba(255, 255, 255, 0.8),
    inset -0.1rem -0.1rem 0.2rem rgba(0, 0, 0, 0.2);
}

.message__profile-info::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  z-index: 1;
}

/* 折り込み部分の縦線と横線 */
.message__profile-info .fold-line-vertical {
  position: absolute;
  top: 0;
  right: 4rem;
  width: 0.1rem;
  height: 4rem;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 2;
}

.message__profile-info .fold-line-horizontal {
  position: absolute;
  top: 4rem;
  right: 0;
  width: 4rem;
  height: 0.1rem;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 2;
}

.message__profile-name {
  font-family: Noto Sans JP;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-text-primary);
  margin-bottom: 1.4rem;
}

.message__profile-career {
  list-style: none;
  padding: 0 0.2rem;
  margin: 0;
}

.message__profile-career li {
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--color-text-primary);
  margin-bottom: 0rem;
  padding-left: 1.5rem;
  position: relative;
}

.message__profile-career li::before {
  content: "•";
  position: absolute;
  top: -0.1rem;
  left: 0.2rem;
}

/* Message Text Section (Right) */
.message__text {
  flex: 1;
}

.message__text-content {
  padding: 6.2rem 21.4rem 6.1rem 8.7rem;
  display: flex;
  flex-direction: column;
  gap: 2.48rem;
  background-color: #fffdf6;
  border-radius: 2rem 0 0 2rem;
  box-shadow: -0.3rem 0.3rem 0.3rem rgba(45, 45, 45, 0.1);
}

.message__text-paragraph {
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.7968;
  color: var(--color-text-primary);
  margin: 0;
}

.message__text-paragraph--highlight {
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--color-primary-lighter);
  margin-bottom: 0.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .message {
    height: 218.5rem;
    padding: 6rem 0;
  }

  .message__inner {
    padding: 0 1.2rem;
  }

  .message__header {
    margin-bottom: 2.7rem;
  }

  .message__content {
    padding: 0 0rem;
    flex-direction: column;
    gap: 3.5rem;
  }

  .message__profile {
    padding: 0 1.2rem;
    flex: none;
    width: 100%;
  }

  .message__profile-image {
    margin-bottom: 1.6rem;
  }

  .message__profile-info {
    padding: 2.2rem 2rem 2.3rem;
  }

  .message__profile-name {
    font-size: 1.8rem;
    margin-bottom: 1.4rem;
  }

  .message__profile-career li {
    font-size: 1.2rem;
    margin-bottom: 0.03rem;
    padding-left: 1.3rem;
  }

  .message__text {
    width: 100%;
  }

  .message__text-content {
    padding: 4.5rem 0.6rem 4rem 2.4rem;
    gap: 2.46rem;
  }

  .message__text-paragraph {
    font-size: 1.4rem;
  }

  .message__text-paragraph--highlight {
    font-size: 2.4rem;
    margin-bottom: 0rem;
  }
}
