.download {
  font-feature-settings: "palt";
}

.download-head {
  padding: 34px 0 60px;
}
.download-head__txt {
  max-width: 1124px;
  color: #242424;
  letter-spacing: 0.06em;
  line-height: 2;
  margin: 0 auto 64px;
  text-align: center;
}
.download-head__txt img {
  display: inline-block;
  line-height: 2;
  font-size: 16px;
  margin: 0 2px;
  vertical-align: middle;
}
@media screen and (max-width: 750px) {
  .download-head {
    padding: 25px 0;
  }
  .download-head__txt {
    font-size: 15px;
    letter-spacing: 0.06em;
    margin-bottom: 44px;
    text-align: left;
  }
  .download-head__txt img {
    font-size: 15px;
  }
}

.license-menu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  -moz-column-gap: 80px;
       column-gap: 80px;
  z-index: 1;
}
.license-menu__cat {
  flex: 50%;
  max-width: 560px;
  background: #f5f5f5;
  padding: 0 20px 38px;
}
.license-menu__cat-ttl {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: -20px 0 24px;
  text-align: center;
}
@media screen and (max-width: 959px) {
  .license-menu {
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
}
@media screen and (max-width: 750px) {
  .license-menu {
    flex-direction: column;
    row-gap: 35px;
  }
  .license-menu__cat {
    width: 100%;
    padding: 0 20px 20px;
  }
  .license-menu__cat-ttl {
    margin-bottom: 2px;
  }
}

.license-pull-down {
  position: relative;
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background: #fff;
  color: #3b3b3b;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.license-pull-down__disp {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 50px;
  border: solid 1px #3ecc31;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  padding: 0 28px;
  cursor: pointer;
}
.license-pull-down__disp::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 49px;
  height: 100%;
  background: #3ecc31;
  pointer-events: none;
}
.license-pull-down__disp::after {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-right: solid 2px #ffeb00;
  border-bottom: solid 2px #ffeb00;
  margin: auto;
  transform: rotate(45deg) translate(-2px, -2px);
}
.license-pull-down__list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 1;
}
.license-pull-down__list input[type=radio] {
  display: none;
}
.license-pull-down__list label {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 50px;
  border: solid 1px #3ecc31;
  border-top: none;
  padding: 0 28px;
  transition: 0.2s;
  cursor: pointer;
}
.license-pull-down__list label::after {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-right: solid 2px #36b02b;
  border-bottom: solid 2px #36b02b;
  margin: auto;
  transform: rotate(-45deg);
  transition: 0.2s;
}
.license-pull-down__list label:hover {
  background: #edfaeb;
}
.license-pull-down__list label:hover::after {
  right: 15px;
}
.license-pull-down.open .license-pull-down__list {
  opacity: 1;
  visibility: visible;
}
@media screen and (max-width: 750px) {
  .license-pull-down {
    height: auto;
    transition: 0.2s;
  }
  .license-pull-down__disp {
    height: 41px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    padding: 0 21px;
  }
  .license-pull-down__disp::before {
    width: 40px;
  }
  .license-pull-down__disp::after {
    right: 15px;
    width: 7px;
    height: 7px;
  }
  .license-pull-down__list {
    position: relative;
    height: 0;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
    transform: scaleY(0);
    opacity: 1;
    visibility: visible;
    transform-origin: top;
  }
  .license-pull-down__list label {
    height: 41px;
    font-size: 14px;
    padding: 0 21px;
  }
  .license-pull-down__list label::after {
    right: 15px;
    width: 7px;
    height: 7px;
  }
  .license-pull-down.open .license-pull-down__list {
    height: auto;
    transform: scaleY(1);
  }
}

.download-licenses {
  background: #f5f5f5;
  padding: 80px 0;
}
.download-licenses__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, 275px);
  gap: 30px 33.3333333333px;
  justify-content: center;
}
@media screen and (max-width: 750px) {
  .download-licenses {
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 20px 0;
  }
  .download-licenses__list {
    grid-template-columns: 100%;
    row-gap: 15px;
  }
}

.license-item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  padding: 60px 20px 20px;
}
.license-item__area {
  position: absolute;
  top: 15px;
  left: -10px;
  display: block;
  min-width: 140px;
  background: linear-gradient(to left, #4dc810, #009220);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 11px 2px 12px;
  text-align: center;
  white-space: nowrap;
}
.license-item__area::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  border-top: solid 5px #005813;
  border-right: solid 5px #005813;
  border-bottom: solid 5px transparent;
  border-left: solid 5px transparent;
}
.license-item__thumb {
  text-align: center;
  margin-bottom: 9px;
}
.license-item__name {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 6px;
  text-align: center;
}
.license-item__name .line {
  width: 100%;
}
.license-item__term {
  color: #888;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 11px;
  word-break: normal;
  text-align: center;
}
.license-item__download {
  display: block;
  width: 100%;
  background: #edfaeb url(../img/download/icon-dl_g.png) right 23px center/20px 20px no-repeat;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  color: #36b02b;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: auto;
  padding: 6px 30px;
  transition: 0.2s;
}
.license-item__download:hover {
  background-color: #feeb34;
  background-image: url(../img/download/icon-dl_b.png);
  color: #222;
}
@media screen and (max-width: 750px) {
  .license-item {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 14px 20px 17.5px;
  }
  .license-item__area {
    position: relative;
    top: -14px;
    left: -20px;
    flex: 0 0 calc(100% + 40px);
    font-size: 18px;
    padding: 0;
  }
  .license-item__area::after {
    content: none;
  }
  .license-item__thumb {
    flex: 0 0 70px;
    height: 100px;
    margin-bottom: 0;
  }
  .license-item__txt {
    flex: 0 0 calc(100% - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 0 4px 11px;
  }
  .license-item__name {
    font-size: 16px;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
    text-align: left;
  }
  .license-item__term {
    font-size: 13px;
    letter-spacing: 0.06em;
    margin-bottom: 0;
    text-align: left;
  }
  .license-item__download {
    width: 100%;
    background-position: right 32px center;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
    font-size: 15px;
    letter-spacing: 0.04em;
    margin-top: 14px;
    padding: 3px 7% 7px 0;
    text-align: center;
  }
}

.download-bottom {
  padding: 80px 0;
}
@media screen and (max-width: 750px) {
  .download-bottom {
    padding: 40px 0 0;
  }
}

.download-noposts {
  text-align: center;
}
