.timeline {
  flex: 3;
  padding: 10px;
}

/* ツイートカード */
.wrap-posts {
  margin: 10 0;
}
.wrap-post-area {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}
.post-area-left {
  width: 70px;
}
.post-area-center {
  width: 60%;
}
.post-area-right {
  width: 70px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.post-icon {
  margin-right: 15px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  display: block;
  img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 5px;
  }
}

.post-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.post-content {
  background-color: #fff;
  padding: 10px;
  border-radius: 10px;
}

/* ツイートのアクション */
.wrap-like {
  width: 100%;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  .like-icon {
    width: 20px;
  }
  .like-sign {
    font-size: 12px;
    color: #fff;
  }
  .like-count {
    font-size: 24px;
    color: #fff;
  }
}
.wrap-button {
  width: 100%;
}

.share-button {
  width: 90%;
  border-radius: 20px;
  box-sizing: border-box;
  padding: 5px 0;
  margin: 4px;
}

/* プロフィールのコンテンツ */
.profile {
  .profile-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    .profile-icon {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 5px;
    }
    .profile-author {
      color: #fff;
      width: 80%;
      padding-left: 10px;
    }
    .profile-actions {
      width: 70px;
      .profile-button {
        display: block;
        width: 100%;
      }
    }
  }
  .profile-content {
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    margin: 10px 0;
  }
}
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer button {
  margin: 0 10px;
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}
.footer .back-to-top {
  background-color: #000000;
  color: rgb(255, 255, 255);
}
.footer .tweet {
  background-color: #006540;
  color: rgb(255, 255, 255);
}

/* モーダル用スタイル */
.modal {
  display: none; /* 初期状態は非表示 */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal .modal-tweet {
  background-color: #006540;
  color: white;
  border: solid 1px #000;
  border-radius: 20px;
  margin: 10px auto;
  padding: 5px 20px;
  width: 50%;
  max-width: 150px;
  cursor: pointer;
}
.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.modal-content textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 2px solid #000;
}
.close {
  position: absolute;
  right: 20px;
  top: 5px;
  font-size: 40px;
  cursor: pointer;
}
