/*-------------------------
  Download（PC）
-------------------------*/
.mainview {
  width: 100%;
  height: 400px;
  margin-top: 80px;
  background-image: url(../../assets/img/download-top-back.jpg);
  background-size: cover;
  background-position: center;
}

.mainview-wrap {
  display: flex;
  text-align: center;
  align-items: center;
  color: #FFF;
}

.mainview-title {
  text-transform: uppercase;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.484;
}

.mainview-title-ja {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.458;
  text-indent: 2em;
  position: relative;
}

.mainview-title-ja::before {
  content: "";
  width: 24px;
  height: 24px;
  background-color: #000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0.5em;
  transform: translate(0, -50%);
}

.download-wrap {
  padding-top: 150px;
  padding-bottom: 150px;
}

.download-text-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.download-text {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.75; 
  margin-bottom: 16px;
}

.download-text-wrap img {
  width: 64px;
  height: 64px;
}

.download-cat-wrap h2 {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
  padding: 8px 0 6px 0;
  position: relative;
  border-bottom: 6px solid #000;
  margin-bottom: 40px;
}

.download-cat-wrap h2::after {
  content: '';
  width: 100px;
  height: 6px;
  background-color: #000;
  position: absolute;
  bottom: -6px;
  left: 0;
}

.download-item-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  margin-bottom: 56px;
}

.download-item-wrap.last-content {
  margin-bottom: 0;
}

.download-item {
  position: relative;
  padding-bottom: 32px;
}

.download-item-date {
  font-family: 'Oswald', sans-serif;
  color: rgba(38, 177, 112, 0.5);
  font-size: 16px;
  font-weight: 500;
}

.download-item-img {
  border-radius: 0px 8px 8px 8px;
  object-fit: cover;
  margin-bottom: 16px;
  transition: all 0.5s;
  width: 100%;
  height: 248px;
}

.download-item-img.hovered {
  opacity: 0.5;
}

.download-item-title {
  color: #333;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.5s;
}

.download-item-title.hovered {
  color: #000;
}

a.js-download-btn {
  border: 1px solid #000;
  padding: 0px 10px;
  color: #000;
  font-size: 14px;
  font-weight: 900;
  transition: all 0.5s;
  pointer-events: auto;
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.download-item a .fa-arrow-right {
  margin-left: 0.25em;
}

a.js-download-btn:hover {
  background-color: #000;
  color: #FFF;
}

/*-------------------------
  Download（タブレット）
-------------------------*/
@media screen and (max-width: 1054px){
  .download-item-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

/*-------------------------
  Download（SP）
-------------------------*/
@media screen and (max-width: 768px){
  .mainview {
    width: 100%;
    height: 250px;
    margin-top: 60px;
  }

  .download-wrap {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .download-item-wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}