/* assets/css/member-form.css */
@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol&display=swap');

/* 1) 幅計算の安定化 */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Kaisei Decol', serif;
  margin: 0;
  padding: 0;
  background-color: #00008b;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

/* 2) RGBA の前に不透明のフォールバック */
.container {
  max-width: 400px;
  width: 90%;
  background: #ffffff;                 /* fallback */
  background: rgba(255,255,255,0.10);  /* 半透明で上書き */
  padding: 24px;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* フォーム要素 */
label {
  font-weight: bold;
  margin-bottom: 4px;
  display: block;
  font-size: 14px;
}

input,
select {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 16px;
  background: #fff;
  color: #333;
  font-family: 'Kaisei Decol', serif;
  /* box-sizing は全体指定で適用済み */
}

button {
  width: 100%;
  padding: 12px;
  background: #ec407a;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: background .3s ease;
}

button:hover { background: #d81b60; }

.back-button {
  background: #ccc;
  color: #333;
  margin-top: 10px;
}
.back-button:hover { background: #999; }

/* メッセージ */
.message {
  margin-bottom: 20px;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
}
.message.success { background: #e0f2f1; color: #00695c; }
.message.error   { background: #ffebee; color: #c62828; }