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

/*モーダルを開くボタン*/
.estimate-area .modal-open{
	position: absolute;
	right: 0;
	top: 110px;
	width: auto;
	font-weight: 400;
	margin: 0 auto;
	cursor: pointer;
	color: #FFF;
	border: none;
	padding: 15px 60px;
	/* border-radius: 3px; */
	font-size: 15px;
	letter-spacing: 0.05em;
	transition: .2s;
	background: #FF0B0D;
	text-align: center;
	border-radius: 3px;
}
.estimate-area modal-open::before {
    /* content: ''; */
    width: 6px;
    height: 6px;
    border-top: solid 2px #FFF;
    border-right: solid 2px #FFF;
    position: absolute;
    right: 25px;
    top: 25px;
    margin: auto;
    transform: rotate(45deg);
}

.estimate-area .modal-open:hover{
	opacity:0.8;
	transition: .2s;
}
/*モーダル本体の指定 + モーダル外側の背景の指定*/
.estimate-area .modal-container{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,65%);
	padding: 40px 20px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
	box-sizing: border-box;
	z-index: 101;
}
/*モーダル本体の擬似要素の指定*/
.estimate-area .modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
/*モーダル本体に「active」クラス付与した時のスタイル*/
.estimate-area .modal-container.active{
	opacity: 1;
	visibility: visible;
}
/*モーダル枠の指定*/
.estimate-area .modal{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	max-width: 800px;
	width: 100%;
	background: #FFF;
	border-radius: 4px;
}
/*モーダルを閉じるボタンの指定*/
.estimate-area .modal-close{
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	top: -35px;
	right: -35px;
	width: 40px;
	height: 40px;
	font-size: 40px;
	color: #fff;
	cursor: pointer;
	background: unset;
	padding: 0;
	border-radius: unset;
	transition: unset;
	box-shadow: unset;
}
.estimate-area .modal-close:hover{
    background: none;
}
/*モーダル内のコンテンツの指定*/
.estimate-area .modal-content{
	text-align: left;
	padding: 0;
}

.estimate-area h2 {
    text-align: center;
    padding: 25px 0;
    font-weight: 400;
    background: #DBDBDB;
    font-size: 16px;
    border-radius: 4px 4px 0 0;
    color: #333;
}

.estimate-area-inner {
    padding: 30px 50px 40px;
}

.estimate-area-box {
    border: solid 1px #CCC;
    box-sizing: border-box;
    margin: -1px 0 0;
    padding: 20px;
}
.estimate-area-box　select{}
div.cart-article .estimate-area-box p {
    float: left;
    margin: 0 10px 0 0;
    width: 100px;
    line-height: 310%;
    color: #333 !important;
    font-size: 14px;
}

.estimate-area-box input {
    width: 370px;
    height: 40px;
    border: solid 1px #ADADAD;
    border-radius: 3px;
    padding: 0 10px;
    font-size: 14px;
}

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

div.cart-article .estimate-area-inner>p {
    margin: 0 0 20px;
    line-height: 190%;
    font-size: 14px;
    color: #333;
}
.estimate-area-box select#spsTitle {
    /* width: 300px; */
    height: 40px;
    border: solid 1px #ADADAD;
    border-radius: 3px;
    padding: 0 10px;
    margin: 0 0 0 15px;
    font-size: 14px;
}

div#btn_estimate {
    text-align: center;
    margin: 30px 0 0;
}
div#btn_estimate button {
    color: #FFF;
    border: none;
    padding: 20px 0;
    font-size: 15px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    width: 300px;
    line-height: 135%;
    transition: .2s;
    background: #FF0B0D url();
    background-position: 63px 14px;
    background-size: 30px;
    cursor: pointer;
}
div#btn_estimate button:hover {
    opacity: 0.8;
}

#contact #center1 .centerbox .mainCont {
    position: relative;
}




@media screen and (max-width: 768px) {

/* スマホ見積書モーダル */
.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: 20px;
	box-sizing: border-box;
	text-align: left;
}

.smp-estimate-area .modal-content h2 {
	margin: 0 0 15px;
	padding: 15px 0;
	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: 16px;
}

.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;
}

.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;
}
}

@media screen and (max-width: 360px) {
	.smp-estimate-area .modal-content {
		padding: 20px 12px 18px;
	}

	.smp-estimate-area .modal-content h2 {
		font-size: 18px;
	}

	.smp-estimate-area .modal-open,
	.smp-estimate-area #btn_estimate button {
		font-size: 15px;
	}
}