@charset "utf-8";

/* default PC */
.products-contents {
  box-sizing: border-box;
  margin: auto;
  max-width: 1200px;
  padding: 70px 0;
  text-align: center;
}

.products-area .product-link:hover {
  opacity: 0.5;
  text-decoration: none;
  transition: 0.5s;
}

.products-contents .product-tab-list {
  align-items: stretch;
  border-bottom: 4px solid #ea5700;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0 0;
  padding: 0;
}

.products-contents .product-tab {
  background-color: #fff;
  color: #ea5700;
  cursor: pointer;
  font-size: 22px;
  margin: 0 10px -4px 10px;
  max-width: 400px;
  padding: 10px 0;
  transition: 0.5s;
  width: calc(50% - 20px);
  border: solid 4px #ea5700;
}

.products-contents .product-tab.begin,
.products-contents .product-tab.active {
  background-color: #ea5700;
  color: #fff;
}

#contents .products-contents .product-tab p {
  margin-bottom: 0;
}

.products-contents .product-tab:hover {
  opacity: 0.5;
  transition: 0.5s;
}

.product-category {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.product-category .product-item {
  height: auto;
  margin-right: 10px;
  margin-top: 35px;
  width: calc(100% / 5 - 10px);
}

.product-category .product-item:nth-child(5n) {
  margin-right: 0;
}

#contents .product-category h3 {
  align-items: center;
  bottom: 0;
  color: #333;
  display: flex;
  font-size: 110%;
  height: 70px;
  justify-content: center;
  margin: 0;
  padding: 10px;
  position: absolute;
}

.product-category .product-item .category-bnr {
  background-color: #ececec;
  display: block;
  height: 100%;
  padding-bottom: 70px;
  position: relative;
  transition: 0.5s;
}

.product-category .product-item .category-bnr:hover {
  opacity: 0.5;
  text-decoration: none;
  transition: 0.5s;
}

.products-area .product-link {
  background-color: #333;
  background-image: url(../image/base/ico_arrow_white.png);
  background-position: calc(100% - 20px) center;
  background-repeat: no-repeat;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-size: 105%;
  margin: 60px auto 0;
  max-width: 420px;
  padding: 13px 0;
  transition: 0.5s;
}

#contents .products-contents h2 {
  margin: 0 0 30px;
  padding-top: 0;
}

#contents h2 .sub-text {
  color: #ea5700;
  display: block;
  font-family: "Roboto";
  font-size: 55%;
  margin-top: 17px;
  width: 100%;
}

#contents .product-category h3::before {
  display: none;
}

.products-area .product-link {
  background-color: #333;
  background-image: url(../image/base/ico_arrow_white.png);
  background-position: calc(100% - 20px) center;
  background-repeat: no-repeat;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-size: 105%;
  margin: 60px auto 0;
  max-width: 420px;
  padding: 13px 0;
  transition: 0.5s;
}

/* view-1140 notePC,Tablet */
@media screen and (max-width: 1140px) {
  .product-category {
    justify-content: center;
  }

  .product-category .product-item {
    height: auto;
    margin-right: 10px;
    margin-top: 35px;
    width: calc(100% / 3 - 10px);
  }

  .product-category .product-item:nth-child(3n) {
    margin-right: 0;
  }

  .product-category .product-item:nth-child(5n) {
    margin-right: 10px;
  }

  .category-thm img {
    width: 100%;
  }

  #contents .product-category h3 {
    font-size: 120%;
  }
}

/* view-959 Mobile,Tablet */
@media screen and (max-width: 959px) {
  #contents .product-category h3 {
    font-size: 120%;
  }

  .products-contents {
    padding: 35px 0 35px 0;
  }

  .product-category {
    justify-content: center;
  }

  .product-category .product-item {
    height: auto;
    margin-right: 10px;
    margin-top: 35px;
    width: calc(100% / 2 - 10px);
  }

  .product-category .product-item:nth-child(3n) {
    margin-right: 10px;
  }

  .product-category .product-item:nth-child(2n) {
    margin-right: 0px;
  }

  #contents .product-category h3 {
    line-height: 20px;
    font-size: 92%;
  }

  .products-area .product-link {
    max-width: 350px;
  }
}

/* view-559 Mobile */
@media screen and (max-width: 559px) {}

/* 559以下はRWD時に崩れがあれば任意で作成 */

@media screen and (max-width: 375px) {
  #contents .product-category h3 {
    font-size: 85%;
  }
}

@media screen and (max-width: 320px) {
  #contents .product-category h3 {
    font-size: 75%;
  }
}