/* YC MODAL */
.modal-banner-pc {
	display: block !important;
}
.modal-banner-sp {
	display: none !important;
}
.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 .slick-slide a.disable {
	pointer-events: none !important;
	position: relative;
}
.yc-modal .slick-slide a.disable:after {
	content: "";
	display: block;
	width: 102%;
	height: 100%;
	background-color: #c5c5c5;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.8;
}

/* YC MODAL PC */
.yc-modal-container {
	margin-top: 20px;
	overflow: hidden;
}
.btn-yc-modal {
  display: block;
  float: left;
  margin: 20px 0;
  width: 100%;
  text-align: right;
  box-sizing: border-box;
  overflow: auto;
}
.btn-yc-modal img {
	width: 100%;
}
catalog-page .btn-yc-modal {
  margin: 0 0 20px;
  text-align: left;
}
.btn-yc-modal:after {
  content: '';
  display: table;
  clear: both;
}
.yc-modal {
  width: 960px;
  height: 615px;
  padding: 0 5vw;
}
.yc-modal-inner {
  display: flex;
	align-items: center;
  width: 100%;
  height: 615px;
}
.yc-modal-inner > div {
/*  display: table-cell;*/
  width: 50%;
/*  vertical-align: middle;*/
  text-align: center;
}
.btn-yc-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
}
.btn-makeup-reset {
  display: block;
  font-size: 14px;
  text-decoration: underline !important;
}
#YMK-module {
  margin: 0 auto;
  width: 360px;
}
.yc-modal .product-info.open {
  display: table;
	margin-bottom: 40px;
	padding: 0 10px;
}
.yc-modal .product-name {
  display: table-cell;
  width: 70%;
  vertical-align: middle;
  font-size: 16px;
	padding-left: 10px;
  font-weight: 600;
  text-align: left;
}
.yc-modal .product-thumb {
  display: table-cell;
}
.yc-modal .product-thumb img {
  width: 140px;
  max-width: 140px;
}
.yc-modal-text01 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #c8172f;
  line-height: 2;
}
.yc-modal-makeup-list,
.yc-modal-makeup-list-diff {
  display: none;
  margin: 40px auto 0;
  width: 80%;
}
.yc-modal-right-col.details .yc-modal-makeup-list .slick-dots,
.yc-modal-right-col.details .yc-modal-makeup-list-diff .slick-dots {
	display: block !important;
}
.yc-modal-makeup-list .btn-slick-prev,
.yc-modal-makeup-list-diff .btn-slick-prev {
  position: absolute;
  top: 20%;
  left: 0;
  z-index: 5;
  margin-left: -30px;
  width: 30px;
  cursor: pointer;
}
.yc-modal-makeup-list .btn-slick-next,
.yc-modal-makeup-list-diff .btn-slick-next {
  position: absolute;
  top: 20%;
  right: 0;
  z-index: 5;
  margin-right: -30px;
  width: 30px;
  cursor: pointer;
}
.yc-modal .slick-slide {
  padding: 0 5px;
}
.yc-modal .slick-slide a {
  outline: none;
}
.yc-modal .slick-slide img {
  margin-bottom: 10px;
  border: 1px solid #ddd;
  width: 100%;
}
.yc-modal .slick-slide a.active img {
  border-color: #96275c;
}
.yc-modal .product-info {
  display: none;
}
.yc-modal-textblock02 {
  display: none;
}
.yc-modal-textblock02.open {
  display: inline-block;
}
.product-cp {
  clear: both;
}
.catalog-page .slick-dots {
  margin-top: 15px;
}
@media screen and (min-width: 600px) and (max-width: 800px) {
	.yc-modal-makeup-list,
	.yc-modal-makeup-list-diff {
		width: 60%;
	}
	.yc-modal-inner > div {
		padding: 0 0 0 2%;
	}
	.yc-modal .product-info.open {
		display: flex;
		align-items: center;
	}
	.yc-modal .product-thumb img {
		width: 100%;
	}
	.yc-modal .product-name {
		font-size: 13px;
	}
}

