/* YC MODAL */
.yc-modal-overlay {
  position: fixed;
  z-index: -1000;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  background: rgba(0,0,0,0.7);
  opacity: 0;
}
.yc-modal-overlay.open {
  z-index: 1000;
  opacity: 1;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.yc-modal {
  position: fixed;
  top: 50%;
  left: -500%;
  background: #fff;
  border: 1px solid #efefef;
  z-index: -1001;
  transform: translate(-50%,-50%);
  box-sizing: border-box;
  opacity: 0;
}
.yc-modal.open {
  left: 50%;
  z-index: 1001;
  opacity: 1;
}
.yc-modal .slick-slide img {
  min-height: 20px;
}
.yc-modal .slick-dots li {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 2px;
  padding: 0;
  cursor: pointer;
}
.yc-modal .slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 6px;
  height: 6px;
  cursor: pointer;
  border: 1px solid #ffffff;
  border-radius: 10px;
  background: #c1c2c3;
  padding: 0;
}
.yc-modal .slick-slider .slick-dots li.slick-active button {
  background: #e01a6a;
}
.yc-modal .slick-slide a {
  text-decoration: none;
}

/* YC MODAL PC */
.yc-modal-pc .btn-yc-modal {
  display: block;
  float: left;
  margin: 20px 0;
  width: 100%;
  text-align: right;
  box-sizing: border-box;
  overflow: auto;
}
.yc-modal-pc.catalog-page .btn-yc-modal {
  margin: 0 0 20px;
  text-align: left;
}
.yc-modal-pc .btn-yc-modal:after {
  content: '';
  display: table;
  clear: both;
}
.yc-modal-pc .yc-modal {
  width: 960px;
  height: 615px;
  padding: 0 80px;
}
.yc-modal-pc .yc-modal-inner {
  display: table;
  width: 100%;
  height: 615px;
}
.yc-modal-pc .yc-modal-inner > div {
  display: table-cell;
  width: 50%;
  vertical-align: middle;
  text-align: center;
}
.yc-modal-pc .btn-yc-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}
.yc-modal-pc .btn-makeup-reset {
  display: block;
  font-size: 14px;
  text-decoration: underline !important;
}
#YMK-module {
  margin: 0 auto;
  width: 360px;
}
.yc-modal-pc .yc-modal .product-info.open {
  display: table;
}
.yc-modal-pc .yc-modal .product-name {
  display: table-cell;
  width: 70%;
  vertical-align: middle;
  font-size: 20px;
  font-weight: 600;
  text-align: left;
}
.yc-modal-pc .yc-modal .product-thumb {
  display: table-cell;
}
.yc-modal-pc .yc-modal .product-thumb img {
  width: 140px;
  max-width: 140px;
}
.yc-modal-pc .yc-modal-text01 {
  margin: 0px 0 40px;
  font-size: 18px;
  font-weight: 600;
  color: #a91c5e;
  line-height: 2;
}
.yc-modal-pc .yc-modal-makeup-list {
  display: none;
  margin: 40px auto 0;
  width: 360px;
}
.yc-modal-pc .yc-modal-makeup-list .btn-slick-prev {
  position: absolute;
  top: 20%;
  left: 0;
  z-index: 5;
  margin-left: -20px;
  width: 30px;
  cursor: pointer;
}
.yc-modal-pc .yc-modal-makeup-list .btn-slick-next {
  position: absolute;
  top: 20%;
  right: 0;
  z-index: 5;
  margin-right: -20px;
  width: 30px;
  cursor: pointer;
}
.yc-modal-pc .yc-modal .slick-slide {
  padding: 0 5px;
}
.yc-modal-pc .yc-modal .slick-slide a {
  outline: none;
}
.yc-modal-pc .yc-modal .slick-slide img {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  width: 100%;
}
.yc-modal-pc .yc-modal .slick-slide a.active img {
  border-color: #96275c;
}
.yc-modal-pc .yc-modal .product-info {
  display: none;
}
.yc-modal-pc .yc-modal-textblock02 {
  display: none;
}
.yc-modal-pc .yc-modal-textblock02.open {
  display: inline-block;
}
.yc-modal-pc .product-cp {
  clear: both;
}
.yc-modal-pc.catalog-page .slick-dots {
  margin-top: 15px;
}

