/* ═══════════════════════════════════════════
   Event Form — 浜ラン イベント申込ページ
   既存サイトの variables / reset / base / components を継承
   クラス名は ef- プレフィックスで名前衝突を回避
   ═══════════════════════════════════════════ */

/* ── ヒーロー ── */
.ef-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-page) var(--space-xl);
  overflow: hidden;
}

.ef-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 70%, rgba(26, 58, 92, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 30% 40%, rgba(26, 58, 92, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.ef-hero__inner {
  position: relative;
  z-index: 1;
}

.ef-hero__label {
  margin-bottom: var(--space-lg);
  letter-spacing: 0.3em;
}

.ef-hero__title {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: var(--text-3xl);
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-bottom: var(--space-lg);
}

.ef-hero__sub {
  color: var(--gray-300);
  font-weight: 300;
  letter-spacing: 0.15em;
}

/* スクロールインジケーター */
.ef-hero__scroll {
  margin-top: auto;
  padding-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ef-hero__scroll-text {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray-500);
  text-transform: uppercase;
}

.ef-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-500), transparent);
  animation: efScrollPulse 2s ease infinite;
}

@keyframes efScrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── フェードアップアニメーション ── */
.ef-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: efFadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.ef-fade-up--d1 { animation-delay: 0.15s; }
.ef-fade-up--d2 { animation-delay: 0.3s; }
.ef-fade-up--d3 { animation-delay: 0.45s; }

@keyframes efFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── スクロール表示アニメーション ── */
.ef-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* JSが読み込まれない場合のフォールバック: 1.5秒後に表示 */
  animation: efRevealFallback 0.6s ease 1.5s forwards;
}

.ef-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

@keyframes efRevealFallback {
  to { opacity: 1; transform: translateY(0); }
}

/* ── コンテンツ幅 ── */
.ef-content {
  max-width: 640px;
}

/* ═══════════════════════════════════════════
   イベント概要カード
   ═══════════════════════════════════════════ */
.ef-event-card {
  position: relative;
  padding: var(--space-xl);
  background: var(--gray-950);
  border: 1px solid var(--gray-800);
  border-radius: 6px;
  margin-bottom: var(--space-xl);
  overflow: hidden;
}

.ef-event-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gray-500), transparent);
}

.ef-event-card__name {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
}

.ef-event-card__catch {
  font-family: var(--font-ja);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--gray-400);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.ef-event-card__divider {
  width: 40px;
  height: 1px;
  background: var(--gray-700);
  margin: var(--space-lg) 0;
}

/* ── 詳細リスト ── */
.ef-detail-list {
  display: flex;
  flex-direction: column;
}

.ef-detail-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ef-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ef-detail-label {
  font-family: var(--font-ja);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-500);
}

.ef-detail-value {
  font-family: var(--font-ja);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.9;
  color: var(--gray-200);
}

.ef-detail-primary {
  display: block;
  color: var(--white);
  font-weight: 400;
}

.ef-detail-secondary {
  display: block;
  font-size: var(--text-sm);
  color: var(--gray-500);
}

.ef-capacity-full {
  display: block;
  margin-top: var(--space-xs);
  color: #e87461;
  font-weight: 500;
}

/* ═══════════════════════════════════════════
   注意事項
   ═══════════════════════════════════════════ */
.ef-notice {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--gray-900);
  border-radius: 6px;
  margin-bottom: var(--space-xl);
}

.ef-notice__icon {
  color: var(--gray-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.ef-notice__title {
  font-family: var(--font-ja);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-300);
  margin-bottom: var(--space-sm);
}

.ef-notice-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ef-notice-list li {
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray-400);
  padding-left: 1em;
  position: relative;
}

.ef-notice-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gray-700);
}

/* ═══════════════════════════════════════════
   フォームセクション
   ═══════════════════════════════════════════ */
.ef-form-section {
  padding: var(--space-xl) 0;
}

.ef-form-header {
  margin-bottom: var(--space-xl);
}

.ef-form-header__title {
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: var(--text-2xl);
  line-height: 1.5;
  margin-bottom: var(--space-xs);
}

.ef-form-header__sub {
  font-family: var(--font-ja);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--gray-500);
}

/* ── honeypot ── */
.ef-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── フィールド ── */
.ef-field {
  margin-bottom: var(--space-lg);
}

.ef-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
}

.ef-label {
  display: block;
  font-family: var(--font-ja);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gray-200);
  margin-bottom: var(--space-sm);
}

