/* =============================================
  新デザインのフォーム共通の部品（form/download_ja.blade.php 用）
  ページごとの余白や配置は各ページの CSS で指定する
============================================= */

/* =============================================
  Buttons
============================================= */
.form-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
  border: 0;
  border-radius: 32px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.form-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.form-btn-primary {
  background: linear-gradient(98deg, #f5a623 0%, #f66712 100%);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 20px 30px rgba(245, 166, 35, 0.25);
}

/* =============================================
  必須・任意バッジ
============================================= */
.form-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 20px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
}
.form-badge-required {
  background: #d93a3a;
  color: #fff;
}
.form-badge-optional {
  background: #ebebeb;
  color: #2b312e;
}

/* =============================================
  チェックボックス（ラベルの並びと文字サイズは各ページで指定する）
============================================= */
.form-check input {
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid #bfc4c1;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.form-check input:checked {
  border-color: #46a73c;
  background: #46a73c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.form-check a {
  color: #1b9e5a;
  text-underline-offset: 3px;
}

@media screen and (max-width: 767px) {
  .form-btn {
    height: 56px;
    border-radius: 28px;
  }
}
