/* ============================================================
   SNS活用実践講座 LP – Stylesheet
   ============================================================ */

/* ----- Reset & Base ----- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.8;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--coral); color: #fff; }

/* ----- Design Tokens ----- */
:root {
  --navy: #0d1b2a;
  --navy-mid: #1b2838;
  --navy-light: #243447;
  --coral: #d1453b;
  --coral-hover: #b8352c;
  --coral-glow: rgba(209, 69, 59, .25);
  --gold: #c9a84c;
  --gold-light: #f0e2b5;
  --cream: #f7f3ec;
  --warm-white: #fdfbf7;
  --text: #1a1a2e;
  --text-light: #55556a;
  --text-muted: #8e8ea0;
  --border: #e5e0d8;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, .08);
  --shadow-lg: 0 16px 50px rgba(0, 0, 0, .12);
}

/* ----- Utilities ----- */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.font-mincho { font-family: 'Shippori Mincho B1', serif; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* ============================================================
   CTA Button
   ============================================================ */
.cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--coral); color: #fff;
  font-size: clamp(1rem, 2.5vw, 1.15rem); font-weight: 700;
  padding: 18px 40px; border-radius: 60px; border: none; cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 20px var(--coral-glow);
  text-decoration: none; letter-spacing: .04em;
  position: relative; overflow: hidden;
}
.cta-btn:hover {
  background: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--coral-glow);
}
.cta-btn:active { transform: translateY(0); }
.cta-btn::after {
  content: '→'; font-size: 1.1em;
  transition: transform .25s ease;
}
.cta-btn:hover::after { transform: translateX(4px); }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13, 27, 42, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 4px 30px rgba(0, 0, 0, .2); }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.header-logo {
  color: #fff; font-size: .85rem; font-weight: 500;
  opacity: .9; letter-spacing: .02em;
}
.header-logo span { color: var(--gold); }
.header-cta {
  background: var(--coral); color: #fff;
  font-size: .82rem; font-weight: 700;
  padding: 10px 22px; border-radius: 40px;
  transition: all .2s; white-space: nowrap;
}
.header-cta:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 40%, #1e3250 100%);
  padding: 100px 24px 80px;
  text-align: center; overflow: hidden;
}

/* Canvas sits behind all hero content */
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

/* Subtle texture overlay on top of canvas */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent, transparent 60px,
      rgba(255, 255, 255, .012) 60px,
      rgba(255, 255, 255, .012) 61px
    );
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 3;
  max-width: 780px;
}

/* Hero entrance animations */
.hero-org {
  display: inline-block; color: var(--gold);
  font-size: .82rem; letter-spacing: .15em; font-weight: 500;
  margin-bottom: 28px; padding: 6px 20px;
  border: 1px solid rgba(201, 168, 76, .35); border-radius: 40px;
  opacity: 0; animation: heroFadeUp .8s ease forwards;
  animation-delay: .3s;
}
.hero-kicker {
  color: rgba(255, 255, 255, .75);
  font-size: clamp(.95rem, 2vw, 1.15rem);
  margin-bottom: 12px; font-weight: 500; letter-spacing: .06em;
  opacity: 0; animation: heroFadeUp .8s ease forwards;
  animation-delay: .5s;
}
.hero h1 {
  font-family: 'Shippori Mincho B1', serif;
  color: #fff; font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin-bottom: 10px; letter-spacing: .02em;
  opacity: 0; animation: heroFadeUp .8s ease forwards;
  animation-delay: .7s;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(to right, var(--gold), #e8c96a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-family: 'Shippori Mincho B1', serif;
  color: #fff;
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  font-weight: 700; margin-bottom: 36px; letter-spacing: .04em;
  opacity: 0; animation: heroFadeUp .8s ease forwards;
  animation-delay: .9s;
}
.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 24px; margin-bottom: 40px;
  color: rgba(255, 255, 255, .8); font-size: .95rem;
  opacity: 0; animation: heroFadeUp .8s ease forwards;
  animation-delay: 1.1s;
}
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hero-meta-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: var(--gold); opacity: .8;
}
.hero-badges {
  display: flex; justify-content: center; gap: 12px;
  margin-bottom: 40px;
  opacity: 0; animation: heroFadeUp .8s ease forwards;
  animation-delay: 1.3s;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: 40px;
  font-size: .85rem; font-weight: 700; color: #fff;
}
.hero-badge--free {
  background: var(--coral);
  box-shadow: 0 2px 16px var(--coral-glow);
}
.hero-badge--limited {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
}
.hero-cta-wrap {
  opacity: 0; animation: heroFadeUp .8s ease forwards;
  animation-delay: 1.5s;
}
.hero-note {
  color: rgba(255, 255, 255, .5); font-size: .8rem;
  margin-top: 16px;
}

/* Hero keyframes */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Section Common
   ============================================================ */
.section { padding: 90px 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--navy); color: #fff; }

.section-label {
  display: inline-block; font-size: .78rem; font-weight: 700;
  color: var(--coral); letter-spacing: .2em;
  margin-bottom: 12px; text-transform: uppercase;
}
.section--dark .section-label { color: var(--gold); }

.section-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700; margin-bottom: 20px;
  letter-spacing: .02em;
}
.section-lead {
  font-size: 1rem; color: var(--text-light);
  max-width: 640px; margin: 0 auto 50px;
}
.section--dark .section-lead { color: rgba(255, 255, 255, .65); }

/* ============================================================
   Problems
   ============================================================ */
