#main{
	margin-top: 70px;
	padding: 0 0 0;
}
.hide{
	display: none;
}
.content{
  margin-bottom:0;
}

/* カテゴリー一覧 *************************/


/* item list */
.collection .boxes {
  width:840px;
  display: flex;
  flex-wrap: wrap;
  margin:0 auto 45px;

}
.collection .box {
    width: 48%;
    min-height:170px;
    margin: 0 1%;
    border: 2px solid #a9a9a9;
    margin-bottom: 20px;
    position: relative;
    border-radius: 0;
    overflow:hidden;
	transition: transform 0.1s linear;
}
.collection .box:nth-child(4n) {
/*  margin-right: 0; */
}
.collection .box.not {
	transform: scale(0);
}

.collection .image {
	padding:10px;
  width: 100%;
  text-align: center;
  /*margin-bottom: 15px;*/
}
.collection .image img {
  max-height: 150px;
  /*max-width:220px;*/
}
.collection .exp {
    min-height:190px;
  width: 100%;
  height:100%;
  line-height: 150%;
  padding: 13px 10px;
  background: #a9a9a9;
  color: #fff;
}
.collection .btn-box{
  text-align: center;
  margin-top:20px;
}
.collection .btn {
  text-align: center;
  cursor: pointer;
  color:#a9a9a9;
  background:#fff;
    display: inline-block;
    border: 1px solid #fff;
    padding: 7px 15px;
    -moz-border-radius: 1px;
    border-radius: 3px;
}

.collection .name {
  margin: 0 auto 10px;
}
.collection .exp .price {
  text-align: center;
}
.collection .bottomline {
  border-top: 1px dotted #ddd;
  padding-top: 30px;
}
.collection .hide {
  display: none;
}


.collection .name {
  text-align: center;
  font-size: 16px;
}

.collection .catch {
  text-align: center;
  margin-bottom: 15px;
  font-size:13px;
}

.collection .name img {
  height: 22px;
  vertical-align: middle;
  margin-right: 5px;
}

.collection .name span {
  vertical-align: middle
}

.collection .name span.icon {
  text-align: center;
}

  .collection .box a{
    display: flex;
    align-items: center;
    height: 100%;
  }

  .collection .exp {
    width: 55%;
	display: flex;
	flex-direction: column;
	justify-content: center;
  }

  .collection .image {
    width: 45%;
  }

  .collection .image img {
/*    height: 30vw; */
height: auto;
    max-width: 100%;
  }
@media screen and (max-width: 1049px){
  .collection .boxes{
    width:100%
  }
}

@media screen and (max-width: 639px) {
  .collection .boxes {
    width: 94%;
    justify-content: space-between;
  }

  .collection .box {
    width: 100%;
    margin:0 0 4%;
  }
  .collection .box a{
    display: flex;
    align-items: center;
  }

  .collection .exp {
    width: 55%;
    height:100%;
  }

  .collection .image {
    width: 45%;
  }

  .collection .image img {
    height: 30vw;
    max-width: 100%;
  }

}

/* new表示 *************************/
.mark-box {
  position: relative;
}

.mark-box:before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 50px 50px 0 0;
  border-color: #f00 transparent transparent transparent;
}

.mark-box:after {
  position: absolute;
  content: "NEW";
  transform: rotate(315deg);
  display: block;
  font-size: 11px;
  white-space: pre;
  color: #fff;
  top: 12px;
  left: 4px;
  text-align: center;
  z-index: 5;
  line-height: 1.2;
}

/* 素材 *************************/
.materials {
  width: 85%;
  max-width: 400px;
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.materials li {
  display: block;
  padding: 0;
  margin: 0 2% 10px;
}

.materials li a {
  display: block;
  font-size: 14px;
}

.materials li a:hover {
  opacity: 0.6;
  transition: 0.3s;
}

.materials li img {
  width: 8vw;
  max-width: 35px;
  vertical-align: middle;
  margin-right: 5px;
  pointer-events: auto;
}

.materials li span {
  display: inline-block;
  vertical-align: middle;
}

@media screen and (min-width: 767px) {
  .materials li img {
    width: 25px;
  }
}

/* item list */
.item-header .item-name{
  margin-bottom:30px;
}
.item-header .item-name img{
  width:8vw;
  max-width:35px;
  vertical-align: middle;
  margin-right:5px;
  pointer-events: auto;
}
.item-header .item-name h2,
.item-header .item-name span.icon{
  display: inline-block;
  vertical-align: middle;
  margin:0;
}
.item-price{
  font-size:15px;
  line-height:2;
}
.item-price span{
  font-size:14px;
}
@media screen and (min-width: 767px){
  .item-header .item-name img{
    width:30px;
  }
}
.select-item-list{
  background: #ddd;
  width:100%;
  padding:50px 0;
}
.select-item-list>h2{
  text-align: center;
  font-size:20px;
  margin-bottom:30px;
}
.select-item-list .item-header .item-name h2{
  font-size:17px;
}
#item-images{
  width: 1050px;
  margin: 0 auto 50px;
}

#item-images .box{
  width:190px;
  margin:0 10px 25px;
  border-radius: 5px;
}
/*#item-images .box:nth-child(4n){
  margin-right:0;
}
*/#item-images .box .image{
  position: relative;
  border-radius:10px;
  background:#fff;
  text-align: center;
  min-height:190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:10px 2vw;
}
#item-images .box img{
  height:170px;
}
.item-name{
  text-align: center;
}
#item-images .box .list_cart{
	position: absolute;
    left: 10px;
    bottom: 7px;
	display: flex;
}
#item-images .box .list_cart input[name=number]{
	margin-right: 5px;
	min-width: 53px;
}
#item-images .box .list_cart .del-message{
	display: none;
}


/* cart */
div.error-box {
  margin: 15px 0;
  text-align: center;
}

div.error {
  display: none;
  color: #f00;
  padding: 4px 0px;
  font-family: sans-serif;
  font-weight: bold;
}
div.error.show {
	display: block;
}
input.error {
  background-color: #ffdfdf;
  border-color: #b94a48;
}

#rem{
	line-height: 150%;
}


#cards{
	display: flex;
}

#cards li{
	padding: 0 3px;
}

#cards img{
	max-width: 100%;
}