/* YC MODAL SP */
.yc-modal-sp .btn-yc-modal {
  display: block;
  margin: 20px auto 0;
  max-width: 320px;
  text-align: center;
  box-sizing: border-box;
}
.yc-modal-sp.catalog-page .btn-yc-modal {
  margin: 20px 0;
}
.yc-modal-sp .btn-yc-modal img {
  width: 100%;
}
.yc-modal-sp .yc-modal {
  right: 10px;
  padding: 10px;
}
.yc-modal-sp .yc-modal.open {
  z-index: 1001;
  opacity: 1;
}
.yc-modal-sp .yc-modal-inner {
  width: 100%;
}
.yc-modal-sp .yc-modal-inner > div {
  text-align: center;
}
.yc-modal-sp .btn-yc-modal-close {
  position: absolute;
  top: -30px;
  right: 10px;
}
.yc-modal-sp .btn-makeup-reset {
  display: block;
  font-size: 12px;
  text-decoration: underline !important;
  text-align: right;
}
.yc-modal-sp .yc-modal .product-info {
  display: none;
}
.yc-modal-sp .yc-modal .product-info.open {
  display: block;
}
.yc-modal-sp .yc-modal .product-name {
  width: 90%;
  vertical-align: middle;
  text-align: left;
}
.yc-modal-sp .yc-modal .product-name h1 {
  margin-bottom: 0 !important;
  font-size: 16px !important;
}
.yc-modal-sp .yc-modal-text01 {
  font-size: 14px;
  font-weight: 600;
  color: #934167;
}
.yc-modal-sp .yc-modal-textblock01 {
  margin-top: 20px;
  margin-bottom: 20px;
}
.yc-modal-sp .yc-modal-textblock01 .yc-modal-text01 {
  margin-bottom: 20px;
}
.yc-modal-sp .yc-modal-textblock02 {
  display: none;
  padding: 0 10px;
}
.yc-modal-sp .yc-modal-textblock02.open {
  display: block;
}
.yc-modal-sp .yc-modal-makeup-list {
  display: none;
  margin: 0px auto 0px;
  width: 260px;
}
.yc-modal-sp .yc-modal-makeup-list .btn-slick-prev {
  position: absolute;
  top: 20%;
  left: 0;
  z-index: 5;
  margin-left: -15px;
  width: 20px;
  cursor: pointer;
}
.yc-modal-sp .yc-modal-makeup-list .btn-slick-next {
  position: absolute;
  top: 20%;
  right: 0;
  z-index: 5;
  margin-right: -15px;
  width: 20px;
  cursor: pointer;
}
.yc-modal-sp .yc-modal .slick-slide {
  padding: 0 5px;
}
.yc-modal-sp .yc-modal .slick-slide a {
  outline: none;
}
.yc-modal-sp .yc-modal .slick-slide img {
  margin-bottom: 5px;
  width: 100%;
  border: 1px solid #ddd;
}
.yc-modal-sp .yc-modal .slick-slide a.active img {
  border-color: #96275c;
}
.yc-modal-sp .yc-modal .slick-dots {
  bottom: -15px;
}
.yc-modal-sp #YMK-module {
  margin: -1px;
  width: 300px;
  margin: 0 auto;
}
@media screen and (max-width:499px) {
  .yc-modal-sp .yc-modal {
    width: 360px;
  }
}
@media screen and (max-width:360px) {
  .yc-modal-sp .yc-modal {
    width: 320px;
  }
}
@media screen and (max-width:340px) {
  .yc-modal-sp .yc-modal {
    width: 320px;
    padding: 6px 6px 18px;
  }
  .yc-modal-sp .yc-modal-text01 {
    margin: 8px 0;
    font-size: 14px;
  }
  .yc-modal-sp .yc-modal .product-name h1 {
    margin-top: 6px !important;
  }
  .yc-modal-sp .btn-yc-modal-close {
    top: -25px;
  }
  .yc-modal-sp .btn-yc-modal-close img {
    width: 10px;
  }
}
@media screen and (min-width:500px) {
  .yc-modal-sp .yc-modal {
    width: 380px;
  }
}
