/* 申し込みボタン */
.btn-wrap {
  text-align: center;
  margin: 40px 0;
}

@media not all and (min-width: 479px) {
  .btn-wrap {
    margin: 40px 10px 0;
  }
}

.agree-box {
  background: #f5f8ff;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #d6e0ff;
  max-width: 100%;
  font-size: 2rem;
  margin: 0 auto; 
}

.agree-check {
  display: flex;
  align-items: center;    /* 上下は中央揃え */
  justify-content: center; /* ← 横方向を中央揃え */
  gap: 10px;
  margin-top: 20px;
}

.agree-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.submit-btn {
  display: inline-block;
  padding: 16px 40px;
  background: #ccc; /* チェック前はグレー */
  color: #fff;
  font-size: 3rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
  cursor: not-allowed;
  margin-top: 20px;
  border: none;
}

.submit-btn.enabled {
  background: #1e90ff; /* チェック後はブルー */
  cursor: pointer;
}

.submit-btn.enabled:hover {
  background: #066ac7;
}

.submit-btn.enabled:active {
  background: #043e75;
  transform: translateY(1px);
}

@media not all and (min-width: 479px) {
  .submit-btn {
    font-size: 2.4rem;
    padding: 10px 20px;
  }
}

.agree-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;

  /* ブラウザ依存で消えないようにリセット */
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;

  /* 枠線を明示的に付ける */
  border: 2px solid #1e90ff;
  border-radius: 3px;
  background-color: #fff;
}
