/* ===================================================
   necfru drive 販売パートナー募集ページ — drive-partner.css  v1
   スコープ: #drive-hub-lp 配下のみ（親LPと同一スコープ）
   URL: /products/drive/partner/

   方針:
     - デザイントークン・コンテナ・セクション見出し・ボタン・FAQ・
       導入ステップ・最終CTA は drive-hub.css をそのまま再利用する。
       本ファイルは「パートナーページ固有のコンポーネント（.dp-*）」のみを定義。
     - そのため partner/index.html は drive-hub.css → drive-partner.css の
       順で読み込み、ラッパー要素の id も親LPと同じ #drive-hub-lp とする。
     - .dp-lead（親LPの最終CTA直下に置く導線バンド）は drive-hub.css 側に
       定義してある。親LPは drive-partner.css を読み込む必要はない。
=================================================== */

/* -----------------------------------------------
   ヒーロー（親LPの .dh-hero を継承し、右カラムのみ差し替え）
----------------------------------------------- */
#drive-hub-lp .dp-hero__inner {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

#drive-hub-lp .dp-hero__heading {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  line-height: 1.42;
  color: var(--dh-gray-900);
  margin-bottom: 16px;
}

#drive-hub-lp .dp-hero__heading em {
  font-style: normal;
  color: var(--dh-brand);
}

#drive-hub-lp .dp-hero__sub {
  font-size: var(--dh-text-base);
  color: var(--dh-gray-600);
  line-height: 1.9;
  margin-bottom: 26px;
}

#drive-hub-lp .dp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

#drive-hub-lp .dp-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#drive-hub-lp .dp-hero__facts li {
  font-size: var(--dh-text-xs);
  font-weight: 600;
  color: var(--dh-gray-700);
  background: var(--dh-white);
  border: 1px solid var(--dh-blue-200);
  border-radius: 100px;
  padding: 5px 14px;
}

/* ヒーロー右：パートナーの役割カード */
#drive-hub-lp .dp-hero__card {
  background: var(--dh-white);
  border: 1px solid var(--dh-blue-200);
  border-radius: var(--dh-radius-xl);
  padding: 30px 28px;
  box-shadow: var(--dh-shadow);
}

#drive-hub-lp .dp-hero__card-label {
  display: inline-block;
  font-size: var(--dh-text-xs);
  font-weight: 700;
  color: var(--dh-brand);
  background: var(--dh-blue-50);
  border-radius: var(--dh-radius-sm);
  padding: 4px 12px;
  margin-bottom: 18px;
}

#drive-hub-lp .dp-hero__card-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: var(--dh-text-sm);
  font-weight: 600;
  color: var(--dh-gray-800);
  padding: 12px 0;
  border-bottom: 1px dashed var(--dh-gray-200);
}
#drive-hub-lp .dp-hero__card-list li:last-child { border-bottom: 0; }

#drive-hub-lp .dp-hero__card-list i {
  color: var(--dh-brand);
  margin-top: 4px;
  font-size: 0.9rem;
}

#drive-hub-lp .dp-hero__card-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--dh-gray-200);
  font-size: var(--dh-text-xs);
  color: var(--dh-gray-500);
  line-height: 1.8;
}

/* -----------------------------------------------
   ページ内ジャンプナビ
----------------------------------------------- */
#drive-hub-lp .dp-jump {
  background: var(--dh-white);
  border-bottom: 1px solid var(--dh-gray-200);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 30;
}

#drive-hub-lp .dp-jump__list {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

#drive-hub-lp .dp-jump__list a {
  display: block;
  white-space: nowrap;
  padding: 15px 16px;
  font-size: var(--dh-text-sm);
  font-weight: 600;
  color: var(--dh-gray-600);
  border-bottom: 3px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

#drive-hub-lp .dp-jump__list a:hover {
  color: var(--dh-brand);
  border-bottom-color: var(--dh-brand);
}

/* -----------------------------------------------
   共通：カードグリッド
----------------------------------------------- */
#drive-hub-lp .dp-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

#drive-hub-lp .dp-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#drive-hub-lp .dp-card {
  background: var(--dh-white);
  border: 1px solid var(--dh-gray-200);
  border-radius: var(--dh-radius-lg);
  padding: 28px 26px;
  box-shadow: var(--dh-shadow-sm);
}

#drive-hub-lp .dp-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--dh-radius-lg);
  background: var(--dh-blue-50);
  color: var(--dh-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

#drive-hub-lp .dp-card__title {
  font-size: var(--dh-text-lg);
  color: var(--dh-gray-900);
  margin-bottom: 8px;
  line-height: 1.55;
}

#drive-hub-lp .dp-card__dept {
  display: inline-block;
  font-size: var(--dh-text-xs);
  font-weight: 600;
  color: var(--dh-gray-500);
  margin-left: 6px;
}

#drive-hub-lp .dp-card__dept--brand {
  color: var(--dh-brand);
  font-weight: 700;
}

