@charset "utf-8";

.modal-content {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	height: fit-content;
	z-index: 4;
}
@media screen and (min-width: 38.75em) {

}
#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;
	font-size: 20px;
	}
.modal-content .text-em{
	font-size: 22px;
	font-style: italic;
	font-weight:bold;
	}
.modal-content .text-blue{
	font-size: 24px;
	font-weight:bold;
	color: #333;
	}
.modal-content .text-number{
	color: #e71a20;
	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 #e71a20;
		border-radius:50%;
		font-family: "Font Awesome 5 Free";
		content: "\f2a0";
		font-size: 80%;
		line-height: 50px;
		}
	.modal-content .logo{
		padding: 12px 0;
		background: #fee9ec;
		color: #e71a20;
		text-align: center;
		font-weight: bold;
		font-size: 1.5rem;
		border-radius: 10px 10px 0 0;
		}
		.modal-content .logo > img{
			max-height: 33px;
			}
	.modal-content .title{
		display: table-cell;
		width: 100vw;
		height: 88px;
		vertical-align: middle;
		padding: 0 1rem;
		text-align: left;
		background: url(../img/img_modal.jpg) no-repeat 100% 0;
		background-size: auto 100%;
		font-size: 1.3rem;
		font-weight: bold;
		}
	.modal-content .button#btn_move{
		margin-top: 2rem !important;
		}
@media screen and (min-width: 38.75em) {
	.modal-content .title{
		text-align: center;
		font-size: 1.2rem;
		}
		.modal-content .title > br{
			display: none;
			}
}

/* お問合せ先のモーダルを表示 */
.contact #btn_move,
.contact #btn_cancel{
	height: 60px;
	line-height: 60px;
	padding: 0;
	color: #333;
	}
.contact #btn_order,
.contact #btn_others{
	height: 50px;
	line-height: 1;
	padding-top: 10px;
	color: #333;
	}
@media screen and (min-width: 38.75em) {
.contact-modal{
	width: 700px;
	margin-top: -340px;
	margin-left: -350px;
	padding: 0 0 1rem;
	border: none;
	border-radius: 20px;
	}
	.contact-modal .button{
		margin: 1rem 70px;
		}
	.contact-modal .button span{
		width: 66px;
		height: 66px;
		line-height: 66px;
		}
.contact-modal .btn_order{
	height: 78px;
	}
.contact-modal .btn_move{
	height: 78px;
	line-height: 78px;
	padding: 0;
	}
	.contact-modal .button i{
		margin-top: 1rem;
		font-size: 2rem;
		}
	.contact-modal .button > small{
		font-size: .85rem;
		}
}
@media screen and (max-width: 38.74em) {
.contact-modal{
	width: 300px;
	margin-top: -240px;
	margin-left: -150px;
	padding: 0;
	border: none;
	}
	.contact-modal .button{
		margin: 10px;
		}
		.contact-modal .button > small{
			font-size: 11px;
			}
.contact-modal .btn_move{
	height: 62px;
	line-height: 62px;
	padding: 0;
	}
}

.modal-content .contact{
	padding: 0 20px;
	}
	.modal-content .contact p:not(.text-blue){
		font-size: 1rem;
		}

/* 離脱ブロック */
#alert-modal{
	width: 600px;
	margin-top: -333px;
	margin-left: -300px;
	padding-top: 0;
	padding-bottom: 0;
	border: 10px solid #e8ffd1;
	background: #e8ffd1;
	border-radius: 6px;
	}
	#alert-modal .ttl{
		padding-top: .5rem;
		padding-bottom: 1rem;
		font-size: 150%;
		}
		#alert-modal .ttl > i{
			margin-right: .5rem;
			color: #f8980f;
			font-size: 160%;
			}
#alert-modal .bg-white{
	padding: 0 10px 10px 10px;
	border-radius: 6px;
	background: #fff;
	}
@media screen and (min-width: 38.75em) {
#alert-modal .bg-white{
	padding-bottom: 1rem;
	}
#alert-modal p{
	font-size: 1rem;
	}
#alert-modal .button{
	}
	#alert-modal .button > span{
		width: 56px;
		height: 56px;
		line-height: 58px;
		font-size: 100%;
		}
	#alert-modal .button > small{
		font-size: .8rem;
		}
}
@media screen and (max-width: 38.74em) {
#alert-modal{
	max-width: 260px;
	margin-top: -244px;
	margin-left: -140px;
	}
#alert-modal p{
	font-size: .9rem;
	}
	#alert-modal .text{
		font-size: 12px;
		text-align: left;
		}
#alert-modal .bg-white{
	max-height: 70vh;
	overflow-y: auto;
	}
	#alert-modal .bg-white img{
		max-width: 82px;
		}
#alert-modal .button{
	margin-top: 10px;
	height: 55px;
	line-height: 55px;
	font-size: 1rem;
	}
#alert-modal .trigger-inside .button{
	height: 40px;
	line-height: 40px;
	}
	#alert-modal .button::after{
		font-size: 100%;
		margin-top: -.5rem;
		right: 1rem;
		}
	#alert-modal .button > span{
		width: 46px;
		height: 46px;
		line-height: 48px;
		font-size: 140%;
		}
	#alert-modal .trigger-inside .button > span{
		width: 32px;
		height: 32px;
		line-height: 34px;
		font-size: 100%;
		}
	#alert-modal .button > small{
		font-size: 10px;
		}
}