@charset "UTF-8";
/* CSS Document */

/* スマホ見積書モーダル */
.smp-estimate-area {
	margin: 15px 0 0;
	text-align: center;
}

.smp-estimate-area .modal-open {
	display: block;
	box-sizing: border-box;
	background: #162f67;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
	color: #FFF;
	width: 100%;
	height: auto;
	padding: 17px 0;
	border-radius: 5px;
	text-shadow: none;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.05em;
	margin: 15px auto 0;
	border: none;
}

.smp-estimate-area .modal-container {
	display: none;
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 20px;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.55);
	overflow-y: auto;
}

.smp-estimate-area .modal-container.active {
	/* display: block; */
}

.smp-estimate-area .modal {
	position: relative;
	width: 100%;
	max-width: 420px;
	margin: 40px auto;
	background: #fff;
	border-radius: 6px;
	box-sizing: border-box;
}

.smp-estimate-area .modal-close {
	position: absolute;
	top: -14px;
	right: -8px;
	width: 34px;
	height: 34px;
	background: #333;
	color: #fff;
	font-size: 24px;
	line-height: 32px;
	text-align: center;
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
}

.smp-estimate-area .modal-content {
	padding: 30px;
	box-sizing: border-box;
	text-align: left;
}

.smp-estimate-area .modal-content h2 {
	margin: 0 0 20px;
	padding: 5px 0 15px;
	border-bottom: 1px solid #ddd;
	font-size: 16px;
	line-height: 1.4;
	text-align: center;
}

.smp-estimate-area .estimate-area-inner p {
	margin: 0 0 16px;
	font-size: 12px;
	line-height: 1.6;
}

.smp-estimate-area .estimate-area-box {
	margin: 0 0 16px;
}

.smp-estimate-area .estimate-area-box p {
	margin: 0 0 5px;
	font-size: 13px;
	font-weight: normal;
	line-height: 1.5;
}

.smp-estimate-area .estimate-area-box input{
	width: 100%;
	height: 40px;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	font-size: 13px;
}

.smp-estimate-area .estimate-area-box input::placeholder{
	color: #a2a2a2;
}

.smp-estimate-area .estimate-area-box input#smpCompany{
    width: 73%;
    margin: 0 0.5% 0 0;
}

.smp-estimate-area .estimate-area-box select {
	width: 75%;
	height: 40px;
	box-sizing: border-box;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fff;
	font-size: 16px;
}

.smp-estimate-area .estimate-area-box select {
	margin-top: 0;
	border: 1px solid #CCC !important;
	width: 25% !important;
}

.smp-estimate-area #btn_estimate {
	margin-top: 20px;
	text-align: center;
}

.smp-estimate-area #btn_estimate button {
	display: block;
	box-sizing: border-box;
	background: #162f67;
	line-height: 1.4;
	cursor: pointer;
	appearance: none;
	color: #FFF;
	width: 100%;
	height: auto;
	padding: 17px 0;
	border-radius: 4px;
	text-shadow: none;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.05em;
	margin: 15px auto 0;
	border: none;
}

.smp-estimate-area .modal-container {
	display: block;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.smp-estimate-area .modal-container.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.smp-estimate-area .modal {
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.smp-estimate-area .modal-container.active .modal {
	opacity: 1;
	transform: translateY(0);
}

.smp-estimate-area .modal-container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.smp-estimate-area .modal {
	margin: 0 auto;
}
