@charset "utf-8";
/* CSS Document */
body {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}

/*画像スタイル*/
div.img {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 2%;
  margin-top: 2%;
}

div.img img {
  width: 100%;
}

div.img > div#mainImage {
  width: 45%;
}

div.img > div#imageList {
  width: 50%;
}

div#imageList ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

div#imageList ul > li {
  width: 18%;
  margin: 1% 1%;
}

div#imageList ul > li:hover {
  opacity: 0.7;
}

#imageList img {
  object-fit: cover;
}

/*画像スタイル*/

/*基本スペック*/
div.spec > div {
  width: 90%;
  margin: 1% auto;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

div.spec > div > div {
  display: flex;
  margin: 20px 10px;
  width: 100%;
  align-items: flex-end;
}

div.spec > div > div > div {
}

div.spec > div > div > div:nth-child(odd) {
  border-bottom: 2px solid #8d0000;
  flex: 0 1 30%;
}

div.spec > div > div > div:nth-child(even) {
  border-bottom: 2px solid #afafaf;
  flex: 0 2 70%;
}

div.price {
  font-size: 14px;
}

h2 {
  font-weight: 300 !important;
}

/*基本スペック*/


/*リンク先スタイル※スペック内に内包*/
div.shopLink {
  width: 70% !important;
  margin: 0 auto;
  align-items: center;
  border: 1px solid #afafaf;
  position: relative;
  justify-content: center !important;
}

div.shopLink a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.3s ease-in-out;
  background: #FFF;
  opacity: 0;
}

div.shopLink a:hover {
  opacity: 0.4;
  border: none;
}

div.shopLink > div:nth-child(odd) {
  flex: 0 0 65%;
  padding: 1px;
  text-decoration: underline;
}

div.shopLink > div:nth-child(even) {
  background: #8d0000;
  display: block;
  flex: 0 0 25%;
  color: #FFF;
  text-align: center;
  border-radius: 10px;
  padding: 1% 1%;
}

div.shopLink > div:nth-child(even)::after {
  content: "";
  display: inline-block;
  background-image: url("../img/check.png");
  width: 20px;
  height: 20px;
  background-size: contain;
  vertical-align: sub;
}

/*リンク先スタイル*/

/*スペック詳細*/
div.spec > table {
  border-spacing: 0;
  border-collapse: collapse;
  width: 90%;
  margin: 0 auto;
  font-size: 16px;
}

table td {
  border: 1px solid #afafaf;
  padding: 1%;
}

table td:nth-child(odd) {
  width: 40%;
}

/*スペック詳細*/

/*サイズバリエーション*/
div.size {
  width: 90%;
  display: flex;
  justify-content: center;
  margin: 2% auto;
}

div.size img {
  width: 100%;
}

div.size > div {
  margin: 0 40px;
  text-align: center;
  font-size: 14px;
  position: relative;
}

div.size > div a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFF;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

div.size > div a:hover {
  opacity: 0.4;
  border: none;
}

section.shop-info {
  margin: 0 auto;
  width: 100%;
  align-items: center;
  text-align: center;
}

div.set-variation-wrapper > div {
  width: 90%;
  margin: 1% auto;
  justify-content: space-between;
  font-size: 16px;
  text-align: center;
}

table.set-variation {
  text-align: center;
  min-width: 900px;
}

table.set-variation > thead, tbody > tr > td > a {
  width:100%;
}

@media screen and (min-width: 480px) {
  div.size > div {
    flex-basis: 25%;
  }
}

@media screen and (max-width: 480px) {
  div.img {
    display: block;
    margin-top: 20%
  }

  div.img > div#mainImage {
    width: 100%;
  }

  div.img > div#imageList {
    width: 100%;
    overflow: hidden;
  }

  div#imageList > div.mask {
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    width: 100%;
  }

  div#imageList ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
  }

  div#imageList ul > li {
    margin: 1% 1%;
    flex: 0 0 30%;
  }

  div#imageList ul > li:hover {
    opacity: 0.7;
  }

  /*基本スペック*/
  div.spec > div {
    width: 98%;
    margin: 1% auto;
    font-size: 16px;
    display: block;
  }

  div.spec > div > div {
    display: flex;
    margin: 20px 0;
    width: 98%;
    align-items: flex-end;
    padding: 1%;
  }

  div.spec > div > div > div {
  }

  div.spec > div > div > div:nth-child(odd) {
    border-bottom: 2px solid #8d0000;
    flex: 0 1 35%;
  }

  div.spec > div > div > div:nth-child(even) {
    border-bottom: 2px solid #afafaf;
    flex: 0 2 65%;
  }

  div.price {
    font-size: 14px;
  }

  /*基本スペック*/
  /*リンク先スタイル※スペック内に内包*/
  div.shopLink {
    width: 92% !important;
    margin: 0 auto;
    border: 1px solid #afafaf;
    position: relative;
    display: block;
    padding: 1%;
  }

  div.shopLink a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
    opacity: 0;
  }

  div.shopLink > div:nth-child(odd) {
    width: 90%;
    padding: 1%;
    text-decoration: underline;
  }

  div.shopLink > div:nth-child(even) {
    width: 90%;
    background: #8d0000;
    display: block;
    color: #FFF;
    text-align: center;
    border-radius: 10px;
    padding: 1% 1%;
    margin: 0 auto 2%;
  }

  div.shopLink > div:nth-child(even)::after {
    content: "";
    display: inline-block;
    background-image: url("../../item/img/check.png");
    width: 20px;
    height: 20px;
    background-size: contain;
    vertical-align: sub;
  }

  /*リンク先スタイル*/
  /*スペック詳細*/
  div.spec > table {
    width: 95%;
  }

  div.spec > table td {
    display: block;
    width: 98%;
    border-collapse: collapse;
  }

  div.spec > table td:nth-child(odd) {
    font-weight: bold;
  }

  /*スペック詳細*/
  /*サイズバリエーション*/
  div.size {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2% auto;
  }

  div.size img {
    width: 100%;
  }

  div.size > div {
    margin: 0 20px;
    text-align: center;
    font-size: 14px;
    position: relative;
  }

  div.size > div a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF;
    opacity: 0;
    transition: 0.3s ease-in-out;
  }

  div.size > div a:hover {
    opacity: 0.4;
    border: none;
  }

  div.set-variation-wrapper > div {
    width: 95%;
  }

  table.set-variation {
    min-width: 100%;
  }
}
