@charset "utf-8";

.modal-content {
	width: 480px;
	top:50%;
	left:50%;
	margin-top: -100px;
	margin-left: -240px;
	padding: 20px 0;
	border: 3px solid #f93c64;
	background: #fff ;
	position: fixed ;
	display: none ;
	z-index: 11 ;
}
#modal-overlay {
	z-index: 10 ;
	display: none ;
	position: fixed ;
	top: 0 ;
	left: 0 ;
	width: 100% ;
	height: 120% ;
	background-color: rgba( 0,0,0, 0.75 ) ;
}

#modal-close {
	position: absolute;
	top: 0;
	right: 7px;
	font-size: 150%;
	color: #666;
	cursor: pointer;
	}

.modal-content .text-em{
	font-size: 22px;
	font-style: italic;
	font-weight:bold;
	}
.modal-content .text-blue{
	font-size: 24px;
	font-weight:bold;
	}
.modal-content .text-number{
	color: #f93c64;
	font-size:44px;
	font-weight:bold;
	}
	.modal-content .text-number:before{
		display:inline-block;
		width: 50px;
		height: 50px;
		margin-right: 10px;
		vertical-align: middle;
		border:2px solid #f93c64;
		border-radius:50%;
		font-family: "Font Awesome 5 Free";
		content: "\f2a0";
		font-size: 80%;
		line-height: 50px;
		}

.modal-content .logo{
	padding: 24px 0 20px;
	background: #fff;
	text-align: center;
	}
.modal-content .logo > img{
	max-height: 32px;
	}
.modal-content .logo.east > img{
	max-height: 28px;
}
.modal-content .title{
	text-align: center;
	padding : 24px 0 24px;
	font-size: 16px;
	font-weight: normal;
	line-height: 1.2;
	}
.modal-content .title span.blue1{
	padding-top: 0.3em;
	font-size: 20px;
	font-weight: 600;
	color: #004EA2;
	background: linear-gradient(transparent 78%, #FFE100 22%);
	display: inline-block;
}
.modal-content .title span.blue2{
	padding-top: 0.3em;
	font-size: 20px;
	font-weight: 600;
	color: #004EA2;
	display: inline-block;
}
.modal-content .text{
	font-size: 13px;
	padding: 0 0 40px;
	text-align: center;
	line-height: 24px;
	letter-spacing: -0.04em;
	color: #333333;
}
		
@media screen and (min-width: 38.75em) {
	.modal-content .title{
		text-align: center;
		font-size: 1.5rem;
		}
		.modal-content .title > br{
			display: none;
			}
}

/* お問合せ先のモーダルを表示 */
.contact .btn_move{
	height: 60px;
	line-height: 60px;
	padding: 0;
	color: #333;
	}
.contact .btn_order{
	height: 50px;
	line-height: 1;
	padding-top: 10px;
	color: #333;
	}
	#contact-modal .button.hollow > small{
		margin-top: 5px;
		}
	#contact-modal .button.hollow::after{
		top: 50%;
		line-height: 1;
		}
@media screen and (min-width: 38.75em) {
	#contact-modal{
		width: 700px;
		margin-top: -385px;
		margin-left: -350px;
		padding: 0;
		border: none;
		background: #e9f5fa;
	}
	#contact-modal .button{
		margin: 30px 0;
		}
	.contact .btn_move{
		max-width: 700px;
		margin: 0 auto;
		height: 90px;
		line-height: 90px;
	}
	.contact .btn_move > i{
		margin-top: 1.5rem;
		margin-right: -2rem;
		}
	.contact .btn_order{
		height: 64px;
		padding-top: 12px;
		line-height: 1.4;
	}
	.contact .btn_order > i{
		margin-top: .5rem;
		}
	#contact-modal .modal_buttons{
		background: #E2F6FB;
		padding-bottom: 0;
	}
	#contact-modal a.btn_order{
		height: 100px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap:10px;
		background: #FFE100;
		box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
		border-radius: 12px;
		color: #002673;
		font-size: 13px;
		font-weight: bold;
		line-height: 1.2;
	}
	#contact-modal a.btn_order span{
		font-size: 22px;
		font-weight: bold;
		letter-spacing: -0.02em;
	}
	#contact-modal a.btn_other{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 100px;
		gap:10px;
		background: #F1F1F1;
		box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
		border-radius: 12px;
		margin-top: 24px;
		margin-bottom: 40px;
		color: #555555;
		font-size: 13px;
		font-weight: bold;
		line-height: 1.2;
	}
	#contact-modal a.btn_other span{
		font-size: 22px;
		font-weight: bold;
		letter-spacing: -0.02em;
	}
	#contact-modal .btn_move > i{
		margin-top: 1rem;
		}
	#contact-modal .button.hollow > small{
		font-size: .85rem;
		}
	#contact-modal .button.hollow > small > br{
		display: none;
		}
	}