/* YC MODAL SP */
@media only screen and (max-width: 599px) {
	.yc-modal-container {
		margin-top: 0;
	}
	.modal-banner-pc {
		display: none !important;
	}
	.modal-banner-sp {
		display: block !important;
	}
  .yc-modal {
		height: auto;
    width: 380px;
  }
	.btn-yc-modal {
		display: block;
		margin: 20px auto 0;
		max-width: 100%;
		text-align: center;
		box-sizing: border-box;
	}
	.catalog-page .btn-yc-modal {
		margin: 20px 0;
	}
	.btn-yc-modal img {
		width: 100%;
	}
	.yc-modal {
		right: 10px;
		padding: 10px;
	}
	.yc-modal.open {
		z-index: 1001;
		opacity: 1;
	}
	.yc-modal-inner {
		display: block;
		width: 100%;
		height: auto;
	}
	.yc-modal-inner > div {
		width: 100%;
		display: block;
		text-align: center;
	}
	.btn-yc-modal-close {
		position: absolute;
		top: -30px;
		right: 10px;
	}
	.btn-makeup-reset {
		display: block;
		font-size: 12px;
		text-decoration: underline !important;
		text-align: right;
	}
	.yc-modal .product-info {
		display: none;
	}
	.yc-modal .product-info.open {
		display: block;
		margin-bottom: 20px;
	}
	.yc-modal .product-info.open .product-thumb {
		display: none;
	}
	.yc-modal .product-name {
		width: 90%;
		vertical-align: middle;
		text-align: left;
		font-size: 13px;
		padding-top: 7px;
	}
	.yc-modal .product-name h1 {
		margin-bottom: 0 !important;
		font-size: 16px !important;
	}
	.yc-modal-text01 {
		font-size: 14px;
		font-weight: 600;
		color: #c8172f;
	}
	.yc-modal-textblock01 {
		margin-top: 20px;
		margin-bottom: 20px;
	}
	.yc-modal-textblock01 .yc-modal-text01 {
		margin-bottom: 20px;
	}
	.yc-modal-textblock02 {
		display: none;
		padding: 0 10px;
	}
	.yc-modal-textblock02.open {
		display: block;
	}
	.yc-modal-makeup-list,
	.yc-modal-makeup-list-diff {
		display: none;
		margin: 0px auto 0px;
		width: 260px;
	}
	.yc-modal-makeup-list .btn-slick-prev,
	.yc-modal-makeup-list-diff .btn-slick-prev {
		position: absolute;
		top: 20%;
		left: 0;
		z-index: 5;
		margin-left: -20px;
		width: 20px;
		cursor: pointer;
	}
	.yc-modal-makeup-list .btn-slick-next,
	.yc-modal-makeup-list-diff .btn-slick-next {
		position: absolute;
		top: 20%;
		right: 0;
		z-index: 5;
		margin-right: -20px;
		width: 20px;
		cursor: pointer;
	}
	.yc-modal .slick-slide {
		padding: 0 5px;
	}
	.yc-modal .slick-slide a {
		outline: none;
	}
	.yc-modal .slick-slide img {
		margin-bottom: 5px;
		width: 100%;
		border: 1px solid #ddd;
	}
	.yc-modal .slick-slide a.active img {
		border-color: #96275c;
	}
	.yc-modal .slick-dots {
		bottom: -8px;
	}
	#YMK-module {
		margin: -1px;
		width: 300px;
		margin: 0 auto;
	}
	.frame-content {
		width: 100% !important;
	}
}

@media screen and (max-width:499px) {
  .yc-modal {
    width: 360px;
  }
}
@media screen and (max-width:360px) {
  .yc-modal {
    width: 320px;
  }
}
@media screen and (max-width:340px) {
  .yc-modal {
    width: 320px;
    padding: 6px 6px 18px;
  }
  .yc-modal-text01 {
    margin: 8px 0;
    font-size: 14px;
  }
  .yc-modal .product-name h1 {
    margin-top: 6px !important;
  }
  .btn-yc-modal-close {
    top: -25px;
  }
  .btn-yc-modal-close img {
    width: 10px;
  }
}
/*
@media screen and (min-width:500px) {
  .yc-modal {
    width: 380px;
  }
}
*/
@media screen and (min-width: 599px) and (max-width: 980px) {
	.yc-modal {
		width: 98vw;
		padding: 0 2vw;
	}
	.yc-modal-inner .yc-modal-left-col {
		padding: 0 10px;
	}
}


/*CPB*/
.cpbModal .yc-modal-container {
	max-width: 440px;
	margin-top: 0;
}
.cpbModal .btn-yc-modal {
	margin: 0;
}
.cpbModal .yc-modal-text01 {
	color: #8A7149;
}
.cpbModal .yc-modal .slick-slider .slick-dots li.slick-active button {
  background: #081F2C;
}
@media only screen and (max-width: 960px) {
	.cpbModal .yc-modal-container {
	margin: 15px auto 0;
	}
}
@media only screen and (max-width: 599px) {
	.cpbModal .yc-modal-container {
		max-width: 100%;
		margin-top: 20px;
	}
}
/*CPB*/