.ef-required {
  color: var(--gray-600);
  margin-left: 4px;
  font-size: 0.9em;
}

/* ── テキスト入力 ── */
.ef-field input[type="text"],
.ef-field input[type="email"],
.ef-input-prefix input[type="text"] {
  display: block;
  width: 100%;
  padding: 16px 18px;
  background-color: #0d0d0d !important;
  border: 1px solid var(--gray-800);
  border-radius: 6px;
  color: var(--white);
  color-scheme: dark;
  font-family: var(--font-ja);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.5;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.ef-field input[type="text"]:hover,
.ef-field input[type="email"]:hover,
.ef-input-prefix input[type="text"]:hover {
  border-color: var(--gray-600);
  background-color: #141414;
}

.ef-field input[type="text"]:focus,
.ef-field input[type="email"]:focus,
.ef-input-prefix input[type="text"]:focus {
  outline: none;
  border-color: var(--gray-400);
  background-color: #141414;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.ef-field input[type="text"][aria-invalid="true"],
.ef-field input[type="email"][aria-invalid="true"],
.ef-input-prefix input[type="text"][aria-invalid="true"] {
  border-color: #e87461;
  box-shadow: 0 0 0 3px rgba(232, 116, 97, 0.1);
}

.ef-field input[type="text"]::placeholder,
.ef-field input[type="email"]::placeholder,
.ef-input-prefix input::placeholder {
  color: var(--gray-700);
}

/* ── セレクトボックス ── */
.ef-field select {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 16px 44px 16px 18px;
  background-color: #0d0d0d;
  border: 1px solid var(--gray-800);
  border-radius: 6px;
  color: var(--white);
  color-scheme: dark;
  font-family: var(--font-ja);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.5;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.ef-field select:hover {
  border-color: var(--gray-600) !important;
  background-color: #141414 !important;
}

.ef-field select:focus {
  outline: none;
  border-color: var(--gray-400) !important;
  background-color: #141414 !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.ef-field select[aria-invalid="true"] {
  border-color: #e87461;
  box-shadow: 0 0 0 3px rgba(232, 116, 97, 0.1);
}

.ef-field select:invalid {
  color: var(--gray-700);
}

.ef-field select option {
  background-color: #0a0a0a;
  color: var(--white);
}

/* ── テキストエリア ── */
.ef-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 16px 18px;
  background-color: #0d0d0d !important;
  border: 1px solid var(--gray-800);
  border-radius: 6px;
  color: var(--white);
  color-scheme: dark;
  font-family: var(--font-ja);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 1.7;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.ef-field textarea:hover {
  border-color: var(--gray-600) !important;
  background-color: #141414 !important;
}

.ef-field textarea:focus {
  outline: none;
  border-color: var(--gray-400) !important;
  background-color: #141414 !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.ef-field textarea::placeholder {
  color: var(--gray-700);
}

/* ── ヒントテキスト ── */
.ef-hint {
  font-family: var(--font-ja);
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 6px;
}

/* ── @ プレフィックス ── */
.ef-input-prefix {
  position: relative;
}

.ef-prefix-text {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-family: var(--font-en);
  font-size: var(--text-base);
  pointer-events: none;
}

.ef-input-prefix input[type="text"] {
  padding-left: 36px;
}

/* ── ラジオボタン ── */
.ef-radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.ef-radio-group--row {
  flex-direction: row;
}

.ef-radio {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gray-800);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  min-height: 48px;
}

.ef-radio:hover {
  border-color: var(--gray-600);
  background: rgba(255, 255, 255, 0.05);
}

.ef-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ef-radio-indicator {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--gray-600);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ef-radio input:checked ~ .ef-radio-indicator {
  border-color: var(--white);
}

.ef-radio input:checked ~ .ef-radio-indicator::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
  animation: efScaleIn 0.2s var(--ease-spring) forwards;
}

.ef-radio input:checked ~ .ef-radio-text {
  color: var(--white);
}

.ef-radio input:focus-visible ~ .ef-radio-indicator {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.ef-radio-text {
  font-family: var(--font-ja);
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--gray-400);
  transition: color 0.2s ease;
}

/* ── チェックボックス ── */
.ef-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gray-800);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
  min-height: 48px;
}

.ef-checkbox:hover {
  border-color: var(--gray-600);
  background: rgba(255, 255, 255, 0.05);
}

