/* ==========================================================================
   資料ダウンロード一覧（19）／資料ダウンロード詳細（20）ページ固有スタイル
   style.css → lower.css → download.css の順に読み込む。
   LOWER_SPEC_download.md 準拠。lower.css / style.css は変更しない。
   ========================================================================== */

/* ==========================================================================
   プレースホルダーは lower.css の .placeholder / .placeholder--light に統合
   （2026-09-07。本ページの白背景版は .placeholder--light を使用）
   ========================================================================== */

/* ==========================================================================
   セクション1: カテゴリー（.lower-subheading + .filter-nav は共通部品を使用）
   ========================================================================== */
.download-categories .lower-subheading {
  margin-bottom: 24px;
}

/* ==========================================================================
   セクション2〜4: カテゴリー別の資料ブロック
   ========================================================================== */
.download-list {
  margin-top: 60px;
}
.download-list > * + * {
  margin-top: 60px;
}

.download-item {
  background: var(--grad-diagonal);
  padding: 40px;
}
.download-item__row {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.download-item__photo {
  flex-shrink: 0;
  width: 275px;
  height: auto;
  aspect-ratio: 1672 / 941; /* サムネイル(16:9)の比率。枠を合わせるので cover は使わない */
}
.download-item__body {
  flex: 1;
  min-width: 0;
}
.download-item__desc {
  font-size: var(--fs-16);
  line-height: var(--lh-body-18);
}
.download-item__btn-row {
  margin-top: 32px;
  text-align: center;
}

/* ==========================================================================
   資料ダウンロード詳細（20）本文
   ========================================================================== */
.download-detail .container {
  max-width: 960px;
}
.download-detail__title {
  font-size: var(--fs-24);
  font-weight: var(--fw-bold);
  text-align: center;
}
.download-detail__image {
  display: block;
  margin: 32px auto 0;
  width: 609px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
}

/* ==========================================================================
   Responsive: SP（768px以下）
   ========================================================================== */
@media (max-width: 768px) {
  .download-item__row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .download-item__photo {
    width: 100%;
    max-width: 275px;
    height: auto;
    aspect-ratio: 1672 / 941;
  }
  .download-item__body {
    width: 100%;
  }
  .download-item__desc {
    text-align: center;
  }

  .download-detail__image {
    height: auto;
    aspect-ratio: 1672 / 941;
  }
}
