body {
  font-size: 18px;
  background: #fff;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "M PLUS 1p";
}

html,
body {
  height: 100%;
}

.contents {
  flex: 1;
  background: #026ddd;
  color: #fff;
}

footer {
  margin: 0 auto;
  padding: 1em;
  background: #282828;
  color: #fff;
  width: 100%;
}

img {
  vertical-align: top;
}

p,
li {
  line-height: 1.5;
  padding: 0;
}

a {
  text-decoration: underline;
  color: #fff;
}

.err {
  color: #fff;
  margin-top: 0.5em;
  font-size: 14px;
  line-height: 1.3;
  padding: 0.25em 0.5em;
}

.none {
  display: none;
}

.copyright {
  text-align: center;
  font-size: 12px;
}

.wrapper {
  max-width: 750px;
  margin: 0 auto;
  padding: 0;
}
.top {
  text-align: center;
  margin: 3em auto 0;
  padding: 0 1.5em;
}

.form-block {
  padding: 20px 40px;
}

label {
  display: block;
}

select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  border-radius: 8px;
  border: 1px solid #7c7c7c;
  line-height: 1.5;
  padding: 0.5em 1em;
  background: #fff;
  width: 100%;
  outline: none;
  color: #333;
}

.flex {
  display: flex;
  gap: 1em;
}

label.gender {
  background: #aaa;
  background: #828389;
  color: #fff;
  padding: 1em;
  width: 100%;
  text-align: center;
  border-radius: 3em;
}

label.prize {
  background: #aaa;
  background: #828389;
  color: #fff;
  padding: 1em;
  width: 100%;
  text-align: center;
}

input:checked + label.gender {
  background: #882dca;
  background: rgb(205, 4, 10);
  color: #fff;
}

input:checked + label.prize {
  background: #882dca;
  background: rgb(205, 4, 10);
  color: #fff;
}

.form-label {
  padding: 0.5em 0;
  font-size: 16px;
}

.btn-area {
  margin: 0 auto;
  padding: 2em 0;
  text-align: center;
}

.btn {
  background: #b40000;
  color: #fff;
  padding: 1em 0.5em;
  border-radius: 40px;
  font-size: 16px;
  width: 18em;
  cursor: pointer;
  transition: 1s;
  margin: 1em;
}

.btn:hover {
  background: #d33;
}

.btn:disabled {
  background: #5f5f63;
}

.terms {
  padding: 20px 40px 30px;
}

.terms li {
  font-size: 12px;
  margin-bottom: 0.75em;
  line-height: 1.5;
}

.terms p {
  font-size: 12px;
}

h3 {
  font-weight: bold;
  font-size: 20px;
  margin-top: 1em;
  line-height: 1.8;
}

.indent {
  padding-left: 1em;
  text-indent: -1em;
}

.center {
  text-align: center;
  margin: 2em auto;
}

.back {
  text-align: center;
  margin: 4em auto 12em;
}

.end-title {
  text-align: center;
  margin: 3em auto 0;
  background: #333;
  padding: 0.6em;
}

.header-area {
  padding: 2em 1.5em;
}

/* 修正するボタンをセカンダリカラーに */
.btn-secondary {
  background: #444;
}

.btn-secondary:hover {
  background: #666;
}

#confirmList p {
  font-size: 22px; /* ← 値は通常サイズ */
  margin-top: 0.5em;
  line-height: 1.4;
}

/* すべてのラベル（strong） */
#confirmList p strong {
  font-size: 14px;
  font-weight: 300;
  color: #dfc5c5;
  color: rgb(248, 140, 144);
}

/* =========================
   同意チェックボックス（カスタム版・確定動作）
========================= */

.checkbox {
  position: relative;
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}

/* 本物のcheckboxは隠す（labelクリックで動く） */
.checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* テキスト */
.checkbox span {
  position: relative;
  display: inline-block;
  padding-left: 32px; /* 箱の分 */
}

/* □ 箱 */
.checkbox span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #fff;
  background: transparent;
  box-sizing: border-box;
  transition: background 0.2s, border-color 0.2s;
}

/* ✓ チェックマーク */
.checkbox span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 6px;
  height: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.15s;
}

/* ✅ チェックON */
.checkbox input[type="checkbox"]:checked + span::before {
  background: rgb(205, 4, 10);
  border-color: rgb(205, 4, 10);
}

.checkbox input[type="checkbox"]:checked + span::after {
  opacity: 1;
}
