@charset "UTF-8";

/* ========================================
  common style
======================================== */

.download {
  margin-top: 6rem;
}

.download__list {
  margin-top: 1.8rem;
}

.download__list>li {
  border-bottom: 1px solid #d9d9d9;
}

.download__list>li:first-child {
  border-top: 1px solid #d9d9d9;
}

.download__title {
  font-size: 2rem;
  font-weight: bold;
}

.product__container {
  display: flex;
  gap: 0 2.5rem;
  padding: 1.6rem 3%;
}

.product__info {
  flex: 1 0;
}

.product__name {
  font-size: 1.4rem;
}

.product__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2rem;

  a {
    text-decoration: underline;

    &:hover {
      text-decoration: none;
    }
  }
}

.product__image {
  inline-size: 25%;
  min-inline-size: 100px;
}


.document__list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem 0;
  padding: 1.4rem 3%;
  border-top: 1px solid #d9d9d9;

  a {
    display: inline-block;
    font-size: 1.4rem;
    text-decoration: underline;
    padding-left: 30px;
    --background-props: no-repeat left center / 20px auto;

    &:hover {
      text-decoration: none;
    }

    &[data-file="pdf"] {
      background: url('/business/assets/common/images/icon-pdf.svg') var(--background-props);
    }

    &[data-file="jpg"] {
      background: url('/business/assets/common/images/icon-jpeg.svg') var(--background-props);
    }

    &[data-file="dxf"] {
      background: url('/business/assets/common/images/icon-dxf.svg') var(--background-props);
    }
  }

}

/* ========================================
  tab & pc style
======================================== */

@media screen and (width >=768px) {
  .download {
    margin-top: 8rem;
  }

  .download__container {
    display: flex;
    flex-wrap: wrap;
  }

  .download__title {
    font-size: 2.6rem;
  }

  .download__list {
    margin-top: 3rem;
  }

  .product {
    display: flex;
    place-items: center;
    inline-size: 30%;
    min-inline-size: 370px;
  }

  .product__container {
    gap: 0 2.5rem;
    padding: 2rem 2.5rem 2rem 1.5rem;
  }

  .product__image {
    inline-size: 100px;
  }

  .document {
    flex: 1 0;
  }

  .document__list {
    justify-content: center;
    block-size: 100%;
    padding: 1.4rem 1.5rem 1.4rem 2.5rem;
    border-top: none;
    border-left: 1px solid #d9d9d9;
  }
}