.o-overlay {
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.3);
	position: fixed;
	top: 0;
	left: 0;
  z-index: 9998;
}

.o-modal__wrapper {
	padding: 55px 0 40px 0;
	max-width: 825px;
	width: 90%;
	height: auto;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0px 0px 10px -2px #666;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
  z-index: 9999;
}

.o-modal__close-button {
	width: 40px;
	height: 40px;
	display: inline-block;
	position: absolute;
	top: 5%;
	right: 3%;
	transition: all 0.3s;
	cursor: pointer;
}

.o-modal__close-button:hover {
	opacity: 0.8;
}

.o-modal__close-button-parts {
	display: block;
	position: relative;
}

.o-modal__close-button-parts::before,
.o-modal__close-button-parts::after {
	width: 4px;
	height: 40px;
	background-color: #555f64;
	position: absolute;
	top: 50%;
	left: 50%;
	content: "";
}

.o-modal__close-button-parts::before {
	transform: translateX(-50%) rotate(45deg);
}

.o-modal__close-button-parts::after {
	transform: translateX(-50%) rotate(-45deg);
}

.o-modal__icon {
	width: 16.5rem;
	height: 17rem;
}

.o-modal__img {
	width: 100%;
	height: 100%;
}

.o-modal__text {
	margin-top: 20px;
	margin-bottom: 30px;
	color: #555f64;
	font-size: 2.2rem;
	font-weight: 700;
	text-align: center;
}

.o-modal__text--sp {
	display: none;
}

.o-modal__text--red {
	color: #cc0000;
}

.o-modal__transition {
	padding: 15px 0;
	width: 340px;
	background-color: #f26c13;
	border-radius: 5px;
	display: inline-block;
	position: relative;
	color: #fff;
	font-size: 1.6rem;
	font-weight: 700;
	text-align: center;
	transition: all 0.3s;
	cursor: pointer;
}

.o-modal__transition:hover {
	opacity: 0.8;
}

.o-prev__button {
	width: 10px;
	height: 10px;
	border: 0px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	position: absolute;
	top: 40%;
	right: 8%;
	transform: rotate(45deg);
}

@media screen and (max-width: 962px) {
	.o-modal__text {
		font-size: 2.3vw;
	}

	.o-modal__icon {
		width: 16.5vw;
		height: 17vw;
	}

	.o-modal__transition {
		width: 34vw;
		font-size: 1.8vw;
	}
}

@media screen and (max-width: 599px) {
	.o-modal__wrapper {
		padding: 5rem 0 4rem 0;
		width: 90%;
		box-shadow: 0rem 0rem 0rem 0.3rem #d6d6d6;
	}

	.o-modal__close-button {
		width: 2.7rem;
		height: 2.7rem;
		top: 3%;
	}

	.o-modal__close-button-parts::before,
	.o-modal__close-button-parts::after {
		width: 0.27rem;
		height: 2.7rem;
	}

	.o-modal__icon {
		width: 33vw;
		height: 34vw;
	}

	.o-modal__text {
		margin-top: 2rem;
		margin-bottom: 2rem;
		display: block;
		color: #696969;
		font-size: 4vw;
		text-align: center;
	}

	.o-modal__text--sp {
		display: block;
	}

	.o-modal__transition {
		padding: 1.7rem 0;
		width: 75vw;
		font-size: 3.5vw;
		text-align: center;
	}
}