#drive-hub-lp .dp-card__text {
  font-size: var(--dh-text-sm);
  color: var(--dh-gray-600);
  line-height: 1.85;
}

/* -----------------------------------------------
   Section 1: 4つの入り口
----------------------------------------------- */
#drive-hub-lp .dp-entry { background: var(--dh-white); }

#drive-hub-lp .dp-entry__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--dh-brand);
  color: var(--dh-white);
  font-size: var(--dh-text-xs);
  font-weight: 700;
  margin-right: 8px;
  vertical-align: 2px;
}

#drive-hub-lp .dp-entry__note {
  margin-top: 28px;
  background: var(--dh-blue-50);
  border: 1px solid var(--dh-blue-100);
  border-radius: var(--dh-radius-lg);
  padding: 26px 30px;
}

#drive-hub-lp .dp-entry__note-title {
  font-size: var(--dh-text-lg);
  color: var(--dh-gray-900);
  margin-bottom: 8px;
}

#drive-hub-lp .dp-entry__note-text {
  font-size: var(--dh-text-sm);
  color: var(--dh-gray-600);
  line-height: 1.9;
}

#drive-hub-lp .dp-entry__support { margin-top: 24px; }

/* -----------------------------------------------
   Section 2: 提案トリガー
----------------------------------------------- */
#drive-hub-lp .dp-trigger { background: var(--dh-gray-50); }

#drive-hub-lp .dp-trigger__item {
  background: var(--dh-white);
  border: 1px solid var(--dh-gray-200);
  border-left: 4px solid var(--dh-accent);
  border-radius: var(--dh-radius-lg);
  padding: 24px 26px;
  box-shadow: var(--dh-shadow-sm);
}

#drive-hub-lp .dp-trigger__quote {
  font-size: var(--dh-text-base);
  color: var(--dh-gray-900);
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 8px;
}

#drive-hub-lp .dp-trigger__text {
  font-size: var(--dh-text-sm);
  color: var(--dh-gray-600);
  line-height: 1.85;
}

/* -----------------------------------------------
   Section 3: ご提供する資料
----------------------------------------------- */
#drive-hub-lp .dp-tools { background: var(--dh-white); }

#drive-hub-lp .dp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#drive-hub-lp .dp-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dh-white);
  border: 1px solid var(--dh-gray-200);
  border-radius: 100px;
  padding: 9px 18px;
  font-size: var(--dh-text-sm);
  font-weight: 600;
  color: var(--dh-gray-700);
}

#drive-hub-lp .dp-chips li i { color: var(--dh-brand); font-size: 0.85rem; }

#drive-hub-lp .dp-chips--tint li { background: var(--dh-gray-50); }

#drive-hub-lp .dp-chips-label {
  font-size: var(--dh-text-xs);
  font-weight: 700;
  color: var(--dh-gray-500);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* -----------------------------------------------
   Section 4: 制度の特徴
----------------------------------------------- */
#drive-hub-lp .dp-merit { background: var(--dh-blue-50); }
#drive-hub-lp .dp-merit .dp-card { border-color: var(--dh-blue-100); }

/* -----------------------------------------------
   Section 5: 役割分担
----------------------------------------------- */
#drive-hub-lp .dp-scheme { background: var(--dh-white); }

#drive-hub-lp .dp-scheme__wrap {
  overflow-x: auto;
  border-radius: var(--dh-radius-lg);
  border: 1px solid var(--dh-gray-200);
}

#drive-hub-lp .dp-scheme__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--dh-white);
  font-size: var(--dh-text-sm);
}

#drive-hub-lp .dp-scheme__table thead th {
  background: var(--dh-gray-900);
  color: var(--dh-white);
  font-weight: 700;
  padding: 15px 20px;
  text-align: left;
  white-space: nowrap;
}

#drive-hub-lp .dp-scheme__table thead th:nth-child(2) { background: var(--dh-brand); }

#drive-hub-lp .dp-scheme__table tbody th {
  background: var(--dh-gray-50);
  color: var(--dh-gray-900);
  font-weight: 700;
  text-align: left;
  padding: 14px 20px;
  width: 34%;
  border-bottom: 1px solid var(--dh-gray-200);
}

#drive-hub-lp .dp-scheme__table tbody td {
  padding: 14px 20px;
  color: var(--dh-gray-600);
  border-bottom: 1px solid var(--dh-gray-200);
}

#drive-hub-lp .dp-scheme__table tbody tr:last-child th,
#drive-hub-lp .dp-scheme__table tbody tr:last-child td { border-bottom: 0; }

#drive-hub-lp .dp-scheme__yes { color: var(--dh-brand); font-weight: 700; }
#drive-hub-lp .dp-scheme__no  { color: var(--dh-gray-400); }

#drive-hub-lp .dp-scheme__note {
  margin-top: 18px;
  font-size: var(--dh-text-xs);
  color: var(--dh-gray-500);
  text-align: center;
}

