.comet-wrapper {
  font-family: 'Noto Serif JP', serif;
  background: linear-gradient(to bottom, #f5f1eb, #eae4dc);
  color: #3c3c3c;
  text-align: center;
  padding: 15px 7.5px;
}

.comet-title {
  color: #7a5c3e;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1.2em;
  border-bottom: 2px solid #c6b79f;
  display: inline-block;
  padding-bottom: 0.4em;
}

#cometForm {
  background: #fffaf5;
  border: 1px solid #d8cbb7;
  border-radius: 12px;
  padding: 10px;
  margin: 0 auto 2em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  width: 95%;
  text-align: left;
box-sizing: border-box; /* 髢ｹ       郢晢ｽｦ    鬮     */
}

#cometForm select,
#cometForm textarea {
  width: 100%;
  padding: 7.5px;
  border: 1px solid #c7bba8;
  border-radius: 6px;
  background: #fefdfb;
  margin-bottom: 1.2em;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s;
box-sizing: border-box; /* 髢ｹ       郢晢ｽｦ    鬮     */
}

#cometForm textarea {
  min-height: 120px;
  resize: vertical;
}

#cometForm select:focus,
#cometForm textarea:focus {
  border-color: #a9906e;
  outline: none;
}

#cometForm button {
  background: linear-gradient(145deg, #b39775, #e2cdb4);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.6em 1.5em;
  cursor: pointer;
  font-size: 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s, box-shadow 0.3s;
}

#cometForm button:hover {
  background: linear-gradient(145deg, #9f7e5c, #d8bfa3);
}

#inbox {
  background: #fffefc;
  border: 1px solid #d8cbb7;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  width: 95%;
  margin: 0 auto;
  text-align: left;
  font-size: 0.95em;
  line-height: 1.6;
box-sizing: border-box; /* 髢ｹ       郢晢ｽｦ    鬮     */
 height: 300px;            /* 鬯ｮ蛟･  ｹｧ雋槫ｴ玖楜  */
  overflow-y: auto;         /* 驍ｵ ｦ隴 ｽｹ陷ｷ莉｣竊鍋ｹｧ ｹ郢ｧ ｯ郢晢ｽｭ郢晢ｽｼ郢晢ｽｫ */
word-break: break-word;
  overflow-wrap: break-word;
}

.inbox-message {
  margin-bottom: 1.2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #e1d9cd;
}

.inbox-message:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}