@charset "utf-8";

/* =========================================================
   Jasmy Secure PC
   資料ダウンロード
========================================================= */

.download-page {
  width: 100%;
  background: #fff;
}

/* =========================================================
   ページタイトル
========================================================= */

.download-page-title {
  width: 100%;
  background: #fff0df;
}

.download-page-title-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 42px 40px 44px;
}

.download-page-title h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
}

/* =========================================================
   メイン
========================================================= */

.download-section {
  width: 100%;
}

.download-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px 0px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 590px);
  gap: 60px;
  /*align-items: start;*/
}

/* =========================================================
   左：資料紹介
========================================================= */

.download-info {
  padding-top: 0;
}

.download-info h2 {
  margin: 0 0 20px;

  color: var(--color-primary);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.4;
}

.download-description {
  margin: 0;

  font-size: 17px;
  line-height: 2;
  color: #111;
}

/* 商品画像 */

.download-product-image {
  width: 100%;
  margin: 25px 0 25px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.download-product-image img {
  display: block;
  width: auto;
  max-width: 270px;
  height: auto;
}

/* =========================================================
   こんなお客様に
========================================================= */

.download-target {
  margin-top: 10px;
  padding: 22px 28px 24px;

  background: #fff3e5;
}

.download-target h3 {
  margin: 0 0 10px;

  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
}

.download-target ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.download-target li {
  position: relative;

  margin: 7px 0;
  padding-left: 15px;

  font-size: 16px;
  line-height: 1.6;
  color: #111;
}

.download-target li::before {
  content: "・";

  position: absolute;
  left: 0;
  top: 0;
}

/* =========================================================
   右：フォーム
========================================================= */

.download-form-wrap {
  width: 100%;

  border: 2px solid #111;
  box-sizing: border-box;
  border-radius: 5px;

  padding: 62px 50px 55px;
}

/* フォーム見出し */

.download-form-head {
  margin-bottom: 40px;
}

.download-form-head h2 {
  margin: 0;

  text-align: center;

  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
}

.download-form-head p {
  margin: 10px 0 0;

  text-align: right;

  font-size: 14px;
  color: #000;
}

.download-form-head .required-mark {
  color: var(--color-primary);
}

/* =========================================================
   フォーム項目
========================================================= */

.download-form-wrap .contact-form-list {
  width: 100%;
}

.download-form-wrap .contact-form-item {
  margin-bottom: 22px;
}

.download-form-wrap .contact-form-item > label {
  display: block;

  margin-bottom: 7px;

  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #111;
}

/* 必須 */

.download-form-wrap .required {
  display: inline-block;

  margin-left: 5px;

  color: var(--color-primary);
  font-size: 15px;
  font-weight: 700;
}

/* 入力欄 */

.download-form-wrap input[type="text"],
.download-form-wrap input[type="email"] {
  width: 100%;
  height: 56px;

  padding: 0 16px;

  box-sizing: border-box;

  border: 1px solid #d8d8d8;
  border-radius: 4px;

  background: #fff;

  font-family: inherit;
  font-size: 15px;
  color: #111;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.download-form-wrap input::placeholder {
  color: #ddd;
}

.download-form-wrap input:focus {
  border-color: #aaa;
}

/* Formrunエラー */

.download-form-wrap input.formrun-has-error {
  border-color: #e60000 !important;
  background: #fffafa;
}

/* =========================================================
   個人情報同意
========================================================= */

.download-form-wrap .contact-form-privacy {
  margin-top: 32px;
  margin-bottom: 28px;
}

.download-form-wrap .privacy-agree {
  display: flex !important;
  align-items: center;

  width: fit-content;
  margin: 0 auto;

  cursor: pointer;
}

.download-form-wrap .privacy-agree input {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
}

/* チェックボックス */

.download-form-wrap .privacy-check {
  position: relative;

  flex: 0 0 auto;

  width: 23px;
  height: 23px;

  margin-right: 8px;

  background: #fff;

  border: 1px solid #111;
  box-sizing: border-box;
}

/* チェック済み */

.download-form-wrap .privacy-agree input:checked + .privacy-check {
  background: #000;
}

.download-form-wrap .privacy-agree input:checked + .privacy-check::after {
  content: "";

  position: absolute;

  left: 6px;
  top: 2px;

  width: 7px;
  height: 12px;

  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;

  transform: rotate(45deg);
}

/* 同意文 */

.download-form-wrap .privacy-agree-text {
  font-size: 16px;
  line-height: 1.5;
  color: #111;
}

/* checkboxエラー */

.download-form-wrap .privacy-agree input.formrun-has-error + .privacy-check {
  border: 2px solid #e60000;
}

/* 個人情報保護方針 */

.download-form-wrap .privacy-policy-link {
  margin: 8px 0 0;

  text-align: center;

  font-size: 13px;
  line-height: 1.5;
  color: #111;
}

.download-form-wrap .privacy-policy-link a {
  color: #111;
  text-decoration: underline;
}

/* =========================================================
   エラーメッセージ
========================================================= */

.contact-form-item > .form-error {
  grid-column: 3;
  /*grid-row: 2;*/

  margin: 4px 0 0;

  color: #e04b4b;

  font-size: 14px;
  line-height: 1.4;
}

.form-error-center {
  text-align: center;
}

/* 入力欄を赤枠にする */
.formrun input.formrun-has-error,
.formrun select.formrun-has-error,
.formrun textarea.formrun-has-error {
  border: 2px solid #e60000 !important;
  background-color: #fff5f5;
}

/* =========================================================
   送信ボタン
========================================================= */

.download-form-wrap .contact-form-submit {
  margin-top: 30px;

  text-align: center;
}

.download-form-wrap .contact-form-submit button {
  position: relative;

  display: block;

  width: 100%;
  max-width: 430px;
  height: 64px;

  margin: 0 auto;

  border: none;
  border-radius: 4px;

  background: #000;
  color: #fff;

  font-family: inherit;
  font-size: 20px;
  font-weight: 500;

  cursor: pointer;

  transition: opacity 0.2s ease;
}

.download-form-wrap .contact-form-submit button:hover {
  opacity: 0.75;
}

.download-form-wrap .contact-form-submit button span {
  position: absolute;

  right: 20px;
  top: 50%;

  transform: translateY(-50%);

  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

/* =========================================================
   Formrun bot対策
========================================================= */

.download-form-wrap ._formrun_gotcha {
  position: absolute !important;

  width: 1px;
  height: 1px;

  overflow: hidden;
}

/* =========================================================
   SP
========================================================= */

@media screen and (max-width: 768px) {
  /* ページタイトル */

  .download-page-title-inner {
    padding: 10px 20px 10px;
  }

  .download-page-title h1 {
    font-size: 22px;
    line-height: 1.5;
  }

  /* メイン */

  .download-inner {
    display: flex;
    flex-direction: column;

    gap: 45px;

    width: 100%;
    box-sizing: border-box;

    padding: 55px 20px 60px;
  }

  /* 左コンテンツ */

  .download-info {
    width: 100%;
  }

  .download-info h2 {
    margin-bottom: 18px;

    font-size: 30px;
    line-height: 1.45;
  }

  .download-description {
    font-size: 14.5px;
    line-height: 1.7;
  }

  /* 商品画像 */

  .download-product-image {
    margin: 25px 0 25px;
  }

  .download-product-image img {
    max-width: 210px;
  }

  /* こんなお客様に */

  .download-target {
    margin-top: 15px;
    padding: 20px;
  }

  .download-target h3 {
    font-size: 21px;
  }

  .download-target li {
    font-size: 14px;
  }

  /* フォーム */

  .download-form-wrap {
    width: 100%;

    padding: 40px 22px 40px;

    border-width: 2px;
  }

  .download-form-head {
    margin-bottom: 30px;
  }

  .download-form-head h2 {
    font-size: 20px;
  }

  .download-form-head p {
    font-size: 13px;
  }

  /* 項目 */

  .download-form-wrap .contact-form-item {
    margin-bottom: 20px;
  }

  .download-form-wrap .contact-form-item > label {
    font-size: 15px;
  }

  .download-form-wrap input[type="text"],
  .download-form-wrap input[type="email"] {
    height: 52px;

    font-size: 14px;
  }

  /* 同意 */

  .download-form-wrap .privacy-agree {
    align-items: flex-start;
  }

  .download-form-wrap .privacy-check {
    width: 21px;
    height: 21px;
    margin-top: 1px;
  }

  .download-form-wrap .privacy-agree-text {
    font-size: 14px;
  }

  .download-form-wrap .privacy-policy-link {
    font-size: 12px;
  }

  /* ボタン */

  .download-form-wrap .contact-form-submit {
    margin-top: 28px;
  }

  .download-form-wrap .contact-form-submit button {
    height: 58px;

    font-size: 18px;
  }
}

.footer {
  margin-top: 0;
}

/* -------------------------------------
   戻るボタン
------------------------------------- */

/* 入力画面に戻る */
.contact-form-back {
  display: block;
  width: 100%;
  max-width: 430px;
  height: 50px;
  margin: 20px auto 0;
  padding: 10px;

  box-sizing: border-box;

  background: #fff;
  border: 1px solid #0066bf;
  border-radius: 4px;
  color: #0066bf !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;

  text-decoration: none !important;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.contact-form-back:hover {
  background: #0066bf;
  color: #fff !important;
  text-decoration: none !important;
}

/* -------------------------------------
   SP
------------------------------------- */

@media screen and (max-width: 767px) {
  .contact-form-back {
    width: 100%;
    height: 50px;
    margin-top: 16px;
    padding: 14px 20px;

    font-size: 15px;
  }

  body:has(main.download-page) .pagetop {
    bottom: 20px !important;
  }
}

/* ========================================
   Formrun 確認画面：入力欄を操作不可
   ======================================== */

.download-form-wrap:has(.contact-form-back.formrun-system-show) input,
.download-form-wrap:has(.contact-form-back.formrun-system-show) select,
.download-form-wrap:has(.contact-form-back.formrun-system-show) textarea {
  pointer-events: none;
  background-color: #f5f5f5;
  cursor: default;
}

/* ========================================
   資料ダウンロード完了ページ
======================================== */

.download-thanks-page {
  width: 100%;
}

.download-thanks-section {
  width: 100%;
  padding: 80px 20px 0px;
  box-sizing: border-box;
}

.download-thanks-inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

/* ========================================
   資料紹介
======================================== */

.download-thanks-inner .download-info {
  width: 100%;
  text-align: center;
}

/* -------------------------------------
   タイトル
------------------------------------- */

.download-thanks-inner .download-info h2 {
  margin: 0;

  color: var(--color-primary);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
}

/* -------------------------------------
   説明文
------------------------------------- */

.download-thanks-inner .download-description {
  max-width: 680px;
  margin: 30px auto 0;

  color: #333;
  font-size: 16px;
  line-height: 2;
  text-align: left;
}

/* -------------------------------------
   商品画像
------------------------------------- */

.download-thanks-inner .download-product-image {
  margin: 45px auto 0;
  text-align: center;
}

.download-thanks-inner .download-product-image img {
  display: block;

  width: auto;
  max-width: 100%;
  max-height: 420px;

  margin: 0 auto;
}

/* -------------------------------------
   こんなお客様に
------------------------------------- */

.download-thanks-inner .download-target {
  max-width: 680px;
  margin: 45px auto 0;

  text-align: left;
}

.download-thanks-inner .download-target h3 {
  margin: 0 0 20px;

  color: #000;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
}

.download-thanks-inner .download-target ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.download-thanks-inner .download-target li {
  position: relative;

  margin: 12px 0;
  padding-left: 22px;

  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.download-thanks-inner .download-target li::before {
  content: "●";

  position: absolute;
  top: 0;
  left: 0;

  color: #000;
  font-size: 10px;
}

/* ========================================
   PDFダウンロードボタン
======================================== */

.download-thanks-button-wrap {
  margin-top: 55px;

  text-align: center;
}

.download-thanks-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 360px;
  height: 60px;

  margin: 0 auto;
  padding: 0 30px;

  box-sizing: border-box;

  background: #0066bf;
  border-radius: 4px;

  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;

  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.download-thanks-button:hover {
  background: #00549d;
  color: #fff !important;
  opacity: 0.9;
}

/* ========================================
   SP
======================================== */

@media screen and (max-width: 767px) {
  .download-thanks-section {
    padding: 50px 20px 70px;
  }

  .download-thanks-inner {
    max-width: 100%;
  }

  /* タイトル */

  .download-thanks-inner .download-info h2 {
    font-size: 24px;
    line-height: 1.6;
  }

  /* 説明 */

  .download-thanks-inner .download-description {
    margin-top: 24px;

    font-size: 14px;
    line-height: 1.9;
  }

  /* 商品画像 */

  .download-thanks-inner .download-product-image {
    margin-top: 35px;
  }

  .download-thanks-inner .download-product-image img {
    max-height: 320px;
  }

  /* こんなお客様に */

  .download-thanks-inner .download-target {
    margin-top: 35px;
  }

  .download-thanks-inner .download-target h3 {
    margin-bottom: 15px;

    font-size: 19px;
  }

  .download-thanks-inner .download-target li {
    margin: 10px 0;
    padding-left: 20px;

    font-size: 14px;
    line-height: 1.7;
  }

  /* ダウンロードボタン */

  .download-thanks-button-wrap {
    margin-top: 40px;
  }

  .download-thanks-button {
    max-width: 100%;
    height: 55px;

    font-size: 16px;
  }
}
