@charset "utf-8";
/* ===================================================================
 collection-details.css
  - breakpoint: max-width: 767px / min-width: 768px
======================================================================*/

@media screen and (max-width: 767px) {
  .f_main {
    padding-top: 20px;
  }
}

/*----------------------------------------------------------
 details
------------------------------------------------------------*/
.details {
  display: grid;
  grid-template-columns: 48%;
  grid-template-rows: max-content max-content 1fr;
  column-gap: 4%;
  margin-bottom: 80px;
  padding-top: 50px;
}
.details-head {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  margin-bottom: 15px;
}
.details-foot {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  margin-bottom: 50px;
}
.details-info {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}
.details-gallery {
  grid-column: 1 / 2;
  grid-row: 1 / 4;
}

@media screen and (max-width: 767px) {
  .details {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }
  .details-head {
    order: 1;
    margin-bottom: 20px;
  }
  .details-foot {
    order: 4;
  }
  .details-info {
    order: 3;
    margin-bottom: 50px;
  }
  .details-gallery {
    order: 2;
    margin-bottom: 50px;
  }
}

/* details-head
-------------------------------------------------*/
.details-head-category {
  display: flex;
  margin-bottom: 10px;
}
.details-head-category > li + li:before {
  content: "-";
  margin: 0 8px;
}
.details-head-category > li a {
  text-decoration: underline;
}
.details-head-title {
  margin-bottom: 30px;
  font-size: 4.8rem;
  color: #444;
  line-height: 1.2;
  font-weight: 500;
}
.details-head-number {
  display: none;
  margin-bottom: 5px;
  font-size: 1.4rem;
  color: #666;
}
.details-head-price {
  font-size: 2.8rem;
  font-weight: 500;
}
.details-head-price span {
  font-size: 1.6rem;
  font-weight: normal;
}

@media screen and (max-width: 767px) {
  .details-head-category > li {
    font-size: 1.2rem;
  }
  .details-head-category > li + li:before {
    margin: 0 5px;
  }
  .details-head-category > li a {
    text-decoration: none;
  }
  .details-head-title {
    margin-bottom: 10px;
    font-size: 3.6rem;
  }
  .details-head-price {
    font-size: 2rem;
  }
  .details-head-price span {
    font-size: 1.4rem;
  }
}

/* details-foot
-------------------------------------------------*/
.details-foot-variation {
  margin-top: 50px;
}
.details-foot-variation-title {
  margin-bottom: 5px;
  font-weight: bold;
}
.details-foot-variation .m_itemList {
  margin: 0;
}

@media screen and (max-width: 767px) {
  .details-foot-btn {
    text-align: center;
  }
}

/* details-info
-------------------------------------------------*/
.details-info {
  padding-top: 30px;
  border-top: 1px solid #777;
}
.details-info-context > p {
  font-size: 1.4rem;
  line-height: 1.8;
}
.details-info-context > p + p {
  margin-top: 1em;
}
.details-info-spec {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 30px;
}
.details-info-spec > dt,
.details-info-spec > dd {
  padding: 15px;
  font-size: 1.4rem;
}
.details-info-spec > dt {
  width: 30%;
}
.details-info-spec > dd {
  width: 70%;
}
.details-info-spec > dt:nth-child(4n+1),
.details-info-spec > dt:nth-child(4n+1) + dd {
  background: #f6f7f9;
}

@media screen and (max-width: 767px) {
  .details-info {
    padding-top: 0;
    border-top: none;
  }
  .details-info-spec > dt,
  .details-info-spec > dd {
    padding: 15px 10px;
    font-size: 1.2rem;
  }
  .details-info-spec > dt {
    font-weight: bold;
  }
}

/* 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%;
}
.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;
  width: calc(calc(100% - 100px) / 6);
  height: 100%;
  margin-left: 20px;
  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 > li:nth-child(6n+1) {
    margin-left: 0;
  }
  .itemGallery-thumbs > li:nth-child(n+7) {
    margin-top: 20px;
  }
}
@media screen and (max-width: 767px) {
  .itemGallery-thumbs {
    margin-top: 20px;
  }
  .itemGallery-thumbs > li {
    width: calc(calc(100% - 45px) / 4);
    margin-left: 15px;
  }
  .itemGallery-thumbs > li:nth-child(4n+1) {
    margin-left: 0;
  }
  .itemGallery-thumbs > li:nth-child(n+5) {
    margin-top: 15px;
  }
}