/* Google Fonts（日本語は M PLUS Rounded 1c、英数字は Quicksand を優先） */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;700&family=Quicksand:wght@500;700&display=swap');

/* =========================
   背景設定
========================= */
body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', 'Rounded Mplus 1c', 'Segoe UI', sans-serif;
  background: url('../images/image.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: hidden;
}

/* =========================
   カードスタイル
========================= */
.container {
  background: rgba(255, 255, 255, 0.95); /* 白背景 */
  border-radius: 16px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
  backdrop-filter: blur(8px);
  animation: fadeIn 1s ease-in-out;
  color: #000; /* 全体の文字色を黒に */
}

h1 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: bold;
}

/* =========================
   フォーム
========================= */
form {
  display: grid;
  gap: 1rem;
}

textarea,
input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  background: #f9f9f9;
  color: #000;
  resize: none;
}

/* =========================
   送信ボタン
========================= */
button {
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #ff6ec4, #7873f5);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%; /* 横幅いっぱいに */
  text-shadow: none; /* ボタン文字は縁取りしない方が読みやすい */
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* =========================
   チェックボックス
========================= */
.checkbox-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.checkbox-row label {
  writing-mode: horizontal-tb !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.checkbox-row input[type="checkbox"] {
  flex: 0 0 auto;
  margin: 0;
}

/* =========================
   フェードイン
========================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