@media screen and (max-width: 38.74em) {
	#contact-modal{
		width: 93.52%;
		margin-top: -284px;
		margin-left: -46.76%;
		padding: 0;
		border: none;
		border-radius: 8px;
		overflow: hidden;
		background: #e9f5fa;
	}
	#contact-modal .button{
		font-size: 1.3rem;
		text-indent: 1rem;
	}
	#contact-modal .button > i{
		text-indent: 0;
		}
	#contact-modal .button > small{
		font-size: 11px;
		}
	#contact-modal .modal_buttons{
		background: #E2F6FB;
		padding-bottom: 0;
	}
	#contact-modal a.btn_order{
		height: 100px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap:10px;
		background: #FFE100;
		box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
		border-radius: 12px;
		color: #002673;
		font-size: 13px;
		font-weight: bold;
		line-height: 1.2;
	}
	#contact-modal a.btn_order span{
		font-size: 22px;
		font-weight: bold;
		letter-spacing: -0.02em;
	}
	#contact-modal a.btn_other{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: 100px;
		gap:10px;
		background: #F1F1F1;
		box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
		border-radius: 12px;
		margin-top: 24px;
		margin-bottom: 40px;
		color: #555555;
		font-size: 13px;
		font-weight: bold;
		line-height: 1.2;
	}
	#contact-modal a.btn_other span{
		font-size: 22px;
		font-weight: bold;
		letter-spacing: -0.02em;
	}
}

/* 初回訪問で目的のモーダルを表示 */
#choice-modal {
	border:none;
	padding-top: 0;
	}
	#choice-modal .button{
		margin: 1rem auto;
		padding: 1.2em .8em 1.2em 0;
		font-size: 1.2rem;
		}
@media screen and (min-width: 38.74em) {
#choice-modal {
	width: 700px;
	margin-top: -228px;
	margin-left: -350px;
	}
	#choice-modal .button{
		max-width: 400px;
		}
}
@media screen and (max-width: 38.74em) {
#choice-modal {
	width: 280px;
	margin-top: -180px;
	margin-left: -140px;
	padding: 0;
	}
	#choice-modal .button{
		max-width: 240px;
		}
}
/* 離脱ブロック */
#alert-modal{
	margin-top: -294px;
	padding-top: 10px;
	padding-bottom: 0;
	border: 10px solid #ffff95;
	background: #ffff95;
	border-radius: 6px;
	}
	#alert-modal p{
		font-size: 14px;
		}
	#alert-modal p.text-left{
		text-align: left;
		}
	#alert-modal .text-red{
		color: #f33;
		}
	#alert-modal .ttl{
		padding-top: .5rem;
		font-size: 180%;
		font-weight: bold;
		}
		#alert-modal .ttl > img{
			max-width: 27px;
			margin-right: 2px;
			vertical-align: -4px;
			}
	#alert-modal .ttl + p{
		line-height: 1.4;
		font-size: 1.15em;
		}
	#alert-modal .ttl + p > span{
		font-size: 1.2em;
		}
#alert-modal .bg-white{
	margin-top: 10px;
	padding: 20px;
	background: #fff;
	border-radius: 6px;
	}
#alert-modal p.text-blue{
	margin-bottom: .5rem;
	line-height: 1.4;
	font-size: 1.15em;
	}
#alert-modal .timer-text{
	font-size: 1.15rem;
	margin-bottom: 10px;
	}
#timer{
	margin-bottom: .5rem;
	padding: .2rem 0;
	background: #004ea2;
	color: #fffd47;
	text-align: center;
	}
	#timer > span{
		display: inline-block;
		width: 1.4em;
		text-align: center;
		font-size: 200%;
		}
#alert-modal .button{
	width: 100%;
	margin: 20px 0 0;
	}
#alert-modal .button.alert{
	padding-top: .82rem;
	padding-bottom: .82rem;
	}
@media screen and (max-width: 38.74em) {
#alert-modal{
	max-width: 320px;
	margin-top: -248px;
	margin-left: -160px;
	}
	#alert-modal p{
		font-size: 12px;
		}
#alert-modal .button{
	width: 100%;
	margin-top: 10px;
	font-size: 1.1rem;
	}
#alert-modal .button.success{
	padding: 1.5rem 0;
	}
#alert-modal .button.alert{
	padding: .85rem 0;
	}
#alert-modal .bg-white{
	padding: 10px;
	}
}
