/* =====================================================
   学生のための生成AI 60分ワークショップ — LP スタイル
   ===================================================== */

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

:root {
  --c-bg:        #FFFFFF;
  --c-bg-alt:    #F7F8FA;
  --c-dark:      #0D0F14;
  --c-dark2:     #1A1D24;
  --c-text:      #1A1D24;
  --c-muted:     #6B7280;
  --c-accent:    #4F46E5;
  --c-accent2:   #7C3AED;
  --c-hot:       #EF4444;
  --c-green:     #16A34A;
  --c-border:    #E5E7EB;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,0.14);
  --max-w:       720px;
  --font:        'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--c-accent); text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- ユーティリティ --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.badge--green  { background: #DCFCE7; color: #15803D; }
.badge--indigo { background: #EEF2FF; color: #4338CA; }
.badge--hot    { background: #FEE2E2; color: #B91C1C; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 12px;
}

/* =====================================================
   1. HERO — 2カラムレイアウト
   ===================================================== */
#hero {
  background: var(--c-bg);
  overflow: hidden;
}

/* PC: 2カラムグリッド、モバイル: 1カラム縦積み */
.hero__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 600px;
}

/* 左カラム: コピー一式 */
.hero__left {
  padding: 56px 48px 56px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.hero__event-name {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}

.hero__headline {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: 14px;
}

.hero__headline-accent {
  color: var(--c-accent);
}

.hero__sub {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* 日程ボックス: 白背景・ボーダー・読みやすい */
.hero__dates {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__date-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.hero__date-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero__date-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__date-main {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1.3;
}

.hero__date-sub {
  font-size: 0.78rem;
  color: var(--c-muted);
  font-weight: 600;
}

.hero__credit {
  margin-top: 16px;
  font-size: 0.72rem;
  color: var(--c-muted);
  line-height: 1.6;
}

/* 右カラム: 写真 */
.hero__right {
  position: relative;
  overflow: hidden;
}

.hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

/* ボタン共通 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  border: none;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent2));
  color: #fff;
  padding: 17px 32px;
  font-size: 1rem;
  box-shadow: 0 6px 24px rgba(79,70,229,0.38);
}
.btn--primary:hover {
  box-shadow: 0 8px 32px rgba(79,70,229,0.55);
  transform: translateY(-2px);
}

/* Hero用CTAはPC幅いっぱい、ただし最大400px */
.btn--hero {
  width: 100%;
  max-width: 400px;
  font-size: 1.05rem;
  padding: 18px 32px;
  letter-spacing: 0.01em;
}

/* =====================================================
   2. PROBLEM
   ===================================================== */
#problem {
  background: var(--c-dark);
  color: #fff;
  padding: 72px 0;
}

.problem__block {
  margin-bottom: 52px;
}
.problem__block:last-child { margin-bottom: 0; }

.problem__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(79,70,229,0.15);
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 14px;
}

.problem__heading {
  font-size: clamp(1.25rem, 4.5vw, 1.6rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.problem__heading .hot { color: #F87171; }

.problem__text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

.problem__scene {
  margin-top: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.05);
  border-left: 3px solid #F87171;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

.problem__welcome {
  margin-top: 40px;
  padding: 20px 22px;
  background: rgba(79,70,229,0.12);
  border: 1px solid rgba(79,70,229,0.3);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.problem__welcome strong { color: #a5b4fc; }

/* =====================================================
   3. WHO
   ===================================================== */
#who {
  background: var(--c-bg-alt);
  padding: 72px 0;
}

.who__intro {
  font-size: 0.95rem;
  color: var(--c-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.who__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  height: 240px;
}
.who__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.speaker-card {
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.speaker-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.speaker-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  /* 写真がある場合は object-fit: cover で上書き */
}

.speaker-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.speaker-card__role {
  font-size: 0.78rem;
  color: var(--c-muted);
  font-weight: 600;
}

.speaker-card__bio {
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.75;
}

.speaker-card__episode {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--c-bg-alt);
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.7;
}
.speaker-card__episode p + p { margin-top: 8px; }

/* =====================================================
   4. AGENDA
   ===================================================== */
#agenda {
  background: var(--c-bg);
  padding: 72px 0;
}

.agenda__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.agenda__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.agenda__time {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  padding-top: 4px;
}

.agenda__time-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-accent);
  background: #EEF2FF;
  border-radius: 6px;
  padding: 4px 6px;
  display: block;
  letter-spacing: 0.04em;
}

.agenda__content {
  flex: 1;
  border-left: 2px solid var(--c-border);
  padding-left: 20px;
  padding-bottom: 4px;
}

.agenda__title {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.agenda__desc {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.65;
}

/* =====================================================
   5. PERKS
   ===================================================== */
#perks {
  background: var(--c-bg-alt);
  padding: 72px 0;
}

.perks__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 28px;
}

.perk-card {
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
}
.perk-card--attend { border-top-color: var(--c-accent); }
.perk-card--refer  { border-top-color: #F59E0B; }

.perk-card__title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--c-muted);
}

