/* 想い（message.html）だけのCSS */

.message-article {
  padding-top: 4rem;
}

/* 1行を全角35〜40字に収める（本文 1rem） */
.message-text {
  width: min(100% - 2.5rem, 38em);
}

.message-chapter {
  padding: 0;
}

.message-chapter + .message-chapter {
  margin-top: 3rem;
  padding-top: 2.6rem;
  border-top: 2px dotted var(--line);
}

.message-head {
  margin-bottom: 0.4rem;
}

.message-no {
  display: block;
  color: var(--green-display);
  font-family: var(--font-num);
  font-style: italic;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.message-head .section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.message-text .prose {
  line-height: 1.9;
}

.message-text .prose p + p {
  margin-top: 1.2rem;
}

.message-text strong {
  font-weight: 900;
}

/* 句の途中で行を分けない所 */
.message-keep {
  display: inline-block;
}

.message-mark {
  font-weight: 700;
  padding: 0 2px;
  background: linear-gradient(transparent 62%, var(--pink-soft) 62%);
}

.message-mark-green {
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--green) 32%, #fff) 62%);
}

.message-text .message-note {
  margin-top: 1.6rem;
  padding: 0.8rem 1rem;
  background: var(--green-pale);
  border-radius: 12px;
  color: var(--gray);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* 署名 */
.message-sign {
  margin-top: 3rem;
  padding-top: 1.4rem;
  margin-bottom: 1.5rem;
  border-top: 2px dotted var(--line);
  text-align: right;
}

.message-sign-role {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 700;
}

.message-sign-name {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

/* 応援の区画の見出し（h3 のまま .join h2 と同じ見た目） */
.join h3 {
  font-size: clamp(1.6rem, 4.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.45;
  margin: 0.3rem 0 0.9rem;
}

@media (max-width: 880px) {
  .message-article {
    padding-top: 2.8rem;
  }

  .message-no {
    font-size: 3rem;
  }

  .message-chapter + .message-chapter {
    margin-top: 2.4rem;
    padding-top: 2rem;
  }
}
