/* ========================================================
   リセット & ベース
   ======================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0066cc;
  --primary-dark: #004fa3;
  --accent: #ff6b35;
  --bg: #f8f9fa;
  --bg-alt: #eef2f7;
  --text: #1a1a2e;
  --text-muted: #555;
  --border: #dde3ec;
  --success: #28a745;
  --error: #dc3545;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

/* ========================================================
   レイアウト
   ======================================================== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.text-center { text-align: center; }

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ========================================================
   ボタン
   ======================================================== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: #e55a28; text-decoration: none; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: #aaa; cursor: not-allowed; transform: none; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--primary); color: #fff; text-decoration: none; }

.btn-large { font-size: 1.1rem; padding: 16px 40px; }

/* ========================================================
   ヒーロー
   ======================================================== */
.hero {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6b 50%, #0d5c8a 100%);
  color: #fff;
  padding: 100px 20px 80px;
  text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  background: rgba(255,107,53,0.85);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 36px;
}

.hero-offer {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.offer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 14px 20px;
  min-width: 220px;
}
.offer-icon { font-size: 1.8rem; }
.offer-item strong { display: block; font-size: 0.9rem; }
.offer-item span { font-size: 1.05rem; font-weight: 700; color: #ffd166; }

/* ========================================================
   目的カード
   ======================================================== */
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.purpose-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.purpose-icon { font-size: 2.4rem; margin-bottom: 16px; }
.purpose-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.purpose-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ========================================================
   得られること
   ======================================================== */
.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}
.benefits-list li {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}
.benefit-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.benefits-list strong { display: block; margin-bottom: 4px; }
.benefits-list p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ========================================================
   アジェンダ
   ======================================================== */
.agenda-list {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.agenda-list::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.agenda-item {
  display: flex;
  gap: 24px;
  margin-bottom: 28px;
  position: relative;
}
.agenda-time {
  width: 60px;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
  padding-top: 4px;
  text-align: right;
}
.agenda-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  flex: 1;
  box-shadow: var(--shadow);
  margin-left: 16px;
}
.agenda-content h3 { font-size: 1rem; margin-bottom: 4px; }
.agenda-content p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 0.78rem;
  padding: 2px 10px;
  border-radius: 20px;
  margin-top: 8px;
  font-weight: 600;
}

/* ========================================================
   タイムスケジュール表
   ======================================================== */
.schedule-table-wrap { overflow-x: auto; }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.schedule-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
}
.schedule-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr.highlight td { background: #f0f6ff; font-weight: 600; }

/* ========================================================
   会場
   ======================================================== */
.venue-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}
.venue-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.venue-access { list-style: none; margin: 16px 0; }
.venue-access li { padding: 4px 0; font-size: 0.95rem; }
.venue-note { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; }

/* ========================================================
   CTA
   ======================================================== */
.cta-section {
  background: linear-gradient(135deg, #0a1628, #1a3a6b);
  color: #fff;
}
.cta-section h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-section p { opacity: 0.85; margin-bottom: 32px; }

/* ========================================================
   フッター
   ======================================================== */
footer {
  background: #0a1628;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 24px 20px;
  font-size: 0.85rem;
}

/* ========================================================
   無償提供テーブル
   ======================================================== */
.offer-table-wrap { overflow-x: auto; }
.offer-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.offer-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
}
.offer-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  vertical-align: middle;
}
.offer-table tr:last-child td { border-bottom: none; }
.offer-table .sub { color: var(--text-muted); font-size: 0.82rem; }
.offer-table .center { text-align: center; }
.offer-table .muted { color: var(--text-muted); }
.offer-table .free { color: var(--success); font-weight: 700; font-size: 1rem; }
.offer-note { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-top: 16px; }

/* ========================================================
   申込みの流れ
   ======================================================== */
.flow-steps {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.flow-step {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  width: 100%;
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.step-content h3 { font-size: 1rem; margin-bottom: 4px; }
.step-content p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.flow-arrow { color: var(--primary); font-size: 1.2rem; margin: 4px 0; }

/* ========================================================
   申込みサマリー
   ======================================================== */
.offer-summary {
  background: #f0f6ff;
  border: 1.5px solid #b3d1f5;
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 600px;
  margin: 0 auto 28px;
}
.offer-summary h3 { font-size: 1rem; margin-bottom: 12px; color: var(--primary); }
.offer-summary ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.offer-summary li { font-size: 0.95rem; }

/* ========================================================
   申込みページ ヘッダー
   ======================================================== */
.page-header {
  background: linear-gradient(135deg, #0a1628, #0d2b5e);
  color: #fff;
  padding: 48px 20px 40px;
  text-align: center;
}
.page-header h1 { font-size: 2rem; margin: 12px 0 8px; }
.page-header p { opacity: 0.8; }
.back-link { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.back-link:hover { color: #fff; text-decoration: none; }

/* ========================================================
   申込みフォーム
   ======================================================== */
.form-wrap {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.required {
  background: var(--error);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.optional {
  background: var(--text-muted);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: var(--error);
}

.field-error {
  display: block;
  color: var(--error);
  font-size: 0.82rem;
  margin-top: 4px;
  min-height: 1.2em;
}

.privacy-check { margin-top: 8px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: normal;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.link { color: var(--primary); }

.form-actions { margin-top: 32px; text-align: center; }
.form-actions .btn-primary { width: 100%; }

/* ========================================================
   完了・エラー表示
   ======================================================== */
.success-message {
  background: #fff;
  border-radius: var(--radius);
  padding: 60px 40px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.success-icon { font-size: 3.5rem; margin-bottom: 20px; }
.success-message h2 { font-size: 1.6rem; margin-bottom: 16px; }
.success-message p { color: var(--text-muted); margin-bottom: 12px; }
.success-message strong { color: var(--text); }
.success-message .btn-secondary { margin-top: 24px; }

.error-banner {
  background: #fff0f0;
  border: 1.5px solid var(--error);
  border-radius: var(--radius);
  padding: 16px 20px;
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--error);
  font-size: 0.95rem;
}

/* ========================================================
   プライバシーポリシー
   ======================================================== */
.privacy-policy {
  max-width: 600px;
  margin: 40px auto 0;
  padding: 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-muted);
}
.privacy-policy h3 { font-size: 0.95rem; margin-bottom: 8px; color: var(--text); }

/* ========================================================
   レスポンシブ
   ======================================================== */
@media (max-width: 600px) {
  .section { padding: 48px 0; }
  .form-wrap { padding: 24px 20px; }
  .agenda-list::before { left: 60px; }
  .agenda-time { width: 48px; font-size: 0.8rem; }
  .schedule-table th, .schedule-table td { padding: 10px 12px; font-size: 0.85rem; }
  .hero-meta { flex-direction: column; gap: 8px; }
}