.perk-card__headline {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.4;
}

.perk-card__body {
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.75;
}

.perk-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.82rem;
}
.perk-table th {
  text-align: left;
  padding: 6px 10px;
  background: var(--c-bg-alt);
  font-weight: 700;
  color: var(--c-muted);
  border-bottom: 2px solid var(--c-border);
}
.perk-table td {
  padding: 10px 10px;
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
  line-height: 1.6;
}
.perk-table tr:last-child td { border-bottom: none; }

/* =====================================================
   6. DETAILS + FAQ
   ===================================================== */
#details {
  background: var(--c-bg);
  padding: 72px 0;
}

.details__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 48px;
}

.detail-row {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.9rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-row__label {
  flex-shrink: 0;
  width: 80px;
  font-weight: 700;
  color: var(--c-muted);
  font-size: 0.82rem;
  padding-top: 2px;
}
.detail-row__value { line-height: 1.65; }
.detail-row__value a { color: var(--c-accent); font-weight: 600; }

.faq-heading {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-item__q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
}

.faq-item__q::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--c-accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item.open .faq-item__q::after {
  transform: rotate(45deg);
}

.faq-item__a {
  display: none;
  padding-bottom: 16px;
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.75;
}
.faq-item.open .faq-item__a { display: block; }

/* =====================================================
   7. FORM
   ===================================================== */
#form {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  padding: 72px 0;
  color: #fff;
}

.form__heading {
  font-size: clamp(1.3rem, 5vw, 1.7rem);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.form__sub {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 28px;
  line-height: 1.65;
}

.form__embed {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.form__embed iframe {
  width: 100%;
  min-height: 900px;
  border: none;
  display: block;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--c-dark2);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 28px 20px;
  font-size: 0.75rem;
  line-height: 1.8;
}

/* =====================================================
   STICKY CTA BAR (スクロール中に常に表示)
   ===================================================== */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-border);
  padding: 12px 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.sticky-bar__text {
  font-size: 0.78rem;
  color: var(--c-muted);
  line-height: 1.4;
}
.sticky-bar__text strong {
  display: block;
  color: var(--c-text);
  font-size: 0.88rem;
}

.btn--sticky {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent2));
  color: #fff;
  padding: 12px 22px;
  font-size: 0.88rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(79,70,229,0.35);
}

/* スクロールしてHeroが見えている間はstickyを隠す */
.sticky-bar.hidden { display: none; }

/* =====================================================
   SECTION HEADING
   ===================================================== */
.section-heading {
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-heading + .section-sub {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--c-muted);
  line-height: 1.7;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* タブレット以上: perks 2カラム */
@media (min-width: 600px) {
  .perks__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* PC: Hero 2カラム有効 */
@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.15fr 1fr;
  }
  .hero__left {
    padding: 72px 56px 72px 40px;
  }
  .hero__headline {
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  }
}

/* モバイル: Hero 1カラム、写真先・コピー後 */
@media (max-width: 899px) {
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__right {
    order: -1;
    height: 300px;
  }
  .hero__right img {
    object-position: center 15%;
  }
  .hero__left {
    padding: 32px 20px 40px;
  }
  .hero__headline {
    font-size: clamp(1.45rem, 5.5vw, 1.9rem);
  }
  .btn--hero {
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }

  #problem, #who, #agenda, #perks, #details, #form {
    padding: 96px 0;
  }
}
