@charset "utf-8";
/* ===================================================================
 collection-details.css
  - breakpoint: max-width: 767px / min-width: 768px
======================================================================*/

/*----------------------------------------------------------
 details
------------------------------------------------------------*/
.details {
  display: grid;
  grid-template-columns: 40vw 1fr;
  grid-template-rows: max-content max-content 1fr auto;
  align-items: start;
  column-gap: 6vw;
  margin-bottom: 80px;
  padding-top: 40px;
}
.details-head {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  margin-bottom: 20px;
}
.details-foot {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  margin-bottom: 40px;
}
.details-info {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}
.details-variation {
  grid-column: 1 / 3;
  grid-row: 4 / 5;
  margin-top: 160px;
}
.details-gallery {
  grid-column: 1 / 2;
  grid-row: 1 / 4;
}

@media screen and (max-width: 767px) {
  .details {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
  }
  .details > div {
    width: 100%;
  }
  .details-head {
    order: 1;
    margin-bottom: 20px;
  }
  .details-foot {
    order: 3;
    margin-bottom: 40px;
  }
  .details-info {
    order: 4;
    margin-bottom: 80px;
  }
  .details-variation {
    order: 5;
    margin: 0 0 30px;
  }
  .details-gallery {
    order: 2;
    margin-bottom: 20px;
  }
}

/* details-head
-------------------------------------------------*/
.details-head-category,
.details-head-category a {
  color: #666;
  line-height: 1;
}
.details-head-title {
  margin-top: 10px;
  font-size: 2.4rem;
  font-weight: bold;
}
.details-head-model {
  margin-top: 10px;
  font-size: 1.4rem;
  color: #666;
}
.details-head-price {
  margin-top: 20px;
  font-size: 2.4rem;
  color: #000;
}
.details-head-price span {
  margin-left: 4px;
  font-size: 2rem;
}

@media screen and (max-width: 767px) {
  .details-head-category,
  .details-head-category a {
    font-size: 1.4rem;
  }
  .details-head-title {
    margin-top: 8px;
    font-size: 2rem;
  }
  .details-head-model {
    margin-top: 8px;
    font-size: 1.2rem;
  }
  .details-head-price {
    margin-top: 12px;
    font-size: 2rem;
  }
  .details-head-price span {
    font-size: 1.6rem;
  }
}

/* details-foot
-------------------------------------------------*/
.details-foot-text {
  font-size: 1.4rem;
}
@media screen and (max-width: 767px) {
  .details-foot-text {
    padding-top: 20px;
    font-size: 1.2rem;
    text-align: center;
  }
}

/* details-info
-------------------------------------------------*/
.details-info {
}
.details-info-context > p {
  font-size: 1.4rem;
  line-height: 2;
}
.details-info-context > p + p {
  margin-top: 1em;
}
.details-info-spec {
  display: grid;
  grid-template-columns: 40% 1fr;
  margin-top: 40px;
}
.details-info-spec > dt,
.details-info-spec > dd {
  padding: 16px 10px;
  font-size: 1.4rem;
}

.details-info-spec > dt:nth-child(4n+1),
.details-info-spec > dt:nth-child(4n+1) + dd {
  background: #f6f6f6;
}

@media screen and (max-width: 767px) {
  .details-info-context > p {
    font-size: 1.4rem;
    line-height: 1.8;
  }
  .details-info-spec {
    grid-template-columns: 34% 1fr;
  }
  .details-info-spec > dt,
  .details-info-spec > dd {
    padding: 15px 10px;
    font-size: 1.2rem;
  }
}

/* details-variation
-------------------------------------------------*/
.details-variation {
  
}
.details-variation-title {
  margin-bottom: 40px;
  font-size: 6.4rem;
  text-align: center;
  line-height: 1;
}
.details-variation .m_itemList {
  margin: 0;
}

@media screen and (max-width: 767px) {
  .details-variation-title {
    font-size: 5.6rem;
  }
}

/* details-gallery
-------------------------------------------------*/
.itemGallery-main {
  position: relative;
  border: 1px solid #ccc;
  overflow: hidden;
}
.itemGallery-main > li {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}
.itemGallery-main > li img {
  max-height: 100%;
}
.itemGallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  margin-top: 30px;
}
.itemGallery-thumbs > li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: #fff;
  border: 1px solid #ddd;
  overflow: hidden;
}
.itemGallery-thumbs > li:not(:only-child) {
  cursor: pointer;
}
.itemGallery-thumbs > li.-active {
  border: 2px solid #777;
}
.itemGallery-thumbs > li img {
  max-height: 100%;
  transition: .3s;
}
.itemGallery-thumbs > li:hover img {
  transform: scale(1.1);
}

@media screen and (min-width: 768px) {
  .itemGallery-thumbs {
    gap: 20px;
  }
  .itemGallery-thumbs > li {
    width: calc((100% - 100px) / 6);
  }
}
@media screen and (max-width: 767px) {
  .itemGallery-thumbs {
    margin-top: 20px;
    gap: 10px;
  }
  .itemGallery-thumbs > li {
    width: calc((100% - 40px) / 5);
  }
}