.problems-list {
  max-width: 640px; margin: 0 auto 40px;
  display: flex; flex-direction: column; gap: 0;
}
.problem-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem; line-height: 1.7;
}
.problem-item:last-child { border-bottom: none; }
.problem-icon {
  flex-shrink: 0; width: 28px; height: 28px; margin-top: 2px;
  background: var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--coral); font-size: .85rem; font-weight: 700;
}
.problems-cta {
  text-align: center; padding: 28px 32px;
  background: linear-gradient(135deg, #1b4a7a, #2a6cb8);
  border-radius: var(--radius-lg); color: #fff;
  font-size: 1.1rem; font-weight: 700;
  max-width: 640px; margin: 0 auto;
}
.problems-cta span { font-size: 1.3em; margin-right: 4px; }

/* ============================================================
   Themes
   ============================================================ */
.themes-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-bottom: 50px;
}
.theme-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 36px 28px 32px; position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.theme-num {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 3.5rem; font-weight: 800; line-height: 1;
  color: var(--cream);
  position: absolute; top: 16px; right: 20px;
  pointer-events: none;
}
.theme-label {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; padding: 4px 14px;
  border-radius: 4px; margin-bottom: 16px;
}
.theme-card:nth-child(1) .theme-label { background: #e8f4f0; color: #1a7a5c; }
.theme-card:nth-child(2) .theme-label { background: #e8ecf8; color: #3a4fa0; }
.theme-card:nth-child(3) .theme-label { background: #fce8e6; color: var(--coral); }
.theme-title {
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 14px; line-height: 1.5;
}
.theme-desc {
  font-size: .92rem; color: var(--text-light);
  line-height: 1.8;
}

/* ============================================================
   Speakers
   ============================================================ */
.speakers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.speaker-card { text-align: center; }
.speaker-img-wrap {
  width: 160px; height: 160px; margin: 0 auto 24px;
  border-radius: 50%; overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .12);
  background: var(--navy-light);
}
.speaker-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.speaker-name {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 4px; color: #fff;
}
.speaker-title {
  font-size: .82rem; color: var(--gold);
  margin-bottom: 14px; font-weight: 500;
}
.speaker-bio {
  font-size: .88rem; color: rgba(255, 255, 255, .6);
  line-height: 1.75; max-width: 280px; margin: 0 auto;
}

/* ============================================================
   Details
   ============================================================ */
.details-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 48px; box-shadow: var(--shadow-md);
  max-width: 720px; margin: 0 auto 40px;
  border: 1px solid var(--border);
}
.details-table { width: 100%; }
.details-table tr { border-bottom: 1px solid var(--border); }
.details-table tr:last-child { border-bottom: none; }
.details-table th,
.details-table td { padding: 18px 0; text-align: left; vertical-align: top; }
.details-table th {
  font-size: .88rem; font-weight: 700; color: var(--navy);
  width: 120px; white-space: nowrap; padding-right: 24px;
}
.details-table td { font-size: .95rem; color: var(--text); }
.details-table .highlight {
  color: var(--coral); font-weight: 700; font-size: 1.05rem;
}
.details-note {
  text-align: center; font-size: .88rem;
  color: var(--text-light);
  max-width: 640px; margin: 0 auto;
}
.map-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--coral); font-weight: 500; font-size: .88rem;
  margin-top: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.map-link:hover { border-color: var(--coral); }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, #1e3250 100%);
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(209, 69, 59, .1) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 2; }
.final-cta-title {
  font-family: 'Shippori Mincho B1', serif;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  color: #fff; font-weight: 700;
  margin-bottom: 12px; line-height: 1.6;
}
.final-cta-lead {
  color: rgba(255, 255, 255, .6);
  font-size: .95rem; margin-bottom: 36px;
}
.final-cta .cta-btn { font-size: 1.1rem; padding: 22px 52px; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #0a1420; color: rgba(255, 255, 255, .5);
  padding: 48px 0 32px; font-size: .82rem; line-height: 1.8;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  text-align: center;
}
.footer-org {
  font-size: .95rem; color: rgba(255, 255, 255, .8);
  font-weight: 700; margin-bottom: 8px;
}
.footer-org a {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  transition: border-color .2s;
}
.footer-org a:hover { border-color: rgba(255, 255, 255, .6); }
.footer-info { margin-bottom: 20px; }
.footer-privacy {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .76rem; color: rgba(255, 255, 255, .35);
  max-width: 600px; margin: 0 auto;
}

/* ============================================================
   Mobile Sticky CTA
   ============================================================ */
.sticky-cta {
  display: none; position: fixed;
  bottom: 0; left: 0; right: 0; z-index: 99;
  background: rgba(13, 27, 42, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 12px 16px; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  transform: translateY(100%);
  transition: transform .4s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .cta-btn { width: 100%; font-size: 1rem; padding: 16px 24px; }

/* ============================================================
   Scroll Reveal
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .themes-grid { grid-template-columns: 1fr; gap: 20px; }
  .speakers-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 90px 20px 64px; min-height: 100svh; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .hero-sub { font-size: clamp(1.1rem, 5vw, 1.6rem); }
  .header-logo { font-size: .78rem; }
  .details-card { padding: 28px 20px; }
  .details-table th { width: 90px; font-size: .82rem; }
  .details-table td { font-size: .9rem; }
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
  .speaker-img-wrap { width: 130px; height: 130px; }
}
@media (max-width: 480px) {
  .hero-badges { flex-direction: column; align-items: center; }
  .hero-meta { flex-direction: column; align-items: center; }
  .container { padding: 0 16px; }
}

/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cta-btn, .theme-card { transition: none; }
  .hero-org, .hero-kicker, .hero h1, .hero-sub,
  .hero-meta, .hero-badges, .hero-cta-wrap {
    opacity: 1; animation: none;
  }
}
