@charset "utf-8";
.sp {
	display: none;
}

@media (max-width: 767px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
}

.simulation-btn {
	display: flex;
	align-items: center;
	width: 232px;
	min-height: 61px;
	background: #C11D2D;
	border-radius: 50px;
	font-weight: 700;
	font-size: 1.8rem;
	line-height: 1;
	letter-spacing: .05em;
	color: #fff;
	padding: 0 30px;
	margin: 0 auto;
	position: relative;
	z-index: 6;
}
.simulation-btn:after {
	content: '';
	width: 24px;
	height: 24px;
	background-image: url(/wp-content/themes/renew_cloudsoft_theme/img/common/menu-informal-icon.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
}


.mask {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 9999;
	background-color: #676767;
	display: none;
}
.simulation-modal {
	display: none;
	z-index: 99999;
}
.modal-elm-step2 {}
.modal-elm-step3 {}
.modal-hide {display: none;}
.modal-force-hide {display: none !important;}
.modal-wrap {
	width: 850px;
	height: 640px;
	background: #F4E9E3;
	border-radius: 16px;
	padding: 88px 30px 66px;
	margin: 0 auto;
	position: relative;
}
.modal-wrap .close {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	color: #666666;
	cursor: pointer;
	position: absolute;
}
.modal-wrap .close span {
	display: inline-block;
	padding-left: 20px;
	position: relative;
}
.modal-wrap .close span:before,
.modal-wrap .close span:after {
	display: block;
	content: "";
	width: 16px;
	height: 2px;
	background: #666666;
	position: absolute;
	top: 8px;
	left: 0;
}
.modal-wrap .close span:before {
	transform: rotate(45deg);
}
.modal-wrap .close span:after {
	transform: rotate(-45deg);
}
.simulation-modal button {
	border: none;
	background: none;
}
.modal-btn-back {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	color: #666666;
	cursor: pointer;
	position: absolute;
}
.modal-btn-back span {
	display: inline-block;
	padding-left: 18px;
	position: relative;
}
.modal-btn-back span:before {
	display: block;
	content: "";
	width: 7px;
	height: 12px;
	background: url(/wp-content/uploads/2025/05/arrow.png) no-repeat left top;
	background-size: contain;
	position: absolute;
	top: 3px;
	left: 0;
}
.simulation-modal h1 {
	text-align: center;
	margin-top: -116px;
}
.simulation-modal h1 span {
	display: inline-block;
	background: linear-gradient(to right, #DD5D3A, #E35E5E);
	border-radius: 50px;
	box-shadow: 0 4px 16px rgba(76, 42, 23, 0.08);
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.06em;
	color: #fff;
	padding: 25px 34px 25px 43px;
	position: relative;
	z-index: 2;
}
.simulation-modal h1 span:after {
	content: "";
	width: 22px;
	height: 14px;
	background: linear-gradient(to right, #DD5D3A, #E35E5E);
	clip-path: polygon(0 0, 50% 100%, 100% 0);
	position: absolute;
	left: 50%;
	bottom: -14px;
	transform: translateX(-50%);
}
.modal-step-list {
	width: 232px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 42px auto 39px;
	position: relative;
}
.modal-step-list:after {
	content: "";
	width: 100%;
	height: 1px;
	background: #CCBDB4;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.modal-step-list li {
	position: relative;
	z-index: 1;
}
.modal-step-list li span {
	display: block;
	width: 40px;
	height: 40px;
	background: #CCBDB4;
	border-radius: 50%;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 38px;
	color: #F4E9E3;
	text-align: center;
}
.modal-step-list li.current span {
	width: 54px;
	height: 54px;
	background: #C11D2D;
	font-size: 28px;
	line-height: 52px;
	color: #fff;
}
.modal-contents {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.44;
	color: #333333;
}
.modal-contents h2 {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.78;
	letter-spacing: 0.06em;
	text-align: center;
	margin-bottom: 32px;
}
.modal-contents h2:first-letter {
	font-size: 22px;
	color: #C11D2D;
}
.modal-contents h2 span {
	display: inline-block;
	margin-left: 7px;
	width: 37px;
	height: 23px;
	border-radius: 50px;
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0.06em;
	color: #fff;
	position: relative;
	top: -3px;
}
.modal-contents h2 span.required {
	background: #C11D2D;
}
.modal-contents h2 span.optional {
	background: #AFA299;
}
.modal-contents h2 small {
	display: block;
	font-size: 14px;
	color: #333333;
	font-weight: 400;
	line-height: 1.43px;
	margin-top: 11px;
}
.modal-contents .grid {
	display: grid;
	justify-content: center;
	margin: 0 auto;
}
.modal-contents .modal-step-2 .grid {
	max-width: 462px;
}
.modal-contents .modal-step-3 .grid {
	max-width: 528px;
}
.modal-contents .gap-1 {
	gap: 27px 0;
}
.modal-contents .gap-2 {
	gap: 19px 20px;
}
.modal-contents .modal-step-2 .gap-2 {
	gap: 13px 20px;
}

.modal-contents .select-row label {
	display: block;
	text-align: center;
	white-space: nowrap;
	margin-bottom: 8px;
}
.modal-contents .select-row select {
	width: 254px;
	background: #fff url(/wp-content/uploads/2025/05/select-icon.png) no-repeat right 17px center;
	background-size: 12px 7px;
	border-radius: 8px;
	border: none;
	font-size: 14px;
	font-weight: 500;
	color: #888888;
	padding: 14px 35px 14px 17px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	outline: none;
}
.modal-contents .select-row select::-ms-expand {
	display: none;
}
.modal-contents .select-row option {
	font-weight: 500;
	color: #000000;
}
.modal-contents input[type="checkbox"] {
	display: none;
}
.modal-contents input[type="checkbox"] + label {
	padding-left: 27px;
	position: relative;
}
.modal-contents input[type="checkbox"] + label:before {
	content: "";
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 4px;
	position: absolute;
	left: 0;
	top: 2px;
}
.modal-contents input[type="checkbox"]:checked + label:after {
	content: "";
	width: 14px;
	height: 14px;
	background: url(/wp-content/uploads/2025/05/check-icon.png) no-repeat center;
	background-size: contain;
	position: absolute;
	left: 3px;
	top: 5px;
	z-index: 1;
}

/*　ボタン　*/
.modal-contents .modal-btn-next,
.modal-contents .modal-btn-result {
	display: flex;
	align-items: center;
	width: 175px;
	min-height: 52px;
	background: #C11D2D;
	border-radius: 50px;
	white-space: nowrap;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .05em;
	color: #fff;
	cursor: pointer;
	padding: 5px 45px 5px 24px;
	margin: 45px auto 0;
	position: relative;
}
.modal-contents .modal-btn-result {
	width: 227px;
}
.modal-contents .modal-btn-next:after,
.modal-contents .modal-btn-result:after  {
	content: '';
	width: 24px;
	height: 24px;
	background-image: url(/wp-content/themes/renew_cloudsoft_theme/img/common/menu-informal-icon.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
}
.modal-contents .modal-btn-next:hover:after,
.modal-contents .modal-btn-result:hover:after  {	
	animation: btnIconRotation .5s cubic-bezier(0.76, 0, 0.24, 1);
}
.modal-contents .modal-btn-next[disabled],
.modal-contents .modal-btn-result[disabled] {
	background: #CCBDB4;
	color: #F4E9E3;
	pointer-events: none;
}
.modal-contents .modal-btn-next[disabled]:after,
.modal-contents .modal-btn-result[disabled]:after {
	background-image: url(/wp-content/uploads/2025/05/btn-icon02.png);
}

@keyframes btnIconRotation {
	0% {
		transform: translateY(-50%) rotate(0deg);
	}
	100% {
		transform: translateY(-50%) rotate(-360deg);
	}	
}

@keyframes btnIconRotation2 {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(-360deg);
	}	
}


.modal-result {
	margin: 66px auto 0;
}
.modal-result .expected {
	width: 335px;
}
.modal-result .expected .item:not(:first-child) {
	margin-top: 20px;
}
.modal-result .expected h3 {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.43;
	margin-bottom: 10px;
}
.modal-result .expected .bg-white {
	display: block;
	background: #fff;
	border-radius: 8px;
	font-size: 27px;
	font-weight: 900;
	padding: 4px 14px 4px 18px;
	text-align: center;
}
/* .modal-result .expected .item:last-child .bg-white {
	display: inline-block;
	min-width: 230px;
} */
.modal-result .expected .bg-white span {
	font-size: 47px;
	margin: 0 2px;
}
.modal-result .expected .bg-white span.salary-max-end,
.modal-result .expected .bg-white span.future-salary-max-end,
.modal-result .expected .bg-white span.cases-max-end,
.modal-result .expected .bg-white span.cases-max-start {
	font-size: 27px;
}
.modal-result .interview {
	width: 227px;
	margin-top: 17px;
}
.modal-result .interview-btn:not(:first-child) {
	margin-top: 59px;
}
.modal-result .interview-btn p {
	text-align: center;
	line-height: 2;
	position: relative;
}
.modal-result .interview-btn p:before,
.modal-result .interview-btn p:after {
	content: "";
	width: 52px;
	height: 2px;
	background: #C11D2D;
	border-radius: 2px;
	position: absolute;
	bottom: 25px;
}
.modal-result .interview-btn p:before {
	transform: rotate(62deg);
	left: -10px;
}
.modal-result .interview-btn p:after {
	transform: rotate(-62deg);
	right: -10px;
}
.modal-result .interview-btn a {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 227px;
	min-height: 52px;
	background: #C11D2D;
	border-radius: 50px;
	white-space: nowrap;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: .05em;
	color: #fff;
	cursor: pointer;
	padding: 5px 45px 5px 24px;
	margin: 17px auto 0;
	position: relative;
	justify-content: center;
}
.modal-result .interview-btn a:after {
	content: '';
	width: 24px;
	height: 24px;
	background-image: url(/wp-content/themes/renew_cloudsoft_theme/img/common/menu-informal-icon.png);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 50%;
	right: 16px;
	transform: translateY(-50%);
}
.modal-result .interview-btn a:hover:after {	
	animation: btnIconRotation .5s cubic-bezier(0.76, 0, 0.24, 1);
}


@media (min-width: 768px) {
	.modal-wrap .close {
		right: 34px;
		top: 30px;
	}
	.modal-btn-back {
		left: 44px;
		top: 30px;
	}
	.modal-contents .gap-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.modal-result {
		width: 640px;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	.modal-wrap {
		width: 740px;
	}
}

@media (max-width: 767px) {
	.simulation-modal {
		width: 100%;
/* 		position: absolute !important; */
	}
	.modal-wrap {
		width: calc(100% - 30px);
		height: auto;
		padding: 72px 30px 50px;
	}
	
	.modal-wrap .close {
		color: #fff;
		right: 20px;
		bottom: -30px;
	}
	.modal-wrap .close span:before,
	.modal-wrap .close span:after {
		background: #fff;
	}
	.modal-btn-back {
		color: #fff;
		left: 27px;
		bottom: -30px;
	}
	.modal-btn-back span:before {
		background-image: url(/wp-content/uploads/2025/05/arrow-white.png);
	}
	.simulation-modal h1 {
		margin-top: -98px;
	}
	.simulation-modal h1 span {
		font-size: 20px;
		line-height: 1.4;
		padding: 15px 34px 17px 36px;
	}
	.simulation-modal h1.title-step4 span {
		padding: 15px 20px 15px 22px;
	}
	.simulation-modal h1 span:after {
		width: 18px;
		height: 12px;
		bottom: -12px;
	}
	.modal-contents .heading {
		text-align: center;
	}
	.modal-contents h2 {
		display: inline-block;
		font-size: 16px;
		line-height: 1.4;
		text-align: left;
		text-indent: -21px;
		padding-left: 21px;
		margin-bottom: 27px;
	}
	.modal-contents h2:first-letter {
		font-size: 20px;
	}
	.modal-contents h2 span {
		display: block;
		width: 33px;
		height: 18px;
		font-size: 10px;
		line-height: 16px;
		text-align: center;
		text-indent: 0;
		margin-left: 0;
		margin-top: 5px;
		top: 0;
	}
	.modal-contents h2 small {
		margin-top: 0;
		position: relative;
		top: -10px;
		left: 60px;
	}

	.modal-step-list {
		margin: 35px auto 20px;
	}

	.modal-result {
		margin-top: 38px;
	}
	.modal-result .expected {
		width: 100%;
		max-width: 335px;
		text-align: center;
		margin: 0 auto;
	}
	.modal-result .expected .bg-white {
		font-size: 22px;
		padding: 4px 12px 4px 13px;
	}
/* 	.modal-result .expected .item:last-child .bg-white {
		min-width: 175px;
	} */
	.modal-result .expected .bg-white span {
		font-size: 42px;
	}
	.modal-result .expected .bg-white span.salary-max-end,
	.modal-result .expected .bg-white span.future-salary-max-end,
	.modal-result .expected .bg-white span.cases-max-end {
		font-size: 22px;
	}
	.modal-result .interview {
		width: 100%;
		max-width: 236px;
		margin: 35px auto 0;
	}
	.modal-result .interview-btn:not(:first-child) {
		margin-top: 20px;
	}
	.modal-result .interview-btn p {
		font-size: 12px;
		letter-spacing: 0;
		line-height: 1;
	}
	.modal-result .interview-btn p br {
		display: none;
	}
	.modal-result .interview-btn p:before,
	.modal-result .interview-btn p:after {
		width: 22px;
		bottom: 2px;
	}
	.modal-result .interview-btn p:before {
		left: -4px;
	}
	.modal-result .interview-btn p:after {
		right: -4px;
	}
	.modal-result .interview-btn a {
		max-width: 236px;
	}
}

@media (max-width: 389px) {
	.simulation-modal h1 span {
		font-size: 18px;
	}
	.modal-result .expected .bg-white {
		font-size: 20px;
	}
	.modal-result .expected .bg-white span {
		font-size: 40px;
	}
	.modal-result .expected .bg-white span.salary-max-end,
	.modal-result .expected .bg-white span.future-salary-max-end,
	.modal-result .expected .bg-white span.cases-max-end {
		font-size: 20px;
	}
}

@media (max-width: 374px) {
	.modal-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}
	.simulation-modal h1 span {
		font-size: 16px;
	}
	.modal-result .expected .bg-white {
		font-size: 16px;
	}
	.modal-result .expected .bg-white span {
		font-size: 36px;
	}
	.modal-result .expected .bg-white span.salary-max-end,
	.modal-result .expected .bg-white span.future-salary-max-end,
	.modal-result .expected .bg-white span.cases-max-end {
		font-size: 16px;
	}
}
