﻿#download-form,
#trial-form {
  width: 660px;
  margin: auto;
  padding: 50px 60px;
  box-sizing: border-box;
  background-color: #fff;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  box-shadow: 0px 0px 20px #dae0ec;
}

@media screen and (min-width:781px) {

  #download-form,
  #trial-form {
    max-width: 570px;
    margin: 0;
    padding: 60px;
    box-shadow: 0px 0px 30px #dae0ec;
  }
}

.form-wrap {
  display: grid;
  gap: 80px;
  width: 660px;
  margin: auto;
  padding-top: 90px;
  padding-bottom: 120px;
}

.form-column {
  font-size: 28px;
  font-weight: 500;
  line-height: calc(50/28);
}

.form-hl {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
}

.form-hl h2,
.form-hl p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.form-repoeasy-logo {
  width: 540px;
  margin-top: 40px;
  margin-bottom: 30px;
}

.form-image-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.form-image {
  border: 1px solid #9eaec9;
  box-shadow: 0px 0px 20px #dae0ec;
}

.form-lead {
  margin-top: 0;
  margin-bottom: 50px;
  font-size: 32px;
  font-weight: 500;
  line-height: calc(66/32);
  text-align: center;
}

.form-lead b {
  color: #36549e;
  font-weight: 700;
  border-bottom: 2px solid #36549e;
}

.form-list {
  border-radius: 12px;
  background-color: #e4e9f4;
  overflow: hidden;
}

.form-list-hl {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 120px;
  margin-top: 0;
  margin-bottom: 0;
  background-color: #c8d2ea;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.form-list-hl:after {
  content: "";
  display: block;
  width: 45px;
  height: 30px;
  background-color: #c8d2ea;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 80%);
  clip-path: polygon(0 0, 100% 0%, 50% 100%);
}

.form-list:not(:last-child) {
  margin-bottom: 60px;
}

.form-list p {
  width: 540px;
  margin: auto;
  padding: 50px;
}

.form-list .form-sup {
  padding: 0 50px 50px;
  font-size: 24px;
  line-height: calc(48/24);
}

.form-list ul {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  grid-template-rows: repeat(3, max-content);
  grid-auto-flow: column;
  gap: 20px 40px;
  list-style-type: none;
  width: 540px;
  margin: auto;
  padding: 50px;
}

.form-list ul li {
  padding-left: 50px;
  background-image: url("../img/form/check.png");
  background-position: left 8px;
  background-repeat: no-repeat;
  background-size: 29px;
  font-size: 28px;
  line-height: calc(45/28);
}

@media screen and (min-width: 781px) {
  .form-wrap {
    display: grid;
    grid-template-columns: 470px 570px;
    gap: 60px;
    width: 1100px;
    margin: auto;
    padding-top: 90px;
    padding-bottom: 120px;
  }

  .form-column {
    font-size: 18px;
  }

  .form-hl {
    margin-bottom: 50px;
  }

  .form-hl h2 {
    font-size: 20px;
  }

  .form-hl p {
    font-size: 24px;
  }

  .form-repoeasy-logo {
    width: 340px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .form-image-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
  }

  .form-image {
    width: 345px;
  }

  .form-image:nth-of-type(1) {
    margin-right: auto;
  }

  .form-image:nth-of-type(2) {
    margin-left: auto;
  }

  .form-lead {
    font-size: 18px;
  }

  .form-list-hl {
    width: 100%;
    height: 80px;
    font-size: 24px;
  }

  .form-list-hl:after {
    width: 25px;
    height: 20px;
  }

  .form-list:not(:last-child) {
    margin-bottom: 30px;
  }

  .form-list p {
    width: 410px;
    padding: 40px 30px;
    font-size: 16px;
  }

  .form-list .form-sup {
    padding: 0 40px 30px;
    font-size: 14px;
  }

  .form-list ul {
    gap: 20px 40px;
    width: 410px;
    padding: 40px 30px;
  }

  .form-list ul li {
    padding-left: 35px;
    background-image: url("../img/form/check.png");
    background-position: left top;
    background-size: 24px;
    font-size: 16px;
  }
}


.form-thanks {
  margin-top: 50px;
  padding-bottom: 50px;
  margin-bottom: 0;
  font-size: 24px;
  letter-spacing: 0.05em;
  line-height: calc(50/28);
  text-align: center;
}


@media screen and (min-width: 781px) {
  .form-thanks {
    margin-top: 50px;
    margin-bottom: 60px;
    padding-bottom: 0;
    font-size: 20px;
  }
}