.ef-checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.ef-checkbox-indicator {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--gray-600);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.ef-checkbox input:checked + .ef-checkbox-indicator {
  border-color: var(--white);
  background: var(--white);
}

.ef-checkbox input:checked + .ef-checkbox-indicator::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 6px;
  height: 10px;
  border: solid var(--black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  animation: efScaleIn 0.2s var(--ease-spring) forwards;
}

.ef-checkbox input:focus-visible + .ef-checkbox-indicator {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.ef-checkbox-text {
  font-family: var(--font-ja);
  font-size: var(--text-sm);
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-300);
}

@keyframes efScaleIn {
  from { transform: scale(0) rotate(45deg); opacity: 0; }
  to { transform: scale(1) rotate(45deg); opacity: 1; }
}

/* ── エラーメッセージ ── */
.ef-error {
  font-family: var(--font-ja);
  font-size: 13px;
  color: #e87461;
  margin-top: 6px;
  min-height: 0;
}

.ef-error:empty {
  display: none;
}

/* ═══════════════════════════════════════════
   送信ボタン
   ═══════════════════════════════════════════ */
.ef-submit-area {
  padding-top: var(--space-lg);
}

.ef-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px 40px;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: 6px;
  font-family: var(--font-ja);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.15s ease, opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ef-submit-btn:hover {
  background: var(--gray-200);
  transform: translateY(-1px);
}

.ef-submit-btn:active {
  transform: translateY(0);
}

.ef-submit-loading {
  display: none;
  align-items: center;
  gap: 8px;
}

.ef-submit-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.ef-submit-btn.is-loading .ef-submit-text {
  display: none;
}

.ef-submit-btn.is-loading .ef-submit-loading {
  display: flex;
}

/* スピナー */
.ef-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gray-400);
  border-top-color: var(--black);
  border-radius: 50%;
  animation: efSpin 0.6s linear infinite;
}

@keyframes efSpin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════
   送信完了
   ═══════════════════════════════════════════ */
.ef-success {
  padding: var(--space-xl) 0;
}

.ef-success-inner {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--gray-950);
  border: 1px solid var(--gray-800);
  border-radius: 6px;
  animation: efFadeUp 0.6s var(--ease-out) forwards;
}

