/* common */
#contents:not(.home) [role=main] article.product .overview {
  margin-bottom: 4vw;
}
#contents:not(.home) [role=main] article.product .overview .photos {
  margin-bottom: 4vw;
}
#contents:not(.home) [role=main] article.product .overview .photos h2 {
  display: block;
  width: 60vw;
  margin: 0 auto 4vw auto;
  padding: 0;
  background-image: none;
}
#contents:not(.home) [role=main] article.product .overview .photos h2 a {
  width: 100%;
}
#contents:not(.home) [role=main] article.product .overview .photos h2:hover img, #contents:not(.home) [role=main] article.product .overview .photos h2:active img, #contents:not(.home) [role=main] article.product .overview .photos h2:focus img {
  border: 2px solid #c41818;
}
#contents:not(.home) [role=main] article.product .overview .photos h2 img {
  width: 100%;
}
#contents:not(.home) [role=main] article.product .overview .photos ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  list-style-type: none;
}
#contents:not(.home) [role=main] article.product .overview .photos ul li {
  width: 28vw;
  margin-right: 4vw;
}
#contents:not(.home) [role=main] article.product .overview .photos ul li:nth-child(3n) {
  margin-right: 0;
}
#contents:not(.home) [role=main] article.product .overview .photos ul li a:hover img, #contents:not(.home) [role=main] article.product .overview .photos ul li a:active img, #contents:not(.home) [role=main] article.product .overview .photos ul li a:focus img {
  border: 2px solid #c41818;
}
#contents:not(.home) [role=main] article.product .overview .photos ul li img {
  width: 100%;
}
#contents:not(.home) [role=main] article.product .overview .spec h3 {
  margin-bottom: 2vw;
}
#contents:not(.home) [role=main] article.product .overview .spec .price {
  margin-bottom: 4vw;
  padding: 2vw;
  background-color: #f3e9d8;
  border-radius: 20px;
  list-style-type: none;
}
#contents:not(.home) [role=main] article.product .overview .spec .price li:first-child {
  color: #8c8035;
}
#contents:not(.home) [role=main] article.product .overview .spec .price li:nth-child(2) {
  color: #f14d82;
}
#contents:not(.home) [role=main] article.product .overview .spec .price li button {
  width: 100%;
  position: relative;
  margin-top: 2vw;
  padding: 0.8em 1em;
  background-color: #fa8405;
  border: 2px solid #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
  font-size: 1em;
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  opacity: .99;
}
#contents:not(.home) [role=main] article.product .overview .spec .price li button:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 140%;
  height: 100%;
  background-color: #4c1a0a;
  transform-origin: right top;
  transform: skewX(-30deg) scale(0, 1);
  transition: transform .3s;
  z-index: -1;
}
#contents:not(.home) [role=main] article.product .overview .spec .price li button:hover:after, #contents:not(.home) [role=main] article.product .overview .spec .price li button:active:after, #contents:not(.home) [role=main] article.product .overview .spec .price li button:focus:after {
  transform-origin: left top;
  transform: skewX(-30deg) scale(1, 1);
}
#contents:not(.home) [role=main] article.product .overview .spec .sns {
  margin-bottom: 4vw;
  list-style-type: none;
}
#contents:not(.home) [role=main] article.product .overview .spec .sns li {
  display: inline-block;
  height: 20px;
  max-width: 110px !important;
  overflow: hidden;
  padding-right: 10px;
  line-height: 20px;
}
#contents:not(.home) [role=main] article.product .overview .spec .sns li img {
  height: 100%;
}
#contents:not(.home) [role=main] article.product .overview .spec .inform {
  margin-bottom: 4vw;
  list-style-type: none;
  font-size: 0.9em;
}
#contents:not(.home) [role=main] article.product .detail {
  margin-bottom: 4vw;
}
#contents:not(.home) [role=main] article.product .detail ul {
  margin-left: 4vw;
}
#contents:not(.home) [role=main] article.product .product_bottom .spec .price {
  margin-bottom: 4vw;
  padding: 2vw;
  background-color: #f3e9d8;
  border-radius: 20px;
  list-style-type: none;
}
#contents:not(.home) [role=main] article.product .product_bottom .spec .price li:first-child {
  color: #8c8035;
}
#contents:not(.home) [role=main] article.product .product_bottom .spec .price li:nth-child(2) {
  color: #f14d82;
}
#contents:not(.home) [role=main] article.product .product_bottom .spec .price li button {
  width: 100%;
  position: relative;
  margin-top: 2vw;
  padding: 0.8em 1em;
  background-color: #fa8405;
  border: 2px solid #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
  font-size: 1em;
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  opacity: .99;
}
#contents:not(.home) [role=main] article.product .product_bottom .spec .price li button:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 140%;
  height: 100%;
  background-color: #4c1a0a;
  transform-origin: right top;
  transform: skewX(-30deg) scale(0, 1);
  transition: transform .3s;
  z-index: -1;
}
#contents:not(.home) [role=main] article.product .product_bottom .spec .price li button:hover:after, #contents:not(.home) [role=main] article.product .product_bottom .spec .price li button:active:after, #contents:not(.home) [role=main] article.product .product_bottom .spec .price li button:focus:after {
  transform-origin: left top;
  transform: skewX(-30deg) scale(1, 1);
}
#contents:not(.home) [role=main] article.product .product_bottom .spec .sns {
  margin-bottom: 4vw;
  list-style-type: none;
}
#contents:not(.home) [role=main] article.product .product_bottom .spec .sns li {
  display: inline-block;
  height: 20px;
  max-width: 110px !important;
  overflow: hidden;
  padding-right: 10px;
  line-height: 20px;
}
#contents:not(.home) [role=main] article.product .product_bottom .spec .sns li img {
  height: 100%;
}
#contents:not(.home) [role=main] article.product .product_bottom .spec .inform {
  margin-bottom: 4vw;
  list-style-type: none;
  font-size: 0.9em;
}
#contents:not(.home) [role=main] article.product .supplement .attention {
  margin-left: 1em;
  list-style-type: none;
  font-size: 0.9em;
}
#contents:not(.home) [role=main] article.product .supplement .attention li {
  text-indent: -1em;
}
#contents:not(.home) [role=main] article.product .supplement .attention li:before {
  content: "\0274b";
  color: #c41818;
}

