/* =========================================================
   ELVORA 協賛スポンサーLP v19 — styles.css
   実在するスポンサー募集LP59件の調査に基づく最小構成
   - PIVOT型: ダークFV + ライト編集ボディ（tokens.css のライト面を使用）
   - 実質3色（ネイビー / ペリウィンクル / 白）。グラデ・グロー・スクロール演出なし
   - 直角基調。概念図なし。工程図は3ステップ1枚のみ
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: #fff;
  font-size: 15px;
  line-height: 1.85;
  line-break: strict;
  text-autospace: normal;
  text-spacing-trim: trim-start;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 var(--pad-x); }

/* ---------- Typography ---------- */
h1, h2 { font-family: var(--font-jp); font-weight: 900; line-height: 1.4; font-feature-settings: "palt"; }
@supports (word-break: auto-phrase) {
  h1, h2, .lead, .hero-sub { word-break: auto-phrase; }
  h2 { text-wrap: pretty; }
}
.kicker {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 16px;
}
.kicker::before { content: ""; display: block; width: 30px; height: 2px; background: var(--accent-deep); margin-bottom: 14px; }
h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 20px; }
h2 em { color: var(--accent-deep); }
.lead { font-size: clamp(15px, 1.7vw, 17px); color: var(--ink-sub); max-width: 34em; margin-bottom: 40px; }
.note { font-size: 12.5px; line-height: 1.9; color: var(--ink-sub); margin-top: 14px; max-width: 46em; }
.body { font-size: 14.5px; line-height: 1.95; color: var(--ink-sub); max-width: 42em; margin-bottom: 28px; }
.section.dark .body { color: var(--text-mid); }
.place-list { display: grid; gap: 10px; margin-bottom: 44px; max-width: 46em; }
.place-list li { font-size: 14px; color: var(--ink-sub); padding-left: 18px; position: relative; }
.place-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; background: var(--accent-deep); }
.place-list b { color: var(--ink); font-weight: 900; margin-right: 10px; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--light-bg); }
.section.dark { background: var(--navy); color: var(--text-hi); }
.section.dark .lead { color: var(--text-mid); }
.section.dark .kicker, .section.dark h2 em { color: var(--accent); }
.section.dark .note { color: var(--text-mid); }
.section.dark .kicker::before { background: var(--accent); }

/* ---------- Buttons（1種類のみ） ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: 15px;
  padding: 15px 32px; border: none; border-radius: 0; cursor: pointer;
  background: var(--navy); color: #fff;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--accent-deep); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 17px 40px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-line);
}
.header-inner { display: flex; align-items: center; gap: 28px; }
.brand { font-family: var(--font-display); font-weight: 500; font-size: 21px; letter-spacing: 2.4px; }
.brand-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-deep); margin-left: 4px; vertical-align: 4px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { font-size: 13px; font-weight: 500; color: var(--ink-sub); }
.site-nav a:hover { color: var(--accent-deep); }

/* ---------- 1. FV（唯一のダークな入口） ---------- */
.hero { background: var(--navy-deep); color: var(--text-hi); }
.hero-inner { max-width: 1080px; margin: 0 auto; padding: 92px var(--pad-x) 100px; }
/* 見出しは全幅。1文=1行に収めて、意味のかたまりを行末で割らない */
.hero-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px; align-items: start;
}
.hero .nb { white-space: nowrap; }
.hero-copy { min-width: 0; }
.hero-kicker { font-size: 12.5px; color: var(--text-mid); margin-bottom: 26px; letter-spacing: 0.04em; }
.hero h1 { font-size: clamp(26px, 4.2vw, 48px); line-height: 1.42; letter-spacing: -0.015em; margin-bottom: 44px; }

.hero h1 em { color: var(--accent); }
.hero-sub { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.9; color: var(--text-mid); margin-bottom: 34px; }
.hero .btn { background: var(--accent-deep); color: var(--navy-deep); }
.hero .btn:hover { background: var(--accent); }
.hero-media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.hero-media figcaption { font-size: 11.5px; color: var(--text-lo); padding-top: 10px; }

/* ---------- 2. 価値 ---------- */
/* 左右を同一グリッド行に入れる。行の高さが共有されるため罫線が必ず一致する */
.c-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
.c-row > * { border-bottom: 1px solid var(--light-line); padding: 18px 0; }
.c-head > * { padding: 0 0 14px; }
.contrast-label { font-size: 12px; font-weight: 700; letter-spacing: 0.24em; color: var(--ink-lo); margin: 0; }
.contrast-label.accent { color: var(--accent-deep); }
.c-cell b { display: block; font-size: 15.5px; font-weight: 900; color: var(--ink-lo); margin-bottom: 4px; }
.c-cell span { font-size: 13.5px; color: var(--ink-sub); }
.c-cell.c-good b { color: var(--ink); }
.callout {
  margin-top: 48px; text-align: center; line-height: 1.65;
  font-weight: 900; font-size: clamp(19px, 2.4vw, 26px);
}
.callout em { color: var(--accent-deep); }