.ef-success-check {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.ef-success-check svg {
  animation: efCheckDraw 0.8s var(--ease-out) 0.2s both;
}

@keyframes efCheckDraw {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.ef-success__title {
  font-family: var(--font-ja);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.ef-success__text {
  font-family: var(--font-ja);
  font-size: var(--text-base);
  font-weight: 300;
  line-height: 2;
  color: var(--gray-300);
  margin-bottom: var(--space-sm);
}

.ef-success__note {
  font-family: var(--font-ja);
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin-bottom: var(--space-lg);
}

.ef-success__btn {
  display: inline-flex;
}

/* ── 送信エラー ── */
/* ── バリデーションサマリー ── */
.ef-validation-summary {
  padding: var(--space-md) var(--space-lg);
  background: rgba(232, 116, 97, 0.08);
  border: 1px solid rgba(232, 116, 97, 0.3);
  border-radius: 6px;
  margin-bottom: var(--space-md);
  animation: ef-shake 0.4s ease-in-out;
}

.ef-validation-summary p {
  font-family: var(--font-ja);
  font-size: var(--text-sm);
  font-weight: 500;
  color: #e87461;
  margin: 0;
}

@keyframes ef-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.ef-error-msg {
  padding: var(--space-md) var(--space-lg);
  background: rgba(232, 116, 97, 0.06);
  border: 1px solid rgba(232, 116, 97, 0.2);
  border-radius: 6px;
  margin-top: var(--space-md);
}

.ef-error-msg p {
  font-family: var(--font-ja);
  font-size: var(--text-sm);
  color: #e87461;
}

/* ═══════════════════════════════════════════
   個人情報
   ═══════════════════════════════════════════ */
.ef-privacy {
  padding: var(--space-lg) 0 var(--space-xl);
}

.ef-privacy-text {
  font-family: var(--font-ja);
  font-size: 12px;
  font-weight: 300;
  line-height: 2;
  color: var(--gray-600);
}

/* ═══════════════════════════════════════════
   レスポンシブ
   ═══════════════════════════════════════════ */

/* ── Tablet (≤ 768px) ── */
@media (max-width: 768px) {
  .ef-hero {
    min-height: 55vh;
  }

  .ef-event-card__name {
    font-size: clamp(18px, 5vw, 26px);
  }
}

/* ── Mobile (≤ 640px) ── */
@media (max-width: 640px) {
  /* ヒーロー */
  .ef-hero {
    min-height: 50vh;
    padding-top: calc(var(--header-height) + var(--space-lg));
    padding-left: 20px;
    padding-right: 20px;
  }

  .ef-hero__title {
    font-size: clamp(22px, 6vw, 32px);
  }

  .ef-hero__label {
    margin-bottom: var(--space-md);
    font-size: 11px;
  }

  .ef-hero__sub {
    font-size: 13px;
  }

  .ef-hero__scroll {
    padding-bottom: var(--space-md);
  }

  /* イベントカード */
  .ef-event-card {
    padding: var(--space-md) 16px var(--space-lg);
  }

  .ef-event-card__name {
    font-size: clamp(17px, 4.5vw, 24px);
    line-height: 1.6;
  }

  .ef-event-card__catch {
    font-size: 14px;
    line-height: 1.8;
  }

  .ef-event-card__divider {
    margin: var(--space-md) 0;
  }

  /* 詳細リスト */
  .ef-detail-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: var(--space-sm) 0;
  }

  .ef-detail-label {
    font-size: 12px;
  }

  .ef-detail-value {
    font-size: 14px;
  }

  /* 注意事項 */
  .ef-notice {
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md) 16px;
  }

  .ef-notice-list li {
    font-size: 12px;
  }

  /* フォーム全体 */
  .ef-form-header__title {
    font-size: clamp(20px, 5vw, 28px);
  }

  .ef-form-header__sub {
    font-size: 13px;
  }

  /* ── iOS ズーム防止: 入力要素は 16px 以上 ── */
  .ef-field input[type="text"],
  .ef-field input[type="email"],
  .ef-input-prefix input[type="text"],
  .ef-field textarea {
    font-size: 16px;
    padding: 14px 16px;
  }

  .ef-field select {
    font-size: 16px;
    padding: 14px 40px 14px 16px;
  }

  .ef-input-prefix input[type="text"] {
    padding-left: 32px;
  }

  .ef-prefix-text {
    left: 14px;
    font-size: 16px;
  }

  /* ラジオ・チェックボックスのタッチ最適化 */
  .ef-radio,
  .ef-checkbox {
    padding: 14px 16px;
    gap: 12px;
    min-height: 48px;
  }

  .ef-radio-group--row {
    flex-direction: column;
  }

  .ef-radio-text,
  .ef-checkbox-text {
    font-size: 14px;
  }

  /* ラベル */
  .ef-label {
    font-size: 13px;
    margin-bottom: 8px;
  }

  /* エラーメッセージ */
  .ef-error {
    font-size: 12px;
  }

  /* 送信ボタン */
  .ef-submit-btn {
    padding: 18px 24px;
    font-size: 15px;
  }

  /* 送信完了 */
  .ef-success-inner {
    padding: var(--space-xl) 16px;
  }

  .ef-success__title {
    font-size: clamp(18px, 4.5vw, 22px);
  }

  .ef-success__text {
    font-size: 14px;
    line-height: 1.9;
  }

  .ef-success__note {
    font-size: 12px;
  }

  /* 個人情報 */
  .ef-privacy-text {
    font-size: 11px;
  }

  /* エラーバナー */
  .ef-error-msg {
    padding: var(--space-sm) 16px;
  }

  .ef-error-msg p {
    font-size: 13px;
  }
}

/* ── Small mobile (≤ 375px) ── */
@media (max-width: 375px) {
  .ef-hero {
    min-height: 45vh;
  }

  .ef-hero__title {
    font-size: 20px;
  }

  .ef-event-card {
    padding: 16px 14px var(--space-md);
  }

  .ef-event-card__name {
    font-size: 16px;
  }

  .ef-radio,
  .ef-checkbox {
    padding: 12px 14px;
  }

  .ef-submit-btn {
    padding: 16px 20px;
    font-size: 14px;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .ef-fade-up {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .ef-reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .ef-field input,
  .ef-radio,
  .ef-checkbox,
  .ef-radio-indicator,
  .ef-checkbox-indicator,
  .ef-submit-btn {
    transition: none;
  }

  .ef-hero__scroll-line,
  .ef-spinner {
    animation: none;
  }
}

/* ── Print ── */
@media print {
  .ef-form-section,
  .ef-hero__scroll,
  .ef-hero__glow,
  .noise-overlay,
  .header {
    display: none !important;
  }
}
