/* ============================================================
   コンテンツ制作AI ショートウェビナーLP 共通スタイル
   全回のページ（site/ai-content/seminar/<YYMMDD>/index.html）が読み込む。
   ここを変えると公開済みの回にも反映される。
   手順書: agent_docs/ai_content_seminar_lp.md
   ============================================================ */
:root {
  --primary: #24B8BC;
  --primary-dark: #1a9599;
  --primary-light: #e8f9f9;
  --accent: #EA5450;
  --marker: #FFF3B0;
  --text-base: #1F2937;
  --text-muted: #374151;
  --text-light: #6B7280;
  --bg-gray: #F8FAFC;
  --border: #E5E7EB;
  --max-w: 1160px;
  --font-main: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 80px; }
body { font-family: var(--font-main); font-size: 16px; line-height: 1.8; color: var(--text-muted); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
b, strong { color: var(--text-base); }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; margin: 0 auto; }
section { padding: 64px 0; }
@media (max-width: 767px) { section { padding: 44px 0; } }
.sec-title { font-size: clamp(20px, 2.8vw, 26px); font-weight: 700; color: var(--primary-dark); line-height: 1.4; padding-left: 14px; border-left: 5px solid var(--primary); margin-bottom: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; cursor: pointer; border: none; transition: all 0.25s ease; padding: 14px 44px; border-radius: 999px; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-teal { background: var(--primary); color: #fff; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.center { text-align: center; }
h1, h2, h3, .catch, .hero-kicker { word-break: auto-phrase; text-wrap: balance; }

/* --- Header（ai-content LP と同じ構成） --- */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-cta { display: flex; align-items: center; gap: 24px; }
.nav-cta .btn { padding: 9px 20px; font-size: 14px; border-radius: 5px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-base); border-radius: 2px; display: block; }
@media (max-width: 767px) { .nav-cta { display: none; } .hamburger { display: flex; } }
.dropdown { position: relative; padding-bottom: 16px; margin-bottom: -16px; }
.dropdown-toggle { font-size: 14px; font-weight: 700; color: var(--text-base); cursor: pointer; display: flex; align-items: center; gap: 4px; background: none; border: none; padding: 0; font-family: var(--font-main); }
.dropdown-toggle:hover { color: var(--primary); }
.dropdown-toggle::after { content: '▾'; font-size: 10px; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--border); border-radius: 5px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); padding: 12px 8px; min-width: 280px; z-index: 200; }
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu { display: block; }
.dropdown-item { display: flex; align-items: center; padding: 8px 12px; border-radius: 5px; }
.dropdown-item:hover { background: var(--bg-gray); }
.dropdown-item img { height: 24px; width: auto; max-width: none; }
.dropdown-category { font-size: 11px; font-weight: 700; color: var(--text-light); letter-spacing: 0.08em; padding: 8px 12px 4px; }
.dropdown-divider { height: 1px; background: var(--border); margin: 8px 4px; }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; border-top: 1px solid var(--border); box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 99; padding: 8px 0 16px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 24px; font-size: 15px; font-weight: 500; color: var(--text-base); border-bottom: 1px solid var(--border); }
.mobile-menu a img { height: 20px; width: auto; }
.mobile-menu-category { font-size: 11px; font-weight: 700; color: var(--text-light); letter-spacing: 0.1em; padding: 12px 24px 6px; background: var(--bg-gray); border-bottom: 1px solid var(--border); }
.mobile-cta { background: var(--accent) !important; color: #fff !important; text-align: center; margin: 16px 16px 0; border-radius: 5px; border-bottom: none !important; }

/* --- ① メインビジュアル＋申込フォーム（PCは左右、スマホは縦） --- */
#hero { padding: 112px 0 64px; background: linear-gradient(135deg, #e3f7f7 0%, #f3fbfb 45%, #fdeeee 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: start; }
/* PC: フォームの方が縦に長いので、左の概要はスクロールしても画面に残す */
@media (min-width: 961px) { .hero-main { position: sticky; top: 100px; } }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 760px; margin: 0 auto; } #hero { padding-top: 96px; } }
.hero-label { display: inline-block; font-size: 13px; font-weight: 700; color: var(--text-base); background: #fff; border-radius: 4px; padding: 3px 12px; margin-bottom: 20px; }
.hero-kicker { font-size: clamp(15px, 2vw, 18px); font-weight: 700; color: var(--text-base); margin-bottom: 6px; }
.hero-kicker em { font-style: normal; color: var(--accent); }
.hero-title { font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; line-height: 1.3; color: var(--text-base); margin-bottom: 20px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero-tags li { font-size: 14px; font-weight: 700; color: var(--primary-dark); background: #fff; border: 1px solid var(--primary); border-radius: 999px; padding: 4px 14px; }
.hero-when { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 28px; }
.hero-date { font-family: var(--font-en); font-weight: 700; color: var(--text-base); line-height: 1.1; }
.hero-date .d { font-size: clamp(40px, 6vw, 56px); }
.hero-date .w { font-size: 18px; margin-left: 4px; }
.hero-date .t { display: block; font-size: clamp(20px, 2.6vw, 24px); margin-top: 4px; }
.hero-format { background: var(--primary); color: #fff; border-radius: 999px; padding: 8px 28px; text-align: center; line-height: 1.4; }
.hero-format small { display: block; font-size: 11px; font-weight: 700; }
.hero-format span { font-family: var(--font-en); font-size: 18px; font-weight: 700; }
.speaker { display: inline-flex; align-items: center; gap: 16px; background: #fff; border-radius: 12px; padding: 12px 20px 12px 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.speaker img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; }
.speaker .name { font-size: 17px; font-weight: 700; color: var(--text-base); line-height: 1.5; }
.speaker .role { font-size: 12px; color: var(--text-light); line-height: 1.5; }
.form-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.form-card-title { font-size: 18px; font-weight: 700; color: var(--text-base); text-align: center; margin-bottom: 12px; }
.form-fallback { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 12px; }
.form-fallback a { color: var(--primary-dark); text-decoration: underline; }
@media (max-width: 480px) { .form-card { padding: 20px 14px; } }
.entry-sp { background: var(--primary-light); }
.entry-sp[hidden] { display: none; }

/* --- ② リード --- */
.catch { display: inline; font-size: clamp(19px, 2.6vw, 24px); font-weight: 700; color: var(--text-base); line-height: 1.7; background: var(--marker); padding: 2px 4px; }
.catch-wrap { margin-bottom: 20px; }
.data-line { font-size: 15px; margin-bottom: 20px; }
.pain-list { margin: 12px 0 20px; }
.pain-list li { position: relative; padding-left: 1.2em; margin: 6px 0; }
.pain-list li::before { content: '・'; position: absolute; left: 0; }

/* --- ③ 見どころ --- */
#points { background: var(--bg-gray); }
.point { background: #fff; border-radius: 16px; padding: 24px 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); margin-bottom: 16px; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 16px; }
.point-no { width: 36px; height: 36px; border-radius: 50%; background: var(--primary-light); color: var(--primary-dark); font-family: var(--font-en); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.point h3 { font-size: clamp(16px, 2.2vw, 18px); font-weight: 700; color: var(--text-base); line-height: 1.5; margin: 4px 0 4px; }
.point p { font-size: 15px; margin-bottom: 6px; }
.point ul li { font-size: 14px; color: var(--text-light); padding-left: 1.2em; position: relative; }
.point ul li::before { content: '・'; position: absolute; left: 0; }
@media (max-width: 480px) { .point { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; } .point-no { margin-bottom: 8px; } }

/* --- ④ 開催概要 --- */
.overview { width: 100%; border-collapse: collapse; }
.overview th, .overview td { border-bottom: 1px solid var(--border); padding: 14px 8px; text-align: left; vertical-align: top; font-size: 15px; }
.overview th { width: 7em; color: var(--text-base); font-weight: 700; white-space: nowrap; }
@media (max-width: 480px) { .overview th, .overview td { display: block; width: auto; padding: 6px 2px; } .overview th { border-bottom: none; padding-top: 14px; } }
.cta-block { text-align: center; margin-top: 36px; }

/* --- ⑤ 締め・注釈 --- */
#closing { padding-top: 0; }
#closing .narrow { border-top: 1px solid var(--border); padding-top: 32px; }
.notes { margin-top: 32px; }
.notes li { font-size: 12px; color: var(--text-light); line-height: 1.7; word-break: break-all; }
.notes a { text-decoration: underline; }

/* --- Footer / スマホ下部固定CTA --- */
footer { background: #504868; color: rgba(255,255,255,0.9); padding: 32px 0 28px; }
.footer-copy { text-align: right; font-size: 12px; color: #fff; }
.sticky-cta { display: none; }
/* フォームが下に移る幅（960px以下）では、下部の固定ボタンを出す */
@media (max-width: 960px) {
  .sticky-cta { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 98; transition: opacity 0.3s, transform 0.3s; }
  .sticky-cta.hidden { opacity: 0; transform: translateY(100%); pointer-events: none; }
  .sticky-cta a { display: block; text-align: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 17px; padding: 18px 24px; box-shadow: 0 -2px 12px rgba(0,0,0,0.1); }
  body { padding-bottom: 64px; }
}