/* ---------- 3. 現物 ---------- */
.show-main img { width: 100%; }
.show-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.show-strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.show-facts { margin-top: 36px; }
.show-facts > div { display: grid; grid-template-columns: 15em 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid rgba(157, 168, 255, 0.22); }
.show-facts > div:first-child { border-top: 1px solid rgba(157, 168, 255, 0.22); }
.show-facts dt { font-weight: 900; font-size: 15.5px; }
.show-facts dd { font-size: 13.5px; line-height: 1.9; color: var(--text-mid); }
.show-facts .meta { display: block; font-size: 12px; color: var(--text-lo); margin-top: 6px; }

/* ---------- 4. プラン ---------- */
.table-wrap { overflow-x: auto; margin-inline: -14px; }
.plan-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.plan-table th, .plan-table td { text-align: left; vertical-align: top; padding: 18px 14px; }
.plan-table thead th {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-lo);
  padding-bottom: 12px; border-bottom: 2px solid var(--navy);
}
.plan-table tbody tr { border-bottom: 1px solid var(--light-line); }
.plan-table tbody th { font-size: 16px; font-weight: 900; width: 19%; }
.plan-table tbody th span { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-lo); }
.plan-table td { font-size: 13px; color: var(--ink-sub); }
.plan-table td b { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.plan-table td b.hl { font-family: var(--font-jp); font-size: 13px; font-weight: 900; color: var(--accent-deep); }
.plan-table td:nth-child(2) { width: 16%; white-space: nowrap; }
.plan-table td:nth-child(4), .plan-table td:nth-child(5) { width: 14%; }
.reco { background: rgba(124, 140, 255, 0.07); }
.plan-table tbody th .badge {
  display: block; width: fit-content;
  font-size: 10.5px; font-weight: 700; color: #fff;
  background: var(--accent-deep); padding: 2px 8px; margin-bottom: 7px;
}
.mid-cta { margin-top: 36px; }

/* ---------- 5. つくり手 ---------- */
.team { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: start; }
.team figure { margin-top: 5px; }
.team figure img { width: 100%; }
.team-name { font-size: 19px; font-weight: 900; line-height: 1.4; margin-bottom: 16px; }
.team-name span { display: block; font-size: 12px; font-weight: 500; color: var(--ink-lo); letter-spacing: 0.08em; }
.team-facts li { font-size: 14px; color: var(--ink-sub); padding-left: 16px; position: relative; margin-bottom: 8px; }
.team-facts li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--accent-deep); }
.team-body { font-size: 14px; line-height: 1.95; color: var(--ink-sub); margin-top: 16px; }
.team-org { margin-top: 20px; border-top: 1px solid var(--light-line); }
.team-org > div { display: grid; grid-template-columns: 6em 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--light-line); }
.team-org dt { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-lo); }
.team-org dd { font-size: 13px; color: var(--ink-sub); }

/* ---------- 6. 流れ + FAQ ---------- */
.flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.flow li { border-top: 2px solid var(--navy); padding: 18px 0 26px; font-size: 13.5px; line-height: 1.9; color: var(--ink-sub); }
.flow-num { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--accent-deep); letter-spacing: 0.1em; margin-bottom: 6px; }
.flow b { display: block; font-size: 16.5px; font-weight: 900; color: var(--ink); margin-bottom: 6px; }
.faq-list { border-top: 1px solid var(--light-line); }
.faq-list details { border-bottom: 1px solid var(--light-line); }
.faq-list summary {
  cursor: pointer; list-style: none; position: relative;
  font-weight: 700; font-size: 15px; padding: 18px 44px 18px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 20px; color: var(--accent-deep);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { font-size: 14px; line-height: 1.95; color: var(--ink-sub); max-width: 48em; padding: 0 0 12px; }
.faq-list details p:last-child { padding-bottom: 20px; }

/* ---------- 7. フォーム ---------- */
.cta-final { background: var(--light-bg); padding: 88px 0 96px; }
.cta-final .wrap { max-width: 680px; }
.cta-final .kicker, .cta-final h2, .cta-final .lead { text-align: center; }
.cta-final .kicker::before { margin-left: auto; margin-right: auto; }
.cta-final .lead { margin-left: auto; margin-right: auto; margin-bottom: 14px; }
.lead-sub { font-size: 14px !important; color: var(--ink-lo) !important; margin-bottom: 32px !important; }
.contact-form { background: #fff; border: 1px solid var(--light-line); padding: 32px; }
.contact-form label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-sub); margin-bottom: 18px; }
.req, .opt { font-size: 10px; font-weight: 700; padding: 1px 6px; margin-left: 6px; }
.req { color: #fff; background: var(--accent-deep); }
.opt { color: var(--ink-lo); border: 1px solid var(--light-line); }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 7px;
  background: #fff; border: 1px solid var(--light-line); border-radius: 0;
  color: var(--ink); font-family: var(--font-jp); font-size: 15px; padding: 12px 14px;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent-deep); }
