@charset "UTF-8";
/* =========================================================
   カスハラ対策 資料・素材ダウンロード
   ベースは ../css/style.css。ここには差分だけ書く
   ========================================================= */

.dl-lead { max-width: 820px; margin: 0 auto 36px; text-align: center; color: var(--muted); font-size: 16px; }

/* ---------- 利用条件 ---------- */
.dl-terms-sec { padding-top: 0; }
.dl-terms {
  background: var(--sky); border-radius: var(--radius); padding: 32px 34px;
}
.dl-terms h2 { font-size: 20px; color: var(--navy); margin-bottom: 14px; }
.dl-terms ul { display: grid; gap: 10px; }
.dl-terms li { position: relative; padding-left: 26px; font-size: 15px; }
.dl-terms li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.dl-terms b { color: var(--navy); }
.dl-format {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid #cfe0f7;
  font-size: 14px; color: var(--muted); line-height: 1.9;
}

/* ---------- カード ---------- */
.dl-sec:nth-of-type(even) { background: var(--bg-soft); }
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dl-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: 0 2px 10px rgba(15, 42, 92, .05);
}
.dl-thumb {
  display: grid; place-items: center; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px; min-height: 150px;
}
.dl-thumb img { max-width: 100%; max-height: 150px; height: auto; width: auto; }
.dl-thumb.is-tall img { max-height: 250px; }
.dl-name { font-size: 17px; color: var(--navy); line-height: 1.5; margin-bottom: 8px; }
.dl-desc { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.dl-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.dl-tag {
  display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: 999px;
  background: var(--sky); color: var(--navy-2); font-weight: 700; font-size: 12px;
}
.dl-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.dl-btn {
  display: inline-block; padding: 11px 20px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  text-decoration: none; transition: .2s;
}
.dl-btn:hover { background: var(--accent-dark); }
.dl-btn.is-ghost { background: #fff; color: var(--navy-2); border: 2px solid var(--line); padding: 9px 20px; }
.dl-btn.is-ghost:hover { border-color: var(--navy-2); }

/* ---------- 下部 ---------- */
.dl-cta { background: var(--navy); color: #fff; text-align: center; }
.dl-cta h2 { font-size: clamp(21px, 3vw, 29px); margin-bottom: 16px; }
.dl-cta p { color: #d7e3f6; }
.dl-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.dl-rel-list { display: grid; gap: 12px; }
.dl-rel-list li { border-bottom: 1px solid var(--line); }
.dl-rel-list a { display: block; padding: 14px 4px; color: var(--navy); text-decoration: none; font-weight: 500; }
.dl-rel-list a:hover { color: var(--accent); }

@media (max-width: 1000px) { .dl-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .dl-card { grid-template-columns: 1fr; }
  .dl-thumb { min-height: 0; }
  .dl-thumb img, .dl-thumb.is-tall img { max-height: 210px; }
  .dl-terms { padding: 24px 20px; }
  .dl-btn { flex: 1 1 auto; text-align: center; }
}
