body {
  font-size: 1.1rem;
  line-height: 1.7;
  background-color: #f8f9fa;
}

.fs-4 {
  font-size: 1.8rem !important;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 300 !important;
}

/* Card Hover Effect */
.card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Button Colors */
.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}


/* Chat Window Styles */
#chat-window {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

#chat-window .message-bot .message-content {
  background-color: #e9ecef;
  border-radius: 15px 15px 15px 0;
}

#chat-window .message-user .message-content {
  background-color: #0d6efd;
  color: white;
  border-radius: 15px 15px 0 15px;
}

#chat-options .btn {
  border-radius: 20px;
  transition: background-color 0.2s ease;
}

#chat-options .btn:hover {
  background-color: #e2e6ea;
}

/*
   チャットメッセージのスタイルをJavaScript側で動的に適用するため、
   CSSでの直接的なクラス指定から、JavaScript側でのクラス付与を前提としたスタイルに変更します。
   （js/script.jsの修正も後ほど行います）
*/
.message-container {
  display: flex;
  margin-bottom: 1rem;
  max-width: 85%;
}

.message-container.user {
  justify-content: flex-end;
  margin-left: auto;
}

.message-container.bot {
  justify-content: flex-start;
  margin-right: auto;
}

.message-content {
  padding: 0.75rem 1rem;
  border-radius: 1.25rem;
  line-height: 1.4;
}

.message-bot {
  background-color: #e9ecef;
  color: #212529;
  border-radius: 1.25rem 1.25rem 1.25rem 0;
}

.message-user {
  background-color: #0d6efd;
  color: white;
  border-radius: 1.25rem 1.25rem 0 1.25rem;
}