/* apply.html 専用の軽量スタイル（オプション追加セクションの調整） */

.options-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 6px 24px rgba(2, 6, 23, 0.06);
  margin-bottom: 20px;
}

.options-card__header {
  margin-bottom: 16px;
}

.options-card__header h3 {
  font-size: 1.1rem;
  margin: 0 0 6px 0;
  color: #0f172a;
}

.options-card__header p {
  font-size: 0.9rem;
  color: #475569;
}

.options-card__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px 20px;
}

.options-card .row {
  margin: 0; /* グリッド内は個別margin不要 */
}

.options-card .row p {
  margin-bottom: 8px;
}

.form-message.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 12px;
  border-radius: 10px;
}

.form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 12px;
  border-radius: 10px;
}

/* 申込タイプ（ラジオ）をカード型に */
.apply-type-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.apply-type {
  position: relative;
  display: block;
  cursor: pointer;
}

.apply-type input[type="radio"] {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.apply-type-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.apply-type .title {
  font-weight: 800;
  color: #0f172a;
}

.apply-type .sub {
  font-size: 0.85rem;
  color: #475569;
}

.apply-type input[type="radio"]:focus + .apply-type-content {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.apply-type input[type="radio"]:checked + .apply-type-content {
  border-color: #2563eb;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.apply-type:hover .apply-type-content {
  border-color: #cbd5e1;
}
