.post {
  position: relative;
}

.post-header {
  display: flex;
  flex-direction: column-reverse; /* タイトルを meta の下へ */
  width: 100%;
}

/* 投稿者＋三点リーダーを横並び */
.post-header .meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

/* 投稿者情報 */
.post-header .post-info {
  margin: 0;
}

/* 三点リーダー */
.menu-wrapper {
  margin-right: auto;
  margin-left: auto;
}

/* ボタン */
.menu-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}


/* タイトルを meta の下へ */
.post-header .post-title {
    order: 1;
    margin: 0;
    width: 100%;
}

.post-body {
  order: 2;
  margin-top: 8px;
  white-space: pre-wrap;
}

.reply-form-container form {
  margin-top: 8px;
}

/* --------------------------------------
   スマホ専用（幅600px以下）
--------------------------------------- */
@media screen and (max-width: 600px) {
  .post-header .meta small {
    font-size: 14px;
    line-height: 1.3;
  }

  /* 三点リーダーの位置調整 */
  .menu-wrapper {
    margin-left: auto;     /* 一番右に寄せる */
  }
}

