#contact{
	margin-top:100px;
}
.other-wrap{
	padding:70px 0 100px 0;
}
  
  
/*----メイン----*/
#wrap_contact .message{
	width:85%;
	max-width:1100px;
	margin:30px auto;
	text-align: center;
	font-size:16px;
}
#main {
	text-align:center;
	line-height:30px;
}
#main .first span{
	color:#0B5197;
	font-size:14px;
	margin-right:5px;
	font-weight:bold;
}
#oto_wrapper{
	width:100%;
	margin: 0 auto;
}
.form_wrap{
	width:85%;
	margin:0 auto 20px auto;
	border-radius:7px;
	display:flex;
	align-items: top;
	min-height:0%;
 }
.form_wrap .title{
	font-size:16px;
	font-weight:normal;
}
.form_wrap th {
	width: 30%;
	min-width:150px;
	text-align: left;
	vertical-align: top;
	padding:7px 0;
}
.form_wrap td{
	width:70%;
	background-color:#fff;
	padding:7px;
}

  
/*-------  入力 ------*/
  
span.wpcf7-list-item{
	display:block !important;
	margin-bottom:10px;
	margin-left:5px;
}
span.wpcf7-list-item:last-child{
	margin-bottom:0;
}
input[type=text],
input[type=email],
input[type=tel]{
	margin:0 auto;
	width:100%;
	font-size: 14px;
	box-sizing: border-box;
	border:none;
	padding:10px;
}
textarea{
	width:100%;
	border:none;
	box-sizing:border-box;
	word-break:break-word;
	height: 150px;
	resize:vertical;
	padding:10px;
	font-size: 14px;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}
#wrap_contact input[type=text].wpcf7c-conf,
#wrap_contact input[type=tel].wpcf7c-conf,
#wrap_contact input[type=email].wpcf7c-conf,
#wrap_contact textarea.wpcf7c-conf{
	  background-color: #fff!important;
	  color: black;
	  border: 1px solid #fff;
	  outline: none;
	  appearance: none;
}
.button{
	margin:40px 0 20px 0;
}
.submit{
	display:flex;
	margin:0 auto;
	width: 60%;
	max-width: 700px;
}
.confirm{
	width:350px;
	margin: 0 auto;
}
input[type=submit]{
	width:100%;
	font-size: 16px;
	padding:20px 0;
	cursor: pointer;
	border: none;
	background:#000;
	border: 1px solid #000;
	color:#fff;
	border-radius: 40px;
	transition: 0.3s;
	-webkit-appearance:none;
	appearance:none;
}
input[type=submit]:hover{
	background:#fff;
	color:#000;
	border:1px solid #000;
}

  
#privacy .caution{
	width:85%;
	text-align: center;
	font-size:14px;
	margin:20px auto 0;
	line-height:28px;
}

  
  
  /*------- エラー -------*/
.error_m{
	text-align: center;
}
.wpcf7 form .wpcf7-response-output {
	display:inline-block;
	margin: 0 auto !important;
	padding: 20px !important;
	border: 1px solid #0B5197 !important;
	color: #0B5197;
}
span.wpcf7-not-valid-tip {
	color: #0B5197;
	font-size: 13px;
	display: block;
	margin: 0px 0 10px 10px;
}
#wrap_contact table th span {
	color: #fff;
    font-size: 12px;
    margin-left: 15px;
    background: #000;
    padding: 5px;
}
.screen-reader-response{
	display:none;
}
  
  
  
  
/*-------  入力内容確認画面 ------*/
input[type=button]{
	width:50%;
	font-size: 16px;
	cursor: pointer;
	border: none;
	background:#afafaf;
	color:#fff;
	border-radius: 40px;
	transition: 0.3s;
	-webkit-appearance:none;
	appearance:none;
	margin-right:15px;
}
.wpcf7c-elm-step2{
	display:inline-block;
	padding: 20px !important;
	border: 1px solid #0B5197;
	color: #0B5197;
}
  .wpcf7c-elm-step3{
	line-height:30px;
  }
  .wpcf7 .ajax-loader{
	margin:0 !important;
	display:none !important;
  }
  
  /*------- 送信完了 -------*/
  .thankyou{
	  width:70%;
	  margin:0 auto;
	  font-size:25px;
  }
  .thankyou p{
	margin:50px 0;
  }
  .sent table{
	display: none;
}
  
  input:-internal-autofill-selected {
	appearance: none !important;
  }
  
  
  /*----------　確認画面で選んだものに背景がつかないようにする　-----------*/
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
	  width: 100%;
	  background: #fff;
	  padding: 10px;
  }
  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="tel"]:focus{
	  outline: 0;
	  background: #fff;
  }
  textarea:focus{
	outline: 0;
  }
  
  /* 確認画面のスタイル */
  input[type='text'].wpcf7c-conf,
  input[type='email'].wpcf7c-conf,
  input[type='tel'].wpcf7c-conf,
  textarea.wpcf7c-conf {
	  border-style: none !important;
	  background: transparent;
	  color: black;
  }
  
  
  .wpcf7-text:-webkit-autofill {
	box-shadow: 0 0 0 1000px #f9f9f9 inset;
  }
  .wpcf7-textarea:-webkit-autofill {
	box-shadow: 0 0 0 1000px #f9f9f9 inset;
  }
  
  /* Chromeのオートフィル用 */
  input.wpcf7c-conf:-webkit-autofill {
	-webkit-box-shadow: 0 0 0px 1000px #fff inset; /* 確認画面では背景を#fffにする */
  }
  
  .wpcf7-form-control-wrap{
	display: block;
  }
  
  span.wpcf7-list-item{
	position: relative;
	flex-basis: 50%;
	width: 100%;
  }
  
  .wpcf7-list-item-label{
	color: #000;
	cursor: pointer;
	font-size: 14px
  }
  
  input[type="checkbox"]{
	position: absolute;
	opacity: 0;
  }
  
  .wpcf7-list-item-label:before{
	content: '';
	background: #fff;
	border: 1px solid #000;
	display: inline-block;
	width: 18px;
	height: 18px;
	position: relative;
	top: -1px;
	margin-right: 14px;
	vertical-align: middle;
	cursor: pointer;
	text-align: center;
	-webkit-transition: all 250ms ease;
	transition: all 250ms ease;
  }
  
  input[type="checkbox"]:checked ~ .wpcf7-list-item-label:before{
	background-color: #000;
	box-shadow: inset 0 0 0 2px #fff;
  }