#contact{
  margin-top:100px;
}


/*----メイン----*/
#wrap_contact .message{
  width:85%;
  max-width:1100px;
  margin:40px auto;
  text-align: center;
  font-size:16px;
}
#main {
    text-align:center;
    line-height:30px;
}
#main .first span{
    color:#B18576;
    font-size:14px;
    margin-right:5px;
    font-weight:bold;
}
#oto_wrapper{
    background:#F2EFEB;
    width:85%;
    max-width: 1200px;
    border-radius:40px;
    margin: 0 auto;
    padding:50px 0;
}
.form_wrap{
    width:85%;
    margin:20px auto;
    background-color:#fff;
    border-radius:7px;
    border:1px solid #D9D1CA;
    display:flex;
    align-items: center;
    min-height:0%;
}
.form_wrap:nth-of-type(5),
.form_wrap:nth-of-type(6){
  align-items: flex-start;
}

.form_wrap .title{
    font-size:18px;
    font-weight:normal;
}
.form_wrap th {
  width: 20%;
  min-width:150px;
  text-align: left;
  vertical-align: top;
}
.form_wrap td{
  width:80%;
}
.form_wrap th,
.form_wrap td{
  padding:12px 25px;
}
.form_wrap:nth-child(5) th,
.form_wrap:nth-child(5) td,
.form_wrap:nth-child(6) th{
  padding:22px 25px;
}




/*-------  入力 ------*/

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: 16px;
  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: 16px;
  font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}
input[type=radio]{
    margin-right:10px;
    width:18px;
    height:18px;
    vertical-align: middle;
}

#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;
}
.submit{
  display:flex;
	margin:0 auto;
  text-align: center;
  width: 350px;
  max-width: 700px;
}
.confirm{
  width:350px;
	margin: 0 auto;
}
input[type=submit]{
	width:100%;
  font-size: 18px;
	padding:20px 0;
	cursor: pointer;
	border: none;
  background:#776B58;
  color:#fff;
  border-radius: 10px;
  transition: 0.3s;
  -webkit-appearance:none;
  appearance:none;
}
input[type=submit]:hover{
  background:#B18576;
}

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



/*------- エラー -------*/
.error_m{
  text-align: center;
}
.wpcf7 form .wpcf7-response-output {
  display:inline-block;
  margin: 0 auto !important;
  padding: 20px !important;
  border: 1px solid #B18576 !important;
  color: #aa3d16;
}
span.wpcf7-not-valid-tip {
  color: #aa3d16;
  font-size: 13px;
  display: block;
  margin: 0px 0 10px 10px;
}
#wrap_contact table th span {
  color: #B18576;
  font-size: 14px;
  margin-left: 15px;
}
.screen-reader-response{
  display:none;
}




/*-------  入力内容確認画面 ------*/

input[type=button]{
  font-size: 16px;
  cursor: pointer;
  border: none;
  background:#afafaf;
  color:#fff;
  border-radius: 10px;
  transition: 0.3s;
  -webkit-appearance:none;
  appearance:none;
  margin-bottom: 15px;
}
.wpcf7c-elm-step2{
  display:inline-block;
  padding: 20px !important;
  border: 1px solid #B18576;
  color: #aa3d16;
}
.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="radio"]{
  position: absolute;
  opacity: 0;
}

.wpcf7-list-item-label:before{
  content: '';
  background: #fff;
  border-radius: 100%;
  border: 1px solid #B18576;
  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="radio"]:checked ~ .wpcf7-list-item-label:before{
  background-color: #B18576;
  box-shadow: inset 0 0 0 2px #fff;
}

/*アコーディオン全体*/
.accordion-area{
  list-style: none;
  margin:60px auto 0 auto;
}


.accordion-area section {
  max-width: 1200px;
  margin: 0 auto;
  background: #F2EFEB;
  padding: 10px 0;
}

/*アコーディオンタイトル*/
.privacy {
  font-size: 18px;
  text-align: center;
  position: relative;/*+マークの位置基準とするためrelative指定*/
  cursor: pointer;
  padding: 20px;
  transition: all .5s ease;
}

/*アイコンの＋と×*/
.privacy::before,
.privacy::after{
  position: absolute;
  content:'';
  width: 15px;
  height: 2px;
  background-color: #333;
  
}
.privacy::before{
  top:48%;
  right: 50px;
  transform: rotate(0deg);
  
}
.privacy::after{    
  top:48%;
  right: 50px;
  transform: rotate(90deg);

}
/*　closeというクラスがついたら形状変化　*/
.privacy.close::before{
transform: rotate(45deg);
}

.privacy.close::after{
transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
  display: none;/*はじめは非表示*/
  background: #fff;
  margin:0 100px 50px 100px;
  padding: 50px;
}
.box p{
font-weight:normal;
font-size:16px;
}
.box p span{
  font-weight: bold;
  display: inline-block;
  border: 1px solid #000;
  padding: 2px 10px;
}
.priority{
  width: 85%;
  max-width: 1200px;
  /*--border: 1px solid #80cc29;--*/
  margin: 0 auto;
  padding: 30px 0;
  margin-top: 40px;
  text-align: center;
}
.priority .pri_ttl{
  font-size: 18px;
  margin-bottom: 20px;
}
.priority .pri_ttl span{
  color: #80cc29;
  font-size: 24px;
  letter-spacing: 2px;
}
.priority_wrap{
  display: flex;
  justify-content: center;
  gap: 50px;
}
.priority_wrap img{
  width: 80px;
}
.priority_wrap a{
  color: #776B58;
}
.priority_call p{
  font-size: 18px;
}
.first p{
  font-size: 18px;
}