/* ====== 全体のスタイル ====== */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #fae8fa;
  margin: 0;
  padding: 0;
}

header {
  background-color: pink;
  color: rgb(86, 3, 3);
  padding: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  border-bottom: 1px solid #ddd;
}

.tagline {
  font-size: 14px;
  margin-top: 5px;
}

/* 投稿フォーム */
.post-form {
  display: flex;
  gap: 8px;
  padding: 15px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.post-form input,
.post-form select {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.post-form button {
  background-color: #0095f6;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.post-form button:hover {
  background-color: #0077cc;
}

/* 投稿カード */
.post-card {
  background-color: #fff;
  margin: 15px;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.post-emoji {
  font-size: 24px;
  margin-right: 10px;
}

.post-username {
  font-weight: bold;
}

.post-content {
  margin: 10px 0;
}

.delete-btn {
  background-color: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  float: right;
}

.delete-btn:hover {
  color: #ff4d4f;
}

/* フィルターボタン */
.filter-buttons {
  display: flex;
  gap: 10px;
  padding: 10px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.filter-buttons button {
  background-color: #866302;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.filter-buttons button:hover {
  background-color: #705903;
}

/* コメントセクション */
.comment-section {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #ddd;
}

.comments {
  margin-bottom: 10px;
}

.comment {
  margin-bottom: 5px;
  font-size: 14px;
}

.comment-form {
  display: flex;
  gap: 8px;
}

.comment-form input {
  flex: 1;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.comment-form button {
  background-color: #0095f6;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.2s;
}

.comment-form button:hover {
  background-color: #0077cc;
}

.like-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.like-btn {
  background-color: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  font-size: 16px;
}

.like-btn.liked {
  color: red;
}

.like-count {
  font-size: 14px;
  color: #555;
}

footer {
  background-color: #f8f8f8;
  color: #555;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  border-top: 1px solid #ddd;
  position: fixed;
  bottom: 0;
  width: 100%;
}
