/* コメント通知エリアのスタイル */
.comment-notice {
  background-color: #fff8dc;
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 10px;
  font-size: 14px;

  /* アニメーション効果 */
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comment-notice-summary {
  background-color: #fff8dc; /* 一覧と統一した背景色 */
  color: #333;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 15px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#comment-count {
  font-weight: bold;
  color: #e60000; /* 赤文字で強調 */
  font-size: 18px;
  margin: 0 4px;
}

.comment-notice-summary button {
  background-color: #0073e6;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

.comment-notice-summary button:hover {
  background-color: #005bb5;
}

#comment-notice-list {
  margin-top: 10px;
}


/* モーダル表示のスタイル */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 20px;
  width: 80%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.close-btn:hover {
  color: #000;
}

#modal-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

#modal-comments {
  max-height: 400px;
  overflow-y: auto;
  font-size: 14px;
  color: #444;
}

@media screen and (max-width: 480px) {
  #modal-comments {
    font-size: 13px;
  }

  #modal-title {
    font-size: 18px;
  }

  .modal-content {
    width: 90%;
    padding: 16px;
  }

  .close-btn {
    font-size: 20px;
    top: 8px;
    right: 10px;
  }
}
