@import url("https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Noto+Sans+JP:wght@300;400;500;700&family=Work+Sans:wght@400;500&display=swap");
.download-archive {
  display: grid;
  gap: 40px 25px;
  margin: 100px auto 120px;
  width: 90%;
  max-width: 1000px;
  grid-auto-rows: -webkit-max-content 1fr -webkit-max-content;
  grid-auto-rows: max-content 1fr max-content;
}
@media screen and (min-width: 768px) {
  .download-archive {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 1300px) {
  .download-archive {
    grid-template-columns: repeat(3, 1fr);
  }
}

.download-item {
  padding: 35px 20px;
  background-color: #ffffff;
  -webkit-box-shadow: rgba(89, 85, 76, 0.3) 0 3px 13px;
          box-shadow: rgba(89, 85, 76, 0.3) 0 3px 13px;
  display: grid;
  grid-template-rows: subgrid;
  gap: 16px;
  grid-row-end: span 3;
}
.download-item__thumb {
  display: block;
  aspect-ratio: 16/9;
}
.download-item__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.download-item__title {
  font-size: 18px;
  font-weight: 500;
}
.download-item__btn {
  width: 90%;
  height: 55px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #ffffff;
  border: 2px #59554C solid;
  position: relative;
  font-family: "Cardo", "Noto Sans JP", serif;
  text-decoration: none;
  margin: 0 auto 0;
  color: #59554C;
}
@media screen and (min-width: 960px) {
  .download-item__btn:hover {
    background-color: #59554C;
    color: #ffffff;
  }
  .download-item__btn:hover::after {
    background-color: #ffffff;
    -webkit-transform: translate(50%, -50%);
            transform: translate(50%, -50%);
  }
}
.download-item__btn::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: #59554C;
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translate(50%, -50%);
          transform: translate(50%, -50%);
}
@media screen and (min-width: 960px) {
  .download-item__btn::after {
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
  }
}