.contact-form textarea { resize: vertical; }
.contact-form label.check-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--ink-sub); margin: 4px 0 20px;
}
.contact-form .check-label input[type="checkbox"] {
  display: inline-block; width: 18px; height: 18px; flex: none; margin: 3px 0 0; padding: 0;
  accent-color: var(--accent-deep);
}
.check-label a, .form-sub a { color: var(--accent-deep); text-decoration: underline; }
.contact-form button { width: 100%; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { min-height: 1.6em; font-size: 13.5px; color: var(--accent-deep); margin-top: 12px; text-align: center; }
.form-sub { font-size: 12px; color: var(--ink-lo); text-align: center; margin-top: 6px; text-wrap: balance; }
/* 送信成功時のみ表示する資料リンク */
.form-done { text-align: center; margin-top: 14px; }
.form-done[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--text-lo); padding: 40px 0 36px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 18px; }
.footer-links a { font-size: 13px; color: var(--accent); text-decoration: underline; }
.footer-legal { font-size: 11px; line-height: 1.8; max-width: 60em; }
.footer-copy { font-size: 11px; margin-top: 16px; }

/* ---------- モバイル固定CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Print ---------- */
@media print {
  @page { margin: 14mm; }
  .site-header, .sticky-cta, .hero-media, .contact-form, .mid-cta, .btn { display: none !important; }
  .hero, .section.dark, .site-footer { background: #fff !important; color: var(--ink) !important; }
  .hero-inner { padding: 0 0 20px !important; }
  .hero-row { display: block !important; }
  .section, .cta-final { padding: 18px 0 !important; background: #fff !important; }
  .hero h1 em, .section.dark h2 em, .section.dark .kicker { color: var(--accent-deep) !important; }
  .hero-kicker, .hero-sub, .show-facts dd, .footer-legal, .footer-copy { color: var(--ink-sub) !important; }
  .show-facts dt, .site-footer { color: var(--ink) !important; }
  .faq-list p { display: block !important; }
  .faq-list summary::after { display: none; }
  .table-wrap { overflow: visible !important; margin-inline: 0 !important; }
  /* セクション単位のbreak-inside:avoidは、セクションが長い現構成では
     ページ先頭に大きな空白を作るため使わない。分断されると困る単位だけ守る */
  .plan-table tbody tr, .team, .c-row, .flow li, .faq-list details { break-inside: avoid; }
  h2, .kicker { break-after: avoid; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  :root { --pad-x: 36px; }
  .hero-row { grid-template-columns: 1fr; gap: 32px; }
  .c-row { grid-template-columns: 1fr; }
  .c-head { display: none; }
  .team { grid-template-columns: 160px 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  :root { --pad-x: 20px; }
  html { scroll-padding-top: 64px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .section { padding: 56px 0; }
  .site-nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .hero-inner { padding: 52px var(--pad-x) 56px; }
  .hero h1 { margin-bottom: 30px; }
  .hero-row { gap: 30px; }
  .show-strip { grid-template-columns: repeat(2, 1fr); }
  .show-facts > div { grid-template-columns: 1fr; gap: 2px; }
  .flow { grid-template-columns: 1fr; }
  .flow li { padding: 16px 0 20px; }
  .c-cell:not(.c-good) b::before { content: "✕ "; color: var(--ink-lo); }
  .c-cell.c-good b::before { content: "→ "; color: var(--accent-deep); }
  .team { grid-template-columns: 1fr; }
  .team figure { max-width: 180px; }
  .cta-final { padding: 56px 0 64px; }
  .contact-form { padding: 22px 18px; }

  /* 比較表 → 積み上げ */
  .table-wrap { overflow: visible; margin-inline: 0; }
  .plan-table { min-width: 0; }
  .plan-table thead { display: none; }
  .plan-table, .plan-table tbody, .plan-table tr, .plan-table th, .plan-table td { display: block; width: auto !important; }
  .plan-table tbody tr { padding: 22px 0; }
  .plan-table th, .plan-table td { padding: 0; white-space: normal !important; }
  .plan-table tbody th { margin-bottom: 10px; }
  .plan-table td { margin-bottom: 10px; }
  .plan-table td:last-child { margin-bottom: 0; }
  .plan-table td[data-th]::before {
    content: attr(data-th) "　";
    font-size: 11px; font-weight: 700; color: var(--ink-lo);
  }
  .reco { margin: 0 -14px; padding-left: 14px !important; padding-right: 14px !important; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px var(--pad-x) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--light-line);
  }
  .sticky-cta .btn { display: block; width: 100%; text-align: center; padding: 14px; }
}
