body {
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  background: #fff8f8;
  color: #333;
  margin: 0;
  padding: 0;
}

.container, .chat-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px #ffe4e4;
  margin-top: 40px;
}

h1.logo {
  font-size: 28px;
  color: #ff6699;
  margin-bottom: 10px;
  text-align: center;
}

.subtitle, .chat-header {
  font-size: 16px;
  text-align: center;
  color: #999;
  margin-bottom: 20px;
}

form textarea {
  width: 100%;
  height: 100px;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ffc0cb;
  border-radius: 8px;
  resize: none;
  background: #fffafc;
  box-sizing: border-box;
}

/* ▼ ここを追加・調整！ ----------- */
form input[type="text"],
form input[type="email"],
form input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  font-size: 16px;
  border: 1px solid #ffc0cb;
  border-radius: 8px;
  background: #fffafc;
  box-sizing: border-box;
}
/* ↑ここまでinput全種で幅100% */

form button {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background: #ff6699;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

form button:hover {
  background: #ff4d88;
}

.footer-link {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.footer-link a {
  color: #ff6699;
  text-decoration: none;
}

.chat-box {
  margin-bottom: 20px;
}

.chat-bubble {
  padding: 12px;
  margin: 10px 0;
  border-radius: 16px;
  max-width: 80%;
  font-size: 15px;
  line-height: 1.4;
}

.chat-bubble.user {
  background: #ffeef3;
  margin-left: auto;
  text-align: right;
}

.chat-bubble.bot {
  background: #fff0f5;
  margin-right: auto;
  text-align: left;
}

.premium-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.premium-list li {
  margin-bottom: 10px;
  font-size: 16px;
}

.price {
  font-size: 18px;
  text-align: center;
  color: #ff6699;
}

.btn-premium {
  display: inline-block;
  background: #ff6699;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin: 10px 0;
  width: 100%;
  box-sizing: border-box;
}
/* エラーメッセージ用（赤文字＋うすい赤背景） */
.error {
  color: #e53935;
  background: #ffeaea;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-weight: bold;
  text-align: center;
}
