@charset "utf-8";


/* =================================================================
    
   お問合せページ　.contact

   ================================================================= */


/* ----------  メインイメージ（.contact-main）  ---------- */ 
  
.top-image{
	background:url(../img/contact/contact-main-img.png) no-repeat center bottom;
}


/* ----------  メールフォーム（.mail-form）  ---------- */ 
.mail-form p.mialform-text{
	text-align:left;
	border:#003489 1px solid;
	padding:16px 32px;
	width:90%;
}
.mail-form{
	  background:#fff;
}
.mail-form p{
	text-align:left;
}
.mail-form-table{
	width:auto;
	margin:auto;
}
.mail-form-table dl{
	margin:24px 0;
	display:block;
}
.mail-form-table dt{
	width:168px;
	padding:7px 16px;
	border-bottom:#fec200 3px solid;
	color:#003489;
	font-weight:700;
	text-align:left;
	float:left;
}
.consent dt{
	width:100%;
	float:none;
		border-bottom:none;
}
.mail-form-table dd{
	padding:4px 16px;
	text-align:left;
}
input[type="text"],input[type="email"],input[type="tel"]{
	width : 85% ; /* IE8以下とAndroid4.3以下用フォールバック */
	width : -webkit-calc(100% - 232px) ;
	width : calc(100% - 232px) ;
	padding:9px 16px;
	border:none;
	border-bottom:#003489 dotted 1px;
}
input[type="text"]:focus,input[type="email"]:focus,input[type="tel"]:focus{
	border-bottom:#42A5F5 1px solid;
	outline: 0;
	color:#666;
}
textarea{
	width : 85% ; /* IE8以下とAndroid4.3以下用フォールバック */
	width : -webkit-calc(100% - 264px) ;
	width : calc(100% - 264px) ;
	margin-left:16px;
	padding:16px;
}
textarea:focus{
	border:#42A5F5 1px solid;
	outline: 0;
	color:#666;
}
.mail-form p{
	text-align:right;
	margin:24px 182px 0 0;
}
.mfp_buttons button{
	display:inline-block;
	position:relative;
	margin:12px;
	padding:8px 24px;
	color:#fff;
	line-height:1em;
	background:#003489;
	border:none;
	border-radius:4px;	
}
.mfp_buttons button:hover{
	color:#003489;
	background:#fec200;
}
.must{
	background:#F44336;
	font-size:12px;
	padding:4px 8px;
	border-radius:8px;
	color:#fff;
	line-height:1em;
	float:right;
}
.must-left{
	background:#F44336;
	font-size:12px;
	padding:4px 8px;
	border-radius:8px;
	color:#fff;
	line-height:1em;
	margin-right:8px;
}



/* 入力フォーム（チェックボックス・ラジオボタン）　*/

input[type=radio] + label,
input[type=checkbox] + label {
	position: relative;
	display: inline-block;
	line-height: 1.5px;
	cursor: pointer;
}

@media (min-width: 1px) {
input[type=radio],
input[type=checkbox] {
	display: none;
	margin: 0;
}
input[type=radio] + label,
input[type=checkbox] + label {
	padding: 0 0 0 24px;
}
input[type=radio] + label::before,
input[type=checkbox] + label::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	background-color: white;
}
input[type=checkbox] + label::before {
	margin: -9px 0 0 4px;
}
input[type=radio] + label::before {
	border: 1px solid #666;
	border-radius: 30px;
  }
input[type=checkbox] + label::before {
	border: 1px solid #666;
}
input[type=radio]:checked + label::after,
input[type=checkbox]:checked + label::after {
	content: "";
	position: absolute;
	top: 50%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
}
input[type=radio]:checked + label::after {
	left: 4px;
	width: 8px;
	height: 8px;
	margin-top: -4px; 
	background: #FFA000;
	border-radius: 8px;
}
input[type=checkbox]:checked + label::after {
	left: 8px;
	width: 16px;
	height: 8px;
	margin-top: -12px;
	border-left: 3px solid #FFA000;
	border-bottom: 3px solid #FFA000;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
input[type=checkbox][disabled] + label::before {
	background:#EEEEEE;
}
input[type=radio][disabled] + label::before {
	background:#EEEEEE;
}
}

