/*===========================================
		お問い合わせ ページ
=============================================*/
#contact{
	width:950px;
}

#contactTel {
	width:690px;
	margin:20px 0 30px 30px;
}


.mailform{
	background-color:#3483c5;
	border-radius: 10px;  
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	margin:20px 0 30px 45px;
	width:615px;
	padding:15px;
}

div.mailform h3 {
	color:#FFF;
	font-weight:bold;
	font-size:1.2rem;
	border-bottom:1px solid #FFF;
	padding:5px 5px 5px 0;
}

div.mailform dl#recipt {
	margin:5px 0 0 10px;
	
}

div.mailform dl#recipt dt {
	background-color:#FFF;
	border:1px solid #FFF;
	border-radius:15px;
	padding:5px;
	margin:0 0 5px 10px;
	width:60px;
	color:#3483c5;
	font-weight:bold;
	float:left;
}

div.mailform dl#recipt dd {
	color:#FFF;
	font-weight:bold;
	display:inline;
	float:left;
	margin:5px 0 0 5px;
}

/* メールフォーム部分 */
.tbl_form {
	margin:10px auto;
	padding:10px;
	display: table;
	width:550px;
}

.tbl_form > dl {
  display: table-row;
}

.tbl_form > dl > dt {
  display: table-cell;
  vertical-align: middle;
  width: 180px;
  padding: 15px;
  background: #DED8D4;
  border-bottom: 1px solid #999;
}

.tbl_form > dl > dd {
  display: table-cell;
  width: 400px;
  padding: 10px 5px 9px 5px;
  background: #F0F0F0;
  border-bottom: 1px solid #999;
  border-left: 1px solid #999;
  vertical-align: middle;
}
.tbl_form > .demo > dd >span {
	display: block;
	margin-bottom: 1em;
}

input {
    box-sizing: border-box;
    width: 100%;
}
input[type=checkbox] {
	width: auto;
}
.checkbox label {
	margin-right: .5em;
}
textarea {
    box-sizing: border-box;
	resize: vertical;
    width: 100%;
}
input.day {
	margin-right: .5em;
	width: 60%;
}
.tbl_form > dl > dd dd {
	margin-bottom: 1em;
}
.error,
.error-php {
	color: #f00;
}
.form_button{
	display: flex;
	justify-content: center;
    margin: 20px 45px 10px 45px;
}
.button{
	background-color: #f0f0f0;
	border-radius:         15px;  
	-moz-border-radius:    15px;
	-webkit-border-radius: 15px;
	color: #000;
	font-weight: 400;
	margin: 0 1em;
	padding:3px 18px;
	border:1px solid #DED8D4;
	display: inline-block;
	flex: 0 0 100px;
}
.button:hover{
	border:1px solid #999999;
	color:#FFF;
	background-color:#999999;
	transition: .2s;
}
.button.disabled,
.button.disabled:hover {
	background-color: #f0f0f0;
	border:1px solid #DED8D4;
	color:#bbb
}

/* 確認画面 */


#contact_check{
	width:960px;	
}

.check{
	color:#FFF;
	font-size:large;
	text-align: center;
	margin-top: 30px;
	margin-bottom: 20px;
}

.mailform_posted{
	height:200px;
}
.posted > a{
	border-radius:         15px;  
	-moz-border-radius:    15px;
	-webkit-border-radius: 15px;
	margin:0px 10px;
	padding:3px 18px;
	border:1px solid #FFF;
	color: #3483c5;
	background-color: #FFF;
	text-decoration:none;
}
/*===========================================
		代理店募集ページ
=============================================*/
#contact.agents {
	height: 1200px;
}
.agents > *:not(h2) {
	box-sizing: border-box;
	margin-left: 60px;
	width: 800px;
}
.agents h2 {
	margin-bottom: 50px;
}
.agents h3 {
	border-bottom: 1px solid #3483C5;
	font-size: 23px;
	font-weight: 500;
	margin-bottom: 20px;
	padding-bottom: 10px;
}
.call-to-action::before {
	background-repeat: no-repeat;
	background-size: contain;
	content: '';
	display: inline-block;
	height: 35px;
	margin-right: .2em;
	position: relative;
  top: 7px;
	width: 35px;
}
.description {
	font-size: 17px;
	line-height: 1.6;
	margin-bottom: 3em;
}
.description p {
	margin-bottom: 1.5em;
}
.call-to-action.phone::before {
	background-image: url(../img/icon-agents-tel.svg);
}
.call-to-action.mail::before {
	background-image: url(../img/icon-agents-mail.svg);
}
.tel-no {
	color: #3483C5;
	font-size: 40px;
	margin-bottom: 1em;
}
.tel-no span {
	font-size: 20px;
}
.tbl_form.agents {
	margin: 10px auto;
}