@charset "UTF-8";

/*　　　資料ダウンロード一覧　ダウンロード前　　　*/
.download-list .grid{
  display: grid !important; /* 共通CSSの干渉対策 */
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px){
  .download-list .grid{ grid-template-columns: 1fr 1fr; }
}

.download-list .card{
  padding: 16px;
  margin-bottom: 70px;
}
@media (max-width: 750px){
  .download-list .card{ padding: 0; }
}

.download-list .hero{
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
}
.download-list .thumbs{
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.download-list .thumb{
  flex: 1;
  aspect-ratio: 16 / 9;
}
.download-list .hero img,
.download-list .thumb img{
  width: 100%;
  /*height: 100%;*/
  object-fit: cover; /* 縦横比を保ちつつトリミング */
  border: solid 1px #dfdfdf;
}

.download-list .title{ font-weight: bold; margin: 40px 0 15px; }
@media (max-width: 750px){
  .download-list .title{ margin: 30px 0 15px; }
}

.download-list .desc{ font-size: 14px; margin: 0 0 30px; }

/* ボタン中央 + 矢印を右端固定 */
.download-list .dbtn_list{
  display: block;
  margin: 0 auto;
  padding: 20px 10px;
  background: #222;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  border-radius: 100px;
  width: 100%;
  max-width: 300px;
  text-align: center;
  position: relative;
}
.download-list .dbtn_list::after{
  content: "→";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: inherit;
}
.download-list .dbtn_list:hover{
  background:#feff01;
  color: #000 !important;
  transition: all 0.3s ease 0s;
}

/* （必要な場合のみ）共通CSSがflexならblockに戻す */
@media (min-width: 769px){
  .download-list.blogTxtWrap.contact{ margin-top: min(12vw, 65px); }
  /* .download-list .blogTxtWrap{ display:block; } ← 共通CSSが邪魔する場合だけ有効化 */
}

/*　　　ダウンロードフォーム　　　*/
/* パネル本体（グレーのボックス） */
.download-form .dl-panel {
  background:#f3f3f3;
  border-radius:8px;
  padding:28px;
  margin-top: 15px;
}

/* 見出し（黄色ドット付き） */
.download-form .dl-title {
  position:relative;
  font-size:16px;
  font-weight:700;
  letter-spacing:.02em;
  margin:0 0 24px;
}
.download-form .dl-title__dot {
  display:inline-block;
  width:14px; height:14px;
  border-radius:50%;
  background:#fcee21;
  margin-right:12px;
  transform:translateY(1px);
}

/* 一覧グリッド */
.download-form .dl-list {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:1fr 1fr; /* 常に2カラム */
  gap:28px 32px;
}
.download-form .dl-item--wide {
  grid-column:auto;
}

/* サムネイル */
.download-form .dl-thumb {
  display:block;
  background:#fff;
  overflow:hidden;
  box-shadow:0 1px 0 rgba(0,0,0,.06);
}
.download-form .dl-thumb img {
  display:block;
  width:100%;
  height:auto;
}

/* キャプション */
.download-form .dl-caption {
  margin:.9em 0 0;
  font-size:14px;
  font-weight:700;
  line-height:1.5;
  letter-spacing:.02em;
  color:#111;
}

/* レスポンシブ */
@media (max-width: 768px){
  .download-form .dl-panel { padding:20px; }
  .download-form .dl-title { font-size:13px; margin-bottom:18px; }
  .download-form .dl-list { grid-template-columns:1fr; gap:18px; }
  .download-form .dl-caption { font-size:14px; }
}


/*　　　資料DLC PDFページ　　　*/
.download-p .title-box {    
  font-size: 22px;
  text-align: center;
  margin: 0 0 55px;
}

.download-p .item {
  display:flex;
  align-items:center;
  gap:80px;
  padding:45px 0;
}

.download-p .item:first-child {
  border-top:0;
}

.download-p .thumb {
  flex:1;
  min-width:0;
}

.download-p .thumb img {
  width:100%;
  height:auto;
  display:block;
  border: solid 1px #dfdfdf;
}

.download-p .meta {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.download-p .cap {
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 15px;
}

/* ボタン中央 + 矢印を右端固定 */
.download-p .btn {
  display: block;
  margin: 0 auto;
  padding: 20px 10px;
  padding-right: 44px;
  background:#fff;
  color:#000;
  text-decoration: none;
  font-size: 14px;
  border-radius: 100px;
  width: 100%;
  max-width: 300px;
  text-align: center;
  position: relative;
  font-weight: 500;
  border: 1px solid #000;
}
.download-p .btn::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("https://l4d.jp/wp-content/themes/l4d/images/download/arrow_download.svg");
}
.download-p .btn:hover {
  background: #feff01;
  color: #000;
  transition: all 0.3s ease 0s;
  border: 1px solid #feff01;
}

/* レスポンシブ */
@media (max-width:820px){
  .download-p .title-box {
    font-size: 18px;
    margin: 0 0 5px;
  }
  .download-p .item {
    flex-direction:column;
    align-items:stretch;
    gap:20px;
  }
  .download-p .meta {
    flex:auto;
    align-items:stretch;
  }
  .download-p .cap {
    text-align: center;
    margin-bottom: 0px;
  }
  .download-p .btn {
    text-align:center;
  }
}