/* -----------------------------------------------
   Section 6: 報酬
----------------------------------------------- */
#drive-hub-lp .dp-fee { background: var(--dh-gray-50); }

#drive-hub-lp .dp-fee__boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

#drive-hub-lp .dp-fee__box {
  background: var(--dh-blue-50);
  border: 2px solid var(--dh-brand);
  border-radius: var(--dh-radius-xl);
  padding: 30px 32px;
}

#drive-hub-lp .dp-fee__tag {
  display: inline-block;
  background: var(--dh-brand);
  color: var(--dh-white);
  font-size: var(--dh-text-xs);
  font-weight: 700;
  border-radius: var(--dh-radius-sm);
  padding: 4px 12px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

#drive-hub-lp .dp-fee__box-title {
  font-size: var(--dh-text-xl);
  color: var(--dh-gray-900);
  margin-bottom: 10px;
  line-height: 1.5;
}

#drive-hub-lp .dp-fee__box-text {
  font-size: var(--dh-text-sm);
  color: var(--dh-gray-600);
  line-height: 1.85;
}

#drive-hub-lp .dp-fee__terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  background: var(--dh-white);
  border: 1px solid var(--dh-gray-200);
  border-radius: var(--dh-radius-lg);
  padding: 10px 28px;
}

#drive-hub-lp .dp-fee__terms li {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--dh-gray-200);
  font-size: var(--dh-text-sm);
}

#drive-hub-lp .dp-fee__terms li:nth-last-child(-n+2) { border-bottom: 0; }

#drive-hub-lp .dp-fee__terms dt,
#drive-hub-lp .dp-fee__terms b {
  flex: none;
  width: 116px;
  font-weight: 700;
  color: var(--dh-gray-900);
}

#drive-hub-lp .dp-fee__terms span { color: var(--dh-gray-600); }

#drive-hub-lp .dp-fee__disclaimer {
  margin-top: 20px;
  font-size: var(--dh-text-xs);
  color: var(--dh-gray-500);
  line-height: 1.85;
}

/* -----------------------------------------------
   Section 7: 想定パートナー
----------------------------------------------- */
#drive-hub-lp .dp-target { background: var(--dh-white); }
#drive-hub-lp .dp-target__group + .dp-target__group { margin-top: 30px; }

/* -----------------------------------------------
   Section 8: 流れ（.dh-onboarding__steps を4列で再利用）
----------------------------------------------- */
#drive-hub-lp .dp-flow { background: var(--dh-blue-50); }
#drive-hub-lp .dp-flow .dh-onboarding__steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
}

/* -----------------------------------------------
   Section 9: ご確認事項
----------------------------------------------- */
#drive-hub-lp .dp-terms { background: var(--dh-white); }

#drive-hub-lp .dp-terms__box {
  background: var(--dh-white);
  border: 1px solid var(--dh-gray-200);
  border-left: 4px solid var(--dh-accent);
  border-radius: var(--dh-radius-lg);
  padding: 12px 32px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--dh-shadow-sm);
}

#drive-hub-lp .dp-terms__box dt {
  font-size: var(--dh-text-base);
  font-weight: 700;
  color: var(--dh-gray-900);
  margin-top: 22px;
}

#drive-hub-lp .dp-terms__box dd {
  margin: 6px 0 22px;
  font-size: var(--dh-text-sm);
  color: var(--dh-gray-600);
  line-height: 1.9;
}

/* -----------------------------------------------
   レスポンシブ
----------------------------------------------- */
@media (max-width: 960px) {
  #drive-hub-lp .dp-hero__inner { grid-template-columns: 1fr; gap: 30px; }
  #drive-hub-lp .dp-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #drive-hub-lp .dp-flow .dh-onboarding__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  #drive-hub-lp .dp-jump { position: static; }
  #drive-hub-lp .dp-grid2,
  #drive-hub-lp .dp-grid3,
  #drive-hub-lp .dp-fee__boxes,
  #drive-hub-lp .dp-fee__terms,
  #drive-hub-lp .dp-flow .dh-onboarding__steps { grid-template-columns: 1fr; }

  #drive-hub-lp .dp-fee__terms li { border-bottom: 1px dashed var(--dh-gray-200); }
  #drive-hub-lp .dp-fee__terms li:last-child { border-bottom: 0; }
  #drive-hub-lp .dp-fee__terms li { flex-direction: column; gap: 2px; }
  #drive-hub-lp .dp-fee__terms b { width: auto; }

  #drive-hub-lp .dp-hero__cta { flex-direction: column; }
  #drive-hub-lp .dp-hero__cta .dh-btn { width: 100%; justify-content: center; }

  #drive-hub-lp .dp-card { padding: 22px 20px; }
  #drive-hub-lp .dp-fee__box { padding: 24px 22px; }
  #drive-hub-lp .dp-terms__box { padding: 8px 22px; }
  #drive-hub-lp .dp-entry__note { padding: 22px 20px; }
}
