@charset "UTF-8";

body {
  background: #f8fafc;
  font-family: system-ui, sans-serif;
  color: #333;
}

.container {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

h1 {
  text-align: center;
  margin-bottom: 32px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ラベル共通 */
label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

/* 質問文（通常色） */
.label-text {
  color: #333;
}

/* 必須＊のみ赤 */
.required {
  color: #dc2626;
  margin-left: 2px;
}

/* 入力欄 */
input,
select,
textarea {
  margin-top: 6px;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb;
}

/* ボタン */
button {
  margin-top: 20px;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

button:hover {
  background: #1d4ed8;
}

/* チェックボックス */
.checkbox-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
  margin: 0 8px 0 0;
  padding: 0;
  width: auto;
}
.form-label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

.label-row {
  display: inline-flex;
  align-items: center;
}
