.dialogue-sheet-container {
  max-width: 720px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: "Apple SD Gothic Neo", sans-serif;
}

.dialogue-sheet-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
  padding-bottom: 0.5rem;
}

.theme-list.dialogue-sheet th,
.theme-list.dialogue-sheet td {
  height: 30px;
  padding: 10px !important ;
}
.theme-list.dialogue-sheet th {
  text-align: center;
}
.theme-list.dialogue-sheet td {
  text-align: left;
}

.theme-list.dialogue-sheet td,
.theme-list.dialogue-sheet th {
  max-width: 160px !important;
}

.theme-list.dialogue-sheet .dialogue-parameter * {
  text-align: center;
}

.theme-list.dialogue-sheet .th-2 {
  filter: brightness(1.25);
}
.theme-list.dialogue-sheet .th-3 {
  filter: brightness(1.5);
}

.theme-list.dialogue-sheet .dialogue-sheet-relation .relation-level {
  font-weight: bold;
  background-color: black;
}

.relation-level.level-1 {
  color: #0000ff;
}
.relation-level.level-2 {
  color: #008000;
}
.relation-level.level-3 {
  color: #00ff00;
}
.relation-level.level-4 {
  color: #ffff00;
}
.relation-level.level-5 {
  color: #ff0000;
}

.dialogue-board-wrap * {
  box-sizing: border-box;
}

.dialogue-board-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.dialogue-board-title {
  font-size: 1.5rem;
  color: var(--main-color);
  border-bottom: 2px solid var(--main-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.dialogue-post-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dialogue-post-item {
  display: flex !important;
  flex-direction: column;
  padding: 15px !important;
  border: 1px solid #e0e0e0;
  border-radius: 12px !important;
  text-decoration: none;
  color: #333;
  transition: all 0.2s;
  background-color: #ffffff;
  text-align: left !important;
  line-height: normal !important;
  height: auto !important;
}

.post-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #222;
}

.post-meta {
  font-size: 0.9rem;
  color: #666;
  display: flex;
  justify-content: space-between;
}

.post-comments {
  background-color: var(--main-color);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
}

.dialogue-board-pagination {
  text-align: center;
  margin: 20px 0;
}

.dialogue-board-write {
  text-align: right;
}

@media (max-width: 600px) {
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

.form-input,
input[type="file"],
input[type="text"],
input[type="number"],
input[type="password"],
textarea,
select {
  width: 100% !important;
}
div.write-form th.th-3 input[type="text"] {
  filter: brightness(0.5) !important;
}
