/* =========================================================
   VIVNAL AI SEMINAR 2026  特設サイト
   生成り #F7F7F2 × 黒 ／ 差し色は青 #2F6BFF（申込ボタンなど最重要だけ）
   余白は 8px グリッド
   ========================================================= */
:root {
  --bg: #F7F7F2;
  --bg-tint: #EFEFE8;
  --ink: #111111;
  --ink-sub: #55554F;
  --line: #D9D9D0;
  --accent: #2F6BFF;
  --accent-dark: #1F55DB;
  --white: #FFFFFF;
  --gutter: 16px;
  --max: 1080px;
  --narrow: 760px;
  --sec: 96px;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --sec: 112px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .04em;
  overflow-x: hidden;
  font-feature-settings: "palt" 0;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
small { font-size: .8125em; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow > * { max-width: var(--narrow); }
.final .wrap--narrow > * { margin-left: auto; margin-right: auto; }
.nw { white-space: nowrap; }
.ib { display: inline-block; }
.sp-only { display: inline; }
@media (min-width: 768px) { .sp-only { display: none; } }

/* ---------- ボタン（差し色はここに集中） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--white);
  text-decoration: none; font-weight: 700; letter-spacing: .12em;
  border: 0; border-radius: 999px; cursor: pointer;
  font-family: inherit;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn--small { font-size: 14px; padding: 8px 18px; }
.btn--large { font-size: 17px; padding: 18px 48px; min-height: 56px; }
.btn--block { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 247, 242, .92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.site-header__logo img { height: 36px; width: auto; }

/* ---------- 共通の見出し ---------- */
.eyebrow, .sec-head__en {
  font-size: 13px; font-weight: 500; letter-spacing: .32em; color: var(--ink-sub);
}
.section { padding: var(--sec) 0; }
.section--line { border-top: 1px solid var(--line); }
.section--tint { background: var(--bg-tint); }
.sec-head { margin-bottom: 40px; }
.sec-head h2 {
  margin-top: 8px;
  font-size: clamp(22px, 5.6vw, 30px); font-weight: 700;
  letter-spacing: .16em; line-height: 1.6;
}
.sec-head h2 small { font-weight: 500; letter-spacing: .08em; }
.sec-lead { margin: -16px 0 40px; color: var(--ink-sub); }
.note { margin-top: 32px; font-size: 16px; color: var(--ink-sub); }
.num { font-size: 14px; font-weight: 700; letter-spacing: .2em; color: var(--ink-sub); }

/* ---------- HERO ---------- */
.hero { padding: 64px 0 var(--sec); }
.hero__grid { display: grid; gap: 56px; }
.hero__title {
  margin: 24px 0 24px;
  font-size: clamp(28px, 9.2vw, 64px); font-weight: 700;
  letter-spacing: .1em; line-height: 1.45;
}
.hero__sub { font-size: clamp(16px, 4.3vw, 19px); font-weight: 500; line-height: 1.9; color: var(--ink); letter-spacing: .08em; }
.hero__meta { margin: 40px 0; border-top: 1px solid var(--ink); }
.hero__meta > div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hero__meta dt { font-size: 14px; letter-spacing: .2em; color: var(--ink-sub); padding-top: 2px; }
.hero__meta dd { font-weight: 500; line-height: 1.7; }
.hero__note { margin-top: 16px; font-size: 16px; color: var(--ink-sub); }
.hero__video { align-self: center; }
.hero__video video { width: 100%; aspect-ratio: 16 / 9; background: #1a1a1a; border-radius: 4px; }
@media (max-width: 479px) { .hero .btn--large { width: 100%; } }
@media (min-width: 960px) {
  .hero { padding-top: 96px; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .hero__grid:not(.is-novideo) .hero__title { font-size: clamp(36px, 3.5vw, 52px); }
  .hero__grid.is-novideo { grid-template-columns: 1fr; max-width: 760px; }
}

/* ---------- LEAD ---------- */
.lead { padding-top: 0; }
.lead .wrap > * { max-width: 760px; }
.lead p + p { margin-top: 16px; }
.lead__catch { font-size: clamp(20px, 5vw, 26px); font-weight: 700; letter-spacing: .12em; line-height: 1.8; margin-bottom: 32px; }

/* ---------- おすすめ ---------- */
.checklist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li {
  position: relative; padding: 20px 0 20px 36px;
  border-bottom: 1px solid var(--line); font-weight: 500;
}
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: 30px;
  width: 14px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.checklist { max-width: 760px; }

/* ---------- 3カード ---------- */
.cards3 { display: grid; gap: 16px; }
.cards3 li { background: var(--white); padding: 32px 28px; border-radius: 4px; }
.cards3 p { margin-top: 12px; font-weight: 500; line-height: 1.8; }
.section--tint .cards3 li { background: var(--bg); }
@media (min-width: 768px) { .cards3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- 講演の流れ ---------- */
.timeline { border-top: 1px solid var(--ink); }
.timeline li {
  display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.timeline__no { font-size: 14px; font-weight: 700; color: var(--ink-sub); }
.timeline__title { font-weight: 500; }
.timeline__min { font-size: 16px; color: var(--ink-sub); letter-spacing: .1em; white-space: nowrap; }

/* ---------- 事例 ---------- */
.cases { display: grid; gap: 16px; }
.cases li { background: var(--bg); padding: 28px 24px 32px; border-radius: 4px; }
.cases__tag { font-size: 14px; font-weight: 500; letter-spacing: .2em; color: var(--ink-sub); }
.cases h3 { margin: 10px 0 12px; font-size: 18px; line-height: 1.6; letter-spacing: .08em; }
.cases li > p:not(.cases__tag) { font-size: 16px; color: var(--ink-sub); }
.cases li > p.cases__learn { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.cases__learn::before { content: "学び　"; font-size: 14px; color: var(--ink-sub); font-weight: 500; letter-spacing: .12em; }
@media (min-width: 768px) {
  .cases { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .cases { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 工場・工房ならこう使える（ご提案） ---------- */
.ideas { display: grid; gap: 16px; }
.ideas > li { background: var(--white); padding: 32px 24px 36px; border-radius: 4px; border-top: 3px solid var(--ink); }
.ideas__tag { display: flex; gap: 12px; align-items: baseline; font-size: 15px; font-weight: 700; letter-spacing: .16em; }
.ideas h3 { margin: 12px 0 20px; font-size: clamp(19px, 4.8vw, 21px); line-height: 1.6; letter-spacing: .08em; }
.dots { display: grid; gap: 12px; }
.dots li { position: relative; padding-left: 20px; line-height: 1.8; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
@media (min-width: 1024px) {
  .ideas { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ---------- ViVNALのご支援 ---------- */
.support { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.support li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.support h3 { font-size: 19px; letter-spacing: .1em; line-height: 1.6; margin-bottom: 6px; }
.support p { color: var(--ink-sub); }
.support__cta { margin-top: 32px; font-weight: 700; font-size: clamp(17px, 4.4vw, 19px); line-height: 1.8; }
@media (min-width: 768px) {
  .support li { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: baseline; }
  .support h3 { margin-bottom: 0; }
}

/* ---------- 3つのルール ---------- */
.rules { border-top: 1px solid var(--ink); }
.rules li {
  display: grid; grid-template-columns: 48px 1fr; gap: 8px; align-items: baseline;
  padding: 22px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(17px, 4.4vw, 19px); font-weight: 700; letter-spacing: .08em; line-height: 1.7;
}
.rules small { display: block; font-size: 16px; font-weight: 500; color: var(--ink-sub); letter-spacing: .04em; }

/* ---------- 登壇者 ---------- */
.speaker { display: grid; gap: 32px; }
.speaker__photo {
  width: 160px; aspect-ratio: 4 / 5;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed #B5B5AC; border-radius: 4px; color: var(--ink-sub); font-size: 14px; letter-spacing: .2em;
}
.speaker__photo.has-photo { border: 0; overflow: hidden; }
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; }
.speaker__role { font-size: 16px; color: var(--ink-sub); letter-spacing: .12em; }
.speaker__name { margin: 8px 0 16px; font-size: 28px; font-weight: 700; letter-spacing: .24em; }
.speaker__copy { font-weight: 500; letter-spacing: .16em; margin-bottom: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts li { display: grid; }
.facts b { font-size: 24px; letter-spacing: .06em; line-height: 1.4; }
.facts span { font-size: 15px; color: var(--ink-sub); }
@media (min-width: 768px) { .speaker__photo { width: 100%; } .speaker { grid-template-columns: 240px 1fr; gap: 56px; align-items: start; } }

/* ---------- 開催概要 ---------- */
.outline { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.outline th, .outline td { text-align: left; vertical-align: top; padding: 18px 0; border-bottom: 1px solid var(--line); }
.outline th { width: 88px; font-size: 14px; font-weight: 500; letter-spacing: .2em; color: var(--ink-sub); padding-right: 16px; padding-top: 20px; }
.outline td { font-weight: 500; line-height: 1.8; }
.outline td small { color: var(--ink-sub); font-weight: 400; }
@media (min-width: 768px) { .outline th { width: 160px; } }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 28px; background: var(--bg); padding: 32px 20px; border-radius: 4px; }
@media (min-width: 768px) { .form { padding: 56px 64px; } }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 16px; letter-spacing: .08em; padding: 0; }
.field legend { margin-bottom: 8px; }
.req, .opt {
  display: inline-block; margin-left: 8px; padding: 0 6px;
  font-size: 12px; font-weight: 500; letter-spacing: .1em; line-height: 1.8; border-radius: 2px; vertical-align: 2px;
}
.req { background: var(--ink); color: var(--white); }
.opt { border: 1px solid var(--line); color: var(--ink-sub); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--white); border: 1px solid #CFCFC6; border-radius: 4px;
  -webkit-appearance: none; appearance: none;
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
.form input:focus, .form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { font-weight: 500; font-size: 16px; letter-spacing: .04em; cursor: pointer; }
.choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choices span {
  display: inline-block; padding: 10px 18px; min-height: 44px;
  background: var(--white); border: 1px solid #CFCFC6; border-radius: 999px;
}
.choices input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.choices input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.privacy { font-size: 16px; color: var(--ink-sub); line-height: 1.8; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 5px 0 0; accent-color: var(--ink); flex: none; }
.agree a { text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 40px 22px 32px; font-weight: 700; letter-spacing: .06em; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; top: 22px; font-weight: 700; color: var(--ink-sub); }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 32px; width: 10px; height: 10px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 37px; }
.faq details p { padding: 0 0 8px 32px; color: var(--ink-sub); }
.faq details p:last-child { padding-bottom: 24px; }

/* ---------- 最後のCTA ---------- */
.final { text-align: center; border-top: 1px solid var(--line); }
.final__title { font-size: clamp(22px, 5.8vw, 32px); font-weight: 700; letter-spacing: .14em; }
.final__meta { margin: 16px 0 40px; color: var(--ink-sub); font-size: 16px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: #E9E9E2; padding: 72px 0 40px; font-size: 16px; }
.site-footer__logo { width: 140px; height: auto; }
.site-footer__copy { margin: 16px 0 32px; letter-spacing: .2em; }
.site-footer__info > div { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 8px 0; }
.site-footer__info dt { color: #A8A8A0; font-size: 13px; letter-spacing: .16em; padding-top: 2px; }
.site-footer a { color: #FFFFFF; text-underline-offset: 3px; }
.site-footer__privacy { margin-top: 32px; padding-top: 24px; border-top: 1px solid #333; color: #C4C4BB; font-size: 15px; }
.site-footer__c { margin-top: 24px; font-size: 13px; color: #9A9A92; letter-spacing: .16em; }

/* ---------- サンクスページ ---------- */
.thanks { min-height: calc(100vh - 56px); display: flex; align-items: center; padding: 96px 0; }
.thanks h1 { font-size: clamp(24px, 6vw, 34px); letter-spacing: .14em; line-height: 1.6; margin: 16px 0 32px; }
.thanks p + p { margin-top: 16px; }
.thanks .btn { margin-top: 48px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
