@charset "utf-8";

/*---------------------
メインビジュアル
---------------------*/
.l_mv{
	background: url(../inquiry/img/bg.jpg) no-repeat right center;
}



/*---------------------
フォーム
---------------------*/
.l_inquiry table{
	width: 100%;
	margin: 4% auto;
	border-collapse: collapse;
	border-spacing: 0;
	/*white-space: pre-wrap;*/
}

.l_inquiry table th,
.l_inquiry table td{
	padding: 2% 4%;
}

.l_inquiry table th{
	color: #008cd2;
	font-weight: bold;
	vertical-align: middle;
	width: 260px;
}


@media screen and (max-width: 767px){
	.l_inquiry table{
		margin: 8% auto;
	}

	.l_inquiry table th{
		text-align: left;
		background: none;
		padding: 6% 0 0 0;
		width: 100%;
		display: block;
		border-bottom: none;
	}
	
	.l_inquiry table td{
		padding: 2% 0 6% 0;
		width: 100%;
		display: block;
	}
	
	.md_checkbox li{
	    margin: 10px 0;
	}

}



/* テキストフィールド */
input[type=text], input[type=tel],input[type=email],input[type=number]{
	font-family: 'Noto Sans JP', 'Noto Sans Japanese','メイリオ',Meiryo,'ヒラギノ角ゴ ProN W3',Helvetica,'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック','MS PGothic', Osaka,sans-serif;
	border: #b7b7b7 1px solid;
	background: #fff;
	width: 96%;
	padding: 2%;
}

input.is_required{
	border: #f16779 1px solid;
	background: #fff3f5;
}

input:-webkit-input-placeholder{
    color: #999;
}

input.is_txtsmall{
	width: 50%;
}


/* テキストエリア */
textarea{
	font-family: 'Noto Sans JP', 'Noto Sans Japanese','メイリオ',Meiryo,'ヒラギノ角ゴ ProN W3',Helvetica,'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','ＭＳ Ｐゴシック','MS PGothic', Osaka,sans-serif;
	border: solid 1px #b7b7b7;
    width: 96%;
	height: 120px;
	padding: 2%;
}


/* フォーカス時 */
input:focus, select:focus, textarea:focus{
	background: #e7f5ff;
	border: #036eb8 1px solid !important;
	outline: none;
}

/* 必須 */
.icon_required{
	color: #cc283e;
	font-weight: bold;
}


/* エラー時 */
.t_err{
	color: #c90000;
	font-size: 140%;
	font-weight: bold;
	margin-top: 40px;
}

.is_err{
	background: rgba(201, 0, 0, 0.1);
	padding: 10px;
}


/* HTMLフォームチェック（jQuery） */
input.err, textarea.err{
	border: #c90000 2px solid;
}

.errMsg{
	line-height: 1.4;
	text-indent: -.9em;
	margin-left: 1em;
	padding-bottom: 1px;
	display: block;
}

.formErrorContent{
	color: #c90000;
	font-size: 100%;
	font-weight: bold;
	width: 96.5%;
	padding: 10px;
	position:relative;
	_z-index:1;
}

.formErrorArrow,
.formErrorClose{
	display: none;
}

.fadeOut{
	opacity: .2;
	filter: alpha(opacity=20);
}

input[type=image]:hover{
	filter: Alpha(opacity=80);
	-moz-opacity: 0.8;
	opacity: 0.80;
}

.l_inquiry table td p{
	margin-bottom: 10px;
}

.l_inquiry table td p:last-child{
	margin-bottom: 0;
}


/* フォームボタン */
p.b_submit{
	text-align: center;
}

p.b_submit input{
    color: #fff;
    font-size: 125%;
    font-weight: bold;
    background: #82939c;
    max-width: 440px;
    width: 40%;
    margin: 2%;
    padding: 10px;
    display: inline-block;
}

p.b_submit a.b_return{
    color: #fff;
    font-size: 125%;
    font-weight: bold;
    background: #82939c;
    max-width: 440px;
    width: 38%;
    margin: 2%;
    padding: 10px;
    display: inline-block;
    text-decoration: none;
    line-height: 1.5;
}

p.b_submit input[type="submit"]{
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	appearance: button;
	border: none;
	box-sizing: border-box;
    cursor: pointer;
}

input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration{
  display: none;
}

input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

p.b_submit input[type="submit"]:hover,
p.b_submit a.b_return:hover{
	filter:Alpha(opacity=50);
	-moz-opacity:0.5;
	opacity:0.50;
}

/* 同意ボタン */
.md_agree p{
	text-align: center;	
}

.md_agree p:nth-child(2){
	margin:  20px 0;
}

.md_agree p:nth-child(2) input{
	margin-right: 10px;
}

p.b_submit input:disabled{
	filter:Alpha(opacity=50);
	-moz-opacity:0.5;
	opacity:0.50;
}

p.b_submit input:disabled:hover{
	cursor: default;
}

@media screen and (max-width: 767px){
	p.b_submit input{
		width: 92%;
		padding: 16px 4%;
	}
	
	p.b_submit a.b_return{
		margin-bottom: 8%;
		padding: 10px 4%
	}
}