/* セレクトボックス */

select{
	margin-left:16px;
	border-radius:2px;
	background:#f2f2f2;
	border:none;
	padding:8px 50px 8px 8px;
	/*　矢印を消す　*/
	-webkit-appearance:none;
	-moz-appearance:none;
	text-indent: .01px; /* Firefox用 */
	text-overflow: ""; /* Firefox用 */
	appearance:none;
	/*　背景画像の指定　*/
	background-image: url(../img/contact/select-bt.png);
	background-repeat:no-repeat;
	background-size: auto;
	background-position:right center;
	cursor:pointer;
}
select:focus{
	outline: 0;
	color:#666;
}
select::-ms-expand { /* IE用 */
	display: none;
}


/* 送信完了ページ　*/
.thanks-box{
	text-align:left;
	min-height:300px;
}
.thanks-box b{
	margin-top:40px;
	font-size:18px;
	border-bottom:#003489 1px dotted;
	display:block;
}

.thanks-box p{
	text-align:left;
}
.thanks-tel{
	margin-top:24px;
	padding:8px;
	border:#003489 1px solid;
}
.thanks-tel dt{
	border-bottom:#003489 1px dotted;
	margin-bottom:16px;
}
.thanks-tel dd{
	color:#003489;
	font-size:24px;
	font-weight:700;
}
.thanks-tel dd small{
	display:inline-block;
	margin-top:10px;
	font-size:14px;
	font-weight:100;
}

/* =================================================================

   メディアクエリー

   ================================================================= */
   
@media only screen and (max-width: 960px) {
	
	/* ----------  メインイメージ（.company-main）  ---------- */ 
	.top-image{
		background:url(../img/contact/contact-main-img-sp.png) no-repeat center bottom;
	}
	.top-image .box{
		background:none;
		text-align:center;
	}
	.top-image ul.inline{
		display:block;
		text-align:center;
	}
	.top-image ul.inline li{
		width:40%;
		margin:0 1%;
	}
	.top-image ul.inline li a{
		margin:0;
	}  
	.top-image img{
		max-width:70%;
	}
	h1{
		width:100%;
		margin:32px 0;
		font-size:19px;
		text-align:center;
	}
	.top-image .box h1 img.pc-none{
		max-width:80%;
		margin:-10% auto -20%;
	}
	.top-image h3{
		font-size:18px;
		text-align:center;
	}
	.top-image h3 img.top-chach{
		max-width:100%;
	}
	
	/* ----------  メールフォーム（.mail-form）  ---------- */ 
	.mail-form-table dt{
		display:block;
		float:none;
		width:100%;
		box-sizing:border-box;
		background:#fec200;
		border:none;
	}
	.mail-form p.mialform-text {
		box-sizing:border-box;
		width: 100%;
	}
	.mail-form-table dd{
		display:block;
		width:100%;
		box-sizing:border-box;
		padding:0;
	}
	input[type="text"],input[type="email"],input[type="tel"]{
		width : 100% ;
		box-sizing:border-box;
	}
	textarea{
		width : 100%;
		box-sizing:border-box;
		margin-left:0;
		margin-top:16px;
	}
	.mfp_buttons button {
		width:40%;
		margin: 12px 0;
		padding: 16px 24px;
	}
	
	/* 送信完了ページ　*/
	.thanks-box{
		text-align:center;
	}
	.thanks-tel a{
		color:#003489;
	}
	.thanks-box p{
		margin:24px 0 0;
		text-align:left;
	}
	.thanks-box a.link-box{
		width:40%;
		text-align:center;
	}
}





