/* modal */
.modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 5;
	overflow-y: auto;
	padding: 5vh 0;
	box-sizing: border-box;
}
/* モーダルが開いている状態 */
.modal.is-open {
	display: flex;
}
/* 背景 */
.modal__overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.9);
}
/* モーダル本体 */
.modal__content {
	position: relative;
	z-index: 1;
	width: 1160px;
	max-width: 95vw;
	max-height: 90vh;
	padding: 0;
	margin: 0 auto;
}
/* スライダー矢印 */
.modal-slider-wrap {
	position: relative;
	width: 1160px;
	max-width: 100%;
	margin: 0 auto;
}
/* 閉じるボタン */
.modal__close {
	position: absolute;
	top: calc(5vh - 20px);
	right: calc(2.5vw - 20px);
	width: 40px;
	height: 40px;
	border: 0;
	background-color: transparent;
	background-image: url("../img/howto_meishi_lite/close.svg");
	background-position: center;
	background-size: 25px;
	background-repeat: no-repeat;
	cursor: pointer;
	color: #fff;
	z-index: 30;
	@media (max-width: 600px) {
		/* top: calc(5vh);
		right: calc(2.5vw + 20px); */
		top: calc(1.5vh);
		right: calc(2.5vw);
		background-size: 18px;
	}
}
/* Splide */
.modal__slider {
	width: 1040px;
	max-width: 100%;
	margin: 0 auto;
}
.modal__slider .splide__slide {
	text-align: center;
	/* aspect-ratio: 1 / 1; */
}
.modal__slider img {
	display: block;
	width: 100%;
	height: 1040px;
	object-fit: contain;
	margin: 0 auto;
}
.modal__slider .title {
	font-size: 1.25rem;
	color: #fff;
	margin: 40px 0 60px;
	text-align: center;
	@media (max-width: 600px) {
		font-size: 0.9375rem;
		text-align: left;
		margin: 5px 0 20px;
	}
}
.modal__slider .txt {
	text-align: center;
	font-size: 1rem;
	line-height: 1.8;
	color: #fff;
	margin: 60px 0;
	@media (max-width: 600px) {
		font-size: 0.875rem;
		text-align: left;
		margin: 20px 0 40px;
	}
}
.modal__arrow {
	position: absolute;
	top: 640px;
	z-index: 30;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background-color 0.2s ease;
}
/* .modal__arrow:hover {
	opacity: 0.7;
} */
.modal__arrow.is-disabled {
	opacity: 0.3;
	cursor: default;
}
.modal__arrow--prev {
	background: url("../img/howto_meishi_lite/arrow_white_left.svg") center / contain no-repeat;
	left: 0;
}
.modal__arrow--next {
	background: url("../img/howto_meishi_lite/arrow_white_right.svg") center / contain no-repeat;
	right:0;
}
@media (max-width: 1100px) and (min-width: 601px) {
	.modal__slider img {
		width: 100%;
		height: 95vw;
		object-fit: contain;
	}
	.modal__arrow {
		/* 95vwの画像の中央 */
		top: calc(140px + 47.5vw);
	}
}
@media (max-width: 600px) {
.modal {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	align-items: flex-start;
}
.modal__arrow{
	width: 20px;
	height: 20px;
}
.modal__content {
	width: 95vw;
	max-width: 95vw;
	height: 90vh;
	margin: 0 auto 5vh;  
	/* margin: 5vh auto; */
	padding: 0;
	overflow-y: auto;
	overflow-x: hidden;
}
.modal-slider-wrap {
	width: 100%;
}
.modal__slider {
	width: calc(100% - 60px);
	margin: 0 auto;
}
.modal__slider .splide__slide {
		aspect-ratio: 1 / 1.5;
}
.modal__slider img {
	width: 100%;
	height: calc((100vw - 60px) * 1.5);
	object-fit: contain;
}
.modal__arrow {
	top: calc(80px + (100vw - 60px) * 1.5 / 2);
}
.modal__arrow--prev {
	left: 0;
}
.modal__arrow--next {
	right: 0;
}
}

.txt_center{
	text-align: center !important;
}