@charset "utf-8";

.modal-content {
	width: 480px;
	top:50%;
	left:50%;
	/* margin-top: -170px;
	margin-left: -240px; */
	transform: translate(-50%, -50%);
	padding: 20px 0;
	border: 4px solid #c03;
	background: #fff;
	position: fixed;
	display: none;
	z-index: 10;
	max-height: 90vh;
	overflow-y: auto;
}
#modal-overlay {
	z-index: 3 ;
	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 p {
	margin: 0;
	text-align:center;
	font-size: 20px;
	}
.modal-content .text-em{
	font-size: 22px;
	font-style: italic;
	font-weight:bold;
	}
.modal-content .text-blue{
	line-height: 1.2;
	font-size: 20px;
	font-weight:bold;
	color: #333;
	}
.modal-content .text-number{
	color: #c03;
	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 #c03;
		border-radius:50%;
		font-family: "Font Awesome 5 Free";
		content: "\f2a0";
		font-size: 80%;
		line-height: 50px;
		}

@media screen and (max-width: 38.74em) {
.modal-content {
	width: 300px;
	/* margin-top: -150px;
	margin-left: -150px; */
	padding: .5rem 0;
	}
}

/* お問合せ先のモーダルを表示 */
#contact-modal .logo{
	background: #c03;
	color: #fff;
	font-size: 1.3rem;
	font-weight: bold;
	}
#contact-modal .title{
	padding: 3rem 2rem;
	background: url(../img/bg_modal.png) no-repeat 100% 100%;
	text-align: left;
	font-size: 1.3rem;
	font-weight: bold;
	text-shadow: 0 0 2px #fff, 0 0 2px #fff;
	}
#contact-modal .button.hollow{
	}
	#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: -395px;
	margin-left: -350px; */
	padding: 0 0 20px;
	border: none;
	}
	#contact-modal .button{
		margin: 10px 30px;
		}
#contact-modal .btn_move{
	height: 78px;
	line-height: 78px;
	padding: 0;
	}
	#contact-modal .btn_move > i{
		margin-top: 1rem;
		}
	#contact-modal .button.hollow > small{
		font-size: .85rem;
		}
	#contact-modal .button.hollow > small > br{
		display: none;
		}
#contact-modal .logo{
	padding: 10px 0 5px;
	}
}
@media screen and (max-width: 38.74em) {
#contact-modal{
	width: 300px;
	/* margin-top: -295px;
	margin-left: -150px; */
	padding: 0;
	border: none;
	}
	#contact-modal .button{
		margin: 10px;
		font-size: 1.3rem;
		text-indent: 1rem;
		}
		#contact-modal .button > i{
			margin-top: -.7rem;
			margin-left: -1rem;
			font-size: 130%;
			}
		#contact-modal .button > small{
			font-size: 11px;
			}
#contact-modal .btn_move{
	margin-top: 0;
	height: 62px;
	line-height: 62px;
	padding: 0;
	}
#contact-modal .logo{
	padding: .5rem 0;
	}
#contact-modal .title{
	margin: .8rem 0;
	padding: 1.3rem 1rem;
	background: url(../img/bg_modal.png) no-repeat 100% 100%;
	background-size: 105px 80px;
	}
}

/* 離脱ブロック */
#alert-modal{
	/* margin-top: -294px; */
	padding-top: 10px;
	padding-bottom: 0;
	border: 10px solid #c03;
	background: #c03;
	border-radius: 6px;
	}
	#alert-modal p{
		font-size: 14px;
		}
	#alert-modal p.text-left{
		text-align: left;
		}
	#alert-modal .text-red{
		color: #fff;
		}
	#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;
	color: #c03;
	}
#alert-modal .timer-text{
	font-size: 1.15rem;
	}
#timer{
	margin-bottom: .5rem;
	padding: .2rem 0;
	background: #c03;
	color: #fff;
	text-align: center;
	}
	#timer > span{
		display: inline-block;
		width: 1.4em;
		text-align: center;
		font-size: 200%;
		}
#alert-modal .button{
	width: calc(100% - 1em);
	margin: 20px 0 0;
	}
#alert-modal .button.success{
	padding-top: .82rem;
	padding-bottom: .82rem;
	}
@media screen and (max-width: 38.74em) {
#alert-modal{
	max-width: 260px;
	/* margin-top: -248px;
	margin-left: -140px; */
	}
	#alert-modal p{
		font-size: 12px;
		}
#alert-modal .button{
	width: 100%;
	margin-top: 10px;
	font-size: 1.1rem;
	}
#alert-modal .button.alert{
	padding: 1.5rem 0;
	}
#alert-modal .button.success{
	padding: .85rem 0;
	}
#alert-modal .bg-white{
	padding: 10px;
	}
}
