/* ===== 全体の基本設定 ===== */
body {
  font-family: sans-serif;
  background-color: #eef2f7;
  padding: 40px;
  margin: 0;
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: flex-start;
}

/* ===== フォーム全体のコンテナ ===== */
.form-container, .login-box {
  background: #fff;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  box-sizing: border-box;
}

/* ===== アンケート質問部分 ===== */
.q {
  margin-bottom: 25px;
}

.qtext {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* ===== ラジオボタンや選択肢部分 ===== */
.rating-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ===== ログインボタン ===== */
button,
input[type="submit"],
.login-button {
  background: linear-gradient(135deg, #4a90e2, #357ae8);
  color: white;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: all 0.2s ease-in-out;
  display: inline-block;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}

button:hover,
input[type="submit"]:hover,
.login-button:hover {
  background: linear-gradient(135deg, #5aa1f2, #4689e8);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* ===== 入力欄全般 ===== */
input[type="text"],
input[type="password"],
textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  margin-bottom: 15px;
}

/* ===== 見出しの調整 ===== */
h1, h2, h3 {
  text-align: center;
  color: #333;
}
