/* =========================================================
   AI共有会 Vol.3 LP ― style.css
   デザイン仕様(03)の確定値に厳密準拠。ダークテーマ基調（固定）。
   アクセント＝シアン #3AC0E7 の1色のみ。
   ========================================================= */

/* ---------- デザイントークン ---------- */
:root {
  /* ---- ベース（背景・サーフェス）60% ---- */
  --bg:            #0F1730;
  --bg-deep:       #0A0F1F;
  --surface:       #18233F;
  --surface-2:     #223054;

  /* ---- 境界線・区切り ---- */
  --border:        #2C3A5E;
  --border-strong: #3C4E7A;

  /* ---- テキスト ---- */
  --text:          #E8ECF5;
  --text-strong:   #FFFFFF;
  --text-muted:    #A9B4CE;

  /* ---- アクセント（10%・シアン1色）---- */
  --accent:        #3AC0E7;
  --accent-hover:  #5FD0F0;
  --accent-press:  #2AA6CC;
  --accent-weak:   rgba(58,192,231,0.14);
  --on-accent:     #0A0F1F;

  /* ---- グロー（個性の核の発光）---- */
  --glow-accent:   0 0 24px rgba(58,192,231,0.55), 0 0 60px rgba(58,192,231,0.30);
  --glow-soft:     0 0 40px rgba(58,192,231,0.18);

  /* ---- 角丸（2段階のみ）---- */
  --radius-sm: 8px;
  --radius-lg: 16px;

  /* ---- 影（3段階のみ）---- */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.30);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.38);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.48);

  /* ---- レイアウト ---- */
  --maxw: 1120px;
  --maxw-narrow: 760px;
  --header-h: 64px;

  /* ---- スペーシング（8px倍数）---- */
  --space-1:8px; --space-2:16px; --space-3:24px; --space-4:32px;
  --space-6:48px; --space-8:64px; --space-12:96px; --space-nav:140px;

  /* ---- モーション ---- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-base: 0.3s;
  --dur-reveal: 0.7s;

  /* ---- フォント ---- */
  --font-jp: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Space Grotesk", var(--font-jp);
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font-family: inherit; }

/* ---------- スキップリンク ---------- */
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top var(--dur-base) var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- コンテナ ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: max(16px, env(safe-area-inset-left));
}
.container--narrow { max-width: var(--maxw-narrow); }

/* ---------- 汎用フォーカス ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* =========================================================
   ボタン
   ========================================================= */
.btn {
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font: 700 16px/1 var(--font-jp);
  letter-spacing: .01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--dur-base) var(--ease),
              transform var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease),
              color var(--dur-base) var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--lg { height: 52px; padding: 0 32px; }
.btn--sm { height: 40px; padding: 0 20px; font-size: 15px; }

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), var(--glow-soft);
}
.btn--primary:active {
  background: var(--accent-press);
  transform: translateY(0);
}
.btn--primary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--secondary:hover {
  background: var(--surface-2);
  border-color: var(--accent);
  color: var(--text-strong);
}

.cta-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* =========================================================
   ヘッダー（追従ナビ）
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(15,23,48,0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.header.is-scrolled {
  background: rgba(10,15,31,0.85);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.header__inner {
  height: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 24px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.logo__text {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-strong);
  letter-spacing: .01em;
}
.logo__dot {
  color: var(--accent);
  font-size: 12px;
  text-shadow: var(--glow-soft);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__link {
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  transition: color var(--dur-base) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

/* =========================================================
   ヒーロー（§1）― 個性の核
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 120px 96px;
  background:
    radial-gradient(60% 80% at 75% 20%, rgba(58,192,231,0.22), transparent 60%),
    radial-gradient(50% 60% at 20% 90%, rgba(58,192,231,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
  /* 画像 img/hero-bg.png が届いたら下記コメントを解除して最下層に重ねる：
     background-image: ..., url("../img/hero-bg.png"); background-size:...,cover; */
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 30%, #000, transparent 75%);
          mask-image: radial-gradient(70% 70% at 60% 30%, #000, transparent 75%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-jp);
  font-size: clamp(39px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
.hero__nowrap { white-space: nowrap; }
.hero__accent {
  color: var(--accent);
  text-shadow: var(--glow-accent);
  animation: heroPulse 6s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.hero__sub {
  margin-top: 24px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}
.hero__lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 40em;
}
.hero__cta { margin-top: 32px; }
.hero__cta .btn { min-width: 240px; }

.badge {
  display: inline-block;
  margin-top: 24px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: var(--accent-weak);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 14px;
}
.badge--glow { box-shadow: var(--glow-soft); }

/* ヒーロー開催サマリ */
.hero__summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md), var(--glow-soft);
}
.summary-list { display: grid; gap: 16px; }
.summary-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 16px;
  line-height: 1.6;
}
.summary-item + .summary-item {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.summary-item__icon {
  font-size: 24px;
  line-height: 1.4;
  flex-shrink: 0;
}
.summary-item__text { color: var(--text); font-weight: 700; }
.summary-item__text--accent { color: var(--accent); }

/* =========================================================
   セクション共通
   ========================================================= */
.section { padding-block: 96px; }
.section--alt { background: var(--bg-deep); }
.final-cta { padding-block: 96px 120px; }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section__title {
  font-size: clamp(31px, 4vw, 39px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}
.section__lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}
.section__cta {
  text-align: center;
  margin-top: 48px;
}
.note-text {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* =========================================================
   グリッド
   ========================================================= */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid > * { min-width: 0; }

/* =========================================================
   カード（共感 / メリット / 登壇者）
   ========================================================= */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease),
              border-color var(--dur-base) var(--ease),
              box-shadow var(--dur-base) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-weak);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 24px;
}
.card__title {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-strong);
  margin-bottom: 16px;
}
.card__body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* 登壇者カード */
.card--speaker { text-align: center; }
.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 24px;
  position: relative;
  background: radial-gradient(circle at 50% 35%, var(--surface-2), var(--bg-deep));
  border: 1px solid var(--accent);
  box-shadow: var(--glow-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.avatar__img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.avatar__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 40px;
  z-index: 0;
}
.card__title--speaker { margin-top: 12px; font-size: 20px; }
.card--speaker .card__body { text-align: left; }

.tag {
  display: inline-block;
  background: var(--accent-weak);
  color: var(--accent);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font: 700 14px/1.4 var(--font-jp);
}

/* =========================================================
   開催概要テーブル（§3）
   ========================================================= */
.info-table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-row__key {
  padding: 16px 24px;
  background: var(--bg-deep);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
}
.info-row__val {
  padding: 16px 24px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}
.hl { color: var(--accent); font-weight: 700; }

/* 強調ボックス / 主催ボックス */
.callout {
  margin-top: 48px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--glow-soft);
}
.callout--host { box-shadow: var(--shadow-md); }
.callout__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 16px;
}
.callout__body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* =========================================================
   タイムテーブル（§4）
   ========================================================= */
