.input-area {
  display: flex;
  gap: 16px;
}

.input-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.input-column label {
  font-weight: bold;
  margin-bottom: 6px;
}

textarea {
  width: 100%;
  height: 240px;
  box-sizing: border-box;
  padding: 12px;
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
}

@media (max-width: 700px) {
  .input-area {
    flex-direction: column;
  }
}

body {
  font-family: sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 24px;
}

h1 {
  text-align: center;
  margin-bottom: 8px;
}

.app-description {
  text-align: center;
  font-weight: bold;
  color: #555;
  margin-bottom: 36px;
}

.app-description2 {
  text-align: center;
  font-weight: bold;
  color: #555;
  margin-bottom: 36px;
}

#button1  {
  grid-column: 2;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

#kekka {
  background: #ffffff;
  border: 1px solid #ccc;
  display: grid;
  place-items: center;
  font-size: 16px;
  padding: 16px;
  min-height: 160px;
  white-space: pre-wrap;
  line-height: 1.6;
}
#kekka.result-same {
  border-color: #5cb85c;
  background: #f0fff0;
}

#kekka.result-different {
  border-color: #d9534f;
  background: #fff5f5;
}

.diff-list {
  display: block;
  background: #ffecec;
  border: 3px solid #d9534f;
  padding: 30px 15px 30px 15px;
  margin: 8px 0 16px;
  white-space: pre-wrap;
}

.diff-item {
  background: #ffffff;
  border-left: 4px solid #d9534f;
  padding: 10px;
  margin-bottom: 10px;
  white-space: pre-wrap;
}
.button-area {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

#syoukyo-button {
  grid-column: 3;
  justify-self: end;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}