/* tablet */
@media screen and (min-width: 668px) {
  #contents:not(.home) [role=main] article.product .overview {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 40vw 1fr;
    grid-template-columns: 40vw 1fr;
    -ms-grid-rows: 1fr;
    grid-template-rows: 1fr;
  }
  #contents:not(.home) [role=main] article.product .overview .photos {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1/2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
  }
  #contents:not(.home) [role=main] article.product .overview .photos h2 {
    width: 40vw;
    margin: 0 0 10px 0;
    padding: 0;
    background-image: none;
  }
  #contents:not(.home) [role=main] article.product .overview .photos h2 img {
    width: 100%;
  }
  #contents:not(.home) [role=main] article.product .overview .photos ul {
    margin-bottom: 0;
    list-style-type: none;
  }
  #contents:not(.home) [role=main] article.product .overview .photos ul li {
    width: 12.66vw;
    margin-right: 4vw;
  }
  #contents:not(.home) [role=main] article.product .overview .photos ul li:last-child {
    margin-right: 0;
  }
  #contents:not(.home) [role=main] article.product .overview .photos ul li img {
    width: 100%;
  }
  #contents:not(.home) [role=main] article.product .overview .spec {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
    margin-left: 40px;
  }
  #contents:not(.home) [role=main] article.product .overview .spec .price {
    margin-bottom: 2vw;
  }
  #contents:not(.home) [role=main] article.product .overview .spec .sns {
    margin-bottom: 2vw;
  }
  #contents:not(.home) [role=main] article.product .overview .spec .inform {
    margin-bottom: 2vw;
  }
  #contents:not(.home) [role=main] article.product .product_bottom .spec .price {
    margin-bottom: 2vw;
  }
  #contents:not(.home) [role=main] article.product .product_bottom .spec .sns {
    margin-bottom: 2vw;
  }
  #contents:not(.home) [role=main] article.product .product_bottom .spec .inform {
    margin-bottom: 2vw;
  }
}
/* pc */
@media screen and (min-width: 1200px) {
  #contents:not(.home) [role=main] article.product h1 {
    font-size: 24px;
  }
  #contents:not(.home) [role=main] article.product .overview {
    -ms-grid-columns: 300px 1fr;
    grid-template-columns: 300px 1fr;
    margin-bottom: 40px;
  }
  #contents:not(.home) [role=main] article.product .overview .photos {
    margin-bottom: 0;
  }
  #contents:not(.home) [role=main] article.product .overview .photos h2 {
    width: 300px;
    margin-bottom: 10px;
  }
  #contents:not(.home) [role=main] article.product .overview .photos h2 a {
    width: 100%;
  }
  #contents:not(.home) [role=main] article.product .overview .photos ul li {
    width: 93.33px;
    margin-right: 20px;
  }
  #contents:not(.home) [role=main] article.product .overview .spec {
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-column: 2/3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1/2;
    margin-left: 40px;
  }
  #contents:not(.home) [role=main] article.product .overview .spec h3 {
    margin-bottom: 20px;
  }
  #contents:not(.home) [role=main] article.product .overview .spec .price {
    margin-bottom: 20px;
    padding: 10px;
  }
  #contents:not(.home) [role=main] article.product .overview .spec .price li button {
    margin-top: 20px;
  }
  #contents:not(.home) [role=main] article.product .overview .spec .sns {
    margin-bottom: 20px;
  }
  #contents:not(.home) [role=main] article.product .overview .spec .inform {
    margin-bottom: 20px;
  }
  #contents:not(.home) [role=main] article.product .detail {
    margin-bottom: 40px;
  }
  #contents:not(.home) [role=main] article.product .detail ul {
    margin-left: 1em;
  }
  #contents:not(.home) [role=main] article.product .product_bottom .spec .price {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f3e9d8;
  }
  #contents:not(.home) [role=main] article.product .product_bottom .spec .price li button {
    margin-top: 20px;
  }
  #contents:not(.home) [role=main] article.product .product_bottom .spec .sns {
    margin-bottom: 20px;
  }
  #contents:not(.home) [role=main] article.product .product_bottom .spec .inform {
    margin-bottom: 20px;
  }
  #contents:not(.home) [role=main] article.product .supplement .attention {
    margin-left: 1em;
    list-style-type: none;
    font-size: 0.9em;
  }
  #contents:not(.home) [role=main] article.product .supplement .attention li {
    text-indent: -1em;
  }
  #contents:not(.home) [role=main] article.product .supplement .attention li:before {
    content: "\0274b";
    color: #c41818;
  }
}