.timeline {
  max-width: 760px;
  margin: 0 auto;
}
.timeline__item {
  display: grid;
  grid-template-columns: 80px 24px 1fr;
  align-items: start;
  margin-bottom: 24px;
  position: relative;
}
.timeline__item:last-child { margin-bottom: 0; }
.timeline__time {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  line-height: 1.4;
  padding-top: 2px;
}
.timeline__node {
  position: relative;
  justify-self: center;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: var(--glow-soft);
  margin-top: 8px;
}
/* 縦罫線（各ノードを繋ぐ） */
.timeline__item:not(:last-child) .timeline__node::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: calc(100% + 24px);
  background: var(--border);
}
.timeline__content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-left: 8px;
}
.timeline__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-strong);
  line-height: 1.5;
}
.timeline__note {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================================================
   FAQ アコーディオン（§7）
   ========================================================= */
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease);
}
.faq__item.is-open { border-color: var(--border-strong); }
.faq__q-wrap { margin: 0; }
.faq__q {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font: 700 18px/1.5 var(--font-jp);
  color: var(--text-strong);
  background: transparent;
  text-align: left;
  border: none;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease);
}
.faq__q:hover { background: var(--surface-2); }
.faq__q:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
/* プラス/マイナス記号（CSSで描画） */
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform var(--dur-base) var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--text-muted);
  transition: background var(--dur-base) var(--ease);
}
.faq__icon::before { width: 16px; height: 2px; transform: translate(-50%,-50%); }
.faq__icon::after  { width: 2px; height: 16px; transform: translate(-50%,-50%); }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__q[aria-expanded="true"] .faq__icon::before,
.faq__q[aria-expanded="true"] .faq__icon::after { background: var(--accent); }

.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-base) var(--ease);
}
.faq__a p {
  padding: 0 24px 24px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* =========================================================
   最終CTA（§8）
   ========================================================= */
.final-cta__box {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  box-shadow: var(--shadow-lg), var(--glow-soft);
}
.final-cta__title {
  font-size: clamp(25px, 3.5vw, 31px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-strong);
}
.final-cta__body {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 40em;
  margin-inline: auto;
}
.contact-line {
  margin-top: 48px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.contact-link {
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease);
}
.contact-link:hover { border-bottom-color: var(--accent); }

/* =========================================================
   フッター
   ========================================================= */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding-block: 48px;
  text-align: center;
}
.footer__brand { margin-bottom: 24px; }
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.footer__copy {
  color: var(--text-muted);
  font-size: 14px;
}

/* =========================================================
   スマホ下部固定CTAバー（§0）
   ========================================================= */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10,15,31,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}
.mobile-bar__note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.mobile-bar__btn {
  width: 100%;
  height: 52px;
}

/* =========================================================
   出現アニメ（reveal）
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur-reveal) var(--ease),
              transform var(--dur-reveal) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   レスポンシブ（768px 一本）
   ========================================================= */
@media (max-width: 768px) {
  .section { padding-block: 56px; }
  .final-cta { padding-block: 56px 88px; }
  .section__head { margin-bottom: 32px; }

  /* ヘッダー：ロゴのみ。ナビ/CTAは下部バーへ集約 */
  .nav { display: none; }
  .header__inner { padding-inline: 16px; }

  /* ヒーロー */
  .hero { padding-block: 96px 56px; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__cta .btn { width: 100%; }
  .hero__cta { margin-top: 24px; }
  .hero__summary { padding: 24px; }

  /* グリッド → 1カラム */
  .grid--4, .grid--3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .card { padding: 24px; }

  /* 開催概要テーブル → 縦積み */
  .info-row { grid-template-columns: 1fr; }
  .info-row__key { padding: 12px 16px; }
  .info-row__val { padding: 12px 16px 16px; }

  /* タイムテーブル → 縦スタック */
  .timeline__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .timeline__node { display: none; }
  .timeline__time { padding-top: 0; }
  .timeline__content { margin-left: 0; }

  /* FAQ */
  .faq__q { padding: 20px 16px; font-size: 16px; }
  .faq__a p { padding: 0 16px 20px; }

  /* 最終CTA */
  .final-cta__box { padding: 40px 24px; }
  .section__cta .btn { width: 100%; }

  /* 下部固定バー表示。本文が隠れないよう余白確保 */
  .mobile-bar { display: block; }
  body { padding-bottom: 96px; }
}

/* =========================================================
   prefers-reduced-motion（必須）
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__accent { animation: none; }
}
