/* 資料請求ページ（download.html）専用 */
/* SP-------------------------------*/
.dl .h2_txt {
  margin-bottom: 6%;
}
.dl-grid {
  width: 90%;
  margin: 0 auto;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
}
/* SPは信頼要素を全部フォームの上に置く（下に置くと見られない）。ロゴはSPのみ6社に絞って高さを抑える */
.dl-info-top { -webkit-order: 1; order: 1; }
.dl-info-btm { -webkit-order: 2; order: 2; }
.dl-form     { -webkit-order: 3; order: 3; }
.dl-info-btm {
  margin-bottom: 8%;
}
.dl-logos li:nth-child(n + 7) {
  display: none;
}

/* 資料イメージ（本資料が届くまでの仮置き。imgに差し替え前提） */
.dl-preview {
  position: relative;
  margin-bottom: 8%;
}
.dl-page {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.dl-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dl-cover {
  margin-bottom: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}
.dl-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dl-preview .note {
  text-align: right;
  margin-top: 6px;
  font-size: 0.7rem;
  color: #888;
}

/* 資料の内容 */
.dl-box {
  background: #fff;
  border-radius: 10px;
  padding: 5%;
  box-shadow: 0px 0px 11px 0px rgba(134, 134, 134, 0.4);
  margin-bottom: 6%;
}
.dl-box .title {
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
  position: relative;
  padding-bottom: 3%;
  margin-bottom: 4%;
}
.dl-box .title::after {
  content: "";
  height: 2px;
  width: 40px;
  background: #000;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}
.dl-box .list .item {
  border-bottom: 1px solid #ccc;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  padding-bottom: 2.5%;
  margin: 2.5% 0;
  font-size: 0.9rem;
}
.dl-box .list .item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.dl-box .list .item .icon {
  width: 32px;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  margin-right: 12px;
}
.dl-box .list .item .icon img {
  display: block;
  width: 100%;
}

/* 実績 */
/* achievements.webp は「契約維持率」が白文字なので黒地に載せる（本LPのMVと同じ） */
.dl-proof {
  background: #000;
  border-radius: 10px;
  padding: 5% 6%;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 6%;
}
.dl-proof img {
  width: 130px;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
}
.dl-proof p {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.6;
}
.dl-logos .title {
  font-size: 0.85rem;
  color: #5b5b5b;
  text-align: center;
  margin-bottom: 3%;
}
.dl-logos ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dl-logos li {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  height: 56px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 8px 10px;
}
.dl-logos li img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* フォーム */
.dl-form {
  margin-bottom: 8%;
}
.dl-form .inner {
  background: #fff;
  border-radius: 10px;
  padding: 6% 5%;
  box-shadow: 0px 0px 11px 0px rgba(134, 134, 134, 0.4);
}
.dl-form .form_title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.dl-form .form_title span {
  display: inline-block;
  background: #c70202;
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: middle;
}
.dl-form .form_lead {
  font-size: 0.85rem;
  color: #5b5b5b;
  text-align: center;
  margin-bottom: 14px;
}
.dl-form .form_attention {
  background: #f7f7f7;
  border-radius: 6px;
  font-size: 0.8rem;
  padding: 10px 12px;
  margin-bottom: 16px;
  line-height: 1.6;
}
.dl-form .form_attention a {
  color: #2883ff;
  text-decoration: underline;
}
.dl .hubspot-form--download {
  width: 100%;
  min-height: 600px;
}
.dl .hubspot-form--download [data-hsfc-id="Renderer"] .hsfc-Step .hsfc-Step__Content {
  padding: 0;
}
.dl .hubspot-form--download form.hsfc-Form .hsfc-Row {
  margin-bottom: 10px;
  gap: 16px;
}

/* PC-------------------------------*/
@media screen and (min-width: 767px) {
  .dl .h2_txt {
    margin-bottom: 30px;
  }
  .dl-grid {
    width: 1000px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "top form"
      "btm form";
    -webkit-column-gap: 48px;
    column-gap: 48px;
    -webkit-align-items: start;
    align-items: start;
  }
  .dl-info-top { grid-area: top; }
  .dl-info-btm { grid-area: btm; margin-bottom: 0; }
  .dl-form     { grid-area: form; margin-bottom: 0; }
  .dl-logos li:nth-child(n + 7) {
    display: -webkit-flex;
    display: flex;
  }
  .dl-preview {
    margin-bottom: 36px;
  }
  .dl-cover {
    margin-bottom: 10px;
  }
  .dl-tiles {
    gap: 10px;
  }
  .dl-proof {
    padding: 20px 28px;
  }
  .dl-proof img {
    width: 150px;
  }
  .dl-proof p {
    font-size: 0.85rem;
  }
  .dl-box .list .item {
    font-size: 1rem;
  }
  .dl-box .list .item .icon {
    width: 38px;
  }
  .dl-box {
    padding: 24px 28px;
    margin-bottom: 28px;
  }
  .dl-box .title {
    padding-bottom: 12px;
    margin-bottom: 14px;
  }
  .dl-box .list .item {
    padding-bottom: 10px;
    margin: 10px 0;
  }
  .dl-proof {
    margin-bottom: 28px;
  }
  .dl-logos .title {
    margin-bottom: 10px;
  }
  .dl-logos ul {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .dl-logos li {
    height: 60px;
  }
  .dl-form .inner {
    padding: 28px 28px 24px;
  }
  .dl-form .form_title {
    font-size: 1.3rem;
  }
}
