@charset "utf-8";

.carousel-container{
	padding-bottom:24px;
}

/* slickナビゲーション */
.prev-btn,
.next-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0,0,0,0.6);
	color: #fff;
	border: none;
	cursor: pointer;
	text-indent:100%;
	white-space:nowrap;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 2px;
	z-index: 2;
	overflow: hidden;
}
.prev-btn:before,
.next-btn:before {
	position: absolute;
	content: "";
	width: .6rem;
	height: .6rem;
	border-right: 2px solid #fff;
	border-top: 2px solid #fff;
	top: 0;
	bottom: 0;
	left: -4px;
	right: 0;
	margin: auto;
	transform: rotate(45deg);
}
.prev-btn:before{
	transform: rotate(225deg);
	left: 4px;
}
.prev-btn{
	left: -1rem;
}
.next-btn{
	right:-1rem;
}

/* slickドット */
.slick-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -30px;
	text-align: center;
	z-index: 10;
	padding: 0;
	margin: 0;
}
.slick-dots li {
	display: inline-block;
	margin: 0 4px;
}
.slick-dots button {
	font-size: 0;
	padding: 0;
	cursor: pointer;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid var(--color-base);
	box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.slick-dots .slick-active button {
	background: var(--color-base);
}

.proitem .ph{
	aspect-ratio: 9/5;
	position: relative;
	overflow: hidden;
	width: 100%;
	display: grid;
	place-items: center;
}
.proitem .ph img{
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 50% 50%;
}
.proitem .ph img.fit-w{
	width: 100%;
	height: auto;
	max-height: 100%;
}
.proitem .ph img.fit-h{
	height: 100%;
	width: auto;
	max-width: 100%;
}
.proitem .ph .noimg{
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.modal-ph .slick-carousel .slick-slide>div,
.modal-ph .single-image>div{
	aspect-ratio: 850/580;
	position: relative;
	overflow: hidden;
	width: 100%;
	display: grid;
	place-items: center;
}
.modal-ph .slick-carousel .slick-slide>div>img,
.modal-ph .single-image>div>img{
	max-width: 100%;
	max-height: 100%;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: 50% 50%;
}
.modal-ph .slick-carousel .slick-slide>div>img.fit-w,
.modal-ph .single-image>div>img.fit-w{
	width: 100%;
	height: auto;
	max-height: 100%;
}
.modal-ph .slick-carousel .slick-slide>div>img.fit-h,
.modal-ph .single-image>div>img.fit-h{
	height: 100%;
	width: auto;
	max-width: 100%;
}

#product-item .proitem .ph{
	aspect-ratio: 720/400;
	position: relative;
	overflow: hidden;
	width: 100%;
	background: #fff;
	display: block;
}
#product-item .proitem .ph img{
	width: 100% !important;
	height: 100% !important;
	display: block;
	object-fit: contain !important;
	object-position: 50% 50% !important;
}
#product-item .proitem .ph img.fit-w,
#product-item .proitem .ph img.fit-h{
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	object-position: 50% 50% !important;
}

#space-modal .modal-ph .carousel-container{
	aspect-ratio: 850/580;
	width: 100%;
	position: relative;
	display: block;
	background: #fff;
}

#space-modal .modal-ph .slick-carousel,
#space-modal .modal-ph .single-image{
	aspect-ratio: 850/580;
	width: 100%;
	display: block;
}

#space-modal .modal-ph .slick-list,
#space-modal .modal-ph .slick-track,
#space-modal .modal-ph .slick-slide{
	height: 100% !important;
}

#space-modal .modal-ph .slick-carousel .slick-slide>div,
#space-modal .modal-ph .single-image>div{
	width: 100% !important;
	height: 100% !important;
	overflow: hidden;
	display: block;
	background: #fff;
}

#space-modal .modal-ph .slick-carousel .slick-slide>div>img,
#space-modal .modal-ph .single-image>div>img,
#space-modal .modal-ph img.fit-w,
#space-modal .modal-ph img.fit-h{
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: 50% 50% !important;
	margin: 0 !important;
}
