/* ==========================================================
   売主様へのご説明資料（ダウンロード）ページ用の追加スタイル
   - EMEテーマ（wp-content/themes/eme/style.css）の変数・部品をそのまま使う
   - 追加するクラスはすべて「dl-」で始める（既存のクラスとぶつけない）
   ========================================================== */

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
  gap: 28px;
}

.dl-card {
  display: grid;
  grid-template-columns: minmax(150px, 38%) 1fr;
  background: #fff;
  border-radius: var(--radius);
  border-top: 4px solid var(--navy);
  overflow: hidden;
}
.section--gray .dl-card { box-shadow: none; }
.section:not(.section--gray) .dl-card { border: 1px solid var(--line); border-top: 4px solid var(--navy); }

.dl-card__thumb {
  background: var(--bg-2);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
}
.dl-card__thumb img {
  width: 100%;
  height: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.dl-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  padding: 24px 24px 28px;
}
.dl-card__for {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal-dark);
}
.dl-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: .08em;
}
.dl-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
}
.dl-card__toc {
  margin: 4px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-2);
}
.dl-card__toc li::before {
  content: "・";
  color: var(--navy);
}
.dl-card__actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}
.dl-card__actions .btn {
  width: 100%;
  min-height: 48px;
  flex-direction: column;
  line-height: 1.4;
  font-size: 14px;
}
.dl-card__actions .btn small {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .06em;
  opacity: .85;
}
.dl-card__meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}

.dl-free {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 32px;
  padding: 12px 20px;
  background: #fff;
  border-left: 4px solid var(--marker);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
}
.section--gray .dl-free { background: #fff; }
.section:not(.section--gray) .dl-free { background: var(--bg-2); }

.dl-soft {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg-2);
  border-radius: var(--radius);
}
.dl-soft p { margin: 0; color: var(--ink-2); }

@media (max-width: 600px) {
  .dl-grid { grid-template-columns: 1fr; }
  .dl-card { grid-template-columns: 1fr; }
  .dl-card__thumb { padding: 20px 20px 0; justify-content: center; }
  .dl-card__thumb img { max-width: 220px; }
  .dl-card__body { padding: 20px 20px 24px; }
  .dl-soft { padding: 24px 20px; }
}
