/* ==========================================================
   ランサーズライブ LP デザインシステム v1
   出典: Figma「ランサーズライブ WEB」A_260807 (node 673:3)
   レビュー後、本体 css/style.css に統合する
   ========================================================== */

/* ---------- 1. デザイントークン ---------- */
:root {
  /* カラー */
  --c-primary: #007fd8;      /* メインブルー(Figma変数「色」) */
  --c-primary-deep: #0268cc; /* テキストグラデ始点 */
  --c-purple: #c17cf4;       /* パネルグラデ終点 */
  --c-violet: #785ff2;       /* テキストグラデ終点 */
  --c-accent: #f1204a;       /* 強調テキスト(赤ピンク) */
  --c-line: #06c755;         /* LINE CTAグリーン */
  --c-yellow: #ffbd2a;       /* バッジイエロー */
  --c-pink: #ff81b9;         /* ウォームグラデ始点 */
  --c-orange: #ffc45f;       /* ウォームグラデ終点 */
  --c-orange-deep: #fd8c38;  /* NEWSパネル背景 */
  --c-blue-pale: #c4e7ff;    /* フロー図の淡青ボックス */
  --c-ink: #141414;          /* FV見出し */
  --c-text: #000000;         /* 本文 */
  --c-muted: #aaaaaa;        /* ID・補足 */
  --c-note: #b1b1b1;         /* 注記(※) */
  --c-grey80: #333333;       /* 準黒(時刻バッジなど) */
  --c-rule: #e1e1e1;         /* 罫線・タイムラインの縦ライン */
  --c-bg: #ffffff;
  --c-footer: #0c66a5;

  /* グラデーション */
  --grad-main-v: linear-gradient(180deg, var(--c-primary), var(--c-purple));
  --grad-main-h: linear-gradient(90deg, var(--c-primary), var(--c-purple));
  --grad-text: linear-gradient(90deg, var(--c-primary-deep), var(--c-violet));
  --grad-text-v: linear-gradient(180deg, var(--c-primary), var(--c-purple));
  --grad-warm: linear-gradient(140deg, var(--c-pink) 4%, var(--c-orange) 100%);
  --grad-news: linear-gradient(140deg, var(--c-orange-deep) 4%, var(--c-yellow) 100%);

  /* タイポグラフィ */
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', 'Noto Sans JP', sans-serif;
  /* FV見出し: Figma指定のUD新ゴ(モリサワ)はTypeSquare見送りのため、
     同じモリサワ製無料UDフォントの BIZ UDPGothic 700 で確定(2026-08-14) */
  --font-display: 'BIZ UDPGothic', 'Noto Sans JP', sans-serif;

  --fs-display: 35px;   /* FVコピー */
  --fs-tag: 36px;       /* ハッシュタグ見出し(#雑談 など) */
  --fs-title-xl: 30px;  /* カード見出し(グラデ文字)。32pxだと390px幅で3枚が行落ちするため30pxへ(2026-08-24) */
  --fs-title-lg: 28px;  /* セクション見出し */
  --fs-title-md: 20px;  /* 小見出し・ライバー名 */
  --fs-kicker: 18px;    /* 英字キッカー・CTAボタン */
  --fs-body: 16px;      /* 本文 */
  --fs-body-sm: 14px;   /* 小さめ本文・グラデCTA */
  --fs-chip: 13px;      /* チップボタン */
  --fs-caption: 10px;   /* 注記・グラフラベル */

  --lh-title: 36px;     /* 28/32/36px見出しの行送り */
  --lh-body: 1.6;       /* 16px本文 = 25.7px相当 */

  /* 字間: Figmaはサイズ問わずほぼ全テキストに一律 -0.86px。
     例外 = FVコピー(-0.7px)・キッカー・CTAボタン・チップ(字間なし) */
  --ls-tight: -0.86px;
  --ls-display: -0.7px;

  /* スペーシング */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 40px;
  --sp-7: 60px;

  /* 角丸 */
  --r-img: 8px;         /* カード内画像 */
  --r-card: 24px;       /* カード・セクションパネル */
  --r-pill: 32px;       /* CTAボタン */
  --r-full: 999px;

  /* 影 */
  --shadow-card: 4px 4px 5px rgba(0, 0, 0, 0.05);
}

/* ---------- 2. ユーティリティ ---------- */

/* グラデーション文字(青→紫 横) */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* グラデーション文字(青→紫 縦) */
.grad-text-v {
  background: var(--grad-text-v);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* グラデーション文字(ピンク→オレンジ) */
.grad-text-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 3. コンポーネント ---------- */

/* 英字キッカー(★+ラベル) */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: var(--fs-kicker);
  line-height: 1;
}
.kicker img {
  width: 13px;
  height: 18px;
  transform: rotate(15deg);
}
.kicker.is-white { color: #fff; }

/* セクション見出し */
.sec-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: var(--fs-title-lg);
  line-height: var(--lh-title);
  letter-spacing: var(--ls-tight);
}

/* カード見出し(グラデ) */
.card-title {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: var(--fs-title-xl);
  line-height: var(--lh-title);
  letter-spacing: var(--ls-tight);
}

/* CTAボタン(LINEグリーン)
   テキストは中央、矢印「›」は右端寄せ(Figma準拠) */
.btn-line {
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 359px;
  min-height: 63px;
  padding: 16px 48px;
  border-radius: var(--r-pill);
  background: var(--c-line);
  color: #fff;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: var(--fs-kicker);
  line-height: 28px;
}
/* 矢印SVGはL字型の線。-45度回転で「›」になる */
.btn-line img {
  position: absolute;
  right: 36px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-50%) rotate(-45deg);
}

/* CTAボタン(青→紫グラデ) */
.btn-grad {
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 359px;
  padding: 16px 48px;
  border-radius: var(--r-pill);
  background: var(--grad-main-h);
  color: #fff;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: var(--fs-body-sm);
}
.btn-grad img {
  position: absolute;
  right: 36px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-50%) rotate(-45deg);
}

/* チップボタン(小・単色) */
.btn-chip {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: var(--fs-chip);
  line-height: 1;
}

/* リストボタン(枠線+矢印) */
.btn-list {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--c-primary);
  background: #fff;
  color: var(--c-text);
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: var(--fs-body);
  letter-spacing: var(--ls-tight);
}
.btn-list img { width: 18px; height: 18px; }

/* 白カード */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-card);
  background: #fff;
  filter: drop-shadow(var(--shadow-card));
}
.card .card-img {
  width: 100%;
  height: 152px;
  object-fit: cover;
  border-radius: var(--r-img);
}
.card .card-body { font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--ls-tight); }

/* データカード(青枠) */
.card-data {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-3);
  border: 2px solid var(--c-primary);
  border-radius: var(--r-card);
  background: #fff;
}

/* セクションパネル(グラデ背景+透かし) */
.sec-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-6) var(--sp-5) var(--sp-7);
  border-radius: var(--r-card) var(--r-card) 0 0;
  background: var(--grad-main-v);
  filter: drop-shadow(var(--shadow-card));
}
.sec-panel.is-warm { background: var(--grad-warm); }
.sec-panel > * { position: relative; z-index: 1; }
.sec-panel::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 0;
  top: 40px;
  width: 98px;
  bottom: 0;
  background: url('assets/watermark-lancers-live.svg') no-repeat 0 0 / auto 98px;
  transform: rotate(90deg) translateY(-98px);
  transform-origin: top left;
  opacity: 0.9;
  pointer-events: none;
}

/* 注記 */
.note {
  font-size: var(--fs-caption);
  line-height: 14px;
  color: var(--c-note);
}
