
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f4f4;
  margin: 0;
}
.wrapper {
  display: flex;
  height: 100vh;
}
.left-panel {
  flex: 3;
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: #ffffff;
}
.right-panel {
  flex: 1;
  padding: 16px;
  background: #f9f9f9;
  border-left: 1px solid #ccc;
  font-size: 14px;
  overflow-y: auto;
}
.log {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
}
.post {
    border-bottom: 1px dashed #ccc;
    padding: 8px 0;
    margin-bottom: 6px;
}
.text {
  display: block;
  margin-top: 4px;
  white-space: pre-wrap;
}
.input-area {
  background: #ffffff;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 10px;
}
.input-row {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
textarea, input[type="text"], input[type="number"] {
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 6px 10px;
  margin-top: 4px;
}
textarea {
  flex: 1;
  resize: vertical;
}
.insert-index {
  width: 40px;
}
button {
  padding: 6px 10px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  background-color: #3498db;
  color: white;
}
button:hover {
  background-color: #2980b9;
}
hr {
  margin: 16px 0;
}

/* トグルスイッチ */
.toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}
.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0; left: 0;
  right: 0; bottom: 0;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #4CAF50;
}
input:checked + .slider:before {
  transform: translateX(18px);
}

.kotehan-group label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}
.kotehan-group input[type="text"] {
  width: 120px;
}
.kotehan-group button {
  padding: 4px 8px;
  font-size: 12px;
}

.jumpbotton{
  padding: 4px 8px;
}

#clear-all-button {
  background-color: #e74c3c;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

#clear-all-button:hover {
  background-color: #c0392b;
}

/* メッセージ間の点線仕切り */
.message {
  padding: 8px 12px;
  margin-bottom: 10px;
  font-family: 'Helvetica', 'Arial', sans-serif;
  position: relative;
  border-bottom: 1px dashed #ccc; /* ✅ ここを追加 */
}