body {
  background: linear-gradient(135deg, #fff7f0, #ffe6f0);
  font-family: "メイリオ", Meiryo, sans-serif;
  color: #333;
  text-align: center;
  padding: 30px;
}

/* 外枠（カラフル細枠） */
.lotter-frame {
  display: inline-block;
  padding: 4px; /* 枠の太さ */
  border-radius: 20px;
  background: linear-gradient(
    90deg,
    #ff5252,
    #ff9800,
    #ffeb3b,
    #4caf50,
    #2196f3,
    #9c27b0
  );
}

/* 内側（白背景フォーム） */
.lotter-form {
  background: #fff;
  border-radius: 16px;
  padding: 50px 70px; /* 余白を広めに */
  max-width: 800px; /* ← PCでは横幅を広めに */
  width: 95%;
  text-align: left;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.lotter-form h2 {
  font-size: 26px; /* 見出し大きめ */
  margin-bottom: 35px;
  line-height: 1.6;
  color: #d32f2f;
  text-align: center;
}

/* ラベル */
.lotter-form label {
  display: block;
  margin: 20px 0 10px;
  font-size: 18px; /* 大きめ */
  font-weight: bold;
}

/* 入力欄 */
.lotter-form input,
.lotter-form textarea {
  width: 100%;
  padding: 16px; /* 入力枠も大きめ */
  font-size: 18px;
  border-radius: 10px;
  background: #fff;
  color: #333;
  margin-bottom: 22px;
  box-sizing: border-box;
  outline: none;
}

.lotter-form input[type="text"] {
  border: 2px solid #ff9800;
}

.lotter-form input#name {
  border: 2px solid #4caf50;
}

.lotter-form textarea {
  border: 2px solid #2196f3;
  height: 140px; /* PCでは少し大きめ */
  resize: vertical;
}

/* ボタン */
.btn-area {
  text-align: center;
  margin-top: 35px;
}

.btn-area button {
  background: linear-gradient(135deg, #ff5252, #ff9800, #ffeb3b);
  color: #fff;
  font-size: 19px; /* PCは大きめ */
  font-weight: bold;
  padding: 16px;
  width: 70%; /* ボタンも広く */
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px #b71c1c;
  transition: 0.2s;
}

.btn-area button:hover {
  opacity: 0.9;
  transform: translateY(2px);
  box-shadow: 0 2px #b71c1c;
}

/* 注意文 */
.note {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  text-align: center;
}

/* スマホ対応 */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }
  .lotter-form {
    padding: 25px 20px;
    max-width: 100%;
  }
  .lotter-form h2 {
    font-size: 18px;
  }
  .lotter-form label {
    font-size: 15px;
  }
  .lotter-form input,
  .lotter-form textarea {
    font-size: 15px;
    padding: 12px;
  }
  .btn-area button {
    font-size: 16px;
    width: 100%;
  }
  .note {
    font-size: 12px;
  }
}
