@charset "utf-8";

.modal-content {
	width: 480px;
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
	padding: 20px 0;
	border: 4px solid #008cd6;;
	background: #fff;
	position: fixed;
	display: none;
	z-index: 4;
	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{
	font-size: 24px;
	font-weight:bold;
	color: #333;
	}
.modal-content .text-number{
	color: #008cd6;
	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 #008cd6;
		border-radius:50%;
		font-family: "Font Awesome 5 Free";
		content: "\f2a0";
		font-size: 80%;
		line-height: 50px;
		}
	.modal-content .logo{
		padding: 8px 0 0;
		background: #008cd6;
		text-align: center;
		}
		.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(/portbroadband/wp-content/themes/port-theme/lp-assets/biglobe-hikari/img/img_modal_title.jpg) no-repeat 100% 0;
		background-size: auto 100%;
		font-size: 1.3rem;
		font-weight: bold;
		}
@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,
.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;
	}
	#contact-modal .button.hollow > small{
		margin-top: 5px;
		}
	#contact-modal .button.hollow::after{
		line-height: 1;
		}
#contact-modal .button.hollow{
	border: 2px solid #333;
	color: #333;
	}
@media screen and (min-width: 38.75em) {
#contact-modal{
	width: 700px;
	padding: 0;
	border: none;
	}
	#contact-modal .button{
		margin: 30px;
		}
	#contact-modal .button::after{
		margin-top: -.8rem;
		}
.contact .btn_move,
.contact .btn_order{
	max-width: 700px;
	margin: 0 auto;
	height: 90px;
	line-height: 90px;
	}
	.contact .btn_move > i,
	.contact .btn_order > 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 .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;
		}
}
@media screen and (max-width: 38.74em) {
#contact-modal{
	width: 300px;
	padding: 0;
	border: none;
	}
	#contact-modal .button.hollow{
		margin: 10px;
		padding-left: 1em;
		padding-left: 1.6rem;
		font-size: 1.3rem;
		}
	#contact-modal .button::after{
		margin-top: -.6rem;
		}
		#contact-modal .button > small{
			font-size: 11px;
			}
#contact-modal .btn_move{
	height: 62px;
	line-height: 62px;
	padding: 0;
	}
}
