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




/*お問い合わせページ（#toiawase）の設定です*/

.selectbox {
	font-size: .8rem;	
}


/*--------　本文：お問い合わせページ　----------------*/

h1 {
	font-family: "Work Sans", Arial, sans-serif;
	text-align: center;
	font-size: 1.4rem;
	font-weight: 900;
	position: relative;
	margin-bottom: 2em;
	padding-top: 2rem;
}
h1:after {
	content: "";
	width: 100px;
	border-top: 3px solid #1C1F87;
	position: absolute;
	bottom: -.65em;
	right: 50%;
	left: 50%;
	margin-left: -50px;
}
.in_cont p.l_mark {
	text-align: center;
	margin: 1rem auto;
	width: 200px;
	padding-left: 0;
	padding-top: .25em;
	padding-bottom: .25em;
}
.in_cont p.l_mark:hover {
	opacity: .75;
}
.in_cont p.l_mark a {
	display: block;
	padding-left: 1.75rem;
}
.in_cont p.l_mark:before {
	left: 2.5em;
	top: .85em;
}
@media (max-width: 992px) {
	.in_cont p.l_mark:before {
		left: 0;
	}
	.in_cont p.l_mark a {
		padding-left: .05rem;
		display: inline-block;
	}
}
@media (max-width: 768px) {
	h1 {
		font-size: 1.1rem;
	}
}


/*フォーム*/
#form-tbl.in_cont {
	width: 750px;
	min-width: auto;
	margin-top: 3rem;
}
@media (max-width: 768px) {
	#form-tbl.in_cont {
		width: 90%;
	}
}
.hissu {
	display: inline-block;
	width: 3em;
	background: #d31016;
	color: #fff;
	font-size: .65rem;
	margin-right: .5em;
	text-align: center;
	border-radius: 3px;
}
.hissu:before {
	content: "必須";
}
#form-tbl table {
	width: 100%;
	margin-top: .5rem;
}
#form-tbl table th,
#form-tbl table td {
	padding: .65em;
}
#form-tbl table th {
	text-align: right;
}
#form-tbl table td.form_icon {
	text-align: center;
	padding-right: 0;
	padding-left: 0;
}
#form-tbl table td.form_icon .hissu {
	margin-right: 0;
}
#form-tbl table .space {
	padding-top: 2rem;
}
#form-tbl table td p {
	margin-top: .25rem;
}
@media (max-width: 768px) {
	#form-tbl .summary {
		text-align: right;
		font-size: .65rem;
	}
	#form-tbl table td {
		display: block;
	}
	#form-tbl table th,
	#form-tbl table td.form_icon {
		display: inline-block;
		padding-bottom: 0;
	}
}

/*--input--*/
input[type="text"] {
	font-size: 16px;
	width: 100%;
	padding: .5em 1.5%;
	border: 0px;
	background: #ddd;
	border-radius: 2px;
	vertical-align: middle;
}
.wide_s input[type="text"] {
	width: 50%;
}
.wide_ss input[type="text"] {
	width: 25%;
}
textarea {
	font-size: 16px;
	width: 100%;
	height: 180px;
	box-sizing: border-box;
	border: 0px;
	background: #ddd;
	vertical-align: top;
	margin-bottom: 2rem;
}

/*フォーム下の個人情報保護方針に関する箇所*/
#form-tbl table .p_policy {
	background: #fff579;
}
#form-tbl table .p_policy td {
	padding: .85rem 5%;
}
#form-tbl table .p_policy p {
	background: #fff;
	border: 1px solid;
	text-align: center;
	padding: .75rem 2%;
	margin-bottom: .5em;
}
#form-tbl table .p_policy p a {
	color: #1C1F87;
	border-bottom: 1px solid;
}
#form-tbl table .p_policy label {
	margin-top: .25rem;
	display: inline-block;
} 
#form-tbl table .p_policy td > span {
	display: inline-block;
	line-height: 1.35;
}

/*送信・リセット・戻るボタン*/
.form_btn {
	text-align: center;
	margin-top: 2rem;
}
input[type="submit"].btn,
input[type="button"].btn {
	width: 220px;
	padding: .75em 2%;
	margin: 0 1% .5em;
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .15em;
}
input[type="button"].btn {
	color: #018571;
	background: #fff;
	border: 2px solid;
}
input[type="reset"].btn {
	width: 100px;
	padding: .15em 2%;
	color: #018571;
	font-size: .75em;
	background: #fff;
	border: 1px solid;
}
input[type="reset"].btn:hover {
	background: #def7f3;
}

/*お電話の場合*/
#teltoi.content {
	background: #A1D8FE;
	margin-bottom: 0;
	padding-bottom: 5rem;
	padding-top: 1rem;
}
@media (max-width: 768px) {
	#teltoi.content {
		padding-bottom: 2rem;
	}
}





/*--------　確認・エラー・サンクスページ　----------------*/

.msg { color: #d31016; }

#template #form-tbl table {
	margin-top: 1rem;
	margin-bottom: 2rem;
}
#template #form-tbl th,
#template #form-tbl td {
	padding: .75rem;
	border-bottom: 1px dotted;
}
#template #form-tbl th {
	position: relative;
	width: 25%;
}
#template #form-tbl th:after {
	content: "：";
	position: absolute;
}
#template #form-tbl td {
	width: 75%;
}
#template.thanks .summary {
	margin-top: 3.5rem;
	margin-bottom: 3.5rem;
}
#template.thanks .msg {
	font-size: 1.5em;
	color: #018571;
}
@media (max-width: 768px) {
	#template #form-tbl .summary {
		text-align: center;
	}
	#template #form-tbl th,
	#template #form-tbl td {
		border: none;
		width: 100%;
	}
	#template #form-tbl th {
		padding-top: 0;
		padding-bottom: 0;
		text-align: left;
		background: #ddd;
		margin-top: 1em;
	}
	#template #form-tbl th:after {
		content: "";
	}
	
	/*確認画面のボタン*/
	#template.conf .form_btn {
		position: relative;
	}
	#template.conf input[type="button"].btn {
		position: absolute;
		bottom: -2rem;
		left: 50%;
		width: 100px;
		margin-left: -50px;
		font-size: .7rem;
		padding: .25em;
	}
	
	/*thanksページのフッター固定*/
	#template.thanks #container {
		min-height: auto;
	}
	#template.thanks footer {
		position: fixed;
		z-index: 500;
		bottom: 0;
		left: 0;
		width: 100%; 
	}
}
