@charset "utf-8";

.home #main {
  padding-top: 0;
}
.home #main #primary #content {
  padding-top: 60px;
}
.home #main .main-image {
  height: 430px;
  padding: 0;
  position: relative;
  top: 80px;
}
.home #main .main-image.mainimg_pc {
  display: none;
}
.home #main .main-image .mainimg {
  width: 35%;
  max-width: 400px;
  min-width: 220px;
  position: absolute;
  top: calc(50% - 40px);
  left: 50%;
  transform: translate(-50%, -50%);
}
.home #main .main-image .backimg_left {
  text-align: left;
  position: absolute;
  top: 2%;
  left: 0;
  width: auto;
  height: 98%;
  z-index: -1;
}
.home #main .main-image .backimg_right {
  text-align: right;
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  z-index: -1;
}
.home #main #primary {
  background-color: #fff;
  margin-top: 30px;
}
.home #main #primary #content article {
  margin: 0 auto;
  padding: 0;
  border: unset;
}

.home .products ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  letter-spacing: unset;
  margin-bottom: 50px;
}
.home .products ul li {
  width: calc(100% / 2 - 10px);
}
.home .products ul li:not(:nth-of-type(2n)) {
  margin-right: 20px;
}
.home .products ul li:nth-of-type(n+3) {
  margin-top: 40px;
}
.home .products ul li a {
  display: block;
  width: 100%;
  color: var(--text-primary);
  height: 100%;
  position: relative;
  padding-bottom: 18px;
}
.home .products ul li .itemimg {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  width: 100%;
  background: radial-gradient(92.16% 86.79% at 30.31% 21.43%, #F8F8F8 60.6%, #EAEAEA 100%);
  padding: 20px 0;
  margin-bottom: 25px;
  overflow: hidden;
}
.home .products ul li .itemimg img {
  -o-object-fit: cover;
  font-family: 'object-fit: cover;';
  object-fit: cover;
  width: auto;
  height: 100%;
  transition: all .5s cubic-bezier(.39,.575,.565,1);
  transform: scale(1.005);
}
.home .products ul li a:hover .itemimg img {
  transform: scale(1.05) !important;
}
.home .products ul li .itemname {
  height: auto;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: "Shippori Mincho", "Yu Mincho","游 明朝","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  line-height: 1.4;
  padding: 0 2px;
  margin-bottom: 7px;
}
.home .products ul li .itemprice {
  height: auto;
  font-size: 1.6rem;
  font-weight: 400;
  text-align: left;
  padding: 0 4px;
  margin-bottom: 15px;
}
.home .products ul li .itemprice .tax {
  font-size: 1.2rem;
  color: var(--text-primary);
}
.home .products ul li .itemsoldout {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 500;
  height: auto;
  margin-left: 2px;
  margin-bottom: 0;
}
.home .products ul li .itemcategory {
  font-size: 1.0rem;
  font-weight: 500;
  color: var(--sub2);
  position: absolute;
  bottom: 0;
}

@media (min-width: 769px) {
  /*  iPad、PC  */
  .home #main .main-image {
	height: 500px;
  }
  
  .home #main #primary #content {
	padding-top: 80px;
  }
  .home .products ul {
	margin-bottom: 80px;
  }
  .home .products ul li a {
	padding-bottom: 30px;
  }
  .home .products ul li .itemimg {
	padding: 30px 0;
  }
  .home .products ul li .itemname {
    font-size: 1.8rem;
	line-height: 1.5;
	margin-bottom: 12px;
  }
  .home .products ul li .itemprice {
    font-size: 2rem;
	margin-bottom: 25px;
  }
  .home .products ul li .itemprice .tax {
	font-size: 1.4rem;
  }
  .home .products ul li .itemsoldout {
    font-size: 1.5rem;
    margin-left: 5px;
  }
  .home .products ul li .itemcategory {
	font-size: 1.2rem;
  }
}
@media (min-width: 1024px) {
  /*  iPad、PC  */
  .home #main .main-image {
    top: 120px;
    height: 600px;
  }
  .home #main .main-image.mainimg_pc {
	display: block;
  }
  .home #main .main-image.mainimg_sp {
	display: none;
  }
  .home #main .main-image .mainimg {
    width: 100%;
    max-width: 702px;
    top: calc(50% - 60px);
  }
  
  .home #main #primary {
    margin-top: 60px;
  }
  .home #main #primary #content {
    padding-top: 100px;
  }
  .home .products ul {
    justify-content: flex-start;
    margin-bottom: 80px;
  }
  .home .products ul li {
    width: calc(100% / 4 - 15px);
  }
  .home .products ul li:not(:nth-of-type(2n)) {
    margin-right: 0;
  }
  .home .products ul li:not(:nth-of-type(4n)) {
    margin-right: 20px;
  }
  .home .products ul li:nth-of-type(n+3){
    margin-top: 0;
  }
  .home .products ul li:nth-of-type(n+5) {
    margin-top: 60px;
  }
}
