@charset "utf-8";
/* ===================================================================
 collection-details.css
  - breakpoint: max-width: 767px / min-width: 768px
======================================================================*/
@media screen and (max-width: 767px) {
  .f_main {
    padding-top: 50px;
  }
}

/*----------------------------------------------------------
 details
------------------------------------------------------------*/
.details {
  display: grid;
  grid-template-columns: 48%;
  grid-template-rows: max-content max-content max-content 1fr;
  column-gap: 3vw;
  margin-bottom: 80px;
  padding-top: 50px;
}
.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: 20px;
}
.details-info {
  grid-column: 2 / 3;
  grid-row: 3 / 4;
}
.details-variation {
  grid-column: 2 / 3;
  grid-row: 4 / 5;
  margin-top: 50px;
}
.details-gallery {
  grid-column: 1 / 2;
  grid-row: 1 / 5;
}

@media screen and (max-width: 767px) {
  .details {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    padding-top: 30px;
  }
  .details-head {
    order: 1;
    margin-bottom: 30px;
  }
  .details-foot {
    order: 4;
    margin-bottom: 30px;
  }
  .details-info {
    order: 3;
    margin: 50px 0 15px;
  }
  .details-variation {
    order: 5;
    margin: 0 0 30px;
  }
  .details-gallery {
    order: 2;
  }
}

/* details-head
-------------------------------------------------*/
.details-head-title {
  font-size: 4.8rem;
  line-height: 1.2;
  font-weight: 500;
}
.details-head-number {
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #666;
}
.details-head-price {
  font-size: 3.4rem;
  font-weight: 400;
}
.details-head-price span {
  font-size: 1.6rem;
  font-weight: normal;
}

@media screen and (max-width: 767px) {
  .details-head-category {
    font-size: 1.4rem;
  }
  .details-head-title {
    font-size: 3.6rem;
  }
  .details-head-number {
    margin-bottom: 20px;
  }
  .details-head-price {
    font-size: 2.4rem;
  }
  .details-head-price span {
    font-size: 1.4rem;
  }
}

/* details-foot
-------------------------------------------------*/
.details-foot-text {
  font-size: 1.4rem;
}
.details-foot-btn > :first-child {
  width: 228px;
  height: 80px;
}

@media screen and (max-width: 767px) {
  .details-foot-text {
    padding-top: 20px;
    font-size: 1.2rem;
    text-align: center;
  }
  .details-foot-btn {
    text-align: center;
  }
  .details-foot-btn > :first-child {
    width: 100%;
    max-width: none !important;
    height: 80px;
  }
}

/* details-info
-------------------------------------------------*/
.details-info {
}
.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: 50px;
  border-top: 1px solid #ececec;
}
.details-info-spec > dt,
.details-info-spec > dd {
  padding: 15px 5px;
  font-size: 1.4rem;
  border-bottom: 1px solid #ececec;
}
.details-info-spec > dt {
  width: 30%;
}
.details-info-spec > dd {
  width: 70%;
}

@media screen and (max-width: 767px) {
  .details-info {
    padding-top: 0;
    border-top: none;
  }
  .details-info-spec {
    margin-top: 30px;
  }
  .details-info-spec > dt,
  .details-info-spec > dd {
    padding: 15px 10px;
    font-size: 1.2rem;
  }
  .details-info-spec > dt {
    font-weight: bold;
  }
}

/* details-variation
-------------------------------------------------*/
.details-variation {
  
}
.details-variation-title {
  margin-bottom: 5px;
  font-weight: bold;
}
.details-variation .m_itemList {
  margin: 0;
}

/* 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;
  }
}